@markuplint/i18n
Advanced tools
Comparing version 3.10.0 to 3.12.0
@@ -6,2 +6,4 @@ import type { LocaleSet, Primitive, Translator } from './types'; | ||
*/ | ||
export declare function taggedTemplateTranslator(localeSet?: LocaleSet): (strings: Readonly<TemplateStringsArray>, ...keys: readonly Primitive[]) => string; | ||
export declare function taggedTemplateTranslator( | ||
localeSet?: LocaleSet, | ||
): (strings: Readonly<TemplateStringsArray>, ...keys: readonly Primitive[]) => string; |
export type Translator = (messageTmpl: string | readonly string[], ...keywords: readonly Primitive[]) => string; | ||
export type LocaleSet = { | ||
readonly locale: string; | ||
readonly listFormat?: ListFormat; | ||
readonly keywords?: LocalesKeywords; | ||
readonly sentences?: LocalesKeywords; | ||
readonly locale: string; | ||
readonly listFormat?: ListFormat; | ||
readonly keywords?: LocalesKeywords; | ||
readonly sentences?: LocalesKeywords; | ||
}; | ||
export type ListFormat = { | ||
readonly quoteStart: string; | ||
readonly quoteEnd: string; | ||
readonly separator: string; | ||
readonly quoteStart: string; | ||
readonly quoteEnd: string; | ||
readonly separator: string; | ||
}; | ||
export type Primitive = string | number | boolean; | ||
export type LocalesKeywords = { | ||
readonly [messageId: string]: string; | ||
readonly [messageId: string]: string; | ||
}; |
{ | ||
"name": "@markuplint/i18n", | ||
"version": "3.10.0", | ||
"version": "3.12.0", | ||
"description": "HTML parser for markuplint", | ||
@@ -21,3 +21,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "ef31aef8f2fff319d0f692feead332ec5fc5c7cf" | ||
"gitHead": "b37b749d7ac0f9e6cbd022ee7031bc020c6677d3" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
952
45436