From 1e99bde50292f00732e03ea08e664ccd80e49ef6 Mon Sep 17 00:00:00 2001 From: aynsix Date: Mon, 19 Apr 2021 16:17:13 +0300 Subject: [PATCH] thesaurus translation --- .../Controller/Prod/ThesaurusController.php | 2 +- resources/locales/messages.de.xlf | 105 +++++++++++++++--- resources/locales/messages.en.xlf | 99 +++++++++++++++-- resources/locales/messages.fr.xlf | 105 +++++++++++++++--- resources/locales/messages.nl.xlf | 87 ++++++++++++++- resources/locales/validators.de.xlf | 2 +- resources/locales/validators.en.xlf | 2 +- resources/locales/validators.fr.xlf | 2 +- resources/locales/validators.nl.xlf | 2 +- .../prod/Thesaurus/droppedrecords.html.twig | 28 ++--- 10 files changed, 367 insertions(+), 67 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Prod/ThesaurusController.php b/lib/Alchemy/Phrasea/Controller/Prod/ThesaurusController.php index 1a3db39394..8d7464610d 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/ThesaurusController.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/ThesaurusController.php @@ -177,7 +177,7 @@ class ThesaurusController extends Controller $zzz = $this->render('prod/Thesaurus/droppedrecords.html.twig', $twp); return $this->app->json([ - 'dlg_title' => sprintf("editing %s record(s)", $records->received()->count()), + 'dlg_title' => $this->app->trans('thesaurus::edit editing %count% record(s)', ['%count%'=> $records->received()->count()]), 'dlg_content' => $this->render('prod/Thesaurus/droppedrecords.html.twig', $twp), 'rec_refs' => $recRefs, 'commit_url' => $this->app->url('prod_edit_applyJSAction') diff --git a/resources/locales/messages.de.xlf b/resources/locales/messages.de.xlf index 3d545d762c..315b85a019 100644 --- a/resources/locales/messages.de.xlf +++ b/resources/locales/messages.de.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -3364,13 +3364,13 @@ Brennweite web/common/technical_datas.html.twig - + Force authentication Benutzer müssen sich mit einem Login und Passwort anmelden prod/templates/push.html.twig prod/templates/push.html.twig - + Force authentication : info Wenn das Kästchen nicht markiert ist, einen Login Authentifizierungslink wird in der Email beinhaltet prod/templates/push.html.twig @@ -5968,7 +5968,7 @@ Kapitel speichern Controller/Prod/LanguageController.php - + Save the list Als neue Liste speichern actions/Feedback/list.html.twig @@ -9655,7 +9655,7 @@ ascendant aufsteigend - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php audio @@ -10263,12 +10263,12 @@ date dajout hinzugefügtes Datum - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php date de modification Änderungsdatum - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php decembre @@ -10283,7 +10283,7 @@ descendant absteigend - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php do you want to validate @@ -10456,12 +10456,12 @@ Email Senden ist fehlgeschlagen eventsmanager/notify/downloadmailfail.php - + feedback:: save users and users rights Speichern Controller/Prod/LanguageController.php - + feedback::users to notify Benutzer benachrichtigen prod/templates/push.html.twig @@ -11325,7 +11325,7 @@ pertinence Relevanz - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php php.ini path @@ -11819,7 +11819,7 @@ Bestätigungen Liste prod/preview/voting_notice.html.twig - + preview::tab:feedback mail subject Bestätigung Email Betreff prod/preview/voting_notice.html.twig @@ -14480,6 +14480,81 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben Alle zuklappen (mit Browsen) web/thesaurus/export-topics-dialog.html.twig + + thesaurus::edit Action + thesaurus::edit Action + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Field + thesaurus::edit Field + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Value + thesaurus::edit Value + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit WIP/Experimental + thesaurus::edit WIP/Experimental + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add + thesaurus::edit add + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add %selected_value% to the field %field_name% + thesaurus::edit add %selected_value% to the field %field_name% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit advanced mode + thesaurus::edit advanced mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit clear + thesaurus::edit clear + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit editing %count% record(s) + thesaurus::edit editing %count% record(s) + Controller/Prod/ThesaurusController.php + + + thesaurus::edit remove + thesaurus::edit remove + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit replace all with + thesaurus::edit replace all with + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set %field_name% to %selected_value% + thesaurus::edit set %field_name% to %selected_value% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set to + thesaurus::edit set to + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit simple mode + thesaurus::edit simple mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + prod/Thesaurus/droppedrecords.html.twig + thesaurus::menu: Mettre dans le stock Zum Stock verschieben diff --git a/resources/locales/messages.en.xlf b/resources/locales/messages.en.xlf index 33ccde5df3..69a0331693 100644 --- a/resources/locales/messages.en.xlf +++ b/resources/locales/messages.en.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -5976,7 +5976,7 @@ Save the list actions/Feedback/list.html.twig
- + Save this list Save as new list prod/actions/Push.html.twig @@ -9658,7 +9658,7 @@ ascendant ascending - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php audio @@ -10266,12 +10266,12 @@ date dajout Add date - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php date de modification Modification date - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php decembre @@ -10286,7 +10286,7 @@ descendant descending - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php do you want to validate @@ -10464,7 +10464,7 @@ Save Controller/Prod/LanguageController.php - + feedback::users to notify Users to notify prod/templates/push.html.twig @@ -11328,7 +11328,7 @@ pertinence Relevance - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php php.ini path @@ -11822,7 +11822,7 @@ Feedback List prod/preview/voting_notice.html.twig - + preview::tab:feedback mail subject Feedback email subject prod/preview/voting_notice.html.twig @@ -14488,6 +14488,81 @@ It is possible to place several search areas Close all (with navigation) web/thesaurus/export-topics-dialog.html.twig + + thesaurus::edit Action + thesaurus::edit Action + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Field + thesaurus::edit Field + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Value + thesaurus::edit Value + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit WIP/Experimental + thesaurus::edit WIP/Experimental + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add + thesaurus::edit add + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add %selected_value% to the field %field_name% + thesaurus::edit add %selected_value% to the field %field_name% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit advanced mode + thesaurus::edit advanced mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit clear + thesaurus::edit clear + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit editing %count% record(s) + thesaurus::edit editing %count% record(s) + Controller/Prod/ThesaurusController.php + + + thesaurus::edit remove + thesaurus::edit remove + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit replace all with + thesaurus::edit replace all with + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set %field_name% to %selected_value% + thesaurus::edit set %field_name% to %selected_value% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set to + thesaurus::edit set to + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit simple mode + thesaurus::edit simple mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + prod/Thesaurus/droppedrecords.html.twig + thesaurus::menu: Mettre dans le stock Move to stock diff --git a/resources/locales/messages.fr.xlf b/resources/locales/messages.fr.xlf index 5a30ad31f3..7a3acfbfcb 100644 --- a/resources/locales/messages.fr.xlf +++ b/resources/locales/messages.fr.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -3364,13 +3364,13 @@ Longueur de focale web/common/technical_datas.html.twig
- + Force authentication Les utilisateurs doivent s'authentifier à l'aide d'un identifiant et d'un mot de passe prod/templates/push.html.twig prod/templates/push.html.twig - + Force authentication : info Si la case n'est pas cochée, un lien d'authentification sera inclus dans l'email reçu par l'utilisateur prod/templates/push.html.twig @@ -5975,7 +5975,7 @@ Pour les utilisateurs authentifiés, la demande de validation est également dis Sauvegarder la liste actions/Feedback/list.html.twig - + Save this list Sauvegarder comme nouvelle liste prod/actions/Push.html.twig @@ -9658,7 +9658,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le ascendant Ascendant - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php audio @@ -10266,12 +10266,12 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le date dajout Date d'ajout - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php date de modification date de modification - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php decembre @@ -10286,7 +10286,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le descendant Descendant - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php do you want to validate @@ -10459,12 +10459,12 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Echec de l'envoi d'e-mail eventsmanager/notify/downloadmailfail.php - + feedback:: save users and users rights Sauvegarder Controller/Prod/LanguageController.php - + feedback::users to notify Utilisateurs à notifier prod/templates/push.html.twig @@ -11328,7 +11328,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le pertinence Pertinence - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php php.ini path @@ -11822,7 +11822,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Liste des validations prod/preview/voting_notice.html.twig - + preview::tab:feedback mail subject Objet de l'email de validation prod/preview/voting_notice.html.twig @@ -14491,6 +14491,81 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles Tout fermer (navigable) web/thesaurus/export-topics-dialog.html.twig + + thesaurus::edit Action + thesaurus::edit Action + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Field + thesaurus::edit Field + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Value + thesaurus::edit Value + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit WIP/Experimental + thesaurus::edit WIP/Experimental + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add + thesaurus::edit add + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add %selected_value% to the field %field_name% + thesaurus::edit add %selected_value% to the field %field_name% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit advanced mode + thesaurus::edit advanced mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit clear + thesaurus::edit clear + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit editing %count% record(s) + thesaurus::edit editing %count% record(s) + Controller/Prod/ThesaurusController.php + + + thesaurus::edit remove + thesaurus::edit remove + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit replace all with + thesaurus::edit replace all with + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set %field_name% to %selected_value% + thesaurus::edit set %field_name% to %selected_value% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set to + thesaurus::edit set to + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit simple mode + thesaurus::edit simple mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + prod/Thesaurus/droppedrecords.html.twig + thesaurus::menu: Mettre dans le stock Déplacer dans le stock diff --git a/resources/locales/messages.nl.xlf b/resources/locales/messages.nl.xlf index 3d8b70c7a5..223c05915e 100644 --- a/resources/locales/messages.nl.xlf +++ b/resources/locales/messages.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. @@ -9661,7 +9661,7 @@ ascendant aflopend - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php audio @@ -10269,12 +10269,12 @@ date dajout Datum toegevoegd - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php date de modification date de modification - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php decembre @@ -10289,7 +10289,7 @@ descendant oplopend - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php do you want to validate @@ -11331,7 +11331,7 @@ pertinence relevantie - SearchEngine/Elastic/ElasticSearchEngine.php + SearchEngine/Elastic/ElasticSearchEngine.php php.ini path @@ -14485,6 +14485,81 @@ Alle sluiten web/thesaurus/export-topics-dialog.html.twig + + thesaurus::edit Action + thesaurus::edit Action + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Field + thesaurus::edit Field + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit Value + thesaurus::edit Value + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit WIP/Experimental + thesaurus::edit WIP/Experimental + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add + thesaurus::edit add + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit add %selected_value% to the field %field_name% + thesaurus::edit add %selected_value% to the field %field_name% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit advanced mode + thesaurus::edit advanced mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit clear + thesaurus::edit clear + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit editing %count% record(s) + thesaurus::edit editing %count% record(s) + Controller/Prod/ThesaurusController.php + + + thesaurus::edit remove + thesaurus::edit remove + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit replace all with + thesaurus::edit replace all with + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set %field_name% to %selected_value% + thesaurus::edit set %field_name% to %selected_value% + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit set to + thesaurus::edit set to + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit simple mode + thesaurus::edit simple mode + prod/Thesaurus/droppedrecords.html.twig + + + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + thesaurus::edit you don't have rights to edit %rejected_cnt% record(s) + prod/Thesaurus/droppedrecords.html.twig + thesaurus::menu: Mettre dans le stock thesaurus::menu: Mettre dans le stock diff --git a/resources/locales/validators.de.xlf b/resources/locales/validators.de.xlf index ad931ae548..86ea9651ba 100644 --- a/resources/locales/validators.de.xlf +++ b/resources/locales/validators.de.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.en.xlf b/resources/locales/validators.en.xlf index 6a569f1f36..ef3d3e1b03 100644 --- a/resources/locales/validators.en.xlf +++ b/resources/locales/validators.en.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.fr.xlf b/resources/locales/validators.fr.xlf index 1638308152..7e7529f921 100644 --- a/resources/locales/validators.fr.xlf +++ b/resources/locales/validators.fr.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.nl.xlf b/resources/locales/validators.nl.xlf index cfa01e0fe0..1796b2242a 100644 --- a/resources/locales/validators.nl.xlf +++ b/resources/locales/validators.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/templates/web/prod/Thesaurus/droppedrecords.html.twig b/templates/web/prod/Thesaurus/droppedrecords.html.twig index be712f6425..d5e6ee0e0a 100644 --- a/templates/web/prod/Thesaurus/droppedrecords.html.twig +++ b/templates/web/prod/Thesaurus/droppedrecords.html.twig @@ -1,5 +1,5 @@
-

WIP/Experimental.

+

{{ 'thesaurus::edit WIP/Experimental' | trans }}

{% if error %} @@ -9,7 +9,7 @@ {% if rejected_cnt > 0 %} - you don't have rights to edit {{ rejected_cnt }} record(s) + {{ "thesaurus::edit you don't have rights to edit %rejected_cnt% record(s)" | trans({'%rejected_cnt%': rejected_cnt}) }} {% endif %} @@ -26,11 +26,11 @@
@@ -42,9 +42,9 @@ {% if bf0.field.is_multi() %} - add  {{ bf0.selected_value.value }}  to the field  {{ bf0.field.get_name() }} + {{ 'thesaurus::edit add %selected_value% to the field %field_name%'| trans({'%selected_value%': '' ~ bf0.selected_value.value ~ '', '%field_name%': ''~ bf0.field.get_name() ~ ''}) }} {% else %} - set  {{ bf0.field.get_name() }}  to  {{ bf0.selected_value.value }} + {{ 'thesaurus::edit set %field_name% to %selected_value%' | trans({'%field_name%': '' ~ bf0.field.get_name() ~ '', '%selected_value%': '' ~ bf0.selected_value.value ~ ''}) | raw }} {% endif %}
{% endif %} @@ -56,9 +56,9 @@ - - - + + + @@ -73,12 +73,12 @@
FieldActionValue{{ 'thesaurus::edit Field' | trans }}{{ 'thesaurus::edit Action' | trans }}{{ 'thesaurus::edit Value' | trans }}