From a5dee79c66562e876265d092bec094f3e8f13a90 Mon Sep 17 00:00:00 2001 From: Alain Van Driessche Date: Fri, 19 Apr 2024 17:19:26 +0200 Subject: [PATCH] Search SoR translations --- lang/en/pages.php | 4 ++- lang/en/search-form-simple.php | 8 ++++++ lang/en/statement-create.php | 10 +++++++ lang/en/statement-search.php | 26 ++++++++++++++++++ lang/en/statement-table.php | 10 +++++++ lang/fr/menu.php | 2 +- lang/fr/pages.php | 5 +++- lang/fr/search-form-simple.php | 9 +++++++ lang/fr/statement-create.php | 11 ++++++++ lang/fr/statement-search.php | 18 +++++++++++++ lang/fr/statement-table.php | 10 +++++++ .../views/components/statement/form.blade.php | 6 ++--- .../statement/search-form-simple.blade.php | 2 +- .../components/statement/table.blade.php | 10 +++---- resources/views/statement/create.blade.php | 10 +++---- resources/views/statement/index.blade.php | 27 +++++++------------ 16 files changed, 131 insertions(+), 37 deletions(-) create mode 100644 lang/en/search-form-simple.php create mode 100644 lang/en/statement-create.php create mode 100644 lang/en/statement-search.php create mode 100644 lang/en/statement-table.php create mode 100644 lang/fr/search-form-simple.php create mode 100644 lang/fr/statement-create.php create mode 100644 lang/fr/statement-search.php create mode 100644 lang/fr/statement-table.php diff --git a/lang/en/pages.php b/lang/en/pages.php index df053a12..d99b6790 100644 --- a/lang/en/pages.php +++ b/lang/en/pages.php @@ -8,6 +8,8 @@ "Data Retention Policy" => "Data Retention Policy", "Api Documentation" => "Api Documentation", "Documentation" => "Documentation", - "Faq" => "Frequently Asked Questions" + "Faq" => "Frequently Asked Questions", + "Search for Statements of Reasons" => "Search for Statements of Reasons", + "Create a Statement of Reason" => "Create a Statement of Reason" ]; diff --git a/lang/en/search-form-simple.php b/lang/en/search-form-simple.php new file mode 100644 index 00000000..9248181d --- /dev/null +++ b/lang/en/search-form-simple.php @@ -0,0 +1,8 @@ + 'Search', + 'placeholder' => 'enter your text search here' + +]; diff --git a/lang/en/statement-create.php b/lang/en/statement-create.php new file mode 100644 index 00000000..9dbfc1cd --- /dev/null +++ b/lang/en/statement-create.php @@ -0,0 +1,10 @@ + 'Submit a Statement of Reason', + 'body' => 'For more information on the fields, please have a look at the global documentation', + 'button' => 'Create the Statement of Reason', + + +]; diff --git a/lang/en/statement-search.php b/lang/en/statement-search.php new file mode 100644 index 00000000..0a2f1f16 --- /dev/null +++ b/lang/en/statement-search.php @@ -0,0 +1,26 @@ + 'Search “Statements of reasons”', + 'body' => ' On this page, you can search for statements of reasons submitted by providers of online platforms. You + can use the free text search box to look for specific words within the free text fields of each + statement of reason submitted by providers of online platforms. +
+
+ Through the advanced search button, you can easily find the statements of reasons submitted by each + platform, and filter by several data fields, e.g. the type of restriction(s) imposed, categories and + keywords, or the type or language of the content. Please note that only the first 10 000 results are + paginated, and only the first 1000 statements of reasons can be exported in .csv + format at a given time. The data is updated once every day. If you want to access a larger subset of + statements of reasons, please visit the + “Data download” page. + To submit feedback on the content of this page and to propose additional features, please visit the + feedback form.', + "Statements of Reasons" => "Déclarations de motifs", + 'Statements of Reasons Found: ' => 'Statements of Reasons Found: ', + '.csv' => '.csv', + 'Advanced Search' => 'Advanced Search' + + +]; diff --git a/lang/en/statement-table.php b/lang/en/statement-table.php new file mode 100644 index 00000000..cd70c429 --- /dev/null +++ b/lang/en/statement-table.php @@ -0,0 +1,10 @@ + 'Platform', + 'Restrictions' => 'Restrictions', + 'Category' => 'Category', + 'Creation Date' => 'Creation Date', + +]; diff --git a/lang/fr/menu.php b/lang/fr/menu.php index af7ba771..306dd4a5 100644 --- a/lang/fr/menu.php +++ b/lang/fr/menu.php @@ -15,7 +15,7 @@ 'General' => 'Général', 'Technical' => 'Technique', 'Platforms' => 'Plateformes', - 'Submit statements of reasons' => 'Soumettre des Déclarations de Motifs', + 'Submit statements of reasons' => 'Soumettre des Déclarations de Raisons', 'Global Documentation' => 'Documentation Globale', 'API Documentation' => 'Documentation de l\'API' ]; diff --git a/lang/fr/pages.php b/lang/fr/pages.php index d397dd66..7668644e 100644 --- a/lang/fr/pages.php +++ b/lang/fr/pages.php @@ -8,5 +8,8 @@ "Data Retention Policy" => "Politique de conservation des données", "Api Documentation" => "Documentation de l'API", "Documentation" => "Documentation Globale", - "Faq" => "Questions Fréquemment Posées" + "Faq" => "Questions Fréquemment Posées", + "Search for Statements of Reasons" => "Chercher des déclaration de Raison", + "Create a Statement of Reason" => "Créer une déclaration de Raison" + ]; diff --git a/lang/fr/search-form-simple.php b/lang/fr/search-form-simple.php new file mode 100644 index 00000000..ef5380ea --- /dev/null +++ b/lang/fr/search-form-simple.php @@ -0,0 +1,9 @@ + 'Rechercher', + 'placeholder' => 'entrez votre recherche de texte ici' + +]; + diff --git a/lang/fr/statement-create.php b/lang/fr/statement-create.php new file mode 100644 index 00000000..693eec37 --- /dev/null +++ b/lang/fr/statement-create.php @@ -0,0 +1,11 @@ + 'Soumettre une déclaration de raison', + 'body' => 'Pour plus d\'informations sur les champs, veuillez consulter la documentation globale', + 'button' => 'Créer la déclaration de raison', + 'Decision Taken (Please select at least one item from the available options)' => 'Décision prise (Veuillez sélectionner au moins un élément parmi les options disponibles)', + 'Select visibility decision(s)' => 'Sélectionnez les décisions en matière de visibilité' + +]; diff --git a/lang/fr/statement-search.php b/lang/fr/statement-search.php new file mode 100644 index 00000000..2c03c326 --- /dev/null +++ b/lang/fr/statement-search.php @@ -0,0 +1,18 @@ + 'Recherche de Déclarations de Motifs', + 'body' => ' +Sur cette page, vous pouvez rechercher des déclarations de motifs soumises par des fournisseurs de plateformes en ligne. Vous pouvez utiliser la zone de recherche de texte libre pour rechercher des mots spécifiques dans les champs de texte libre de chaque déclaration de motif soumise par des fournisseurs de plateformes en ligne. +
+
+À travers le bouton de recherche avancée, vous pouvez facilement trouver les déclarations de motifs soumises par chaque plateforme et filtrer par plusieurs champs de données, tels que le type de restriction(s) imposée(s), les catégories et mots-clés, ou le type ou la langue du contenu. Veuillez noter que seuls les 10 000 premiers résultats sont paginés, et seules les 1000 premières déclarations de motifs peuvent être exportées au format .csv à un moment donné. Les données sont mises à jour une fois par jour. Si vous souhaitez accéder à un sous-ensemble plus large de déclarations de motifs, veuillez visiter la page “Téléchargement de données”. + +Pour soumettre des commentaires sur le contenu de cette page et proposer des fonctionnalités supplémentaires, veuillez visiter le formulaire de retour d\'information .', + "Statements of Reasons" => "Déclarations de motifs", + 'Statements of Reasons Found' => 'Déclarations de motifs trouvées', + 'Advanced Search' => 'Recherche avancée' + + +]; diff --git a/lang/fr/statement-table.php b/lang/fr/statement-table.php new file mode 100644 index 00000000..e298b0a0 --- /dev/null +++ b/lang/fr/statement-table.php @@ -0,0 +1,10 @@ + 'Plateforme', + 'Restrictions' => 'Restrictions', + 'Category' => 'Catégorie', + 'Creation Date' => 'Date de création', + +]; diff --git a/resources/views/components/statement/form.blade.php b/resources/views/components/statement/form.blade.php index e3065f55..d6f6359e 100644 --- a/resources/views/components/statement/form.blade.php +++ b/resources/views/components/statement/form.blade.php @@ -1,20 +1,18 @@ @php use App\Models\Statement; @endphp @props(['statement' => null, 'options' => null]) -

Decision Taken (Please select at least one item from the available options)

+

{{__('statement-create.Select visibility decision(s)')}}

- - diff --git a/resources/views/components/statement/search-form-simple.blade.php b/resources/views/components/statement/search-form-simple.blade.php index d617b605..5a7d694c 100644 --- a/resources/views/components/statement/search-form-simple.blade.php +++ b/resources/views/components/statement/search-form-simple.blade.php @@ -1,6 +1,6 @@