[Koha-bugs] [Bug 29602] We must be nicer with translators

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 30 16:29:14 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29602

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
An example with "Unknown error":


-#. %1$s:  END 
-#. %2$s:  SWITCH m.error 
-#. %3$s:  CASE 'hold_not_found' 
-#. %4$s:  m.hold_id | html 
-#. %5$s:  CASE 
-#. %6$s:  m.error | html 
-#. %7$s:  END 
-#. %8$s:  CASE 'hold_cancelled' 
-#:
koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_hold_cancel.inc:31
-#, c-format
-msgid ""
-"has not been cancelled. %s An error occurred on cancelling. %s %s No hold "
-"with id %s found. %sUnknown error '%s'. %s %s Hold on "
-msgstr ""


-#. %1$s:  FOR e IN log4perl_errors 
-#. %2$s:  SWITCH e 
-#. %3$s:  CASE 'missing_config_entry' 
-#. %4$s:  CASE 'cannot_read_config_file' 
-#. %5$s:  CASE 'logfile_not_writable' 
-#. %6$s:  CASE 'cannot_init_module' 
-#. %7$s:  CASE 
-#. %8$s:  e | html 
-#. %9$s:  END 
-#. %10$s:  END 
-#. %11$s:  END 
-#. %12$s:  IF warnConnectBroker 
-#: koha-tmpl/intranet-tmpl/prog/en/modules/about.tt:281
-#, c-format
-msgid ""
-"%s %s %sThere is no 'log4perl_conf' entry in the config file. %sThe log4perl
"
-"config file cannot be opened. %sOne of the logfiles listed in the config "
-"file is not writable. %sThe Koha::Logger module cannot be initiated "
-"correctly (check the log file). %sUnknown error \"%s\" %s %s %s %s "
-msgstr ""
-"%s %s %sIl n'y a pas d'entrée \"log4perl_conf\" dans le fichier de config. "
-"%sImpossible d'ouvrir le fichier de config log4perl. %sUn des fichiers de "
-"log recensé dans le fichier de config n'est pas accessible en écriture. "
-"%sImpossible d'initialiser correctement le module Koha::Logger (vérifier le "
-"fichier de log). %sErreur inconnue \"%s\" %s %s %s %s "



+#. %1$s:  e | html 
+#: koha-tmpl/intranet-tmpl/prog/en/modules/about.tt:288
+#, fuzzy, c-format
+msgid "Unknown error \"%s\""
+msgstr "Erreur inconnue."
+
+#. %1$s:  m.error | html 
+#:
koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_hold_cancel.inc:38
+#, fuzzy, c-format
+msgid "Unknown error '%s'."
+msgstr "Erreur inconnue."

Could even be improved as there is a " vs ', but you got the idea.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list