From d2ad579466e3ebfee0019aa67aeaad41c55df307 Mon Sep 17 00:00:00 2001 From: John P <64874788+j-a-pope@users.noreply.github.com> Date: Thu, 5 Jun 2025 14:32:15 +0300 Subject: [PATCH] Typos and some untranslatable text (#2773) * Fix typos and add translatable strings 1 * Fix typos and add translatable strings 2 * Fix typos and add translatable strings 3 * correction * Load theme settings HTML as Twig template * Make huraga theme settings translatable * Update CONTRIBUTING.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update cspell.json --------- Co-authored-by: Adam Daley Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- CONTRIBUTING.md | 2 +- cspell.json | 7 +- src/install/assets/install.html.twig | 4 +- src/load.php | 2 +- .../mod_cookieconsent_index.html.twig | 2 +- .../mod_cookieconsent_index.html.twig | 2 +- src/modules/Currency/Api/Guest.php | 2 +- .../mod_currency_settings.html.twig | 4 +- .../html_admin/mod_email_history.html.twig | 2 +- .../html_client/mod_email_email.html.twig | 2 +- .../html_client/mod_email_index.html.twig | 4 +- .../html_admin/mod_embed_index.html.twig | 6 +- .../mod_extension_languages.html.twig | 2 +- src/modules/Formbuilder/Api/Admin.php | 2 +- .../mod_formbuilder_field.html.twig | 2 +- .../html_admin/mod_invoice_invoice.html.twig | 2 +- .../html_client/mod_invoice_invoice.html.twig | 2 +- .../html_client/mod_order_manage.html.twig | 6 +- .../mod_orderbutton_settings.html.twig | 6 +- .../mod_serviceapikey_config.html.twig | 2 +- .../mod_servicelicense_config.html.twig | 2 +- .../modal/mod_support_new_helpdesk.html.twig | 2 +- .../html_client/mod_support_tickets.html.twig | 2 +- .../html_admin/mod_system_settings.html.twig | 2 +- src/modules/Theme/Model/Theme.php | 2 +- .../html_admin/mod_theme_preset.html.twig | 10 +- .../html/layout_default.html.twig | 6 +- .../html/mod_index_dashboard.html.twig | 8 +- .../html/partial_extensions.html.twig | 2 +- src/themes/huraga/config/settings.html | 333 ----------------- src/themes/huraga/config/settings.html.twig | 335 ++++++++++++++++++ .../huraga/html/layout_default.html.twig | 8 +- 32 files changed, 389 insertions(+), 386 deletions(-) delete mode 100644 src/themes/huraga/config/settings.html create mode 100644 src/themes/huraga/config/settings.html.twig diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 00093c052..457ea72f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ We've tried to keep this document as short as possible but there is a lot of inf [Style Guides](#styleguides) -[But, I still have a question!](#but-i=stil-have-a-question) +[But, I still have a question!](#but-i-still-have-a-question) ## Why should I contribute? diff --git a/cspell.json b/cspell.json index 84df80d34..1989a59ac 100644 --- a/cspell.json +++ b/cspell.json @@ -25,7 +25,7 @@ "recognised", "fordnox", "Dockerized", - "proccess", + "process", "unsuspended", "admdly", "Pictogrammers", @@ -289,7 +289,7 @@ "xaxis", "yaxis", "susp", - "cancelation", + "cancellation", "inps", "ptitle", "PLUGINNAME", @@ -403,7 +403,8 @@ "Prins", "iplookup", "DDEV", - "CSRF" + "CSRF", + "undismissed" ], "ignorePaths": [ "tests-legacy/**", diff --git a/src/install/assets/install.html.twig b/src/install/assets/install.html.twig index f2f360354..b3f44815d 100644 --- a/src/install/assets/install.html.twig +++ b/src/install/assets/install.html.twig @@ -189,7 +189,7 @@ diff --git a/src/load.php b/src/load.php index be0587f8d..14797f932 100644 --- a/src/load.php +++ b/src/load.php @@ -172,7 +172,7 @@ function exceptionHandler(Exception|Error $e) if (defined('DEBUG') && DEBUG && $filesystem->exists(PATH_VENDOR)) { /** * If advanced debugging is enabled, print Whoops instead of our error page. - * flip/whoops documentation: https://github.com/filp/whoops/blob/master/docs/API%20Documentation.md. + * filp/whoops documentation: https://github.com/filp/whoops/blob/master/docs/API%20Documentation.md. */ $whoops = new Run(); $prettyPage = new PrettyPageHandler(); diff --git a/src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig b/src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig index bd3f18327..0ab57c1e2 100644 --- a/src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig +++ b/src/modules/Cookieconsent/html_admin/mod_cookieconsent_index.html.twig @@ -17,7 +17,7 @@
-

{{ 'Specify a message which will be shown to the user. The message will be shown until dismissed with the Close × button. An undismissed message does not effect functionality or prevent uers from performing any actions.'|trans|raw }}

+

{{ 'Specify a message which will be shown to the user. The message will be shown until dismissed with the Close × button. An undismissed message does not affect functionality or prevent users from performing any actions.'|trans|raw }}