Skip to content

Commit

Permalink
Add Ukrainian translation
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealPadster committed Apr 14, 2024
1 parent 17257b5 commit 292d625
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -28,6 +29,7 @@ i18n
es: esLatin,
fr,
pl,
uk,
},
detection: {
order: [ 'navigator', 'htmlTag' ],
Expand Down
29 changes: 29 additions & 0 deletions src/locales/uk.json
Original file line number Diff line number Diff line change
@@ -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}}с"
}
}
}

0 comments on commit 292d625

Please sign in to comment.