@c8y/ngx-components 1021.22.33 → 1021.22.35

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.
@@ -3573,6 +3573,36 @@ const MESSAGES_CORE_I18N = {
3573
3573
  }
3574
3574
  };
3575
3575
 
3576
+ /**
3577
+ * Messages required to translate texts of events sent by the datahub microservice.
3578
+ */
3579
+ const MESSAGES_DATAHUB_I18N = {
3580
+ '^Offloading task "(.+?)" finished successfully.$': {
3581
+ gettext: gettext$1('Offloading task "{{ taskName }}" finished successfully.'),
3582
+ placeholders: {
3583
+ taskName: '$1'
3584
+ }
3585
+ },
3586
+ '^Offloading task "(.+?)" finished erroneously.$': {
3587
+ gettext: gettext$1('Offloading task "{{ taskName }}" finished erroneously.'),
3588
+ placeholders: {
3589
+ taskName: '$1'
3590
+ }
3591
+ },
3592
+ '^Compaction task "(.+?)" finished successfully.$': {
3593
+ gettext: gettext$1('Compaction task "{{ taskName }}" finished successfully.'),
3594
+ placeholders: {
3595
+ taskName: '$1'
3596
+ }
3597
+ },
3598
+ '^Compaction task "(.+?)" finished erroneously.$': {
3599
+ gettext: gettext$1('Compaction task "{{ taskName }}" finished erroneously.'),
3600
+ placeholders: {
3601
+ taskName: '$1'
3602
+ }
3603
+ }
3604
+ };
3605
+
3576
3606
  /**
3577
3607
  * Returns a trimmed translation key.
3578
3608
  * If the key contains HTML, it also removes all whitespaces.
@@ -3866,6 +3896,7 @@ class I18nModule {
3866
3896
  return [
3867
3897
  { provide: LOCALE_ID, useFactory: localeId, deps: [AppStateService] },
3868
3898
  hookPatternMessages(MESSAGES_CORE_I18N),
3899
+ hookPatternMessages(MESSAGES_DATAHUB_I18N),
3869
3900
  { provide: LOCALE_PATH, useFactory: localePathFactory, deps: [OptionsService] },
3870
3901
  { provide: LANGUAGES, useFactory: languagesFactory, deps: [OptionsService] },
3871
3902
  // Extracted from projects/ngx-translate/core/src/public_api.ts