From e804098a4d602b68ecf6e67b4096ac4e647d5428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 19 Mar 2025 14:50:19 +0100 Subject: [PATCH] add missing translations (#33492) * add missing translations * add missing translations * add missing translations * add missing translations * add missing translations --- dev/translation/ignore_translation_keys.lst | 7 ------- htdocs/adherents/class/adherent.class.php | 6 +++--- htdocs/adherents/list.php | 4 ++-- htdocs/langs/en_US/bills.lang | 1 + htdocs/public/partnership/new.php | 4 ++-- htdocs/public/project/suggestbooth.php | 4 ++-- htdocs/public/project/suggestconference.php | 4 ++-- htdocs/public/ticket/create_ticket.php | 4 ++-- 8 files changed, 14 insertions(+), 20 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 38a06ce1550..01af43499ed 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -1005,7 +1005,6 @@ INVOICE_USE_RETAINED_WARRANTY INVOICE_USE_SITUATION INVOICE_USE_SITUATION_CREDIT_NOTE ImpossibleToContactAuthority -InputValueIsNotAnNumber InterDate Inventory Code InvoiceReplace @@ -1067,7 +1066,6 @@ ReceptionValidated Recruited Ref. Product RefNewContract -Societe Stable Suggested TicketMessageMailSignatureText @@ -1087,14 +1085,9 @@ Vat VirtualHost WEBPORTAL_ROOT_URL WEBPORTAL_USER_LOGGED2 -XSubsriptionError -email -id multicurrency_buyPriceInCurrency multicurrency_modifyRateApplication -ref smsing -societe target titre type diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 3a71bde4cb0..8103d632add 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -7,7 +7,7 @@ * Copyright (C) 2009-2017 Regis Houssin * Copyright (C) 2014-2018 Alexandre Spangaro * Copyright (C) 2015 Marcos García - * Copyright (C) 2015-2024 Frédéric France + * Copyright (C) 2015-2025 Frédéric France * Copyright (C) 2015 Raphaël Doursenaud * Copyright (C) 2016 Juanjo Menent * Copyright (C) 2018-2019 Thibault FOUCART @@ -546,8 +546,8 @@ class Adherent extends CommonObject if ($this->civility_id) { $infos .= $langs->transnoentities("UserTitle").": ".$this->getCivilityLabel()."\n"; } - $infos .= $langs->transnoentities("id").": ".$this->id."\n"; - $infos .= $langs->transnoentities("ref").": ".$this->ref."\n"; + $infos .= $langs->transnoentities("Id").": ".$this->id."\n"; + $infos .= $langs->transnoentities("Ref").": ".$this->ref."\n"; $infos .= $langs->transnoentities("Lastname").": ".$this->lastname."\n"; $infos .= $langs->transnoentities("Firstname").": ".$this->firstname."\n"; $infos .= $langs->transnoentities("Company").": ".$this->company."\n"; diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index 8b419ef384b..73db430b0c4 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -5,7 +5,7 @@ * Copyright (C) 2013-2015 Raphaël Doursenaud * Copyright (C) 2014-2016 Juanjo Menent * Copyright (C) 2018-2024 Alexandre Spangaro - * Copyright (C) 2021-2024 Frédéric France + * Copyright (C) 2021-2025 Frédéric France * Copyright (C) 2024-2025 MDW * Copyright (C) 2024 Benjamin Falière * Copyright (C) 2024 Alexandre Spangaro @@ -381,7 +381,7 @@ if (empty($reshook)) { setEventMessages($langs->trans("XSubsriptionCreated", $nbcreated), null, 'mesgs'); $db->commit(); } else { - setEventMessages($langs->trans("XSubsriptionError", $error), null, 'mesgs'); + setEventMessages($langs->trans("XSubsriptionErrors", $error), null, 'mesgs'); $db->rollback(); } } diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index cc4e1bd9894..555c77bcc5c 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -682,4 +682,5 @@ PaymentMadeForSeveralInvoices=Payment made for several invoices SituationInvoiceProgressCurrent=Invoice progress CumulativeProgression=Cumulative progress INVOICE_ADD_EPC_QR_CODEPay=Scan this QR code to pay with a smartphone supporting payment with EPC QR code. +InputValueIsNotAnNumber=Input value is not a number LimitDepositInvoicePossibilityForConsistency=Limit deposit invoice type to keep consistencies between lines (from proposals or orders) diff --git a/htdocs/public/partnership/new.php b/htdocs/public/partnership/new.php index b84fc790aa8..65dfd5a8c07 100644 --- a/htdocs/public/partnership/new.php +++ b/htdocs/public/partnership/new.php @@ -4,7 +4,7 @@ * Copyright (C) 2006-2013 Laurent Destailleur * Copyright (C) 2012 Regis Houssin * Copyright (C) 2012 J. Fernando Lagrange - * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2018-2025 Frédéric France * Copyright (C) 2018 Alexandre Spangaro * Copyright (C) 2021 Waël Almoman * Copyright (C) 2024-2025 MDW @@ -204,7 +204,7 @@ if (empty($reshook) && $action == 'add') { // Test on permission not required he } if (!GETPOST('societe')) { $error++; - $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("societe"))."
\n"; + $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("ThirdParty"))."
\n"; } if (!GETPOST('lastname')) { $error++; diff --git a/htdocs/public/project/suggestbooth.php b/htdocs/public/project/suggestbooth.php index 6e57db70241..85e51301266 100644 --- a/htdocs/public/project/suggestbooth.php +++ b/htdocs/public/project/suggestbooth.php @@ -1,7 +1,7 @@ * Copyright (C) 2024-2025 MDW - * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -232,7 +232,7 @@ if (empty($reshook) && $action == 'add') { // Test on permission not required he } if (!GETPOST("societe")) { $error++; - $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Societe"))."
\n"; + $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("ThirdParty"))."
\n"; } if (!GETPOST("label")) { $error++; diff --git a/htdocs/public/project/suggestconference.php b/htdocs/public/project/suggestconference.php index 26f4be49abd..97288e9959b 100644 --- a/htdocs/public/project/suggestconference.php +++ b/htdocs/public/project/suggestconference.php @@ -1,7 +1,7 @@ * Copyright (C) 2024-2025 MDW - * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -233,7 +233,7 @@ if (empty($reshook) && $action == 'add') { // Test on permission not required he } if (!GETPOST("societe")) { $error++; - $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Societe"))."
\n"; + $errmsg .= $langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("ThirdParty"))."
\n"; } if (!GETPOST("label")) { $error++; diff --git a/htdocs/public/ticket/create_ticket.php b/htdocs/public/ticket/create_ticket.php index 1f04dca7251..3a6aa903b5f 100644 --- a/htdocs/public/ticket/create_ticket.php +++ b/htdocs/public/ticket/create_ticket.php @@ -3,7 +3,7 @@ * Copyright (C) 2016 Christophe Battarel * Copyright (C) 2023 Laurent Destailleur * Copyright (C) 2024-2025 MDW - * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024-2025 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -237,7 +237,7 @@ if (empty($reshook)) { // Check email address if (!empty($origin_email) && !isValidEmail($origin_email)) { $error++; - array_push($object->errors, $langs->trans("ErrorBadEmailAddress", $langs->transnoentities("email"))); + array_push($object->errors, $langs->trans("ErrorBadEmailAddress", $langs->transnoentities("Email"))); $action = ''; }