Add French move translation TS classes

This commit is contained in:
Flashfyre 2024-04-18 08:40:42 -04:00 committed by Samuel H
parent 8830b55061
commit fe288ce16c
3 changed files with 13 additions and 9 deletions

View File

@ -1,11 +1,4 @@
interface MoveTranslationEntry { import { MoveTranslations } from "#app/plugins/i18n";
name: string,
effect: string
}
interface MoveTranslations {
[key: string]: MoveTranslationEntry
}
export const move: MoveTranslations = { export const move: MoveTranslations = {
"pound": { "pound": {

View File

@ -1,4 +1,6 @@
export const move = { import { MoveTranslations } from "#app/plugins/i18n";
export const move: MoveTranslations = {
"pound": { "pound": {
name: "Écras'Face", name: "Écras'Face",
effect: "Le lanceur écrase la cible avec lun de ses membres, tels quune de ses pattes avant ou sa longue queue." effect: "Le lanceur écrase la cible avec lun de ses membres, tels quune de ses pattes avant ou sa longue queue."

View File

@ -6,6 +6,15 @@ import { menu as frMenu } from '../locales/fr/menu';
import { move as enMove } from '../locales/en/move'; import { move as enMove } from '../locales/en/move';
import { move as frMove } from '../locales/fr/move'; import { move as frMove } from '../locales/fr/move';
export interface MoveTranslationEntry {
name: string,
effect: string
}
export interface MoveTranslations {
[key: string]: MoveTranslationEntry
}
const DEFAULT_LANGUAGE_OVERRIDE = ''; const DEFAULT_LANGUAGE_OVERRIDE = '';
/** /**