@markuplint/i18n
Advanced tools
Comparing version 2.0.0 to 2.0.1-dev.20220307.0
@@ -6,4 +6,2 @@ import type { LocaleSet, Primitive, Translator } from './types'; | ||
*/ | ||
export declare function taggedTemplateTranslator( | ||
localeSet?: LocaleSet, | ||
): (strings: TemplateStringsArray, ...keys: Primitive[]) => string; | ||
export declare function taggedTemplateTranslator(localeSet?: LocaleSet): (strings: TemplateStringsArray, ...keys: Primitive[]) => string; |
export declare type Translator = (messageTmpl: string | string[], ...keywords: Primitive[]) => string; | ||
export declare type LocaleSet = { | ||
locale: string; | ||
listFormat?: ListFormat; | ||
keywords?: LocalesKeywords; | ||
sentences?: LocalesKeywords; | ||
locale: string; | ||
listFormat?: ListFormat; | ||
keywords?: LocalesKeywords; | ||
sentences?: LocalesKeywords; | ||
}; | ||
export declare type ListFormat = { | ||
quoteStart: string; | ||
quoteEnd: string; | ||
separator: string; | ||
quoteStart: string; | ||
quoteEnd: string; | ||
separator: string; | ||
}; | ||
export declare type Primitive = string | number | boolean; | ||
export declare type LocalesKeywords = { | ||
[messageId: string]: string | void; | ||
[messageId: string]: string | void; | ||
}; |
{ | ||
"name": "@markuplint/i18n", | ||
"version": "2.0.0", | ||
"version": "2.0.1-dev.20220307.0", | ||
"description": "HTML parser for markuplint", | ||
@@ -18,3 +18,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "de81fc514acdf472f87184e3499e9364258f9b66" | ||
"gitHead": "c0a9d36c32ae278bd2fdb9ec9434fd4af46918c3" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
68082
590
2