ba-js-common-header 0.0.63 → 0.0.64
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.
|
@@ -16071,7 +16071,7 @@ function HelpCenter() {
|
|
|
16071
16071
|
className: "ps-lg-3 pe-3 py-2 d-block",
|
|
16072
16072
|
children: [/* @__PURE__ */ jsx("span", {
|
|
16073
16073
|
className: "ps-lg-2",
|
|
16074
|
-
children: label
|
|
16074
|
+
children: i18n.translate(label).fetch()
|
|
16075
16075
|
}), /* @__PURE__ */ jsx("span", {
|
|
16076
16076
|
className: "d-none d-lg-inline ms-2",
|
|
16077
16077
|
children: /* @__PURE__ */ jsx(commonThin.ArrowAngleDown, {
|
|
@@ -16142,7 +16142,7 @@ function UserManager() {
|
|
|
16142
16142
|
className: "col py-2 py-lg-0 px-0",
|
|
16143
16143
|
children: [/* @__PURE__ */ jsx("small", {
|
|
16144
16144
|
className: "pt-2 d-lg-none",
|
|
16145
|
-
children: label
|
|
16145
|
+
children: i18n.translate(label).fetch()
|
|
16146
16146
|
}), /* @__PURE__ */ jsxs("span", {
|
|
16147
16147
|
className: "ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",
|
|
16148
16148
|
children: [/* @__PURE__ */ jsx("span", {
|
|
@@ -16205,6 +16205,9 @@ function UserLanguage(props) {
|
|
|
16205
16205
|
subMenus
|
|
16206
16206
|
} = useSelector((state) => state.headerInfo);
|
|
16207
16207
|
const dispatch = useDispatch();
|
|
16208
|
+
const {
|
|
16209
|
+
i18n
|
|
16210
|
+
} = useI18n();
|
|
16208
16211
|
useEffect(() => {
|
|
16209
16212
|
if (languageSelector) {
|
|
16210
16213
|
const {
|
|
@@ -16257,7 +16260,7 @@ function UserLanguage(props) {
|
|
|
16257
16260
|
className: "col py-2 py-lg-0 px-0",
|
|
16258
16261
|
children: [/* @__PURE__ */ jsx("small", {
|
|
16259
16262
|
className: "pt-2 d-lg-none",
|
|
16260
|
-
children: label
|
|
16263
|
+
children: i18n.translate(label).fetch()
|
|
16261
16264
|
}), /* @__PURE__ */ jsxs("span", {
|
|
16262
16265
|
className: "ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",
|
|
16263
16266
|
children: [selectedLanguageName, /* @__PURE__ */ jsx("span", {
|