UNPKG

@criticalmanufacturing/dev-i18n-transform

Version:
24 lines (23 loc) 703 B
export declare class Translation { readonly language: string; readonly text: string; readonly line: number; readonly column: number; /** * Is the translation literal? * A literal translation is a translation that doesn't need any kind of translation. * Eg. LABEL: i18n.ID */ readonly isLiteral: boolean; constructor(language: string, text: string, isLiteral?: boolean, line?: number, col?: number); } export declare enum TranslatorNotes { AutomaticTranslation = 1 } /** * Notes for translators. * Keys are based on {@see TranslatorNotes} enumeration. */ export declare const TRANSLATOR_NOTES: { [key: number]: string; };