@snack-uikit/locale 0.8.0 → 0.8.1-preview-4f9628fc.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/README.md +1 -1
- package/dist/locales/en_GB.d.ts +4 -0
- package/dist/locales/en_GB.js +4 -0
- package/dist/locales/index.d.ts +8 -0
- package/dist/locales/ru_RU.js +4 -0
- package/package.json +2 -2
- package/src/locales/en_GB.ts +4 -0
- package/src/locales/ru_RU.ts +4 -0
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ const lang = 'en_GB'; // or 'ru_RU' or 'custom_LANG'
|
|
|
54
54
|
| name | type | default value | description |
|
|
55
55
|
|------|------|---------------|-------------|
|
|
56
56
|
| lang* | `string` | - | |
|
|
57
|
-
| locales | `PartialObjectDeep<Record<string, { Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; ...
|
|
57
|
+
| locales | `PartialObjectDeep<Record<string, { Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; ... 5 more ...; Calendar: { ...; }; }>>` | - | |
|
|
58
58
|
## useLocale
|
|
59
59
|
`helper`
|
|
60
60
|
|
package/dist/locales/en_GB.d.ts
CHANGED
package/dist/locales/en_GB.js
CHANGED
package/dist/locales/index.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export declare const LOCALES: {
|
|
|
48
48
|
apply: string;
|
|
49
49
|
cancel: string;
|
|
50
50
|
};
|
|
51
|
+
Calendar: {
|
|
52
|
+
current: string;
|
|
53
|
+
time: string;
|
|
54
|
+
};
|
|
51
55
|
};
|
|
52
56
|
readonly ru_RU: {
|
|
53
57
|
Table: {
|
|
@@ -98,5 +102,9 @@ export declare const LOCALES: {
|
|
|
98
102
|
apply: string;
|
|
99
103
|
cancel: string;
|
|
100
104
|
};
|
|
105
|
+
Calendar: {
|
|
106
|
+
current: string;
|
|
107
|
+
time: string;
|
|
108
|
+
};
|
|
101
109
|
};
|
|
102
110
|
};
|
package/dist/locales/ru_RU.js
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Locale",
|
|
7
|
-
"version": "0.8.0",
|
|
7
|
+
"version": "0.8.1-preview-4f9628fc.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/lodash.merge": "4.6.9"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e3e8e7afe206788b86b25e19eff757fb3e67ce05"
|
|
41
41
|
}
|
package/src/locales/en_GB.ts
CHANGED