UNPKG

arx-level-generator

Version:
11 lines (10 loc) 736 B
import { Settings } from './Settings.js'; export type Locales = 'chinese' | 'german' | 'english' | 'french' | 'hungarian' | 'italian' | 'japanese' | 'russian' | 'spanish'; export declare const toArxLocale: (locale: Locales) => "chinese" | "english" | "hungarian" | "japanese" | "russian" | "spanish" | "deutsch" | "francais" | "italiano"; export declare class Translations { translations: Record<string, Partial<Record<Locales, string>>>; exportSourcesAndTargets(settings: Settings): Record<string, string>; stringifyDictionary(dictionary: Record<string, string>): string; add(translations: Record<string, Partial<Record<Locales, string>>>): void; addFromFile(filename: string, settings: Settings): Promise<void>; }