From 7ad398fb20f26b93df16365090f04e5f39185da1 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 19 Jul 2022 11:50:59 +0200 Subject: [PATCH 1/3] refactor search info text --- webapp/locales/de.json | 2 +- webapp/locales/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 392cd9771..65419ebf0 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -620,7 +620,7 @@ "Tag": "Hashtag ::: Hashtags", "User": "Benutzer ::: Benutzer" }, - "hint": "Wonach suchst Du?", + "hint": "Wonach suchst Du? Nutze !… für Beitrag, @… für Mitglied, #… für Hashtag", "no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!", "page": "Seite", "placeholder": "Suchen", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 24c0fa2be..8a8af14e7 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -620,7 +620,7 @@ "Tag": "Hashtag ::: Hashtags", "User": "User ::: Users" }, - "hint": "What are you searching for?", + "hint": "What are you searching for? Use !... for post, @... for member, #... for hashtag", "no-results": "No results found for \"{search}\". Try a different search term!", "page": "Page", "placeholder": "Search", From f4a746aa384d6a0e71e830f62f6159cbb8f79a63 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 19 Jul 2022 12:14:30 +0200 Subject: [PATCH 2/3] add all locales, set text in plural --- webapp/locales/de.json | 2 +- webapp/locales/en.json | 2 +- webapp/locales/es.json | 2 +- webapp/locales/fr.json | 2 +- webapp/locales/it.json | 6 +++--- webapp/locales/nl.json | 5 +++++ webapp/locales/pl.json | 2 +- webapp/locales/pt.json | 2 +- webapp/locales/ru.json | 5 +++++ 9 files changed, 19 insertions(+), 9 deletions(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 65419ebf0..297daa511 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -620,7 +620,7 @@ "Tag": "Hashtag ::: Hashtags", "User": "Benutzer ::: Benutzer" }, - "hint": "Wonach suchst Du? Nutze !… für Beitrag, @… für Mitglied, #… für Hashtag", + "hint": "Wonach suchst Du? Nutze !… für Beiträge, @… für Mitglieder, #… für Hashtags", "no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!", "page": "Seite", "placeholder": "Suchen", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 8a8af14e7..8499b0290 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -620,7 +620,7 @@ "Tag": "Hashtag ::: Hashtags", "User": "User ::: Users" }, - "hint": "What are you searching for? Use !... for post, @... for member, #... for hashtag", + "hint": "What are you searching for? Use !… for posts, @… for users, #… for hashtags.", "no-results": "No results found for \"{search}\". Try a different search term!", "page": "Page", "placeholder": "Search", diff --git a/webapp/locales/es.json b/webapp/locales/es.json index 1d37cde5d..900b2fa5d 100644 --- a/webapp/locales/es.json +++ b/webapp/locales/es.json @@ -537,7 +537,7 @@ "Post": "Contribuciones", "User": "Usuarios" }, - "hint": "¿Qué estás buscando?", + "hint": "¿Qué estás buscando? Utiliza !… para contribuciones, @… para usuarios, #… para hashtags.", "placeholder": "Buscar" }, "settings": { diff --git a/webapp/locales/fr.json b/webapp/locales/fr.json index 642c93c8c..684f080b7 100644 --- a/webapp/locales/fr.json +++ b/webapp/locales/fr.json @@ -525,7 +525,7 @@ "Post": "Posts", "User": "Utilisateurs" }, - "hint": "Qu'est-ce que vous cherchez ?", + "hint": "Qu'est-ce que vous cherchez? Utiliser !… pour des posts, @… pour des membres, #… pour des hashtag.", "placeholder": "Rechercher" }, "settings": { diff --git a/webapp/locales/it.json b/webapp/locales/it.json index 8950ddabd..71994167b 100644 --- a/webapp/locales/it.json +++ b/webapp/locales/it.json @@ -473,9 +473,9 @@ } }, "search": { - "failed": null, - "hint": null, - "placeholder": null + "failed": "Non è stato trovato nulla", + "hint": "Cosa state cercando? Usate !... per i post, @... per gli utenti, #... per gli hashtag.", + "placeholder": "Ricerca" }, "settings": { "data": { diff --git a/webapp/locales/nl.json b/webapp/locales/nl.json index 3bf453655..3c1a8902d 100644 --- a/webapp/locales/nl.json +++ b/webapp/locales/nl.json @@ -131,6 +131,11 @@ "type": "Gebruiker" } }, + "search": { + "failed": "Niets gevonden", + "hint": "Waar zoekt u naar? Gebruik !... voor berichten, @... voor gebruikers, #... voor hashtags.", + "placeholder": "Zoeken" + }, "settings": { "data": { "name": "Uw gegevens" diff --git a/webapp/locales/pl.json b/webapp/locales/pl.json index dd416f0af..6ae3e32f7 100644 --- a/webapp/locales/pl.json +++ b/webapp/locales/pl.json @@ -278,7 +278,7 @@ }, "search": { "failed": "Niczego nie znaleziono", - "hint": "Czego szukasz?", + "hint": "Czego szukasz? Użyj !... dla postów, @... dla użytkowników, #... dla hashtagów.", "placeholder": "Szukaj" }, "settings": { diff --git a/webapp/locales/pt.json b/webapp/locales/pt.json index 64625840f..f5f89374a 100644 --- a/webapp/locales/pt.json +++ b/webapp/locales/pt.json @@ -510,7 +510,7 @@ }, "search": { "failed": "Nada encontrado", - "hint": "O que você está buscando?", + "hint": "O que você está buscando? Use !... para postagens, @... para usuários, #... para hashtags.", "placeholder": "Buscar" }, "settings": { diff --git a/webapp/locales/ru.json b/webapp/locales/ru.json index e7087cb9a..62979fc62 100644 --- a/webapp/locales/ru.json +++ b/webapp/locales/ru.json @@ -54,6 +54,11 @@ "pages": { "name": "Страницы" }, + "search": { + "failed": "Ничего не найдено", + "hint": "Что вы ищете? Используйте !... для постов, @... для пользователей, #... для хэштегов.", + "placeholder": "Поиск" + }, "settings": { "name": "Настройки" }, From c4d9e028d7a0c4501bb01cd5b4d29ad5399ed182 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 19 Jul 2022 12:26:01 +0200 Subject: [PATCH 3/3] add RU locales, set text in plural --- webapp/locales/ru.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webapp/locales/ru.json b/webapp/locales/ru.json index 62979fc62..5f1368820 100644 --- a/webapp/locales/ru.json +++ b/webapp/locales/ru.json @@ -54,11 +54,6 @@ "pages": { "name": "Страницы" }, - "search": { - "failed": "Ничего не найдено", - "hint": "Что вы ищете? Используйте !... для постов, @... для пользователей, #... для хэштегов.", - "placeholder": "Поиск" - }, "settings": { "name": "Настройки" }, @@ -556,7 +551,7 @@ "Post": "Посты", "User": "Пользователи" }, - "hint": "Что вы хотите найти?", + "hint": "Что вы хотите найти? Используйте !... для постов, @... для пользователей, #... для хэштегов.", "placeholder": "Поиск" }, "settings": {