@snack-uikit/locale 0.12.1 → 0.12.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 0.12.2 (2025-03-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **PDS-1483:** locale translation improvements for table ([78798db](https://github.com/cloud-ru-tech/snack-uikit/commit/78798dba545d9b6bf327b8f693fb0ca6348a8abc))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.12.1 (2025-03-06)
7
18
 
8
19
 
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; groupSelectButton: { ...; }; }; ... 6 more ...; Toolbar: { ...; }; }>>` | - | |
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; groupSelectButton: { ...; }; settingsHeaderLabel: string; }; ... 6 more ...` | - | |
58
58
  ## useLocale
59
59
  `helper`
60
60
 
@@ -18,6 +18,7 @@ export declare const en_GB: {
18
18
  hide: string;
19
19
  show: string;
20
20
  };
21
+ settingsHeaderLabel: string;
21
22
  };
22
23
  List: {
23
24
  noData: {
@@ -23,7 +23,8 @@ exports.en_GB = {
23
23
  groupSelectButton: {
24
24
  hide: 'Hide all',
25
25
  show: 'Show all'
26
- }
26
+ },
27
+ settingsHeaderLabel: 'Display settings'
27
28
  },
28
29
  List: {
29
30
  noData: {
@@ -19,6 +19,7 @@ export declare const LOCALES: {
19
19
  hide: string;
20
20
  show: string;
21
21
  };
22
+ settingsHeaderLabel: string;
22
23
  };
23
24
  List: {
24
25
  noData: {
@@ -86,6 +87,7 @@ export declare const LOCALES: {
86
87
  hide: string;
87
88
  show: string;
88
89
  };
90
+ settingsHeaderLabel: string;
89
91
  };
90
92
  List: {
91
93
  noData: {
@@ -23,7 +23,8 @@ exports.ru_RU = {
23
23
  groupSelectButton: {
24
24
  hide: 'Скрыть все',
25
25
  show: 'Показать все'
26
- }
26
+ },
27
+ settingsHeaderLabel: 'Настройки отображения'
27
28
  },
28
29
  Chips: {
29
30
  allLabel: 'Все',
@@ -18,6 +18,7 @@ export declare const en_GB: {
18
18
  hide: string;
19
19
  show: string;
20
20
  };
21
+ settingsHeaderLabel: string;
21
22
  };
22
23
  List: {
23
24
  noData: {
@@ -18,6 +18,7 @@ export const en_GB = {
18
18
  hide: 'Hide all',
19
19
  show: 'Show all',
20
20
  },
21
+ settingsHeaderLabel: 'Display settings',
21
22
  },
22
23
  List: {
23
24
  noData: {
@@ -19,6 +19,7 @@ export declare const LOCALES: {
19
19
  hide: string;
20
20
  show: string;
21
21
  };
22
+ settingsHeaderLabel: string;
22
23
  };
23
24
  List: {
24
25
  noData: {
@@ -86,6 +87,7 @@ export declare const LOCALES: {
86
87
  hide: string;
87
88
  show: string;
88
89
  };
90
+ settingsHeaderLabel: string;
89
91
  };
90
92
  List: {
91
93
  noData: {
@@ -18,6 +18,7 @@ export const ru_RU = {
18
18
  hide: 'Скрыть все',
19
19
  show: 'Показать все',
20
20
  },
21
+ settingsHeaderLabel: 'Настройки отображения',
21
22
  },
22
23
  Chips: {
23
24
  allLabel: 'Все',
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.12.1",
7
+ "version": "0.12.2",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -41,5 +41,5 @@
41
41
  "devDependencies": {
42
42
  "@types/lodash.merge": "4.6.9"
43
43
  },
44
- "gitHead": "cafb29b74a6ac4d38594e9d46599617925165935"
44
+ "gitHead": "d2606dfcde2dbcc674adc2d7765c3f1eee55aa7a"
45
45
  }
@@ -18,6 +18,7 @@ export const en_GB = {
18
18
  hide: 'Hide all',
19
19
  show: 'Show all',
20
20
  },
21
+ settingsHeaderLabel: 'Display settings',
21
22
  },
22
23
  List: {
23
24
  noData: {
@@ -20,6 +20,7 @@ export const ru_RU: typeof en_GB = {
20
20
  hide: 'Скрыть все',
21
21
  show: 'Показать все',
22
22
  },
23
+ settingsHeaderLabel: 'Настройки отображения',
23
24
  },
24
25
  Chips: {
25
26
  allLabel: 'Все',