From 292d625b64e6e3cfa9425eec8b03555b47752c78 Mon Sep 17 00:00:00 2001 From: Isaac Maier Date: Sun, 14 Apr 2024 19:30:33 -0400 Subject: [PATCH] Add Ukrainian translation --- src/app.tsx | 2 ++ src/locales/uk.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/locales/uk.json diff --git a/src/app.tsx b/src/app.tsx index 8548a7b..eb591d4 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -7,6 +7,7 @@ import de from './locales/de.json'; import esLatin from './locales/es-419.json'; import fr from './locales/fr.json'; import pl from './locales/pl.json'; +import uk from './locales/uk.json'; import { initReactI18next } from 'react-i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; @@ -28,6 +29,7 @@ i18n es: esLatin, fr, pl, + uk, }, detection: { order: [ 'navigator', 'htmlTag' ], diff --git a/src/locales/uk.json b/src/locales/uk.json new file mode 100644 index 0000000..1e56a01 --- /dev/null +++ b/src/locales/uk.json @@ -0,0 +1,29 @@ +{ + "translation": { + "appName": "Вгадай Мелодію", + "title": "🎵 $t(appName)", + "winMsg": "Ви перемогли!", + "guessPlaceholder": "Назва пісні", + "playXSeconds": "Слухати {{count}}с", + "guessBtn": "Вгадати", + "skipBtn": "Пропустити", + "giveUp": "Здатись", + "nextSong": "Наступна пісня", + "menuEntry": "Грати у $t(appName)", + "sendingURIs_one": "Відправка {{count}} URI до $t(appName)", + "sendingURIs_other": "Відправка {{count}} URIs до $t(appName)", + "stats": { + "title": "Статистика", + "time": "Час", + "songs": "Пісні", + "winPercentage": "Відсоток перемог: {{percentage}}%", + "songWithCount_one": "{{count}} пісня", + "songWithCount_few": "{{count}} пісні", + "songWithCount_many": "{{count}} пісень", + "songWithCount_other": "{{count}} пісень", + "gaveUp": "Здались", + "greaterThan16": ">16с", + "xSeconds": "{{count}}с" + } + } +}