@nice2dev/i18n 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +653 -354
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -616,7 +616,7 @@ export declare const NICE_GLOSSARY: GlossaryEntry[];
|
|
|
616
616
|
|
|
617
617
|
export declare const NICE_I18N_DICTIONARIES: Record<NiceSupportedLang, Record<string, string>>;
|
|
618
618
|
|
|
619
|
-
export declare const NICE_SUPPORTED_LANGS: readonly ["en", "pl", "de", "fr", "es", "it", "pt", "nl", "sv", "no", "da", "fi", "cs", "sk", "hu", "ro", "bg", "uk", "ja", "ko", "zh", "ar"];
|
|
619
|
+
export declare const NICE_SUPPORTED_LANGS: readonly ["en", "pl", "de", "fr", "es", "it", "pt", "nl", "sv", "no", "da", "fi", "cs", "sk", "hu", "ro", "bg", "uk", "ja", "ko", "zh", "ar", "hi", "bn", "th", "vi", "id", "sw", "fil", "ms"];
|
|
620
620
|
|
|
621
621
|
export declare interface NiceCurrencyFormatter {
|
|
622
622
|
format: (value: number) => string;
|
|
@@ -849,7 +849,7 @@ export declare interface RTLContextValue {
|
|
|
849
849
|
}) => T;
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
export declare type RTLLanguage = typeof RTL_LANGUAGES[number];
|
|
852
|
+
export declare type RTLLanguage = (typeof RTL_LANGUAGES)[number];
|
|
853
853
|
|
|
854
854
|
/**
|
|
855
855
|
* Provider for RTL context.
|
|
@@ -998,7 +998,7 @@ export declare function useDynamicI18n(): DynamicI18nContextValue;
|
|
|
998
998
|
export declare function useDynamicTranslation(namespace?: string): {
|
|
999
999
|
t: (key: string, params?: Record<string, string | number>) => string;
|
|
1000
1000
|
isLoading: boolean;
|
|
1001
|
-
currentLanguage: "en" | "pl" | "de" | "fr" | "es" | "it" | "pt" | "nl" | "sv" | "no" | "da" | "fi" | "cs" | "sk" | "hu" | "ro" | "bg" | "uk" | "ja" | "ko" | "zh" | "ar";
|
|
1001
|
+
currentLanguage: "en" | "pl" | "de" | "fr" | "es" | "it" | "pt" | "nl" | "sv" | "no" | "da" | "fi" | "cs" | "sk" | "hu" | "ro" | "bg" | "uk" | "ja" | "ko" | "zh" | "ar" | "hi" | "bn" | "th" | "vi" | "id" | "sw" | "fil" | "ms";
|
|
1002
1002
|
};
|
|
1003
1003
|
|
|
1004
1004
|
/**
|