mn-angular-lib 0.0.46 → 0.0.47

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.
@@ -755,6 +755,17 @@ class MnConfigService {
755
755
  if (isTranslatable(value)) {
756
756
  out[key] = this.lang.translate(value.$translate, value.params);
757
757
  }
758
+ else if (Array.isArray(value)) {
759
+ out[key] = value.map(item => {
760
+ if (isTranslatable(item)) {
761
+ return this.lang.translate(item.$translate, item.params);
762
+ }
763
+ else if (isPlainObject(item)) {
764
+ return this.resolveTranslatables(item);
765
+ }
766
+ return item;
767
+ });
768
+ }
758
769
  else if (isPlainObject(value)) {
759
770
  out[key] = this.resolveTranslatables(value);
760
771
  }