This commit is contained in:
Miroslav Novta 2024-02-25 15:43:26 +01:00
commit 9f909b80ef
7 changed files with 2092 additions and 4381 deletions

View File

@ -39,7 +39,7 @@ SHELL ["/bin/bash", "--login", "-c"]
RUN npm install -g yarn
# Add project files
RUN git clone https://github.com/LibreLingo/LibreLingo.git --single-branch
RUN git clone https://github.com/novta/LibreLingo.git --single-branch
WORKDIR /LibreLingo
@ -51,7 +51,8 @@ RUN curl -sSL https://install.python-poetry.org | python -
# Install Python dependencies
RUN poetry install
RUN cd apps/librelingo_yaml_loader && poetry install && cd ../.. && cd apps/librelingo_json_export && poetry install && cd ../..
RUN cd apps/librelingo_yaml_loader && poetry install && cd ../..
RUN cd apps/librelingo_json_export && poetry install && cd ../..
# Prepare courses
RUN yarn web run installAllExternalCourses

View File

@ -15,6 +15,9 @@ pytest = "^7.0.0"
librelingo-fakes = "^3.2.0"
pytest-mock = "^3.5.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@ -14,7 +14,7 @@ python = "^3.8"
librelingo-types = "^3.0.0"
librelingo-utils = "^2.6.2"
python-slugify = "^8.0.0"
editdistance = "^0.6.0"
editdistance = "^0.6.2"
hunspell = { version = "^0.5.5", optional = true }
click = "^7.0.0"
librelingo-yaml-loader = "^1.12.0"

View File

@ -7,6 +7,7 @@ register("de", () => require("./translation/de.json"))
register("it", () => require("./translation/it.json"))
register("eo", () => require("./translation/eo.json"))
register("pl", () => require("./translation/pl.json"))
register("sr", () => require("./translation/sr.json"))
init({
fallbackLocale: "en",

View File

@ -0,0 +1,16 @@
{
"index.subtitle": "експеримент за стварање платформе за учење језика вођене заједници",
"index.start_spanish_course": "Почните да учите шпански",
"index.about_librelingo": "О ЛибреЛингу",
"meta.title": "ЛибреЛинго - научите језик бесплатно",
"index.start_german_course": "Почните да учите немачки",
"index.meta.description": "ЛибреЛинго је експеримент за стварање платформе за учење језика коју покреће заједница. Научите језик бесплатно.",
"about.meta.description": "ЛибреЛинго је платформа за учење језика отвореног кода вођена заједницом која својим корисницима и сарадницима даје начин да утичу на његову будућност.",
"development.meta.description": "Прочитајте о недавним главним новим функцијама у ЛибреЛингу, експерименту за стварање платформе за учење језика вођене заједницом.",
"sign-up.meta.description": "Пријавите се на ЛибреЛинго и научите језик бесплатно.",
"index.development_docs": "Развојна документација",
"index.development_docs_english_only": "Развојна документација (само на енглеском)",
"course_page.button_practice": "Вежбајте",
"course_page.button_continue": "Наставите са учењем",
"course_page.button_learn": "Научите"
}

View File

@ -238,5 +238,20 @@
"source": "English",
"target": "Dutch",
"description": "Dutch for English speakers"
},
{
"url": "https://github.com/novta/LibreLingo-RSK-from-SR/archive/refs/heads/main.zip",
"repositoryURL": "https://github.com/novta/LibreLingo-RSK-from-SR",
"paths": {
"yamlFolder": "LibreLingo-Rusyn-from-Serbian",
"jsonFolder": "rusyn-from-serbian"
},
"deploy": true,
"devtoolsEnabled": true,
"inProduction": false,
"name": "rusyn-from-serbian",
"source": "Serbian",
"target": "Rusyn",
"description": "Rusyn for Serbian speakers"
}
]

6431
yarn.lock

File diff suppressed because it is too large Load Diff