@flexem/fc-gui 3.0.0-alpha.119 → 3.0.0-alpha.120
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.
|
@@ -35331,7 +35331,7 @@ class readable_element_ReadableElement extends conditional_enable_element_Condit
|
|
|
35331
35331
|
}
|
|
35332
35332
|
if (value.systemName === '设备状态') {
|
|
35333
35333
|
let name = value.customStatus;
|
|
35334
|
-
const language = ((_b = (_a = window.abp.localization) === null || _a === void 0 ? void 0 : _a.
|
|
35334
|
+
const language = ((_b = (_a = window.abp.localization) === null || _a === void 0 ? void 0 : _a.currentLanguage) === null || _b === void 0 ? void 0 : _b.name) || ((_d = (_c = this.localization.localizationService) === null || _c === void 0 ? void 0 : _c.translate) === null || _d === void 0 ? void 0 : _d.currentLang);
|
|
35335
35335
|
const isChinese = language === 'zh-Hans' || language === 'zh';
|
|
35336
35336
|
if (!name) {
|
|
35337
35337
|
switch (value.state) {
|