arb-convert
Version:
Convert Application Resource Bundle (ARB) translation files to other translation formats and back
24 lines (23 loc) • 520 B
TypeScript
export interface IConvertOptions {
source: string;
target?: string;
original?: string;
sourceLanguage?: string;
targetLanguage?: string;
}
export interface IParseOptions {
content: string;
}
export interface IArbPlaceholders {
[placeholder: string]: {
[property: string]: string;
};
}
export interface IArbMeta {
description: string;
type: string;
placeholders: IArbPlaceholders;
}
export interface IApplicationResourceBundle {
[key: string]: string | IArbMeta;
}