Skip to content

Commit 14a4938

Browse files
Lukas742vladitasev
authored andcommitted
fix(ui5-label): use correct i18n bundle & make component language aware (#7652)
1 parent 8613c2c commit 14a4938

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/main/src/Label.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import labelCss from "./generated/themes/Label.css.js";
4343
renderer: litRender,
4444
template: LabelTemplate,
4545
styles: labelCss,
46+
languageAware: true,
4647
})
4748
class Label extends UI5Element {
4849
/**
@@ -100,7 +101,7 @@ class Label extends UI5Element {
100101
static i18nBundle: I18nBundle;
101102

102103
static async onDefine() {
103-
Label.i18nBundle = await getI18nBundle("@ui5/webcomponents-fiori");
104+
Label.i18nBundle = await getI18nBundle("@ui5/webcomponents");
104105
}
105106

106107
/**

0 commit comments

Comments
 (0)