@snack-uikit/locale 0.15.4 → 0.15.6-preview-0aba136f.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## <small>0.15.5 (2026-01-19)</small>
7
+
8
+ * chore(FF-6693): tune test configs ([d194f4d](https://github.com/cloud-ru-tech/snack-uikit/commit/d194f4d))
9
+
10
+
11
+
12
+
13
+
6
14
  ## <small>0.15.4 (2025-12-06)</small>
7
15
 
8
16
  * chore(FF-7187): update typescript to 5.9.3 & some eslint deps ([b84df17](https://github.com/cloud-ru-tech/snack-uikit/commit/b84df17))
@@ -47,7 +47,7 @@ function createLocaleContext(_ref) {
47
47
  const localesByLang = (0, react_1.useMemo)(() => {
48
48
  let localesObj = locales[lang];
49
49
  if (!localesObj) {
50
- console.warn(`Snack-uikit: localization for lang ${lang} was not found. Make sure you are using correct lang or passed proper locales to LocaleProvider. For now default language (${exports.DEFAULT_LANG}) will be used`);
50
+ console.warn("Snack-uikit: localization for lang ".concat(lang, " was not found. Make sure you are using correct lang or passed proper locales to LocaleProvider. For now default language (").concat(exports.DEFAULT_LANG, ") will be used"));
51
51
  localesObj = locales[fallbackLang];
52
52
  }
53
53
  return localesObj;
@@ -86,7 +86,7 @@ function createLocaleContext(_ref) {
86
86
  }, locales);
87
87
  }
88
88
  if (!(translation === null || translation === void 0 ? void 0 : translation.length)) {
89
- console.warn(`Snack-uikit: the '${key}' key is not found in the current locale '${lang}'.`);
89
+ console.warn("Snack-uikit: the '".concat(key, "' key is not found in the current locale '").concat(lang, "'."));
90
90
  return key;
91
91
  }
92
92
  return (0, interpolateTranslation_1.interpolateTranslation)(translation, interpolation);
@@ -59,6 +59,7 @@ export declare const en_GB: {
59
59
  };
60
60
  Calendar: {
61
61
  current: string;
62
+ apply: string;
62
63
  time: string;
63
64
  presets: string;
64
65
  defaultPresets: {
@@ -65,6 +65,7 @@ exports.en_GB = {
65
65
  },
66
66
  Calendar: {
67
67
  current: 'Current',
68
+ apply: 'Apply',
68
69
  time: 'Time',
69
70
  presets: 'Presets',
70
71
  defaultPresets: {
@@ -60,6 +60,7 @@ export declare const LOCALES: {
60
60
  };
61
61
  Calendar: {
62
62
  current: string;
63
+ apply: string;
63
64
  time: string;
64
65
  presets: string;
65
66
  defaultPresets: {
@@ -147,6 +148,7 @@ export declare const LOCALES: {
147
148
  };
148
149
  Calendar: {
149
150
  current: string;
151
+ apply: string;
150
152
  time: string;
151
153
  presets: string;
152
154
  defaultPresets: {
@@ -65,6 +65,7 @@ exports.ru_RU = {
65
65
  },
66
66
  Calendar: {
67
67
  current: 'Сейчас',
68
+ apply: 'Применить',
68
69
  time: 'Время',
69
70
  presets: 'Пресеты',
70
71
  defaultPresets: {
@@ -59,6 +59,7 @@ export declare const en_GB: {
59
59
  };
60
60
  Calendar: {
61
61
  current: string;
62
+ apply: string;
62
63
  time: string;
63
64
  presets: string;
64
65
  defaultPresets: {
@@ -59,6 +59,7 @@ export const en_GB = {
59
59
  },
60
60
  Calendar: {
61
61
  current: 'Current',
62
+ apply: 'Apply',
62
63
  time: 'Time',
63
64
  presets: 'Presets',
64
65
  defaultPresets: {
@@ -60,6 +60,7 @@ export declare const LOCALES: {
60
60
  };
61
61
  Calendar: {
62
62
  current: string;
63
+ apply: string;
63
64
  time: string;
64
65
  presets: string;
65
66
  defaultPresets: {
@@ -147,6 +148,7 @@ export declare const LOCALES: {
147
148
  };
148
149
  Calendar: {
149
150
  current: string;
151
+ apply: string;
150
152
  time: string;
151
153
  presets: string;
152
154
  defaultPresets: {
@@ -59,6 +59,7 @@ export const ru_RU = {
59
59
  },
60
60
  Calendar: {
61
61
  current: 'Сейчас',
62
+ apply: 'Применить',
62
63
  time: 'Время',
63
64
  presets: 'Пресеты',
64
65
  defaultPresets: {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.15.4",
7
+ "version": "0.15.6-preview-0aba136f.0",
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": "78bb9c9dd3a49941fa39bde71d838e9bf036e65d"
44
+ "gitHead": "a2db41da4366417b6ff322f3a1ba73da8ba96222"
45
45
  }
@@ -61,6 +61,7 @@ export const en_GB = {
61
61
  },
62
62
  Calendar: {
63
63
  current: 'Current',
64
+ apply: 'Apply',
64
65
  time: 'Time',
65
66
  presets: 'Presets',
66
67
  defaultPresets: {
@@ -61,6 +61,7 @@ export const ru_RU: typeof en_GB = {
61
61
  },
62
62
  Calendar: {
63
63
  current: 'Сейчас',
64
+ apply: 'Применить',
64
65
  time: 'Время',
65
66
  presets: 'Пресеты',
66
67
  defaultPresets: {