@docx-editor.dev/i18n 2.29.0 → 2.30.0
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.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1001 -0
- package/dist/index.mjs +1000 -0
- package/dist/ru.d.mts +33 -0
- package/dist/ru.d.ts +33 -0
- package/dist/ru.js +1031 -0
- package/dist/ru.mjs +1004 -0
- package/package.json +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -1095,7 +1095,7 @@ type LocaleStrings = typeof enJson;
|
|
|
1095
1095
|
*
|
|
1096
1096
|
* @public
|
|
1097
1097
|
*/
|
|
1098
|
-
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'ja' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1098
|
+
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'ja' | 'pl' | 'pt-BR' | 'ru' | 'tr' | 'zh-CN';
|
|
1099
1099
|
/** English (`en`) — the source of truth, 100% covered. @public */
|
|
1100
1100
|
declare const en: LocaleStrings;
|
|
1101
1101
|
/** German (`de`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1116,6 +1116,8 @@ declare const ja: PartialLocaleStrings;
|
|
|
1116
1116
|
declare const pl: PartialLocaleStrings;
|
|
1117
1117
|
/** Portuguese (Brazil) (`pt-BR`). Community-maintained; null leaves fall back to English. @public */
|
|
1118
1118
|
declare const ptBR: PartialLocaleStrings;
|
|
1119
|
+
/** Russian (`ru`). Community-maintained; null leaves fall back to English. @public */
|
|
1120
|
+
declare const ru: PartialLocaleStrings;
|
|
1119
1121
|
/** Turkish (`tr`). Community-maintained; null leaves fall back to English. @public */
|
|
1120
1122
|
declare const tr: PartialLocaleStrings;
|
|
1121
1123
|
/** Simplified Chinese (`zh-CN`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1220,5 +1222,5 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1220
1222
|
*/
|
|
1221
1223
|
declare function createT(strings: LocaleStrings, lang?: string): TFunction;
|
|
1222
1224
|
|
|
1223
|
-
export { createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, ja, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|
|
1225
|
+
export { createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, ja, locales, localizeDisabledReason, pl, platformShortcut, ptBR, ru, tr, zhCN };
|
|
1224
1226
|
export type { DeepPartial, LocaleCode, LocaleStrings, PartialLocaleStrings, TFunction, TranslationKey, Translations };
|
package/dist/index.d.ts
CHANGED
|
@@ -1095,7 +1095,7 @@ type LocaleStrings = typeof enJson;
|
|
|
1095
1095
|
*
|
|
1096
1096
|
* @public
|
|
1097
1097
|
*/
|
|
1098
|
-
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'ja' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
1098
|
+
type LocaleCode = 'en' | 'de' | 'es' | 'fr' | 'he' | 'hi' | 'id' | 'ja' | 'pl' | 'pt-BR' | 'ru' | 'tr' | 'zh-CN';
|
|
1099
1099
|
/** English (`en`) — the source of truth, 100% covered. @public */
|
|
1100
1100
|
declare const en: LocaleStrings;
|
|
1101
1101
|
/** German (`de`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1116,6 +1116,8 @@ declare const ja: PartialLocaleStrings;
|
|
|
1116
1116
|
declare const pl: PartialLocaleStrings;
|
|
1117
1117
|
/** Portuguese (Brazil) (`pt-BR`). Community-maintained; null leaves fall back to English. @public */
|
|
1118
1118
|
declare const ptBR: PartialLocaleStrings;
|
|
1119
|
+
/** Russian (`ru`). Community-maintained; null leaves fall back to English. @public */
|
|
1120
|
+
declare const ru: PartialLocaleStrings;
|
|
1119
1121
|
/** Turkish (`tr`). Community-maintained; null leaves fall back to English. @public */
|
|
1120
1122
|
declare const tr: PartialLocaleStrings;
|
|
1121
1123
|
/** Simplified Chinese (`zh-CN`). Community-maintained; null leaves fall back to English. @public */
|
|
@@ -1220,5 +1222,5 @@ type TFunction = (key: TranslationKey, vars?: Record<string, string | number>) =
|
|
|
1220
1222
|
*/
|
|
1221
1223
|
declare function createT(strings: LocaleStrings, lang?: string): TFunction;
|
|
1222
1224
|
|
|
1223
|
-
export { createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, ja, locales, localizeDisabledReason, pl, platformShortcut, ptBR, tr, zhCN };
|
|
1225
|
+
export { createT, de, deepMerge, en, es, fr, he, hi, id, isApplePlatform, ja, locales, localizeDisabledReason, pl, platformShortcut, ptBR, ru, tr, zhCN };
|
|
1224
1226
|
export type { DeepPartial, LocaleCode, LocaleStrings, PartialLocaleStrings, TFunction, TranslationKey, Translations };
|