From 45b86ec12ac4af615ab55389224fd76198dc8ec9 Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 1 Sep 2023 15:28:36 +0300 Subject: [PATCH 1/2] Update required error text for the entity type select --- ui-ngx/src/assets/locale/locale.constant-ca_ES.json | 1 - ui-ngx/src/assets/locale/locale.constant-cs_CZ.json | 1 - ui-ngx/src/assets/locale/locale.constant-da_DK.json | 1 - ui-ngx/src/assets/locale/locale.constant-de_DE.json | 1 - ui-ngx/src/assets/locale/locale.constant-el_GR.json | 1 - ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- ui-ngx/src/assets/locale/locale.constant-es_ES.json | 1 - ui-ngx/src/assets/locale/locale.constant-fa_IR.json | 1 - ui-ngx/src/assets/locale/locale.constant-fr_FR.json | 1 - ui-ngx/src/assets/locale/locale.constant-it_IT.json | 1 - ui-ngx/src/assets/locale/locale.constant-ja_JP.json | 1 - ui-ngx/src/assets/locale/locale.constant-ka_GE.json | 1 - ui-ngx/src/assets/locale/locale.constant-ko_KR.json | 1 - ui-ngx/src/assets/locale/locale.constant-lv_LV.json | 1 - ui-ngx/src/assets/locale/locale.constant-pt_BR.json | 1 - ui-ngx/src/assets/locale/locale.constant-ro_RO.json | 1 - ui-ngx/src/assets/locale/locale.constant-ru_RU.json | 1 - ui-ngx/src/assets/locale/locale.constant-sl_SI.json | 1 - ui-ngx/src/assets/locale/locale.constant-tr_TR.json | 1 - ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 2 +- ui-ngx/src/assets/locale/locale.constant-zh_CN.json | 1 - ui-ngx/src/assets/locale/locale.constant-zh_TW.json | 1 - 22 files changed, 2 insertions(+), 22 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index 34735dc1c5..0b7b09d15b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -1990,7 +1990,6 @@ "help-text": "Utilitzeu '%' segons les necessitats: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Utilitza filtre", "entity-list-empty": "No hi ha entitats seleccionades.", - "entity-type-list-empty": "No hi ha tipus d'entitat seleccionats.", "entity-name-filter-required": "Cal filtre de nom d'entitat.", "entity-name-filter-no-entity-matched": "No hi ha entitats que comencen amb '{{entity}}' .", "all-subtypes": "Tots", diff --git a/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json b/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json index 25325acab7..c82ba68649 100644 --- a/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json +++ b/ui-ngx/src/assets/locale/locale.constant-cs_CZ.json @@ -1523,7 +1523,6 @@ "help-text": "Použijte '%' dle potřeby: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Použít filtr", "entity-list-empty": "Žádné entity nebyly nalezeny.", - "entity-type-list-empty": "Nebyl vybrán žádný typ entity.", "entity-name-filter-required": "Filtr názvu entity je povinný.", "entity-name-filter-no-entity-matched": "Žádné entity začínající '{{entity}}' nebyly nalezeny.", "all-subtypes": "Vše", diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 1c26dd45a7..834cc15619 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1298,7 +1298,6 @@ "name-starts-with": "Navnet begynder med", "use-entity-name-filter": "Anvend filter", "entity-list-empty": "Ingen entiteter valgt.", - "entity-type-list-empty": "Ingen entitetstyper valgt.", "entity-name-filter-required": "Entitetsnavnfilter er påkrævet.", "entity-name-filter-no-entity-matched": "", "all-subtypes": "Alle", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index d7b50d51c3..1ce02e0d23 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -914,7 +914,6 @@ "name-starts-with": "Name beginnt mit", "use-entity-name-filter": "Filter verwenden", "entity-list-empty": "Keine Entitäten ausgewählt.", - "entity-type-list-empty": "Keine Entitättypen ausgewählt.", "entity-name-filter-required": "Entitätsnamenfilter ist erforderlich.", "entity-name-filter-no-entity-matched": "Keine Entitäten beginnend mit '{{entity}}' gefunden.", "all-subtypes": "Alle", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index 9c5ac0db54..79fce334c6 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -876,7 +876,6 @@ "name-starts-with": "το όνομα αρχίζει από", "use-entity-name-filter": "χρήση φίλτρου", "entity-list-empty": "Δεν έχουν επιλεγεί οντότητες.", - "entity-type-list-empty": "Δεν έχουν επιλεγεί τύποι οντότητας.", "entity-name-filter-required": "Απαιτείται φίλτρο ονόματος οντότητας.", "entity-name-filter-no-entity-matched": "Δεν βρέθηκαν οντότητες οι οποίες αρχίζουν από '{{entity}}'.", "all-subtypes": "Όλοι", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index e982f2440f..e8012c2c55 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -2064,7 +2064,7 @@ "help-text": "Use '%' according to need: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Use filter", "entity-list-empty": "No entities selected.", - "entity-type-list-empty": "No entity types selected.", + "entity-type-list-empty": "At least one entity type should be selected.", "entity-name-filter-required": "Entity name filter is required.", "entity-name-filter-no-entity-matched": "No entities starting with '{{entity}}' were found.", "all-subtypes": "All", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index cbbaf4b5a1..143bed648b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1952,7 +1952,6 @@ "help-text": "Usar el símbolo '%' de acuerdo a las necesidades: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Usar filtro", "entity-list-empty": "No hay entidades seleccionadas.", - "entity-type-list-empty": "No hay tipos de entidad seleccionados.", "entity-name-filter-required": "Filtro de nombre de entidad requerido.", "entity-name-filter-no-entity-matched": "No hay entidades que comiencen con '{{entity}}' .", "all-subtypes": "Todos", diff --git a/ui-ngx/src/assets/locale/locale.constant-fa_IR.json b/ui-ngx/src/assets/locale/locale.constant-fa_IR.json index 6ab40820ec..43e46eee3d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fa_IR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fa_IR.json @@ -702,7 +702,6 @@ "name-starts-with": "نام شروع مي شود با", "use-entity-name-filter": "استفاده از فيلتر", "entity-list-empty": ".هيچ موجودي اي انتخاب نشده است", - "entity-type-list-empty": ".هيچ نوع موجودي انتخاب نشده است", "entity-name-filter-required": ".فيلتر نام موجودي مورد نياز است", "entity-name-filter-no-entity-matched": ".شروع شود يافت نشد '{{entity}}' هيچ موجودي که با", "all-subtypes": "همه", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 3db8795df6..39d6646854 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1294,7 +1294,6 @@ "entity-name-filter-required": "Le filtre de nom d'entité est requis.", "entity-type": "Type d'entité", "entity-type-list": "Liste de types d'entités", - "entity-type-list-empty": "Aucun type d'entité sélectionné.", "entity-types": "Types d'entité", "entity-view-name-starts-with": "Les vues d'entité dont le nom commence par '{{prefix}}'", "key": "Clé", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 61f6554049..24555cc332 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -731,7 +731,6 @@ "name-starts-with": "Nome inizia per", "use-entity-name-filter": "Usa filtro", "entity-list-empty": "Nessuna entità selezionata.", - "entity-type-list-empty": "Nessun tipo di entità selezionato.", "entity-name-filter-required": "Filtro nome entità obbligatorio.", "entity-name-filter-no-entity-matched": "Nessuna entità che inizia per '{{entity}}' è stata trovata.", "all-subtypes": "Tutte", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 56130aabc3..875b0a8266 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -685,7 +685,6 @@ "name-starts-with": "名前はで始まる", "use-entity-name-filter": "フィルタを使用する", "entity-list-empty": "選択されたエンティティはありません", - "entity-type-list-empty": "エンティティタイプは選択されていません。", "entity-name-filter-required": "エンティティ名フィルタが必要です。", "entity-name-filter-no-entity-matched": "'{{entity}}'発見されました。", "all-subtypes": "すべて", diff --git a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json index 55b6e85f66..b401c3b594 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json @@ -755,7 +755,6 @@ "name-starts-with": "სახელი იწყება", "use-entity-name-filter": "გამოიყენე ფილტრი", "entity-list-empty": "ობიექტი არ არის არჩეული", - "entity-type-list-empty": "ობიექტის ტიპი არ არის არჩეული", "entity-name-filter-required": "ობიექტის სახელის ფილტრი სავალდებულოა", "entity-name-filter-no-entity-matched": "ობიექტები რომბლებიც იწყება '{{entity}}' -ით არ იქნა ნაპოვნი", "all-subtypes": "ყველა", diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index ae53707a52..aad25e9c0e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1104,7 +1104,6 @@ "name-starts-with": "다음으로 시작하는 이름", "use-entity-name-filter": "필터 사용", "entity-list-empty": "아무 개체도 선택되지 않았습니다.", - "entity-type-list-empty": "개체 유형이 선택되지 않았습니다.", "entity-name-filter-required": "개체 이름 필터를 입력하세요.", "entity-name-filter-no-entity-matched": "'{{entity}}'로 시작되는 개체를 찾을 수 없습니다.", "all-subtypes": "모두", diff --git a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json index 00e6be4714..c489cd3402 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json +++ b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json @@ -711,7 +711,6 @@ "name-starts-with": "Nosaukums sākas ar", "use-entity-name-filter": "Lietot filtru", "entity-list-empty": "Nav vienības atlasītas.", - "entity-type-list-empty": "Nav vienības tipi atlasīti.", "entity-name-filter-required": "Vienību nosaukuma filtri ir vajadzīgi.", "entity-name-filter-no-entity-matched": "Nav vienības kas sākas ar '{{entity}}' atrastas.", "all-subtypes": "Visi", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 12ad7743c4..e8a105bcc2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -787,7 +787,6 @@ "name-starts-with": "O nome começa com", "use-entity-name-filter": "Usar filtro", "entity-list-empty": "Nenhuma entidade selecionada.", - "entity-type-list-empty": "Nenhum tipo de entidade selecionado.", "entity-name-filter-required": "O filtro do nome de entidade é obrigatório.", "entity-name-filter-no-entity-matched": "Nenhuma entidade encontrada que comece com '{{entity}}'.", "all-subtypes": "Tudo", diff --git a/ui-ngx/src/assets/locale/locale.constant-ro_RO.json b/ui-ngx/src/assets/locale/locale.constant-ro_RO.json index 4b565d8311..8ea796cbc3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ro_RO.json +++ b/ui-ngx/src/assets/locale/locale.constant-ro_RO.json @@ -744,7 +744,6 @@ "name-starts-with": "Numele începe cu", "use-entity-name-filter": "Folosește filtru", "entity-list-empty": "Nicio entitate selectată", - "entity-type-list-empty": "Niciun tip entitate selectat", "entity-name-filter-required": "Filtrul pentru nume entitate este necesar", "entity-name-filter-no-entity-matched": "Nu a fost găsită nicio entitate al cărei nume începe cu '{{entity}}'", "all-subtypes": "Toate", diff --git a/ui-ngx/src/assets/locale/locale.constant-ru_RU.json b/ui-ngx/src/assets/locale/locale.constant-ru_RU.json index a96886fed1..70aa4b3a23 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ru_RU.json +++ b/ui-ngx/src/assets/locale/locale.constant-ru_RU.json @@ -772,7 +772,6 @@ "name-starts-with": "Название, начинающееся с", "use-entity-name-filter": "Использовать фильтр", "entity-list-empty": "Не выбраны объекты.", - "entity-type-list-empty": "Не выбраны типы объекта.", "entity-name-filter-required": "Фильтр по названию объекта обязателен.", "entity-name-filter-no-entity-matched": "Объекты, чье название начинается с '{{entity}}', не найдены.", "all-subtypes": "Все", diff --git a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json index 0515b5890e..c6a20b9a36 100644 --- a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json +++ b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json @@ -1104,7 +1104,6 @@ "name-starts-with": "Ime se začne z", "use-entity-name-filter": "Uporabi filter", "entity-list-empty": "Nobena entiteta ni izbrana.", - "entity-type-list-empty": "Izbrana ni nobena vrsta entitete.", "entity-name-filter-required": "Potreben je filter imena entitete.", "entity-name-filter-no-entity-matched": "Najti ni bilo nobene entitete, ki se začne z '{{entity}}'.", "all-subtypes": "Vse", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 8590dd2768..b377c9fd45 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1538,7 +1538,6 @@ "help-text": "İhtiyaca göre '%' kullanın: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Filtre kullan", "entity-list-empty": "Hiçbir öğe seçilmedi.", - "entity-type-list-empty": "Hiçbir öğe türü seçilmedi.", "entity-name-filter-required": "Öğe ismi filtresi gerekli.", "entity-name-filter-no-entity-matched": "'{{entity}}' ile başlayan hiçbir öğe bulunamadı.", "all-subtypes": "Tümü", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index c7afaad234..32696f754f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -898,7 +898,7 @@ "name-starts-with": "Назва починається з", "use-entity-name-filter": "Використовуйте фільтр", "entity-list-empty": "Не вибрано жодних сутностей.", - "entity-type-list-empty": "Не вибрано жодних типів сутностей.", + "entity-type-list-empty": "Потрібно вибрати принаймні один тип сутності.", "entity-name-filter-required": "Необхідно задати фільтр по імені.", "entity-name-filter-no-entity-matched": "Не знайдено жодних сутностей, що починаються з '{{entity}}'.", "all-subtypes": "Всі", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 6e5bf9a6b6..97b74bbcb6 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1823,7 +1823,6 @@ "help-text": "根据需要可以使用'%'进行匹配,例如:'%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'。", "use-entity-name-filter": "用户筛选器", "entity-list-empty": "没有选择实体。", - "entity-type-list-empty": "没有选择实体类型。", "entity-name-filter-required": "实体名筛选器必填。", "entity-name-filter-no-entity-matched": "未找到以 '{{entity}}' 开头的实体", "all-subtypes": "全部", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index 2b98451f20..bb655f65e7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -1735,7 +1735,6 @@ "help-text": "根據需要使用'%':'%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "用戶過濾", "entity-list-empty": "沒有選擇實體。", - "entity-type-list-empty": "沒有選擇實體類型。", "entity-name-filter-required": "實體名過濾器必填。", "entity-name-filter-no-entity-matched": "沒有找到以 '{{entity}}' 開頭的實體", "all-subtypes": "所有", From f7c134bccf3234c0f0a0caa0991967d3c349c004 Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 1 Sep 2023 16:18:15 +0300 Subject: [PATCH 2/2] update translation key --- .../shared/components/entity/entity-type-list.component.html | 2 +- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html b/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html index e9168d1f29..936be07d18 100644 --- a/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html +++ b/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html @@ -56,6 +56,6 @@ - {{ 'entity.entity-type-list-empty' | translate }} + {{ 'entity.entity-type-list-required' | translate }} diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index e8012c2c55..67e2f3dc0c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -2064,7 +2064,7 @@ "help-text": "Use '%' according to need: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", "use-entity-name-filter": "Use filter", "entity-list-empty": "No entities selected.", - "entity-type-list-empty": "At least one entity type should be selected.", + "entity-type-list-required": "At least one entity type should be selected.", "entity-name-filter-required": "Entity name filter is required.", "entity-name-filter-no-entity-matched": "No entities starting with '{{entity}}' were found.", "all-subtypes": "All", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 32696f754f..10d998d031 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -898,7 +898,7 @@ "name-starts-with": "Назва починається з", "use-entity-name-filter": "Використовуйте фільтр", "entity-list-empty": "Не вибрано жодних сутностей.", - "entity-type-list-empty": "Потрібно вибрати принаймні один тип сутності.", + "entity-type-list-required": "Потрібно вибрати принаймні один тип сутності.", "entity-name-filter-required": "Необхідно задати фільтр по імені.", "entity-name-filter-no-entity-matched": "Не знайдено жодних сутностей, що починаються з '{{entity}}'.", "all-subtypes": "Всі",