@c8y/ngx-components 1021.25.0 → 1021.25.5

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.
@@ -1685,6 +1685,7 @@ class MissingTranslationCustomHandler {
1685
1685
  else {
1686
1686
  translation = this.parser.interpolate(messageKey, interpolateParams);
1687
1687
  }
1688
+ translation = this.removeContextIndicators(translation);
1688
1689
  this.addToCache(messageKey, interpolateParams, translation);
1689
1690
  }
1690
1691
  return translation;
@@ -1715,6 +1716,9 @@ class MissingTranslationCustomHandler {
1715
1716
  }
1716
1717
  return undefined;
1717
1718
  }
1719
+ removeContextIndicators(translation) {
1720
+ return translation.replace(/`[^`]*`/g, '');
1721
+ }
1718
1722
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MissingTranslationCustomHandler, deps: [{ token: i1$1.TranslateParser }, { token: PatternMessagesService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1719
1723
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: MissingTranslationCustomHandler }); }
1720
1724
  }
@@ -17426,6 +17430,7 @@ class C8yStepperButtons {
17426
17430
  * Otherwise it will call stepper.next() as default.
17427
17431
  */
17428
17432
  next() {
17433
+ this.stepper.selected.completed = true;
17429
17434
  if (this.onNext.observers.length > 0) {
17430
17435
  this.onNext.emit({ stepper: this.stepper, step: this.step });
17431
17436
  }