react-native-paper-dates 0.6.0 → 0.7.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/lib/commonjs/Date/CalendarHeader.js +4 -0
- package/lib/commonjs/Date/CalendarHeader.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalContentHeader.js +1 -0
- package/lib/commonjs/Date/DatePickerModalContentHeader.js.map +1 -1
- package/lib/commonjs/Date/DatePickerModalHeader.js +1 -0
- package/lib/commonjs/Date/DatePickerModalHeader.js.map +1 -1
- package/lib/commonjs/Date/Day.js +2 -1
- package/lib/commonjs/Date/Day.js.map +1 -1
- package/lib/commonjs/Date/Month.js +2 -0
- package/lib/commonjs/Date/Month.js.map +1 -1
- package/lib/commonjs/Date/YearPicker.js +2 -0
- package/lib/commonjs/Date/YearPicker.js.map +1 -1
- package/lib/commonjs/Time/AnalogClock.js +4 -0
- package/lib/commonjs/Time/AnalogClock.js.map +1 -1
- package/lib/commonjs/translations/en.js +6 -1
- package/lib/commonjs/translations/en.js.map +1 -1
- package/lib/commonjs/translations/enGB.js +6 -1
- package/lib/commonjs/translations/enGB.js.map +1 -1
- package/lib/commonjs/translations/nl.js +6 -1
- package/lib/commonjs/translations/nl.js.map +1 -1
- package/lib/commonjs/translations/pl.js +6 -1
- package/lib/commonjs/translations/pl.js.map +1 -1
- package/lib/commonjs/translations/utils.js.map +1 -1
- package/lib/module/Date/CalendarHeader.js +3 -0
- package/lib/module/Date/CalendarHeader.js.map +1 -1
- package/lib/module/Date/DatePickerModalContentHeader.js +1 -0
- package/lib/module/Date/DatePickerModalContentHeader.js.map +1 -1
- package/lib/module/Date/DatePickerModalHeader.js +1 -0
- package/lib/module/Date/DatePickerModalHeader.js.map +1 -1
- package/lib/module/Date/Day.js +2 -1
- package/lib/module/Date/Day.js.map +1 -1
- package/lib/module/Date/Month.js +2 -0
- package/lib/module/Date/Month.js.map +1 -1
- package/lib/module/Date/YearPicker.js +2 -0
- package/lib/module/Date/YearPicker.js.map +1 -1
- package/lib/module/Time/AnalogClock.js +4 -0
- package/lib/module/Time/AnalogClock.js.map +1 -1
- package/lib/module/translations/en.js +6 -1
- package/lib/module/translations/en.js.map +1 -1
- package/lib/module/translations/enGB.js +6 -1
- package/lib/module/translations/enGB.js.map +1 -1
- package/lib/module/translations/nl.js +6 -1
- package/lib/module/translations/nl.js.map +1 -1
- package/lib/module/translations/pl.js +6 -1
- package/lib/module/translations/pl.js.map +1 -1
- package/lib/module/translations/utils.js.map +1 -1
- package/lib/typescript/translations/utils.d.ts +5 -0
- package/package.json +1 -8
- package/src/Date/CalendarHeader.tsx +3 -0
- package/src/Date/DatePickerModalContentHeader.tsx +5 -0
- package/src/Date/DatePickerModalHeader.tsx +1 -0
- package/src/Date/Day.tsx +1 -0
- package/src/Date/Month.tsx +2 -0
- package/src/Date/YearPicker.tsx +2 -0
- package/src/Time/AnalogClock.tsx +4 -0
- package/src/translations/en.ts +5 -0
- package/src/translations/enGB.ts +5 -0
- package/src/translations/nl.ts +5 -0
- package/src/translations/pl.ts +6 -0
- package/src/translations/utils.ts +5 -0
|
@@ -7,7 +7,12 @@ const nl = {
|
|
|
7
7
|
mustBeHigherThan: 'Moet later dan',
|
|
8
8
|
mustBeLowerThan: 'Moet eerder dan',
|
|
9
9
|
mustBeBetween: 'Moet tussen',
|
|
10
|
-
dateIsDisabled: 'Deze dag mag niet'
|
|
10
|
+
dateIsDisabled: 'Deze dag mag niet',
|
|
11
|
+
previous: 'Vorige',
|
|
12
|
+
next: 'Volgende',
|
|
13
|
+
typeInDate: 'Typ datum',
|
|
14
|
+
pickDateFromCalendar: 'Kies datum van kalender',
|
|
15
|
+
close: 'Sluit'
|
|
11
16
|
};
|
|
12
17
|
export default nl;
|
|
13
18
|
//# sourceMappingURL=nl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["nl.ts"],"names":["nl","save","selectSingle","selectMultiple","selectRange","notAccordingToDateFormat","inputFormat","mustBeHigherThan","mustBeLowerThan","mustBeBetween","dateIsDisabled"],"mappings":"AAEA,MAAMA,EAAoB,GAAG;AAC3BC,EAAAA,IAAI,EAAE,SADqB;AAE3BC,EAAAA,YAAY,EAAE,iBAFa;AAG3BC,EAAAA,cAAc,EAAE,kBAHW;AAI3BC,EAAAA,WAAW,EAAE,mBAJc;AAK3BC,EAAAA,wBAAwB,EAAGC,WAAD,IACvB,qBAAoBA,WAAY,OANR;AAO3BC,EAAAA,gBAAgB,EAAE,gBAPS;AAQ3BC,EAAAA,eAAe,EAAE,iBARU;AAS3BC,EAAAA,aAAa,EAAE,aATY;AAU3BC,EAAAA,cAAc,EAAE;
|
|
1
|
+
{"version":3,"sources":["nl.ts"],"names":["nl","save","selectSingle","selectMultiple","selectRange","notAccordingToDateFormat","inputFormat","mustBeHigherThan","mustBeLowerThan","mustBeBetween","dateIsDisabled","previous","next","typeInDate","pickDateFromCalendar","close"],"mappings":"AAEA,MAAMA,EAAoB,GAAG;AAC3BC,EAAAA,IAAI,EAAE,SADqB;AAE3BC,EAAAA,YAAY,EAAE,iBAFa;AAG3BC,EAAAA,cAAc,EAAE,kBAHW;AAI3BC,EAAAA,WAAW,EAAE,mBAJc;AAK3BC,EAAAA,wBAAwB,EAAGC,WAAD,IACvB,qBAAoBA,WAAY,OANR;AAO3BC,EAAAA,gBAAgB,EAAE,gBAPS;AAQ3BC,EAAAA,eAAe,EAAE,iBARU;AAS3BC,EAAAA,aAAa,EAAE,aATY;AAU3BC,EAAAA,cAAc,EAAE,mBAVW;AAW3BC,EAAAA,QAAQ,EAAE,QAXiB;AAY3BC,EAAAA,IAAI,EAAE,UAZqB;AAa3BC,EAAAA,UAAU,EAAE,WAbe;AAc3BC,EAAAA,oBAAoB,EAAE,yBAdK;AAe3BC,EAAAA,KAAK,EAAE;AAfoB,CAA7B;AAiBA,eAAef,EAAf","sourcesContent":["import type { TranslationsType } from './utils'\n\nconst nl: TranslationsType = {\n save: 'Opslaan',\n selectSingle: 'Selecteer datum',\n selectMultiple: 'Selecteer datums',\n selectRange: 'Selecteer periode',\n notAccordingToDateFormat: (inputFormat: string) =>\n `Datumformaat moet ${inputFormat} zijn`,\n mustBeHigherThan: 'Moet later dan',\n mustBeLowerThan: 'Moet eerder dan',\n mustBeBetween: 'Moet tussen',\n dateIsDisabled: 'Deze dag mag niet',\n previous: 'Vorige',\n next: 'Volgende',\n typeInDate: 'Typ datum',\n pickDateFromCalendar: 'Kies datum van kalender',\n close: 'Sluit',\n}\nexport default nl\n"]}
|
|
@@ -7,7 +7,12 @@ const pl = {
|
|
|
7
7
|
mustBeHigherThan: 'Nie wcześniej niż',
|
|
8
8
|
mustBeLowerThan: 'Nie później niż',
|
|
9
9
|
mustBeBetween: 'Pomiędzy',
|
|
10
|
-
dateIsDisabled: 'Niedozwolona data'
|
|
10
|
+
dateIsDisabled: 'Niedozwolona data',
|
|
11
|
+
previous: 'Poprzedni',
|
|
12
|
+
next: 'Dalej',
|
|
13
|
+
typeInDate: 'Wpisz datę',
|
|
14
|
+
pickDateFromCalendar: 'Wybierz datę z kalendarza',
|
|
15
|
+
close: 'Zamknij'
|
|
11
16
|
};
|
|
12
17
|
export default pl;
|
|
13
18
|
//# sourceMappingURL=pl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["pl.ts"],"names":["pl","save","selectSingle","selectMultiple","selectRange","notAccordingToDateFormat","inputFormat","mustBeHigherThan","mustBeLowerThan","mustBeBetween","dateIsDisabled"],"mappings":"AAEA,MAAMA,EAAoB,GAAG;AAC3BC,EAAAA,IAAI,EAAE,QADqB;AAE3BC,EAAAA,YAAY,EAAE,cAFa;AAG3BC,EAAAA,cAAc,EAAE,cAHW;AAI3BC,EAAAA,WAAW,EAAE,gBAJc;AAK3BC,EAAAA,wBAAwB,EAAGC,WAAD,IACvB,yBAAwBA,WAAY,EANZ;AAO3BC,EAAAA,gBAAgB,EAAE,mBAPS;AAQ3BC,EAAAA,eAAe,EAAE,iBARU;AAS3BC,EAAAA,aAAa,EAAE,UATY;AAU3BC,EAAAA,cAAc,EAAE;
|
|
1
|
+
{"version":3,"sources":["pl.ts"],"names":["pl","save","selectSingle","selectMultiple","selectRange","notAccordingToDateFormat","inputFormat","mustBeHigherThan","mustBeLowerThan","mustBeBetween","dateIsDisabled","previous","next","typeInDate","pickDateFromCalendar","close"],"mappings":"AAEA,MAAMA,EAAoB,GAAG;AAC3BC,EAAAA,IAAI,EAAE,QADqB;AAE3BC,EAAAA,YAAY,EAAE,cAFa;AAG3BC,EAAAA,cAAc,EAAE,cAHW;AAI3BC,EAAAA,WAAW,EAAE,gBAJc;AAK3BC,EAAAA,wBAAwB,EAAGC,WAAD,IACvB,yBAAwBA,WAAY,EANZ;AAO3BC,EAAAA,gBAAgB,EAAE,mBAPS;AAQ3BC,EAAAA,eAAe,EAAE,iBARU;AAS3BC,EAAAA,aAAa,EAAE,UATY;AAU3BC,EAAAA,cAAc,EAAE,mBAVW;AAY3BC,EAAAA,QAAQ,EAAE,WAZiB;AAa3BC,EAAAA,IAAI,EAAE,OAbqB;AAc3BC,EAAAA,UAAU,EAAE,YAde;AAe3BC,EAAAA,oBAAoB,EAAE,2BAfK;AAgB3BC,EAAAA,KAAK,EAAE;AAhBoB,CAA7B;AAkBA,eAAef,EAAf","sourcesContent":["import type { TranslationsType } from './utils'\n\nconst pl: TranslationsType = {\n save: 'Zapisz',\n selectSingle: 'Wybierz datę',\n selectMultiple: 'Wybierz daty',\n selectRange: 'Wybierz zakres',\n notAccordingToDateFormat: (inputFormat: string) =>\n `Data musi mieć format ${inputFormat}`,\n mustBeHigherThan: 'Nie wcześniej niż',\n mustBeLowerThan: 'Nie później niż',\n mustBeBetween: 'Pomiędzy',\n dateIsDisabled: 'Niedozwolona data',\n\n previous: 'Poprzedni',\n next: 'Dalej',\n typeInDate: 'Wpisz datę',\n pickDateFromCalendar: 'Wybierz datę z kalendarza',\n close: 'Zamknij',\n}\nexport default pl\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["utils.ts"],"names":["translationsPerLocale","getTranslation","locale","key","fallback","l","translationForLocale","console","warn","translation","registerTranslation","translations"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["utils.ts"],"names":["translationsPerLocale","getTranslation","locale","key","fallback","l","translationForLocale","console","warn","translation","registerTranslation","translations"],"mappings":"AAiBA,IAAIA,qBAAuD,GAAG,EAA9D;AAEA,OAAO,SAASC,cAAT,CACLC,MADK,EAELC,GAFK,EAGLC,QAHK,EAIL;AACA,QAAMC,CAAC,GAAGH,MAAM,IAAI,IAApB;AACA,QAAMI,oBAAoB,GAAGN,qBAAqB,CAACK,CAAD,CAAlD;;AACA,MAAI,CAACC,oBAAL,EAA2B;AACzBC,IAAAA,OAAO,CAACC,IAAR,CACG,8BAA6BN,MAAO,4BAA2BC,GAAI,EADtE;AAGA,WAAOC,QAAQ,IAAID,GAAnB;AACD;;AACD,QAAMM,WAAW,GAAGT,qBAAqB,CAACK,CAAD,CAArB,CAAyBF,GAAzB,CAApB;;AACA,MAAI,CAACG,oBAAL,EAA2B;AACzBC,IAAAA,OAAO,CAACC,IAAR,CACG,8BAA6BN,MAAO,uBAAsBC,GAAI,aADjE;AAGD;;AACD,SAAOM,WAAW,IAAIL,QAAf,IAA2BD,GAAlC;AACD;AAED,OAAO,SAASO,mBAAT,CACLR,MADK,EAELS,YAFK,EAGL;AACAX,EAAAA,qBAAqB,CAACE,MAAD,CAArB,GAAgCS,YAAhC;AACD","sourcesContent":["export type TranslationsType = {\n selectSingle: string\n selectMultiple: string\n selectRange: string\n save: string\n notAccordingToDateFormat: (inputFormat: string) => string\n mustBeHigherThan: string\n mustBeLowerThan: string\n mustBeBetween: string\n dateIsDisabled: string\n previous: string\n next: string\n typeInDate: string\n pickDateFromCalendar: string\n close: string\n}\n\nlet translationsPerLocale: Record<string, TranslationsType> = {}\n\nexport function getTranslation(\n locale: string | undefined,\n key: keyof TranslationsType,\n fallback?: any\n) {\n const l = locale || 'en'\n const translationForLocale = translationsPerLocale[l]\n if (!translationForLocale) {\n console.warn(\n `[react-native-paper-dates] ${locale} is not registered, key: ${key}`\n )\n return fallback || key\n }\n const translation = translationsPerLocale[l][key]\n if (!translationForLocale) {\n console.warn(\n `[react-native-paper-dates] ${locale} is registered, but ${key} is missing`\n )\n }\n return translation || fallback || key\n}\n\nexport function registerTranslation(\n locale: string,\n translations: TranslationsType\n) {\n translationsPerLocale[locale] = translations\n}\n"]}
|
|
@@ -8,6 +8,11 @@ export declare type TranslationsType = {
|
|
|
8
8
|
mustBeLowerThan: string;
|
|
9
9
|
mustBeBetween: string;
|
|
10
10
|
dateIsDisabled: string;
|
|
11
|
+
previous: string;
|
|
12
|
+
next: string;
|
|
13
|
+
typeInDate: string;
|
|
14
|
+
pickDateFromCalendar: string;
|
|
15
|
+
close: string;
|
|
11
16
|
};
|
|
12
17
|
export declare function getTranslation(locale: string | undefined, key: keyof TranslationsType, fallback?: any): any;
|
|
13
18
|
export declare function registerTranslation(locale: string, translations: TranslationsType): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-paper-dates",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Performant Date Picker for React Native Paper",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -75,13 +75,6 @@
|
|
|
75
75
|
"react-native-paper": "*",
|
|
76
76
|
"react-native-vector-icons": "*"
|
|
77
77
|
},
|
|
78
|
-
"jest": {
|
|
79
|
-
"preset": "react-native",
|
|
80
|
-
"modulePathIgnorePatterns": [
|
|
81
|
-
"<rootDir>/example/node_modules",
|
|
82
|
-
"<rootDir>/lib/"
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
78
|
"husky": {
|
|
86
79
|
"hooks": {
|
|
87
80
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
@@ -3,6 +3,7 @@ import { StyleSheet, View } from 'react-native'
|
|
|
3
3
|
import { IconButton, useTheme } from 'react-native-paper'
|
|
4
4
|
import DayNames, { dayNamesHeight } from './DayNames'
|
|
5
5
|
import type { DisableWeekDaysType } from './dateUtils'
|
|
6
|
+
import { getTranslation } from '../translations/utils'
|
|
6
7
|
|
|
7
8
|
const buttonContainerHeight = 56
|
|
8
9
|
const buttonContainerMarginTop = 4
|
|
@@ -48,6 +49,7 @@ function CalendarHeader({
|
|
|
48
49
|
>
|
|
49
50
|
<IconButton
|
|
50
51
|
icon="chevron-left"
|
|
52
|
+
accessibilityLabel={getTranslation(locale, 'previous')}
|
|
51
53
|
onPress={onPrev}
|
|
52
54
|
// RN types bug
|
|
53
55
|
hasTVPreferredFocus={undefined}
|
|
@@ -63,6 +65,7 @@ function CalendarHeader({
|
|
|
63
65
|
>
|
|
64
66
|
<IconButton
|
|
65
67
|
icon="chevron-right"
|
|
68
|
+
accessibilityLabel={getTranslation(locale, 'next')}
|
|
66
69
|
onPress={onNext}
|
|
67
70
|
// RN types bug
|
|
68
71
|
hasTVPreferredFocus={undefined}
|
|
@@ -79,6 +79,11 @@ export default function DatePickerModalContentHeader(
|
|
|
79
79
|
{allowEditing ? (
|
|
80
80
|
<IconButton
|
|
81
81
|
icon={collapsed ? 'pencil' : 'calendar'}
|
|
82
|
+
accessibilityLabel={
|
|
83
|
+
collapsed
|
|
84
|
+
? getTranslation(props.locale, 'typeInDate')
|
|
85
|
+
: getTranslation(props.locale, 'pickDateFromCalendar')
|
|
86
|
+
}
|
|
82
87
|
color={color}
|
|
83
88
|
onPress={onToggle}
|
|
84
89
|
// RN types bug
|
|
@@ -31,6 +31,7 @@ export default function DatePickerModalHeader(
|
|
|
31
31
|
<Appbar style={styles.appbarHeader}>
|
|
32
32
|
<Appbar.Action
|
|
33
33
|
icon="close"
|
|
34
|
+
accessibilityLabel={getTranslation(locale, 'close')}
|
|
34
35
|
onPress={props.onDismiss}
|
|
35
36
|
color={color}
|
|
36
37
|
testID="react-native-paper-dates-close"
|
package/src/Date/Day.tsx
CHANGED
package/src/Date/Month.tsx
CHANGED
|
@@ -260,6 +260,8 @@ function Month(props: MonthSingleProps | MonthRangeProps | MonthMultiProps) {
|
|
|
260
260
|
<TouchableRipple
|
|
261
261
|
disabled={!isHorizontal}
|
|
262
262
|
onPress={isHorizontal ? () => onPressYear(year) : undefined}
|
|
263
|
+
accessibilityRole="button"
|
|
264
|
+
accessibilityLabel={`${monthName} ${year}`}
|
|
263
265
|
style={[
|
|
264
266
|
styles.yearButton,
|
|
265
267
|
{
|
package/src/Date/YearPicker.tsx
CHANGED
package/src/Time/AnalogClock.tsx
CHANGED
|
@@ -70,11 +70,15 @@ function AnalogClock({
|
|
|
70
70
|
let pickedHours = getHours(angle, previousHourType)
|
|
71
71
|
|
|
72
72
|
let hours12AndPm = !hours24 && modeRef.current === 'PM'
|
|
73
|
+
|
|
73
74
|
// Avoiding the "24h"
|
|
74
75
|
// Should be 12h for 12 hours and PM mode
|
|
75
76
|
if ((hours12AndPm || hours24) && pickedHours + 12 < 24) {
|
|
76
77
|
pickedHours += 12
|
|
77
78
|
}
|
|
79
|
+
if (modeRef.current === 'AM' && pickedHours === 12) {
|
|
80
|
+
pickedHours = 0
|
|
81
|
+
}
|
|
78
82
|
|
|
79
83
|
if (pickedHours === 24) {
|
|
80
84
|
pickedHours = 0
|
package/src/translations/en.ts
CHANGED
|
@@ -11,5 +11,10 @@ const en: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Must be earlier then',
|
|
12
12
|
mustBeBetween: 'Must be between',
|
|
13
13
|
dateIsDisabled: 'Day is not allowed',
|
|
14
|
+
previous: 'Previous',
|
|
15
|
+
next: 'Next',
|
|
16
|
+
typeInDate: 'Type in date',
|
|
17
|
+
pickDateFromCalendar: 'Pick date from calendar',
|
|
18
|
+
close: 'Close',
|
|
14
19
|
}
|
|
15
20
|
export default en
|
package/src/translations/enGB.ts
CHANGED
|
@@ -11,5 +11,10 @@ const enGB: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Must be earlier then',
|
|
12
12
|
mustBeBetween: 'Must be between',
|
|
13
13
|
dateIsDisabled: 'Day is not allowed',
|
|
14
|
+
previous: 'Previous',
|
|
15
|
+
next: 'Next',
|
|
16
|
+
typeInDate: 'Type in date',
|
|
17
|
+
pickDateFromCalendar: 'Pick date from calendar',
|
|
18
|
+
close: 'Close',
|
|
14
19
|
}
|
|
15
20
|
export default enGB
|
package/src/translations/nl.ts
CHANGED
|
@@ -11,5 +11,10 @@ const nl: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Moet eerder dan',
|
|
12
12
|
mustBeBetween: 'Moet tussen',
|
|
13
13
|
dateIsDisabled: 'Deze dag mag niet',
|
|
14
|
+
previous: 'Vorige',
|
|
15
|
+
next: 'Volgende',
|
|
16
|
+
typeInDate: 'Typ datum',
|
|
17
|
+
pickDateFromCalendar: 'Kies datum van kalender',
|
|
18
|
+
close: 'Sluit',
|
|
14
19
|
}
|
|
15
20
|
export default nl
|
package/src/translations/pl.ts
CHANGED
|
@@ -11,5 +11,11 @@ const pl: TranslationsType = {
|
|
|
11
11
|
mustBeLowerThan: 'Nie później niż',
|
|
12
12
|
mustBeBetween: 'Pomiędzy',
|
|
13
13
|
dateIsDisabled: 'Niedozwolona data',
|
|
14
|
+
|
|
15
|
+
previous: 'Poprzedni',
|
|
16
|
+
next: 'Dalej',
|
|
17
|
+
typeInDate: 'Wpisz datę',
|
|
18
|
+
pickDateFromCalendar: 'Wybierz datę z kalendarza',
|
|
19
|
+
close: 'Zamknij',
|
|
14
20
|
}
|
|
15
21
|
export default pl
|
|
@@ -8,6 +8,11 @@ export type TranslationsType = {
|
|
|
8
8
|
mustBeLowerThan: string
|
|
9
9
|
mustBeBetween: string
|
|
10
10
|
dateIsDisabled: string
|
|
11
|
+
previous: string
|
|
12
|
+
next: string
|
|
13
|
+
typeInDate: string
|
|
14
|
+
pickDateFromCalendar: string
|
|
15
|
+
close: string
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
let translationsPerLocale: Record<string, TranslationsType> = {}
|