@snack-uikit/locale 0.15.2 → 0.15.3
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 +8 -0
- package/dist/cjs/locales/en_GB.d.ts +10 -0
- package/dist/cjs/locales/en_GB.js +11 -1
- package/dist/cjs/locales/index.d.ts +20 -0
- package/dist/cjs/locales/ru_RU.js +11 -1
- package/dist/esm/locales/en_GB.d.ts +10 -0
- package/dist/esm/locales/en_GB.js +10 -0
- package/dist/esm/locales/index.d.ts +20 -0
- package/dist/esm/locales/ru_RU.js +10 -0
- package/package.json +2 -2
- package/src/locales/en_GB.ts +10 -0
- package/src/locales/ru_RU.ts +10 -0
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.3 (2025-11-06)</small>
|
|
7
|
+
|
|
8
|
+
* feat(PDS-1292): presets for calendar range mode ([45929bd](https://github.com/cloud-ru-tech/snack-uikit/commit/45929bd))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## <small>0.15.2 (2025-10-06)</small>
|
|
7
15
|
|
|
8
16
|
* feat(PDS-2843): add interpolation to useLocale ([dfd0a2e](https://github.com/cloud-ru-tech/snack-uikit/commit/dfd0a2e))
|
|
@@ -60,6 +60,16 @@ export declare const en_GB: {
|
|
|
60
60
|
Calendar: {
|
|
61
61
|
current: string;
|
|
62
62
|
time: string;
|
|
63
|
+
presets: string;
|
|
64
|
+
defaultPresets: {
|
|
65
|
+
lastWeek: string;
|
|
66
|
+
lastTwoWeeks: string;
|
|
67
|
+
lastMonth: string;
|
|
68
|
+
lastQuarter: string;
|
|
69
|
+
lastThird: string;
|
|
70
|
+
lastYear: string;
|
|
71
|
+
lastTwoYears: string;
|
|
72
|
+
};
|
|
63
73
|
};
|
|
64
74
|
Toolbar: {
|
|
65
75
|
hideFilters: string;
|
|
@@ -65,7 +65,17 @@ exports.en_GB = {
|
|
|
65
65
|
},
|
|
66
66
|
Calendar: {
|
|
67
67
|
current: 'Current',
|
|
68
|
-
time: 'Time'
|
|
68
|
+
time: 'Time',
|
|
69
|
+
presets: 'Presets',
|
|
70
|
+
defaultPresets: {
|
|
71
|
+
lastWeek: 'Last 7 days',
|
|
72
|
+
lastTwoWeeks: 'Last 14 days',
|
|
73
|
+
lastMonth: 'Last 30 days',
|
|
74
|
+
lastQuarter: 'Last 90 days',
|
|
75
|
+
lastThird: 'Last 120 days',
|
|
76
|
+
lastYear: 'Last 1 year',
|
|
77
|
+
lastTwoYears: 'Last 2 years'
|
|
78
|
+
}
|
|
69
79
|
},
|
|
70
80
|
Toolbar: {
|
|
71
81
|
hideFilters: 'Hide filters',
|
|
@@ -61,6 +61,16 @@ export declare const LOCALES: {
|
|
|
61
61
|
Calendar: {
|
|
62
62
|
current: string;
|
|
63
63
|
time: string;
|
|
64
|
+
presets: string;
|
|
65
|
+
defaultPresets: {
|
|
66
|
+
lastWeek: string;
|
|
67
|
+
lastTwoWeeks: string;
|
|
68
|
+
lastMonth: string;
|
|
69
|
+
lastQuarter: string;
|
|
70
|
+
lastThird: string;
|
|
71
|
+
lastYear: string;
|
|
72
|
+
lastTwoYears: string;
|
|
73
|
+
};
|
|
64
74
|
};
|
|
65
75
|
Toolbar: {
|
|
66
76
|
hideFilters: string;
|
|
@@ -138,6 +148,16 @@ export declare const LOCALES: {
|
|
|
138
148
|
Calendar: {
|
|
139
149
|
current: string;
|
|
140
150
|
time: string;
|
|
151
|
+
presets: string;
|
|
152
|
+
defaultPresets: {
|
|
153
|
+
lastWeek: string;
|
|
154
|
+
lastTwoWeeks: string;
|
|
155
|
+
lastMonth: string;
|
|
156
|
+
lastQuarter: string;
|
|
157
|
+
lastThird: string;
|
|
158
|
+
lastYear: string;
|
|
159
|
+
lastTwoYears: string;
|
|
160
|
+
};
|
|
141
161
|
};
|
|
142
162
|
Toolbar: {
|
|
143
163
|
hideFilters: string;
|
|
@@ -65,7 +65,17 @@ exports.ru_RU = {
|
|
|
65
65
|
},
|
|
66
66
|
Calendar: {
|
|
67
67
|
current: 'Сейчас',
|
|
68
|
-
time: 'Время'
|
|
68
|
+
time: 'Время',
|
|
69
|
+
presets: 'Пресеты',
|
|
70
|
+
defaultPresets: {
|
|
71
|
+
lastWeek: 'Последние 7 дней',
|
|
72
|
+
lastTwoWeeks: 'Последние 14 дней',
|
|
73
|
+
lastMonth: 'Последние 30 дней',
|
|
74
|
+
lastQuarter: 'Последние 90 дней',
|
|
75
|
+
lastThird: 'Последние 120 дней',
|
|
76
|
+
lastYear: 'Последний 1 год',
|
|
77
|
+
lastTwoYears: 'Последние 2 года'
|
|
78
|
+
}
|
|
69
79
|
},
|
|
70
80
|
Toolbar: {
|
|
71
81
|
hideFilters: 'Скрыть фильтры',
|
|
@@ -60,6 +60,16 @@ export declare const en_GB: {
|
|
|
60
60
|
Calendar: {
|
|
61
61
|
current: string;
|
|
62
62
|
time: string;
|
|
63
|
+
presets: string;
|
|
64
|
+
defaultPresets: {
|
|
65
|
+
lastWeek: string;
|
|
66
|
+
lastTwoWeeks: string;
|
|
67
|
+
lastMonth: string;
|
|
68
|
+
lastQuarter: string;
|
|
69
|
+
lastThird: string;
|
|
70
|
+
lastYear: string;
|
|
71
|
+
lastTwoYears: string;
|
|
72
|
+
};
|
|
63
73
|
};
|
|
64
74
|
Toolbar: {
|
|
65
75
|
hideFilters: string;
|
|
@@ -60,6 +60,16 @@ export const en_GB = {
|
|
|
60
60
|
Calendar: {
|
|
61
61
|
current: 'Current',
|
|
62
62
|
time: 'Time',
|
|
63
|
+
presets: 'Presets',
|
|
64
|
+
defaultPresets: {
|
|
65
|
+
lastWeek: 'Last 7 days',
|
|
66
|
+
lastTwoWeeks: 'Last 14 days',
|
|
67
|
+
lastMonth: 'Last 30 days',
|
|
68
|
+
lastQuarter: 'Last 90 days',
|
|
69
|
+
lastThird: 'Last 120 days',
|
|
70
|
+
lastYear: 'Last 1 year',
|
|
71
|
+
lastTwoYears: 'Last 2 years',
|
|
72
|
+
},
|
|
63
73
|
},
|
|
64
74
|
Toolbar: {
|
|
65
75
|
hideFilters: 'Hide filters',
|
|
@@ -61,6 +61,16 @@ export declare const LOCALES: {
|
|
|
61
61
|
Calendar: {
|
|
62
62
|
current: string;
|
|
63
63
|
time: string;
|
|
64
|
+
presets: string;
|
|
65
|
+
defaultPresets: {
|
|
66
|
+
lastWeek: string;
|
|
67
|
+
lastTwoWeeks: string;
|
|
68
|
+
lastMonth: string;
|
|
69
|
+
lastQuarter: string;
|
|
70
|
+
lastThird: string;
|
|
71
|
+
lastYear: string;
|
|
72
|
+
lastTwoYears: string;
|
|
73
|
+
};
|
|
64
74
|
};
|
|
65
75
|
Toolbar: {
|
|
66
76
|
hideFilters: string;
|
|
@@ -138,6 +148,16 @@ export declare const LOCALES: {
|
|
|
138
148
|
Calendar: {
|
|
139
149
|
current: string;
|
|
140
150
|
time: string;
|
|
151
|
+
presets: string;
|
|
152
|
+
defaultPresets: {
|
|
153
|
+
lastWeek: string;
|
|
154
|
+
lastTwoWeeks: string;
|
|
155
|
+
lastMonth: string;
|
|
156
|
+
lastQuarter: string;
|
|
157
|
+
lastThird: string;
|
|
158
|
+
lastYear: string;
|
|
159
|
+
lastTwoYears: string;
|
|
160
|
+
};
|
|
141
161
|
};
|
|
142
162
|
Toolbar: {
|
|
143
163
|
hideFilters: string;
|
|
@@ -60,6 +60,16 @@ export const ru_RU = {
|
|
|
60
60
|
Calendar: {
|
|
61
61
|
current: 'Сейчас',
|
|
62
62
|
time: 'Время',
|
|
63
|
+
presets: 'Пресеты',
|
|
64
|
+
defaultPresets: {
|
|
65
|
+
lastWeek: 'Последние 7 дней',
|
|
66
|
+
lastTwoWeeks: 'Последние 14 дней',
|
|
67
|
+
lastMonth: 'Последние 30 дней',
|
|
68
|
+
lastQuarter: 'Последние 90 дней',
|
|
69
|
+
lastThird: 'Последние 120 дней',
|
|
70
|
+
lastYear: 'Последний 1 год',
|
|
71
|
+
lastTwoYears: 'Последние 2 года',
|
|
72
|
+
},
|
|
63
73
|
},
|
|
64
74
|
Toolbar: {
|
|
65
75
|
hideFilters: 'Скрыть фильтры',
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Locale",
|
|
7
|
-
"version": "0.15.
|
|
7
|
+
"version": "0.15.3",
|
|
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": "
|
|
44
|
+
"gitHead": "6b989b5fe57383ddf2bd6c1186bf4e1652633da7"
|
|
45
45
|
}
|
package/src/locales/en_GB.ts
CHANGED
|
@@ -62,6 +62,16 @@ export const en_GB = {
|
|
|
62
62
|
Calendar: {
|
|
63
63
|
current: 'Current',
|
|
64
64
|
time: 'Time',
|
|
65
|
+
presets: 'Presets',
|
|
66
|
+
defaultPresets: {
|
|
67
|
+
lastWeek: 'Last 7 days',
|
|
68
|
+
lastTwoWeeks: 'Last 14 days',
|
|
69
|
+
lastMonth: 'Last 30 days',
|
|
70
|
+
lastQuarter: 'Last 90 days',
|
|
71
|
+
lastThird: 'Last 120 days',
|
|
72
|
+
lastYear: 'Last 1 year',
|
|
73
|
+
lastTwoYears: 'Last 2 years',
|
|
74
|
+
},
|
|
65
75
|
},
|
|
66
76
|
Toolbar: {
|
|
67
77
|
hideFilters: 'Hide filters',
|
package/src/locales/ru_RU.ts
CHANGED
|
@@ -62,6 +62,16 @@ export const ru_RU: typeof en_GB = {
|
|
|
62
62
|
Calendar: {
|
|
63
63
|
current: 'Сейчас',
|
|
64
64
|
time: 'Время',
|
|
65
|
+
presets: 'Пресеты',
|
|
66
|
+
defaultPresets: {
|
|
67
|
+
lastWeek: 'Последние 7 дней',
|
|
68
|
+
lastTwoWeeks: 'Последние 14 дней',
|
|
69
|
+
lastMonth: 'Последние 30 дней',
|
|
70
|
+
lastQuarter: 'Последние 90 дней',
|
|
71
|
+
lastThird: 'Последние 120 дней',
|
|
72
|
+
lastYear: 'Последний 1 год',
|
|
73
|
+
lastTwoYears: 'Последние 2 года',
|
|
74
|
+
},
|
|
65
75
|
},
|
|
66
76
|
Toolbar: {
|
|
67
77
|
hideFilters: 'Скрыть фильтры',
|