i18n-pro
Version:
An out-of-the-box, lightweight JavaScript i18n auto-translation solution
23 lines (22 loc) • 529 B
TypeScript
/**
* 匹配公共格式化文案的正则
*/
export declare const commonFormatterRegex: RegExp;
/**
* 匹配复数格式化文案的正则
*/
export declare const pluralFormatterRegex: RegExp;
/**
* 匹配非正确复数格式化文案的正则
*/
export declare const invalidPluralFormatterRegex: RegExp;
/**
* 内置标记与对应格式化回调函数名的映射关系
*/
export declare const tagFormatterNameMap: {
n: string;
c: string;
d: string;
t: string;
p: string;
};