Skip to content

Commit

Permalink
localization
Browse files Browse the repository at this point in the history
  • Loading branch information
saparagus committed Nov 11, 2024
1 parent c2139db commit fe7efb4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
5 changes: 3 additions & 2 deletions client/assets/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ $value in $spacing {
color: #FFF;
background-color: $btn-color-primary;
border: $btn-border-primary;
font-weight: 500;
border-color: $btn-border-color-primary;
border-radius: $btn-border-radius-primary;
}
Expand All @@ -347,8 +348,8 @@ $value in $spacing {
}

.btn-secondary {
color: black;
background-color: white;
color: darkslateblue;
background-color: #e1fedf;
border: $btn-border-primary;
border-color: $btn-border-color-primary;
border-radius: $btn-border-radius-primary;
Expand Down
6 changes: 3 additions & 3 deletions client/util/translations/revita/en/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@
"previous": "Previous",
"competition-mode": "Competition",
"competition-mode-info-text": "In competition mode, you will compete against a <b>bot</b> that has about the same skills as you. The competition will end when one of you reaches the end of the story — the winner is the one who has more <b>correct</b> answers at that time!",
"story-not-yet-processed": "This story has not been completely processed yet...",
"story-not-yet-processed": "This story can be used, but it is still being processed... (will be completed soon)",
"groups-for-only-registered-users": "Creating a group and joining a group is possible for registered users only. Please register and log in!",
"show-exercise-preview": "Show exercise preview",
"warning-for-anonymous-users": "Please note that saving stories for later use is possible only for registered users",
Expand Down Expand Up @@ -1599,7 +1599,7 @@
"practice-listening-cloze-exercises": "Practice <b>Listening</b> — fill-in-the-blank exercises",
"practice-pronunciation-exercises": "Practice <b>Pronunciation</b>",
"enter-question-to-chatbot": "Ask a question from the chatbot ...",
"chatbox-initial-instruction": "Click on an exercise — then you can ask for hints here, if you have questions about the exercise.",
"chatbox-initial-instruction": "Click on an exercise — then you can get hints here, and ask any questions you have about the exercise.",
"click-to-see-translation": "Click to see the translation:",
"summary-people-added-to-group": "People added to group",
"no-available-exercise-OLD": "We have no more exercises for this lesson at the moment. Revita will create more exercises shortly — please come back a bit later!",
Expand Down Expand Up @@ -1673,7 +1673,7 @@
"lesson-performance-info-tooltip": "This is your current level of performance on this topic: percent of correct answers in exercises",
"copy-key": "Copy key",
"flashcard-upload-instructions": "Please upload a text file containing your flashcards:\n<ul>\n<li>Select a file with extension .TXT or .DOCX (other extensions not supported)</li>\n<li>The first line must contain the <b>title</b> of the flashcard pack</li>\n<li>Each line contains <b>one word/phrase</b>, then translations, separated by semicolons; for example:<li>\n<ul>\n<li>word;translation 1; translation 2; ... </li>\n</ul>\n</ul>",
"flashcard-btn-explanation": "Click to practice flashcards from this story!",
"flashcard-btn-explanation": "Practice with flashcards from this story!",
"group-hidden-story": "Thе story is hidden for this group",
"flashcard-translation-target-language": "Translation target language:",
"flashcard-upload-instructions-2": "Note (for now): the words will be translated only into the language you select above. If you want them to work with another language, please upload another deck of cards in another file.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@
"previous": "Edellinen",
"competition-mode": "Kilpailu",
"competition-mode-info-text": "Kilpailutilassa vastassasi on <b>botti</b>, joka on taidoiltaan samaa tasoa kuin sinä itse. Kisa päättyy, kun jompi kumpi pääsee tekstin loppuun, ja voittaja on se, jolla on sinä hetkenä eniten tehtäviä oikein!",
"story-not-yet-processed": "Teksti ei ole vielä täysin prosessoitu...",
"story-not-yet-processed": "Tekstiä voidaan käyttää, mutta se on edelleen käsittelyssä... (valmistuu pian)",
"groups-for-only-registered-users": "Ryhmien luominen ja niihin liittyminen on mahdollista ainoastaan rekisteröityneille käyttäjille",
"show-exercise-preview": "Näytä tehtävien esikatselu",
"warning-for-anonymous-users": "Huomioithan, että tarinoiden tallentaminen myöhempään käyttöön on mahdollista vain rekisteröityneille käyttäjille",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@
"lesson-performance-info-tooltip": "Tuo livello attuale di prestazione su questo argomento: percentuale di risposte corrette negli esercizi",
"copy-key": "Copia chiave",
"flashcard-upload-instructions": "Seleziona un file contenente le flashcard:\n<ul>\n<li>Seleziona un file con estensione .TXT o .DOCX (altre estensioni non supportate)</li>\n<li>La prima riga deve contenere il <b>titolo</b> del pacchetto di flashcard</li>\n<li>Ogni riga deve contenere <b>una parola/frase</b>, quindi le traduzioni, separate da punto e virgola; ad esempio:<li>\n<ul>\n<li>parola;traduzione 1; traduzione 2; ... </li>\n</ul>\n</ul>",
"flashcard-btn-explanation": "Clicca per esercitarti con le flashcard di questa storia!",
"flashcard-btn-explanation": "Esercitati con le flashcard di questa storia!",
"group-hidden-story": "La storia è nascosta per questo gruppo",
"flashcard-translation-target-language": "Lingua di traduzione:",
"flashcard-upload-instructions-2": "Nota (per ora): le parole saranno tradotte solo nella lingua selezionata sopra. Se vuoi che funzionino con un'altra lingua, carica un altro mazzo di carte in un altro file.",
Expand Down
6 changes: 3 additions & 3 deletions client/util/translations/revita/ru/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@
"previous": "Предыдущая",
"competition-mode": "Соревнование",
"competition-mode-info-text": "Соревнование против <b>БОТА</b>, который примерно на твоем уровне. Соревнование закончится, когда один из вас дойдет до конца истории — победит тот, у кого больше <b>правильных</b> ответов!",
"story-not-yet-processed": "История еще обрабатывается...",
"story-not-yet-processed": "Текст можно использовать, но он еще обрабатывается...",
"groups-for-only-registered-users": "Пожалуйста, войди в систему с зарегистрированным аккаунтом, чтобы создать группу или вступить в группу.",
"show-exercise-preview": "Показать темы",
"warning-for-anonymous-users": "Пожалуйста, войди в систему с зарегистрированным аккаунтом, чтобы сохранить историю на будущее.",
Expand Down Expand Up @@ -1493,7 +1493,7 @@
"lesson-exercise-message": "Уроки похожи на практику с текстами, но все упражнения сфокусированы только на грамматических темах урока.",
"Dative subject + impersonal-reflexive verb: 'мне нравится/кажется/пришлось'": "Субъект в дательном падеже + безличный/возвратный глагол: \"мне нравится/кажется/пришлось'",
"tour-step9-HELP-header": "Инструкции",
"tour-step9-HELP-message": "Пожалуйста, посмотри через эту кнопку:\n<ul>\n<li/>вводное видео,\n<li/>подробные инструкции,\n<li/>FAQ &mdash; часто задаваемые вопросы</ul>",
"tour-step9-HELP-message": "Здесь можно посмотреть:\n<ul>\n<li/>короткое вводное видео,\n<li/>подробные инструкции,\n<li/>FAQ &mdash; часто задаваемые вопросы</ul>",
"streak-done": "Ты в ударном режиме: <b>{daysStreaked}</b> дней!",
"streak-undone": "Продолжай работать в ударном режиме!",
"streak-broken": "Начни новую серию!",
Expand Down Expand Up @@ -1600,7 +1600,7 @@
"practice-listening-cloze-exercises": "Упражнения <b>на слух</b> — заполни пропуск",
"practice-pronunciation-exercises": "Практика <b>Произношения</b>",
"enter-question-to-chatbot": "Задай вопрос чат-боту...",
"chatbox-initial-instruction": "Выбери упражнение — здесь можно будет задавать вопросы, если что-либо неясно.",
"chatbox-initial-instruction": "Выбери упражнение — здесь можно получить подсказки и задавать вопросы, если что-то непонятно.",
"click-to-see-translation": "Нажми, чтобы просмотреть перевод:",
"summary-people-added-to-group": "Люди добавлены в группу",
"no-available-exercise-OLD": "На данный момент больше нет упражнений для этого урока. В ближайшее время Revita создаст дополнительные упражнения — пожалуйста, вернись чуть позже!",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@
"practice-listening-cloze-exercises": "Practice <b>Listening</b> — fill-in-the-blank exercises",
"practice-pronunciation-exercises": "Practice <b>Pronunciation</b>",
"enter-question-to-chatbot": "Ask a question from the chatbot ...",
"chatbox-initial-instruction": "Click on an exercise — then you can ask for hints here, if you have questions about the exercise.",
"chatbox-initial-instruction": "Click on an exercise — then you can get hints here, and ask any questions you have about the exercise.",
"click-to-see-translation": "点击查看翻译",
"summary-people-added-to-group": "People added to group",
"no-available-exercise-OLD": "该课程暂无更多练习,Revita稍后会添加更多练习,敬请期待!",
Expand Down

0 comments on commit fe7efb4

Please sign in to comment.