From abb9d944f29999426d5ffc7145bb3c13981a752d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 7 Aug 2025 14:22:41 +0200 Subject: [PATCH] fix(webapp): fixes console warning by adding profile list filter locales (#8810) * Fix console warning by adding 'common.filter' to locales * Make 'common.filter' ident in component 'ProfileList.vue' responsive and remove default value --- webapp/components/features/ProfileList/ProfileList.vue | 4 +++- webapp/locales/de.json | 1 + webapp/locales/en.json | 1 + webapp/locales/es.json | 1 + webapp/locales/fr.json | 1 + webapp/locales/it.json | 1 + webapp/locales/nl.json | 1 + webapp/locales/pl.json | 1 + webapp/locales/pt.json | 1 + webapp/locales/ru.json | 1 + 10 files changed, 12 insertions(+), 1 deletion(-) diff --git a/webapp/components/features/ProfileList/ProfileList.vue b/webapp/components/features/ProfileList/ProfileList.vue index e7db8b3b4..3233c1209 100644 --- a/webapp/components/features/ProfileList/ProfileList.vue +++ b/webapp/components/features/ProfileList/ProfileList.vue @@ -89,7 +89,6 @@ export default { profileListVisibleCount, filter: null, itemHeight: 56, - filterPlaceholder: this.$t('common.filter', 'Filter...'), } }, computed: { @@ -110,6 +109,9 @@ export default { ? this.filteredConnections : this.filteredConnections.slice(0, this.profileListVisibleCount) }, + filterPlaceholder() { + return this.$t('common.filter') + }, filteredConnections() { if (!this.filter) { return this.profiles diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 9d3b391f7..a91b599ae 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -160,6 +160,7 @@ "common": { "category": "Thema ::: Themen", "comment": "Kommentar ::: Kommentare", + "filter": "Filtern …", "letsTalk": "Miteinander reden", "loading": "wird geladen", "loadMore": "mehr laden", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 07b6365ba..2da47250d 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -160,6 +160,7 @@ "common": { "category": "Topic ::: Topics", "comment": "Comment ::: Comments", + "filter": "Filter …", "letsTalk": "Let`s Talk", "loading": "loading", "loadMore": "load more", diff --git a/webapp/locales/es.json b/webapp/locales/es.json index 36cf585b8..4c89aa027 100644 --- a/webapp/locales/es.json +++ b/webapp/locales/es.json @@ -160,6 +160,7 @@ "common": { "category": "Categoría ::: Categorías", "comment": "Comentario ::: Comentarios", + "filter": null, "letsTalk": "Hablemos", "loading": "cargando", "loadMore": "cargar más", diff --git a/webapp/locales/fr.json b/webapp/locales/fr.json index 063b4987c..1d0327759 100644 --- a/webapp/locales/fr.json +++ b/webapp/locales/fr.json @@ -160,6 +160,7 @@ "common": { "category": "Catégorie ::: Catégories", "comment": "Commentaire ::: Commentaires", + "filter": null, "letsTalk": "Parlons-en", "loading": "chargement", "loadMore": "charger plus", diff --git a/webapp/locales/it.json b/webapp/locales/it.json index 448de1a5a..88e58a1fd 100644 --- a/webapp/locales/it.json +++ b/webapp/locales/it.json @@ -160,6 +160,7 @@ "common": { "category": "Categoria ::: Categorie", "comment": "Commento ::: Commenti", + "filter": null, "letsTalk": "Discutiamo", "loading": "Caricamento in corso", "loadMore": "Caricare di più", diff --git a/webapp/locales/nl.json b/webapp/locales/nl.json index 2cf257ada..e20308c2c 100644 --- a/webapp/locales/nl.json +++ b/webapp/locales/nl.json @@ -160,6 +160,7 @@ "common": { "category": "Categorie ::: Categorieën", "comment": "Opmerking ::: Opmerkingen", + "filter": null, "letsTalk": "Laten we praten", "loading": "inlading", "loadMore": "meer laden", diff --git a/webapp/locales/pl.json b/webapp/locales/pl.json index 5b1c085ed..6e60634fa 100644 --- a/webapp/locales/pl.json +++ b/webapp/locales/pl.json @@ -160,6 +160,7 @@ "common": { "category": "Kategoria ::: Kategorie", "comment": "Komentarz ::: Komentarze", + "filter": null, "letsTalk": "Porozmawiajmy", "loading": "załadunek", "loadMore": "Obciążenie więcej", diff --git a/webapp/locales/pt.json b/webapp/locales/pt.json index 3cd520442..049598e53 100644 --- a/webapp/locales/pt.json +++ b/webapp/locales/pt.json @@ -160,6 +160,7 @@ "common": { "category": "Categoria ::: Categorias", "comment": "Comentário ::: Comentários", + "filter": null, "letsTalk": "Vamos Conversar", "loading": "Carregando", "loadMore": "Carregar mais", diff --git a/webapp/locales/ru.json b/webapp/locales/ru.json index cc1a7cff5..dcd2eff48 100644 --- a/webapp/locales/ru.json +++ b/webapp/locales/ru.json @@ -160,6 +160,7 @@ "common": { "category": "Категория ::: Категории ::: Категории", "comment": "Комментарий::: Комментарии::: Комментарии", + "filter": null, "letsTalk": "Давай поговорим", "loading": "загрузка", "loadMore": "Загрузить ещё",