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

View File

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

View File

@ -292,6 +292,12 @@ export class EntityAutocompleteComponent implements ControlValueAccessor, OnInit
this.entityRequiredText = 'mobile.bundle-required'; this.entityRequiredText = 'mobile.bundle-required';
this.notFoundEntities = 'mobile.no-bundle-text'; this.notFoundEntities = 'mobile.no-bundle-text';
break; 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: case AliasEntityType.CURRENT_CUSTOMER:
this.entityText = 'customer.default-customer'; this.entityText = 'customer.default-customer';
this.noEntitiesMatchingText = 'customer.no-customers-matching'; this.noEntitiesMatchingText = 'customer.no-customers-matching';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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