From 0f1e1b9ea57b9c2492aaca1e3142800197521999 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 31 Mar 2025 16:38:01 +0200 Subject: [PATCH] fix: translation --- locale/fr/LC_MESSAGES/rougail_cli.mo | Bin 588 -> 0 bytes locale/fr/LC_MESSAGES/rougail_cli.po | 26 ++++++++++++++---- locale/rougail_cli.pot | 24 +++++++++++++--- src/rougail/cli/config.py | 8 +++--- .../cli/locale/fr/LC_MESSAGES/rougail_cli.mo | Bin 588 -> 974 bytes 5 files changed, 45 insertions(+), 13 deletions(-) delete mode 100644 locale/fr/LC_MESSAGES/rougail_cli.mo diff --git a/locale/fr/LC_MESSAGES/rougail_cli.mo b/locale/fr/LC_MESSAGES/rougail_cli.mo deleted file mode 100644 index c627c5a7ed354b1254754d898220dc8356d343ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 588 zcmZXQ&q~8U5XR%bOZ4Q~!w@_vTQ^ogqJpSZ1WQY(;z5u#nbehbH*O}yqCSQX;4_I= z@kInDR?^_uR^{rN2&Jfp z5Xwl(Wf@B8AFF~y$0<|v6j{fe$I5g|)kV=k)gL=YkU773)NK5032V~dvxd;{jA718 z2yba6?!hiK68M^mvoj36I&k*Z;} zdW54^L^!T<0OWW#|9zCl7O5o2MFxlx4UD8kDUH5&2)05(Lv>V NZc8`b{>%N*fDa;trDXsB diff --git a/locale/fr/LC_MESSAGES/rougail_cli.po b/locale/fr/LC_MESSAGES/rougail_cli.po index 5178386..93de4c3 100644 --- a/locale/fr/LC_MESSAGES/rougail_cli.po +++ b/locale/fr/LC_MESSAGES/rougail_cli.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2024-10-31 09:57+0100\n" -"PO-Revision-Date: 2024-10-31 10:00+0100\n" +"POT-Creation-Date: 2025-03-31 16:37+0200\n" +"PO-Revision-Date: 2025-03-31 16:37+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -16,14 +16,30 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.5\n" -#: src/rougail/cli/__main__.py:43 +#: src/rougail/cli/__main__.py:102 msgid "cannot find \"user_data\" module \"{0}\"" msgstr "ne peut trouve le module \"user_data\" \"{0}\"" -#: src/rougail/cli/__main__.py:56 +#: src/rougail/cli/__main__.py:139 msgid "cannot find cli file for \"output_name\" module \"{0}\"" msgstr "ne peut trouve le fichier cli pour le module \"output_name\" \"{0}\"" -#: src/rougail/cli/__main__.py:69 +#: src/rougail/cli/__main__.py:161 msgid "ERROR: {0}" msgstr "ERREUR : {0}" + +#: src/rougail/cli/config.py:28 +msgid "Command line options" +msgstr "Options de la ligne de commande" + +#: src/rougail/cli/config.py:31 +msgid "loads command line parameters from a file" +msgstr "charge les paramètres de la ligne de commande depuis un fichier" + +#: src/rougail/cli/config.py:39 +msgid "displays debug informations" +msgstr "affiche les informations de debug" + +#: src/rougail/cli/config.py:40 +msgid "do not display debug informations" +msgstr "ne pas afficher les informations de debug" diff --git a/locale/rougail_cli.pot b/locale/rougail_cli.pot index f93a543..80a09d3 100644 --- a/locale/rougail_cli.pot +++ b/locale/rougail_cli.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-10-31 19:17+0100\n" +"POT-Creation-Date: 2025-03-31 16:37+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,15 +15,31 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/rougail/cli/__main__.py:63 +#: src/rougail/cli/__main__.py:102 msgid "cannot find \"user_data\" module \"{0}\"" msgstr "" -#: src/rougail/cli/__main__.py:76 +#: src/rougail/cli/__main__.py:139 msgid "cannot find cli file for \"output_name\" module \"{0}\"" msgstr "" -#: src/rougail/cli/__main__.py:89 +#: src/rougail/cli/__main__.py:161 msgid "ERROR: {0}" msgstr "" +#: src/rougail/cli/config.py:28 +msgid "Command line options" +msgstr "" + +#: src/rougail/cli/config.py:31 +msgid "loads command line parameters from a file" +msgstr "" + +#: src/rougail/cli/config.py:39 +msgid "displays debug informations" +msgstr "" + +#: src/rougail/cli/config.py:40 +msgid "do not display debug informations" +msgstr "" + diff --git a/src/rougail/cli/config.py b/src/rougail/cli/config.py index ea3dea9..7ebeb03 100644 --- a/src/rougail/cli/config.py +++ b/src/rougail/cli/config.py @@ -25,10 +25,10 @@ def get_rougail_config( ) -> dict: options = f""" cli: - description: {_('Command line option')} + description: {_('Command line options')} config_file: - description: {_('load rougail cli parameters from a file)} + description: {_('loads command line parameters from a file')} type: unix_filename commandline: false params: @@ -36,8 +36,8 @@ cli: default: .rougailcli.yml debug: - description: {_('display debug informations')} - negative_description: {_('do not display debut informations')} + description: {_('displays debug informations')} + negative_description: {_('do not display debug informations')} default: false """ return { diff --git a/src/rougail/cli/locale/fr/LC_MESSAGES/rougail_cli.mo b/src/rougail/cli/locale/fr/LC_MESSAGES/rougail_cli.mo index c627c5a7ed354b1254754d898220dc8356d343ef..354f80c0afd56e344190aeb685caa82b8beec187 100644 GIT binary patch literal 974 zcmZ`%-D(su7>!zg7{v?mu7aP7H!4|YyHv}FpslMET6S5s;)Ph!nd~$&lMG3wxQO5j zcH~P&dmlpZWM{FvY6FLppY#1BC&$;8J~NCKVqC!Rz2#;5Xnq;E&*6;IH7D;KQ?wT>&3~?}C4TpMcr9ChjRX#HHY{ z{|Ssxb^*YYod?2LYG~T;#n~LG7~3#qDRf4K(vnQ&mC=s%hQt0aq4)6zmI|$nr?G;j zRXb^SGvP&xN|V)vq!u)-1yNcksBttlmRhFvRqc1RDCJ)SLdWO^rdL( zXNE%2ndEd18d&O)bq`Zzr-2tmryk5^PxOYVa1;b zFB4jcS5|r4<=qZ-9wgm|_u`c}j<$sJd}M`oh498Aa!csE7P;gjDayHZf}+v(=63I- zN~ax18%BGnkz-P!h?npDecW2!g3YGkVU~PIRHxSX$oGsmYYi6I$C-K6)Xw zv}iQr>yw14NiKaz)~+VhX|G1F_)HLb92l7?PhIS@e&Z;fkO~2lbGVH8?BQf^y0bSm9!N6uS{*{!xw%*lR%6^Kq%rCybs+?e*_C9 lgrk`-4|M7~KE> delta 164 zcmX@deuky~o)F7a1|VPoVi_Q|0b*7ljsap2C;(zEAT9)A6(FtwVq+j)2*iJZ_$m