Skip to content

Commit

Permalink
feat: add russian lang
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocasares committed Oct 29, 2020
1 parent 2643796 commit 93781e0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
i18n: {
locales: ["en", "es", "pl", "fr"],
locales: ["en", "es", "pl", "fr", "ru"],
defaultLocale: "en",
},
};
16 changes: 16 additions & 0 deletions public/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"index": {
"title": "На вашем языке"
},
"search": {
"title": "Поиск",
"placeholder": "Введите что-либо ..."
},
"settings": {
"title": "Настройки",
"language": "Язык"
},
"player": {
"error": "Упс! Что-то пошло не так :("
}
}
1 change: 1 addition & 0 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const localesMap = {
es: "Español",
fr: "Française",
pl: "Polski",
ru: "Русский",
};

1 comment on commit 93781e0

@vercel
Copy link

@vercel vercel bot commented on 93781e0 Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.