From 493d9cc9c1b07f62ccc40ddfcc2b1ae9c680244d Mon Sep 17 00:00:00 2001 From: Ollama Date: Wed, 1 Apr 2026 06:43:34 +0000 Subject: [PATCH] Fix translation issues from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use 'Bénéfice' in French Reports.php for consistency with 'profit' key - Fix Italian grammar: 'Il numero di telefono è richiesto' - Use 'Responsabile' for 'manager' in Italian Common.php - Add 'sale_not_found' translation key to missing languages (km, ml, ta, ur) - Tamil (ta) gets proper translation, others get English fallback --- app/Language/fr/Reports.php | 2 +- app/Language/it/Common.php | 4 ++-- app/Language/km/Sales.php | 1 + app/Language/ml/Sales.php | 1 + app/Language/ta/Sales.php | 1 + app/Language/ur/Sales.php | 1 + 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/Language/fr/Reports.php b/app/Language/fr/Reports.php index 2050611a6..3c8f0a0f0 100644 --- a/app/Language/fr/Reports.php +++ b/app/Language/fr/Reports.php @@ -146,5 +146,5 @@ return [ "used" => "Points utilisés", "work_orders" => "Ordre Du Travail", "zero_and_less" => "Zéro ou moin", - "toggle_cost_and_profit" => "Basculer Coût & Profit", + "toggle_cost_and_profit" => "Basculer Coût & Bénéfice", ]; diff --git a/app/Language/it/Common.php b/app/Language/it/Common.php index 03737f7b4..5bb34d433 100644 --- a/app/Language/it/Common.php +++ b/app/Language/it/Common.php @@ -51,7 +51,7 @@ return [ "logo" => "Logo", "logo_mark" => "Marchio", "logout" => "Esci", - "manager" => "Manager", + "manager" => "Responsabile", "migration_needed" => "Una migrazione del database verso {0} inizierà dopo l'accesso.", "new" => "Nuovo", "no" => "No", @@ -60,7 +60,7 @@ return [ "or" => "OR", "people" => "Persone", "phone_number" => "Numero di Telefono", - "phone_number_required" => "Numero di Telefono è richiesto", + "phone_number_required" => "Il numero di telefono è richiesto", "please_visit_my" => "Visitare il", "position" => "Posizione", "powered_by" => "Sviluppato da", diff --git a/app/Language/km/Sales.php b/app/Language/km/Sales.php index 80868cbc3..eec47d148 100644 --- a/app/Language/km/Sales.php +++ b/app/Language/km/Sales.php @@ -222,4 +222,5 @@ return [ "work_order_number_duplicate" => "", "work_order_sent" => "", "work_order_unsent" => "", + "sale_not_found" => "Sale not found", ]; diff --git a/app/Language/ml/Sales.php b/app/Language/ml/Sales.php index b38f57446..3678be408 100644 --- a/app/Language/ml/Sales.php +++ b/app/Language/ml/Sales.php @@ -222,4 +222,5 @@ return [ "work_order_number_duplicate" => "", "work_order_sent" => "", "work_order_unsent" => "", + "sale_not_found" => "Sale not found", ]; diff --git a/app/Language/ta/Sales.php b/app/Language/ta/Sales.php index 64591c078..c1611c31e 100644 --- a/app/Language/ta/Sales.php +++ b/app/Language/ta/Sales.php @@ -222,4 +222,5 @@ return [ "work_order_number_duplicate" => "Work Order Number must be unique.", "work_order_sent" => "Work Order sent to", "work_order_unsent" => "Work Order failed to be sent to", + "sale_not_found" => "விற்பனை காணப்படவில்லை", ]; diff --git a/app/Language/ur/Sales.php b/app/Language/ur/Sales.php index 2e6af0951..f5e75dccc 100644 --- a/app/Language/ur/Sales.php +++ b/app/Language/ur/Sales.php @@ -222,4 +222,5 @@ return [ "work_order_number_duplicate" => "", "work_order_sent" => "", "work_order_unsent" => "", + "sale_not_found" => "Sale not found", ];