Skip to content

Commit ba598ad

Browse files
chore: update deps (#735)
1 parent 775bacf commit ba598ad

File tree

3 files changed

+43
-42
lines changed

3 files changed

+43
-42
lines changed

package-lock.json

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
},
1212
"dependencies": {
1313
"@gravity-ui/axios-wrapper": "^1.3.0",
14-
"@gravity-ui/chartkit": "^4.15.0",
15-
"@gravity-ui/components": "^2.9.1",
16-
"@gravity-ui/date-utils": "^1.1.1",
17-
"@gravity-ui/i18n": "^1.0.0",
14+
"@gravity-ui/chartkit": "^4.20.1",
15+
"@gravity-ui/components": "^2.12.0",
16+
"@gravity-ui/date-utils": "^1.4.2",
17+
"@gravity-ui/i18n": "^1.2.0",
1818
"@gravity-ui/icons": "^2.8.1",
19-
"@gravity-ui/navigation": "^1.8.0",
19+
"@gravity-ui/navigation": "^1.9.0",
2020
"@gravity-ui/paranoid": "^1.4.0",
21-
"@gravity-ui/react-data-table": "^1.0.3",
22-
"@gravity-ui/uikit": "^5.24.0",
21+
"@gravity-ui/react-data-table": "^1.2.0",
22+
"@gravity-ui/uikit": "^5.30.1",
2323
"axios": "^0.21.2",
2424
"bem-cn-lite": "^4.1.0",
2525
"copy-to-clipboard": "^3.3.3",

src/utils/i18n/i18n.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ enum Lang {
1515
const defaultLang = Lang.En;
1616
const currentLang = settingsManager.readUserSettingsValue(LANGUAGE_KEY, defaultLang) as Lang;
1717

18-
const i18n = new I18N();
18+
const i18n = new I18N({
19+
lang: currentLang,
1920

20-
// Enable keysets with only en lang
21-
i18n.fallbackLang = Lang.En;
21+
// Enable keysets with only en lang
22+
fallbackLang: Lang.En,
23+
});
2224

23-
i18n.setLang(currentLang);
2425
configureYdbUiComponents({lang: currentLang});
2526
configureUiKit({lang: currentLang});
2627
configureUiKitComponents({lang: currentLang});

0 commit comments

Comments
 (0)