From 11c895dc9dba8992c608269ffef2a7124fdd8e34 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Apr 2024 02:22:09 +0200 Subject: [PATCH] Try to reduce CTI errors by removing alert on less important warnings. --- dev/translation/ignore_translation_keys.lst | 1 - dev/translation/sanity_check_trans_missing_unused.sh | 2 +- htdocs/compta/prelevement/class/rejetprelevement.class.php | 2 +- htdocs/langs/en_US/printing.lang | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 908b56407cc..46c73e56d95 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -61,7 +61,6 @@ ResourcesLinkedToElement SetupDescription5 ShowSending SomethingMakeInstallFromWebNotPossible2 -StatusMotif0 StatusOrderProcessed SuppliersOrdersRunning TasksOnOpenedProject diff --git a/dev/translation/sanity_check_trans_missing_unused.sh b/dev/translation/sanity_check_trans_missing_unused.sh index 5285e5e947e..bdc75165d7a 100755 --- a/dev/translation/sanity_check_trans_missing_unused.sh +++ b/dev/translation/sanity_check_trans_missing_unused.sh @@ -167,7 +167,7 @@ sed -n 's@> \(.*\)'"@${REPL_STR}@p" \ if [ -s "${UNUSED_FILE}.grep" ] ; then #exit_code=1 - exit_code=0 + exit_code=0 # We do not consider adding new entries for future use as an error (even if ignore_translation_keys.lst not filled). # Report unused translation in recognizable format git grep -n --column -r -f "${UNUSED_FILE}.grep" -- "${LANG_DIR}"'/*.lang' \ diff --git a/htdocs/compta/prelevement/class/rejetprelevement.class.php b/htdocs/compta/prelevement/class/rejetprelevement.class.php index 453920c5faa..805176543cb 100644 --- a/htdocs/compta/prelevement/class/rejetprelevement.class.php +++ b/htdocs/compta/prelevement/class/rejetprelevement.class.php @@ -82,7 +82,7 @@ class RejetPrelevement $this->motifs = array(); $this->labelsofinvoicing = array(); - $this->motifs[0] = ""; //$langs->trans("StatusMotif0"); + $this->motifs[0] = ""; $this->motifs[1] = $langs->trans("StatusMotif1"); $this->motifs[2] = $langs->trans("StatusMotif2"); $this->motifs[3] = $langs->trans("StatusMotif3"); diff --git a/htdocs/langs/en_US/printing.lang b/htdocs/langs/en_US/printing.lang index 9e573254023..dfb12748e10 100644 --- a/htdocs/langs/en_US/printing.lang +++ b/htdocs/langs/en_US/printing.lang @@ -53,4 +53,4 @@ PrintingDriverDescprintgcp=Configuration variables for printing driver Google Cl PrintingDriverDescprintipp=Configuration variables for printing driver Cups. PrintTestDescprintgcp=List of Printers for Google Cloud Print. PrintTestDescprintipp=List of Printers for Cups. -Testaaaaa=aaaaa +Testbbbb