From 669d679464ed4b81bd0da4346e764c99d3f2eb9c Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 4 Aug 2020 10:30:49 +0200 Subject: [PATCH] LSformElement :: boolean: fix translation of default labels --- .../class/class.LSformElement_boolean.php | 4 ++-- src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 59276 -> 59323 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 22 ++++++++++-------- src/lang/ldapsaisie.pot | 14 ++++++++--- 4 files changed, 25 insertions(+), 15 deletions(-) diff --git a/src/includes/class/class.LSformElement_boolean.php b/src/includes/class/class.LSformElement_boolean.php index 49106c30..8028c921 100644 --- a/src/includes/class/class.LSformElement_boolean.php +++ b/src/includes/class/class.LSformElement_boolean.php @@ -57,8 +57,8 @@ class LSformElement_boolean extends LSformElement { $return['html'] = $this -> fetchTemplate( NULL, array( - 'yesTxt' => __($this -> getParam('html_options.true_label', 'Yes')), - 'noTxt' => __($this -> getParam('html_options.false_label', 'No')), + 'yesTxt' => __($this -> getParam('html_options.true_label', ___('Yes'))), + 'noTxt' => __($this -> getParam('html_options.false_label', ___('No'))), ) ); return $return; diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index 51be872270593d33da01ea4e0919721a5f2e2841..1d5b96b3f2383ff8c79ecebe76237fcd9bb5ee5e 100644 GIT binary patch delta 8343 zcmZA72XvKHy2kOHgx*33p@rn6ClG4r34tU)LJfojLKz5w1ZfGqNINv8OF4jm^den> zpj1&X&d@|aq>U(yAUcZ~WiCt5f${zy_BVIA?pbbr``usL<=x*oS<59~_?-O0$Nf!} z5~~fLV_wG8#;+?H)5Y7E4S{Mk=3Im^0eBuG@ms8qB?;PK6ReBlupVy2AiRK8@dwA3 z7(-ko%9v`HfGNhfO;0LmG^|Ela2HGCzc37c!%z&0HpU;@VkgYRX1Eb!@k`Y8zhe?s zvuY0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6~j0o3rpiT^uc+K zOR*sFD(Cn*R8H(h<;o#!j8`!N1Aef%5r>tCr#tZmC%#{sN(cuEJ+yzTMPNhXXw(S$ zVg<}`j?ee32@b9~&5I^JLy$B!J)O88dK3F&W2bGs=WcLWuXjAZ1-r`ca@urlQ%V)$ zk10Dnu@!42c5;r+z}A$loWVFu81<#ju~o!VslUYiP8(IT$g{p;u-9zQp^DWry3+nv z%68hTV~S32J}ro~D#S^r3zX8Sa~(Aw4{?A$<}j(5lZ|N-OHh4ZRKZ zS?wGfj14H2DRU^<6n#=WXG7u|H6v20Z=txUFT?|s&CXd=&A>m^U#Nl47*Aqo+43_v zGM7@E5>1&$nMLXC$q7w}+(K;+=jx@AN10D)Lt8JbhwtM?&)HCy*Iv(0q1EfRqiq3Y zALS6o?oygj<`aL9`mCT{o1#w(${tUKD2s0NoKlu}B;`X&4&^j$>pWE}1()y;%_i!Pd7k!_0@6RA zHk6`|{zc(;9F4q~Od@tby=x~^{{;1UPFX_SAN%4w9Ol_oDXGw3h;lu@RH_@9PVL{H zu~hOYUH;TomHJ9gdRT;idumDlJ{8w`riaxnI?6eBjptBUa9}D?Bgzh^bp_{*_xu>< z3Y_A!=mx!Q7h25uc-cMB6&tOwp@w zgXdy+bfJZ`w)DIT5BATbcAs{A7E|8$RE=;oYEEm`n>M7rm7-5))UKb1dVT!oXMksB zMA@dBIGXJoYD#@NWg;=J_y7OAOIu0GaEd-@l(E#4C~ZC0BV1mSJikTMDnH0M9_X0N zc^xU+Jxwboc`ftItn3QY|0Uop=eXWc`UDVHplqYwG5_<*$J6rX3_n#eKV#~\n" "Language-Team: LdapSaisie \n" @@ -1694,6 +1694,14 @@ msgstr "Envoyer un mail depuis l'interface." msgid "Reset the choice." msgstr "Réinitialiser le choix." +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_boolean.php:60 +msgid "Yes" +msgstr "Oui" + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_boolean.php:61 +msgid "No" +msgstr "Non" + #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_rss.php:50 msgid "Display RSS stack." msgstr "Afficher la file RSS." @@ -2028,7 +2036,7 @@ msgstr "Rôle" msgid "Entity type" msgstr "Type d'entité" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:202 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:200 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." @@ -2037,11 +2045,11 @@ msgstr "" "Note: Les paramètres/arguments de la commande doivent être placés après " "celle-ci." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:700 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:696 msgid "LScli : The CLI command '%{command}' already exists." msgstr "LScli : La commande CLI '%{command}' existe déjà." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:703 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:699 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr "" "LScli : La fonction de prise en charge de la commande CLI '%{command}' n'est " @@ -2400,12 +2408,6 @@ msgstr "oui" #~ msgstr "" #~ "Support SSH : Impossible de se connecter au serveur SSH (%{host}:%{port})." -#~ msgid "Yes" -#~ msgstr "Oui" - -#~ msgid "No" -#~ msgstr "Non" - #, fuzzy #~ msgid "delete" #~ msgstr "Supprimer" diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index daa26bcc..d3008495 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -1412,6 +1412,14 @@ msgstr "" msgid "Reset the choice." msgstr "" +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_boolean.php:60 +msgid "Yes" +msgstr "" + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_boolean.php:61 +msgid "No" +msgstr "" + #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_rss.php:50 msgid "Display RSS stack." msgstr "" @@ -1708,17 +1716,17 @@ msgstr "" msgid "Entity type" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:202 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:200 msgid "" "Invalid parameter \"%{parameter}\".\n" "Note: Command's parameter/argument must be place after the command." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:700 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:696 msgid "LScli : The CLI command '%{command}' already exists." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:703 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LScli.php:699 msgid "LScli : The CLI command '%{command}' handler is not callable." msgstr ""