Merge pull request #12313 from vvlladd28/improvd/rename-module/add-tranlate

Improved translation in platform
This commit is contained in:
Igor Kulikov 2024-12-24 12:34:07 +02:00 committed by GitHub
commit 203e2a7df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 14 additions and 17 deletions

View File

@ -31,7 +31,7 @@
</tb-resource-autocomplete>
<mat-checkbox [(ngModel)]="resource.isModule"
(ngModelChange)="notifyActionUpdated()">
{{ 'widget.resource-is-module' | translate }}
{{ 'widget.resource-is-extension' | translate }}
</mat-checkbox>
<button mat-icon-button color="primary"
[disabled]="isLoading$ | async"

View File

@ -131,7 +131,7 @@
</tb-resource-autocomplete>
<mat-checkbox [(ngModel)]="resource.isModule"
(ngModelChange)="isDirty = true">
{{ 'widget.resource-is-module' | translate }}
{{ 'widget.resource-is-extension' | translate }}
</mat-checkbox>
<button mat-icon-button color="primary"
[disabled]="isLoading$ | async"

View File

@ -292,6 +292,12 @@ export class EntityAutocompleteComponent implements ControlValueAccessor, OnInit
this.entityRequiredText = 'mobile.bundle-required';
this.notFoundEntities = 'mobile.no-bundle-text';
break;
case EntityType.NOTIFICATION_TARGET:
this.entityText = 'notification.notification-recipient';
this.noEntitiesMatchingText = 'notification.no-recipients-matching';
this.entityRequiredText = 'notification.notification-recipient-required';
this.notFoundEntities = 'notification.no-recipients-text';
break;
case AliasEntityType.CURRENT_CUSTOMER:
this.entityText = 'customer.default-customer';
this.noEntitiesMatchingText = 'customer.no-customers-matching';

View File

@ -6016,7 +6016,6 @@
"type": "نوع الأداة",
"resources": "الموارد",
"resource-url": "رابط JavaScript/CSS",
"resource-is-module": "هو وحدة",
"remove-resource": "إزالة المورد",
"add-resource": "إضافة مورد",
"html": "HTML",

View File

@ -4453,7 +4453,6 @@
"type": "Tipus",
"resources": "Recursos",
"resource-url": "URL JavaScript/CSS",
"resource-is-module": "És mòdul",
"remove-resource": "Eliminar recurs",
"add-resource": "Afegir recurs",
"html": "HTML",

View File

@ -2734,7 +2734,6 @@
"type": "Typ widgetu",
"resources": "Zdroje",
"resource-url": "JavaScript/CSS URL",
"resource-is-module": "Je modulem",
"remove-resource": "Odebrat zdroj",
"add-resource": "Přidat zdroj",
"html": "HTML",

View File

@ -3252,7 +3252,6 @@
"type": "Widget-type",
"resources": "Ressourcer",
"resource-url": "JavaScript/CSS URL",
"resource-is-module": "Er modul",
"remove-resource": "Fjern ressource",
"add-resource": "Tilføj ressource",
"html": "HTML",

View File

@ -265,7 +265,7 @@
"default-dashboard-name": "Default dashboard name",
"default-dashboard-name-max-length": "Default dashboard name should be less than 256",
"delete-domain-text": "Be careful, after the confirmation a domain and all provider data will be unavailable.",
"delete-domain-title": "Are you sure you want to delete settings the domain '{{domainName}}'?",
"delete-domain-title": "Are you sure you want to delete the domain '{{domainName}}'?",
"delete-registration-text": "Be careful, after the confirmation a provider data will be unavailable.",
"delete-registration-title": "Are you sure you want to delete the provider '{{name}}'?",
"email-attribute-key": "Email attribute key",
@ -3711,6 +3711,8 @@
"no-notification-templates": "No notification templates found",
"no-notifications-yet": "No notifications yet",
"no-recipients-notification": "No recipients notification",
"no-recipients-matching": "No recipients matching '{{entity}}' were found.",
"no-recipients-text": "No recipient found",
"no-rule": "No rule configured",
"no-rules-notification": "No rules notification",
"no-severity-found": "No severity found",
@ -3755,6 +3757,8 @@
"users-entity-owner": "Users of the entity owner"
},
"recipients": "Recipients",
"notification-recipient": "Notification recipient",
"notification-recipient-required": "Notification recipient is required.",
"notification-recipients": "Notifications / Recipients",
"recipients-count": "{ count, plural, =1 {1 recipient} other {# recipients} }",
"recipients-required": "Recipients are required",
@ -5428,7 +5432,7 @@
"type": "Widget type",
"resources": "Resources",
"resource-url": "JavaScript/CSS URL",
"resource-is-module": "Is module",
"resource-is-extension": "Is extension",
"remove-resource": "Remove resource",
"add-resource": "Add resource",
"html": "HTML",

View File

@ -4556,7 +4556,6 @@
"type": "Tipo de widget",
"resources": "Recursos",
"resource-url": "URL JavaScript/CSS",
"resource-is-module": "Es módulo",
"remove-resource": "Eliminar recurso",
"add-resource": "Agregar recurso",
"html": "HTML",

View File

@ -2142,7 +2142,6 @@
"type": "위젯 타입",
"resources": "리소스",
"resource-url": "JavaScript/CSS URI",
"resource-is-module": "모듈 여부",
"remove-resource": "리소스 삭제",
"add-resource": "리소스 추가",
"html": "HTML",

View File

@ -5893,7 +5893,6 @@
"type": "Tipas",
"resources": "Resursai",
"resource-url": "JavaScript/CSS URL",
"resource-is-module": "Is module",
"remove-resource": "Panaikinti resursą",
"add-resource": "Pridėti resursą",
"html": "HTML",

View File

@ -5531,7 +5531,6 @@
"type": "Type widget",
"resources": "Weg",
"resource-url": "JavaScript/CSS-URL",
"resource-is-module": "Is-module",
"remove-resource": "Bron verwijderen",
"add-resource": "Bron toevoegen",
"html": ".HTML",

View File

@ -5910,7 +5910,6 @@
"type": "Typ widgetu",
"resources": "Biblioteki",
"resource-url": "Adres URL JavaScript/CSS",
"resource-is-module": "Jest modułem",
"remove-resource": "Usuń zasób",
"add-resource": "Dodaj zasób",
"html": "HTML",

View File

@ -1729,7 +1729,6 @@
"type": "Tipo de widget",
"resources": "Recursos",
"resource-url": "URL de JavaScript/CSS",
"resource-is-module": "É módulo",
"remove-resource": "Remover recurso",
"add-resource": "Adicionar recurso",
"html": "HTML",

View File

@ -2143,7 +2143,6 @@
"type": "Vrsta pripomočka",
"resources": "Viri",
"resource-url": "URL JavaScript / CSS",
"resource-is-module": "Je modul",
"remove-resource": "Odstrani vir",
"add-resource": "Dodaj vir",
"html": "HTML",

View File

@ -4771,7 +4771,6 @@
"type": "类型",
"resources": "资源",
"resource-url": "JavaScript/CSS",
"resource-is-module": "是否模块",
"remove-resource": "删除资源",
"add-resource": "添加资源",
"html": "HTML",

View File

@ -3310,7 +3310,6 @@
"type": "部件類型",
"resources": "資源",
"resource-url": "JavaScript/CSS URL",
"resource-is-module": "是模組",
"remove-resource": "刪除資源",
"add-resource": "增加資源",
"html": "HTML",