pokeball: implement i18n on pokeball name and add french i18n
This commit is contained in:
1 parent
c8a9069e8b
commit
3c90427361
4 files changed
+29
-6
No files matched your search
@@ -6,6 +6,9 @@ import { menu as frMenu } from '../locales/fr/menu';
|
||||
import { move as enMove } from '../locales/en/move';
|
||||
import { move as frMove } from '../locales/fr/move';
|
||||
|
||||
import { pokeball as enPokeball } from '../locales/en/pokeball';
|
||||
import { pokeball as frPokeball } from '../locales/fr/pokeball';
|
||||
|
||||
export interface MoveTranslationEntry {
|
||||
name: string,
|
||||
effect: string
|
||||
@@ -50,6 +53,7 @@ export function initI18n(): void {
|
||||
en: {
|
||||
menu: enMenu,
|
||||
move: enMove,
|
||||
pokeball: enPokeball,
|
||||
},
|
||||
it: {
|
||||
menu: itMenu,
|
||||
@@ -57,6 +61,7 @@ export function initI18n(): void {
|
||||
fr: {
|
||||
menu: frMenu,
|
||||
move: frMove,
|
||||
pokeball: frPokeball,
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -68,6 +73,7 @@ declare module 'i18next' {
|
||||
resources: {
|
||||
menu: typeof enMenu;
|
||||
move: typeof enMove;
|
||||
pokeball: typeof enPokeball;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user