Skip to content

Commit

Permalink
Add Ukrainian translation (#183)
Browse files Browse the repository at this point in the history
* Add Ukrainian lang

* Update Ukrainian translation

* Add Ukrainian language mention to README.md
  • Loading branch information
troyane authored Mar 23, 2024
1 parent 25b42aa commit 6bc41e4
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The backend projects live at:
* Easy to share a board to your co-workers quickly with a link or an on-screen QR code
* Open source
* Multiple pre-built templates
* Brazilian Portugese, English, German, Korean, Russian, and Spanish translations (contributions very welcome!)
* Brazilian Portugese, English, German, Korean, Russian, Spanish and Ukrainian translations (contributions very welcome!)

# Contributing

Expand Down
3 changes: 3 additions & 0 deletions src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "moment/locale/es";
import "moment/locale/ko";
import "moment/locale/de";
import "moment/locale/ru";
import "moment/locale/uk";

import en from "./lang/en.json";
import es from "./lang/es.json";
Expand All @@ -12,6 +13,7 @@ import de from "./lang/de.json";
import ru from "./lang/ru.json";
import pt_BR from "./lang/pt_BR.json";
import tr from "./lang/tr.json";
import uk from "./lang/uk.json";

locale.subscribe((l) => {
if (l) moment.locale(l);
Expand All @@ -24,6 +26,7 @@ addMessages("de", de);
addMessages("ru", ru);
addMessages("pt_BR", pt_BR);
addMessages("tr", tr);
addMessages("uk", uk);

init({
fallbackLocale: "en",
Expand Down
3 changes: 2 additions & 1 deletion src/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
"language.de": "Deutsch",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
"language.ko": "한국어",
"language.de": "Deutsche",
"language.ru": "Русский",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
3 changes: 2 additions & 1 deletion src/lang/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe"
"language.tr": "Türkçe",
"language.uk": "Українська"
}
82 changes: 82 additions & 0 deletions src/lang/uk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"general.encryption": "Шифрування",
"general.password": "Пароль",
"general.encrypted": "(Зашифровано)",
"general.donate": "Донат",
"general.untitled": "Безіменний",
"general.feedback": "Залишити відгук",
"splash.hero_text": "Просто. Ретро.",
"splash.board_name": "Назва дошки",
"splash.board_name_example": "Спринт 21 Ретроспектива",
"splash.template": "Шаблон",
"splash.icebreaking": "Криголам",
"splash.icebreaking_example": "Якби на наступний день ти міг отримати суперздібність, що б це було?",
"splash.create": "Почати Ретро!",
"splash.your_boards": "попередні дошки",
"splash.name": "Імʼя",
"splash.no_name": "(Без імені)",
"splash.created": "Створено",
"splash.settings": "більше налаштувань",
"error.board_not_found": "Неможливо знайти дошку!",
"error.board_delete": "Помилка при видаленні дошки!",
"error.card_delete": "Не вдалося видалити картку!",
"error.updating_settings": "Помилка при оновленні налаштувань!",
"error.connection_lost": "Звʼязок втрачено!",
"error.network": "Проблема мережі!",
"error.creating_board": "Помилка при створенні дошки!",
"error.creating_card": "Помилка при створенні картки!",
"error.updating_card": "Не вдалося оновити картку!",
"error.vote_failed": "Не вдалося проголосувати!",
"board.template.empty.name": "Порожньо",
"board.template.drop_add_keep_improve.name": "Покинути, Додати, Залишити, Покращити",
"board.template.drop_add_keep_improve.column.drop": "Покинути",
"board.template.drop_add_keep_improve.column.add": "Додати",
"board.template.drop_add_keep_improve.column.keep": "Залишити",
"board.template.drop_add_keep_improve.column.improve": "Покращити",
"board.template.mad_sad_glad.name": "Бісить, Сумно, Радісно",
"board.template.mad_sad_glad.column.mad": "Бісить",
"board.template.mad_sad_glad.column.sad": "Сумно",
"board.template.mad_sad_glad.column.glad": "Радісно",
"board.template.well_not_well_lacking.name": "Вдалося, Не вдалося, Бракує",
"board.template.well_not_well_lacking.column.went_well": "Влалося",
"board.template.well_not_well_lacking.column.did_not_go_well": "Не вдалося",
"board.template.well_not_well_lacking.column.lacking": "Бракує",
"board.template.liked_lacked_learned.name": "Сподобалося, Бракує, Навчилися",
"board.template.liked_lacked_learned.column.liked": "Сподобалося",
"board.template.liked_lacked_learned.column.lacked": "Бракує",
"board.template.liked_lacked_learned.column.learned": "Навчилися",
"board.creation_disabled_as_owner": "Створення карток вимкнуто, увімкніть його за допомогою випадаючого меню справа зверху.",
"board.creation_disabled_as_participant": "Створення карток вимкнуто власником дошки.",
"board.no_cards": "Немає карток",
"board.no_columns": "Немає стовпців!",
"board.options.new_cards_allowed": "Дозволити створювати картки",
"board.options.voting_allowed": "Дозволити голосувати",
"board.options.sort_by_votes": "Сортувати по голосам",
"board.options.show_qr_code": "Показати QR код",
"board.options.download_csv": "Завантажити CSV",
"board.options.copy_link": "Скопіювати посилання",
"board.options.new_column": "Новий стовпець",
"board.unlock": "Розблокувати",
"board.author": "Автор",
"board.delete": "Видалити дошку",
"card.new_card": "Нова картка",
"card.edit_card": "Редагувати картку",
"card.example_text": "Нам потрібно більше закусок...",
"card.cancel": "Скасувати",
"card.save": "Зберегти",
"card.create": "Створити",
"card.agree": "Погодитися",
"card.undo": "Відмінити",
"card.edit": "Редагувати",
"card.delete": "Видалити",
"card.are_you_sure": "Ви впевнені?",
"card.anonymous": "Анонімно",
"language.en": "English",
"language.es": "Español",
"language.ko": "한국어",
"language.de": "Deutsche",
"language.ru": "Русский",
"language.pt_BR": "Português do Brasil",
"language.tr": "Türkçe",
"language.uk": "Українська"
}

0 comments on commit 6bc41e4

Please sign in to comment.