@flexem/fc-gui 3.0.0-alpha.155 → 3.0.0-alpha.156

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.
@@ -44291,11 +44291,11 @@ let WriteValueModalComponent = class WriteValueModalComponent {
44291
44291
  this.validate();
44292
44292
  }
44293
44293
  initData(option) {
44294
- var _a, _b, _c;
44294
+ var _a, _b, _c, _d, _e;
44295
44295
  this.variableName = option.variableName;
44296
44296
  this.displayVariableName = this.variableName;
44297
44297
  if (this.variableName === '当前语种ID') {
44298
- const language = (_c = (_b = (_a = window.abp) === null || _a === void 0 ? void 0 : _a.localization) === null || _b === void 0 ? void 0 : _b.currentLanguage) === null || _c === void 0 ? void 0 : _c.name;
44298
+ const language = ((_c = (_b = (_a = window.abp) === null || _a === void 0 ? void 0 : _a.localization) === null || _b === void 0 ? void 0 : _b.currentLanguage) === null || _c === void 0 ? void 0 : _c.name) || ((_e = (_d = this.localization.localizationService) === null || _d === void 0 ? void 0 : _d.translate) === null || _e === void 0 ? void 0 : _e.currentLang);
44299
44299
  const isTraditionalChinese = language === 'zh-Hant' || language === 'zh-TW' || language === 'zh-tw';
44300
44300
  const isChinese = language === 'zh-Hans' || language === 'zh';
44301
44301
  if (isTraditionalChinese) {