ngx-i18nsupport-lib
Version:
A Typescript library to work with Angular generated i18n files (xliff, xmb)
58 lines (57 loc) • 1.5 kB
TypeScript
/**
* Created by roobm on 08.05.2017.
* Some constant values used in the API.
*/
/**
* supported file formats
*/
export declare const FORMAT_XLIFF12: string;
export declare const FORMAT_XLIFF20: string;
export declare const FORMAT_XMB: string;
export declare const FORMAT_XTB: string;
/**
* File types
* (returned by fileType() method)
*/
export declare const FILETYPE_XLIFF12: string;
export declare const FILETYPE_XLIFF20: string;
export declare const FILETYPE_XMB: string;
export declare const FILETYPE_XTB: string;
/**
* abstract state value.
* There are only 3 supported state values.
* @type {string}
*/
/**
* State NEW.
* Signals an untranslated unit.
* @type {string}
*/
export declare const STATE_NEW: string;
/**
* State TRANSLATED.
* Signals a translated unit, that is not reviewed until now.
* @type {string}
*/
export declare const STATE_TRANSLATED: string;
/**
* State FINAL.
* Signals a translated unit, that is reviewed and ready for use.
* @type {string}
*/
export declare const STATE_FINAL: string;
/**
* Normalizaton message formats.
* @type {string}
*/
/**
* Default format, contains placeholders, html markup.
* @type {string}
*/
export declare const NORMALIZATION_FORMAT_DEFAULT = "default";
/**
* Format for usage in ngxtranslate messages.
* Placeholder are in the form {{n}}, no html markup.
* @type {string}
*/
export declare const NORMALIZATION_FORMAT_NGXTRANSLATE = "ngxtranslate";