Skip to content

Commit

Permalink
feat: add japanese language
Browse files Browse the repository at this point in the history
  • Loading branch information
azuryudragon committed Jul 2, 2023
1 parent 1a23000 commit c2a4531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/language/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const localeMap = new Map<string, string>([
['ru', 'ru-RU'],
['ar', 'ar-YE'],
['es', 'es-ES'],
['ja', 'ja-JP'],
]);

export default {
Expand Down
5 changes: 5 additions & 0 deletions src/language/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const languageKeys = {
"ru-RU": "Неделя",
"ar-YE": "إسبوع",
"es-ES": "Semana",
"ja-JP": "週",
},
month: {
"it-IT": "Mese",
Expand All @@ -27,6 +28,7 @@ export const languageKeys = {
"ru-RU": "Месяц",
"ar-YE": "شهر",
"es-ES": "Mes",
"ja-JP": "月",
},
day: {
"it-IT": "Giorno",
Expand All @@ -41,6 +43,7 @@ export const languageKeys = {
"ru-RU": "День",
"ar-YE": "يوم",
"es-ES": "Día",
"ja-JP": "日",
},

/** Other keys */
Expand All @@ -57,6 +60,7 @@ export const languageKeys = {
"ru-RU": "+ ещё события",
"ar-YE": "+ المزيد من الأحداث",
"es-ES": "más eventos",
"ja-JP": "その他イベント",
},
noEvent: {
'it-IT': 'Nessun evento',
Expand All @@ -71,5 +75,6 @@ export const languageKeys = {
'ru-RU': 'Нет событий',
'ar-YE': 'لا أحداث',
'es-ES': 'No hay eventos',
"ja-JP": "イベントなし",
},
};

0 comments on commit c2a4531

Please sign in to comment.