diff --git a/authentication.php b/authentication.php index d3df444..246b7fe 100644 --- a/authentication.php +++ b/authentication.php @@ -73,7 +73,7 @@ class authentication $authsession->logout (); unset ($_SESSION["domframework"]["authentication"]); $_SESSION["domframework"]["authentication"]["message"] = - _("You have been logged out"); + dgettext("domframework", "You have been logged out"); if ($this->debug) echo "Redirect to authentication page"; if ($this->debug) $this->route->debug = $this->debug; $this->route->redirect ("/authentication", ""); @@ -115,7 +115,7 @@ class authentication { trigger_error ("Ratelimiting for $ipClient", E_USER_WARNING); $_SESSION["domframework"]["authentication"]["message"] = - _("Too much connections"); + dgettext("domframework", "Too much connections"); if ($url === "") { $this->route->redirect ("/authentication", ""); @@ -200,7 +200,7 @@ class authentication { // Authentication error if ($this->debug) echo "Previous session not found"; - $msg = _("Previous session not found"); + $msg = dgettext("domframework", "Previous session not found"); $_SESSION["domframework"]["authentication"]["message"] = $msg; trigger_error ("Previous session not found for '$authparams->email'", E_USER_WARNING); @@ -276,7 +276,7 @@ class authentication } } trigger_error ("Bad login/password for '$email'", E_USER_WARNING); - return _("Bad login/password"); + return dgettext("domframework", "Bad login/password"); } /** Add the authentication routes to the routing model */ diff --git a/authzgroups.php b/authzgroups.php index 0439a2a..d7f0f88 100644 --- a/authzgroups.php +++ b/authzgroups.php @@ -158,8 +158,9 @@ class authzgroups if ($rc !== "NO") return TRUE; if ($user === "anonymous") - throw new Exception (_("Anonymous not allowed"), 401); - throw new Exception (_("Access forbidden"), 403); + throw new Exception (dgettext("domframework", "Anonymous not allowed"), + 401); + throw new Exception (dgettext("domframework", "Access forbidden"), 403); } /** Return TRUE if the user right allow to edit the object (RW only) @@ -188,8 +189,10 @@ class authzgroups if ($rc === "RW") return TRUE; if ($user === "anonymous") - throw new Exception (_("Anonymous not allowed"), 401); - throw new Exception (_("Modification forbidden"), 403); + throw new Exception (dgettext("domframework", "Anonymous not allowed"), + 401); + throw new Exception (dgettext("domframework", "Modification forbidden"), + 403); } /** Return TRUE if the user right allow to see but without modification @@ -219,8 +222,9 @@ class authzgroups if ($rc === "RO") return TRUE; if ($user === "anonymous") - throw new Exception (_("Anonymous not allowed"), 401); - throw new Exception (_("Access forbidden"), 403); + throw new Exception (dgettext("domframework", "Anonymous not allowed"), + 401); + throw new Exception (dgettext("domframework", "Access forbidden"), 403); } ///////////////////////// // DATABASE STORAGE // @@ -240,10 +244,14 @@ class authzgroups "comment"=> array ("varchar", "255")); $this->dbObject->primary = "idobject"; $this->dbObject->unique = array ("idobject", array ("object", "module")); - $this->dbObject->titles = array ("idobject"=>_("idobject"), - "module"=>_("Module"), - "object"=>_("Object"), - "comment"=>_("Comment")); + $this->dbObject->titles = array ("idobject"=>dgettext("domframework", + "idobject"), + "module"=>dgettext("domframework", + "Module"), + "object"=>dgettext("domframework", + "Object"), + "comment"=>dgettext("domframework", + "Comment")); $this->dbGroup = new dblayer ($dsn, $username, $password, $driver_options); $this->dbGroup->debug = $this->debug; @@ -256,10 +264,14 @@ class authzgroups "comment"=>array ("varchar", "255")); $this->dbGroup->primary = "idgroup"; $this->dbGroup->unique = array ("idgroup", array ("module","group")); - $this->dbGroup->titles = array ("idgroup"=>_("idgroup"), - "module"=>_("Module"), - "group"=>_("Group"), - "comment"=>_("Comment")); + $this->dbGroup->titles = array ("idgroup"=>dgettext("domframework", + "idgroup"), + "module"=>dgettext("domframework", + "Module"), + "group"=>dgettext("domframework", + "Group"), + "comment"=>dgettext("domframework", + "Comment")); $this->dbGroupMember = new dblayer ($dsn, $username, $password, $driver_options); @@ -277,10 +289,15 @@ class authzgroups $this->dbGroupMember->foreign = array ( "idgroup"=>array ("authzgroup", "idgroup", "ON UPDATE CASCADE ON DELETE CASCADE")); - $this->dbGroupMember->titles = array ("idgroupmember"=>_("idgroupmember"), - "user"=>_("User"), - "idgroup"=>_("idgroup"), - "comment"=>_("Comment")); + $this->dbGroupMember->titles = array ("idgroupmember"=> + dgettext("domframework", + "idgroupmember"), + "user"=>dgettext("domframework", + "User"), + "idgroup"=>dgettext("domframework", + "idgroup"), + "comment"=>dgettext("domframework", + "Comment")); $this->dbRight = new dblayer ($dsn, $username, $password, $driver_options); $this->dbRight->debug = $this->debug; @@ -300,11 +317,15 @@ class authzgroups "idobject"=>array ("authzobject", "idobject", "ON UPDATE CASCADE ON DELETE CASCADE"), ); - $this->dbRight->titles = array ("idright"=>_("idright"), - "idgroup"=>_("idgroup"), - "idobject"=>_("idobject"), - "right"=>_("Right"), - "comment"=>_("Comment")); + $this->dbRight->titles = array ("idright"=>dgettext("domframework", + "idright"), + "idgroup"=>dgettext("domframework", + "idgroup"), + "idobject"=>dgettext("domframework", + "idobject"), + "right"=>dgettext("domframework", "Right"), + "comment"=>dgettext("domframework", + "Comment")); return TRUE; } diff --git a/dblayer.php b/dblayer.php index ea9731a..ec3aa21 100644 --- a/dblayer.php +++ b/dblayer.php @@ -99,7 +99,8 @@ class dblayer { $driver = @explode (":", $dsn); if (! isset ($driver[0])) - throw new Exception (_("No valid DSN provided"), 500); + throw new Exception (dgettext("domframework", "No valid DSN provided"), + 500); // Force specifics initialisations $this->dsn = $dsn; switch ($driver[0]) diff --git a/imap.php b/imap.php index 576f180..ddb220e 100644 --- a/imap.php +++ b/imap.php @@ -535,7 +535,8 @@ class imap strtolower ($struct2->subtype); else throw new Exception (sprintf ( - _("Unknown type in imap_fetchstructure : %s"), + dgettext("domframework", + "Unknown type in imap_fetchstructure : %s"), $struct2->type), 500); } } @@ -580,8 +581,9 @@ class imap strtolower ($struct1->subtype); else throw new Exception (sprintf ( - _("Unknown type in imap_fetchstructure : %s"), - $struct1->type), 500); + dgettext("domframework", + "Unknown type in imap_fetchstructure : %s"), + $struct1->type), 500); } } return $structure; diff --git a/inifile.php b/inifile.php index e1d30c0..92dc640 100644 --- a/inifile.php +++ b/inifile.php @@ -13,9 +13,11 @@ class inifile public function getFile ($file, $sections=false) { if (! file_exists ($file)) - throw new \Exception (sprintf (_("File '%s' not found"), $file), 404); + throw new \Exception (sprintf (dgettext("domframework", + "File '%s' not found"), $file), 404); if (! is_readable ($file)) - throw new \Exception (sprintf (_("File '%s' not readable"), $file), 500); + throw new \Exception (sprintf (dgettext("domframework", + "File '%s' not readable"), $file), 500); $res = parse_ini_file ($file, $sections); // The DomFramework is PHP 5.3 compatible. I need to overwrite the bools and // null values. The INI_SCANNER_TYPED is available as PHP 5.6.1 @@ -82,7 +84,8 @@ class inifile { if (! is_array ($array)) throw new \Exception ( - _("inifile::setString : provided data is not an array"), + dgettext("domframework", + "inifile::setString : provided data is not an array"), 500); $content = ""; if ($sections !== false) @@ -91,7 +94,8 @@ class inifile { if (! is_array ($sub)) throw new \Exception ( - _("inifile::setString : provided data is not an array"), + dgettext("domframework", + "inifile::setString : provided data is not an array"), 500); $content .= "[$section]\n"; foreach ($sub as $key=>$val) @@ -102,7 +106,8 @@ class inifile { if (!is_scalar ($v) && ! is_null ($v)) throw new \Exception (sprintf ( - _("Provided value for '%s' is not scalar"), + dgettext("domframework", + "Provided value for '%s' is not scalar"), $key), 500); if ($v === null) $v = "null"; $content .= $key."[$k] = \"$v\"\n"; @@ -127,7 +132,8 @@ class inifile { if (!is_scalar ($v) && ! is_null ($v)) throw new \Exception (sprintf ( - _("Provided value for '%s' is not scalar"), + dgettext("domframework", + "Provided value for '%s' is not scalar"), $key), 500); if ($v === null) $v = "null"; $content .= $key."[$k] = \"$v\"\n"; @@ -154,10 +160,12 @@ class inifile $dir = basename ($file); if (! file_exists ($dir) || ! is_readable ($dir) || ! is_writeable ($dir)) throw new \Exception (sprintf ( - _("Directory '%s' available or not readable or not writeable"), + dgettext("domframework", + "Directory '%s' available or not readable or not writeable"), $dir), 500); if (file_exists ($file) && ! is_writeable ($file)) - throw new \Exception (sprintf (_("File '%s' is not writeable"), $file), + throw new \Exception (sprintf (dgettext("domframework", + "File '%s' is not writeable"), $file), 500); $content = $this->setString ($array, $sections); return file_put_contents ($file, $content); diff --git a/language.php b/language.php index 31566da..a2a07ec 100644 --- a/language.php +++ b/language.php @@ -335,9 +335,9 @@ class language { switch ($languageCode) { - case "fr_FR": return _("French"); - case "en_US": return _("English (US)"); - case "en_GB": return _("English (GB)"); + case "fr_FR": return dgettext("domframework", "French"); + case "en_US": return dgettext("domframework", "English (US)"); + case "en_GB": return dgettext("domframework", "English (GB)"); default: throw new Exception ("No language available for '$languageCode'", 500); } diff --git a/locale/en_GB.UTF8/LC_MESSAGES/domframework.mo b/locale/en_GB.UTF8/LC_MESSAGES/domframework.mo index 139e2b5..c3c112c 100644 Binary files a/locale/en_GB.UTF8/LC_MESSAGES/domframework.mo and b/locale/en_GB.UTF8/LC_MESSAGES/domframework.mo differ diff --git a/locale/en_GB.UTF8/LC_MESSAGES/domframework.po b/locale/en_GB.UTF8/LC_MESSAGES/domframework.po index f196102..4ac1da4 100644 --- a/locale/en_GB.UTF8/LC_MESSAGES/domframework.po +++ b/locale/en_GB.UTF8/LC_MESSAGES/domframework.po @@ -3,7 +3,7 @@ msgid "%s is write protected" msgstr "%s is write protected" -#: authzgroups.php:162 authzgroups.php:223 routeSQL.php:315 routeSQL.php:330 +#: authzgroups.php:163 authzgroups.php:227 routeSQL.php:315 routeSQL.php:330 #: routeSQL.php:393 routeSQL.php:408 routeSQL.php:415 routeSQL.php:418 #: routeSQL.php:461 routeSQL.php:476 routeSQL.php:483 routeSQL.php:486 #: routeSQL.php:527 routeSQL.php:542 routeSQL.php:549 routeSQL.php:552 @@ -27,15 +27,15 @@ msgstr "Add new entry" msgid "Already sign in" msgstr "Already sign in" -#: dblayer.php:454 +#: dblayer.php:455 msgid "An entry with these values already exists" msgstr "An entry with these values already exists" -#: dblayer.php:476 +#: dblayer.php:477 msgid "An entry with this value already exists" msgstr "An entry with this value already exists" -#: authzgroups.php:161 authzgroups.php:191 authzgroups.php:222 +#: authzgroups.php:161 authzgroups.php:192 authzgroups.php:225 #: routeSQL.php:313 routeSQL.php:328 routeSQL.php:392 routeSQL.php:406 #: routeSQL.php:413 routeSQL.php:460 routeSQL.php:474 routeSQL.php:481 #: routeSQL.php:526 routeSQL.php:540 routeSQL.php:547 routeSQL.php:605 @@ -132,8 +132,8 @@ msgstr "Can't save configuration file '%s'" msgid "Click here to logout" msgstr "Click here to logout" -#: authzgroups.php:246 authzgroups.php:262 authzgroups.php:283 -#: authzgroups.php:307 +#: authzgroups.php:254 authzgroups.php:274 authzgroups.php:300 +#: authzgroups.php:328 msgid "Comment" msgstr "Comment" @@ -150,34 +150,34 @@ msgstr "Configuration file '%s' is write protected" msgid "Creation done" msgstr "Creation done" -#: authzgroups.php:325 authzgroups.php:476 authzgroups.php:488 -#: authzgroups.php:501 authzgroups.php:514 authzgroups.php:528 -#: authzgroups.php:543 authzgroups.php:554 +#: authzgroups.php:346 authzgroups.php:497 authzgroups.php:509 +#: authzgroups.php:522 authzgroups.php:535 authzgroups.php:549 +#: authzgroups.php:564 authzgroups.php:575 msgid "DB for Group is not connected" msgstr "DB for Group is not connected" -#: authzgroups.php:328 authzgroups.php:583 authzgroups.php:601 -#: authzgroups.php:622 authzgroups.php:666 authzgroups.php:690 -#: authzgroups.php:706 authzgroups.php:722 +#: authzgroups.php:349 authzgroups.php:604 authzgroups.php:622 +#: authzgroups.php:643 authzgroups.php:687 authzgroups.php:711 +#: authzgroups.php:735 authzgroups.php:751 authzgroups.php:767 msgid "DB for GroupMember is not connected" msgstr "DB for GroupMember is not connected" -#: authzgroups.php:36 authzgroups.php:322 authzgroups.php:358 -#: authzgroups.php:371 authzgroups.php:385 authzgroups.php:399 -#: authzgroups.php:416 authzgroups.php:433 authzgroups.php:446 +#: authzgroups.php:36 authzgroups.php:343 authzgroups.php:379 +#: authzgroups.php:392 authzgroups.php:406 authzgroups.php:420 +#: authzgroups.php:437 authzgroups.php:454 authzgroups.php:467 msgid "DB for Object is not connected" msgstr "DB for Object is not connected" -#: authzgroups.php:332 authzgroups.php:756 authzgroups.php:787 -#: authzgroups.php:818 authzgroups.php:832 authzgroups.php:847 -#: authzgroups.php:873 authzgroups.php:901 authzgroups.php:920 -#: authzgroups.php:933 authzgroups.php:944 authzgroups.php:955 -#: authzgroups.php:970 +#: authzgroups.php:353 authzgroups.php:801 authzgroups.php:832 +#: authzgroups.php:863 authzgroups.php:877 authzgroups.php:892 +#: authzgroups.php:918 authzgroups.php:946 authzgroups.php:965 +#: authzgroups.php:978 authzgroups.php:989 authzgroups.php:1000 +#: authzgroups.php:1015 msgid "DB for Right is not connected" msgstr "DB for Right is not connected" -#: dblayer.php:198 dblayer.php:216 dblayer.php:567 dblayer.php:661 -#: dblayer.php:820 dblayer.php:917 dblayer.php:957 dblayer.php:984 +#: dblayer.php:199 dblayer.php:217 dblayer.php:568 dblayer.php:662 +#: dblayer.php:821 dblayer.php:918 dblayer.php:958 dblayer.php:985 msgid "Database not connected" msgstr "Database not connected" @@ -197,12 +197,12 @@ msgstr "Default parameters" msgid "Directory %s is not writable : can not create cache directory" msgstr "Directory %s is not writable : can not create cache directory" -#: inifile.php:157 +#: inifile.php:164 #, php-format msgid "Directory '%s' available or not readable or not writeable" msgstr "Directory '%s' available or not readable or not writeable" -#: dblayer.php:669 +#: dblayer.php:670 msgid "Display information provided is not an array" msgstr "Display information provided is not an array" @@ -222,7 +222,7 @@ msgstr "English (GB)" msgid "English (US)" msgstr "English (US)" -#: dblayer.php:408 +#: dblayer.php:409 msgid "Entry to modify unavailable" msgstr "Entry to modify unavailable" @@ -230,21 +230,21 @@ msgstr "Entry to modify unavailable" msgid "Error in configuration file" msgstr "Error in configuration file" -#: renderer.php:120 routeSQL.php:139 +#: renderer.php:122 routeSQL.php:139 msgid "Error!" msgstr "Error!" -#: dblayer.php:341 +#: dblayer.php:342 #, php-format msgid "Errors in consistency : '%s' data is too long" msgstr "Errors in consistency : '%s' data is too long" -#: dblayer.php:322 +#: dblayer.php:323 #, php-format msgid "Errors in consistency : '%s' is not an integer" msgstr "Errors in consistency : '%s' is not an integer" -#: dblayer.php:312 +#: dblayer.php:313 #, php-format msgid "Errors in consistency : '%s' is not an integer or a string [is %s]" msgstr "Errors in consistency : '%s' is not an integer or a string [is %s]" @@ -258,22 +258,22 @@ msgstr "Extension not allowed" msgid "Field '%s' (defined in titles) not found in fields" msgstr "Field '%s' (defined in titles) not found in fields" -#: dblayer.php:681 +#: dblayer.php:682 #, php-format msgid "Field '%s' not allowed" msgstr "Field '%s' not allowed" -#: inifile.php:160 +#: inifile.php:168 #, php-format msgid "File '%s' is not writeable" msgstr "File '%s' is not writeable" -#: inifile.php:16 +#: inifile.php:17 #, php-format msgid "File '%s' not found" msgstr "File '%s' not found" -#: inifile.php:18 +#: inifile.php:20 #, php-format msgid "File '%s' not readable" msgstr "File '%s' not readable" @@ -296,25 +296,25 @@ msgstr "French" msgid "Go back to the calling page" msgstr "Go back to the calling page" -#: authzgroups.php:261 +#: authzgroups.php:272 msgid "Group" msgstr "Group" -#: authzgroups.php:652 +#: authzgroups.php:673 msgid "IDUser in IDGroup not found" msgstr "IDUser in IDGroup not found" -#: dblayer.php:367 +#: dblayer.php:368 #, php-format msgid "Incorrect date provided for field '%s'" msgstr "Incorrect date provided for field '%s'" -#: dblayer.php:354 +#: dblayer.php:355 #, php-format msgid "Incorrect datetime provided for field '%s'" msgstr "Incorrect datetime provided for field '%s'" -#: renderer.php:122 +#: renderer.php:130 msgid "Info :" msgstr "Info :" @@ -322,7 +322,7 @@ msgstr "Info :" msgid "Info:" msgstr "Info:" -#: form.php:857 +#: form.php:872 msgid "Invalid CSRF token provided" msgstr "Invalid CSRF token provided" @@ -370,25 +370,25 @@ msgstr "Invalid password provided : too long" msgid "Invalid password provided : too short" msgstr "Invalid password provided : too short" -#: dblayer.php:283 +#: dblayer.php:284 #, php-format msgid "Mandatory field '%s' is empty" msgstr "Mandatory field '%s' is empty" -#: dblayer.php:276 +#: dblayer.php:277 #, php-format msgid "Mandatory field '%s' not provided" msgstr "Mandatory field '%s' not provided" -#: authzgroups.php:192 +#: authzgroups.php:194 msgid "Modification forbidden" msgstr "Modification forbidden" -#: authzgroups.php:244 authzgroups.php:260 +#: authzgroups.php:250 authzgroups.php:270 msgid "Module" msgstr "Module" -#: dblayer.php:823 dblayer.php:937 dblayer.php:987 +#: dblayer.php:824 dblayer.php:938 dblayer.php:988 msgid "No Field defined" msgstr "No Field defined" @@ -400,7 +400,7 @@ msgstr "No List User available" msgid "No PHP support for openssl_random_pseudo_bytes" msgstr "No PHP support for openssl_random_pseudo_bytes" -#: dblayer.php:825 +#: dblayer.php:826 msgid "No Primary defined" msgstr "No Primary defined" @@ -412,11 +412,11 @@ msgstr "No SOAP PHP library available" msgid "No SQL table defined" msgstr "No SQL table defined" -#: dblayer.php:1017 dblayer.php:1110 +#: dblayer.php:1018 dblayer.php:1111 msgid "No Size provided for varchar field" msgstr "No Size provided for varchar field" -#: dblayer.php:1208 +#: dblayer.php:1209 #, php-format msgid "No Size provided for varchar field '%s'" msgstr "No Size provided for varchar field '%s'" @@ -442,15 +442,20 @@ msgstr "No configuration file '%s' available and it can't be created" msgid "No connect to authentication available" msgstr "No connect to authentication available" -#: dblayer.php:828 +#: outputhtml.php:52 +#, php-format +msgid "No data provided from view %s::%s" +msgstr "No data provided from view %s::%s" + +#: dblayer.php:829 msgid "No data to update provided" msgstr "No data to update provided" -#: dblayer.php:1100 +#: dblayer.php:1101 msgid "No database type defined for field" msgstr "No database type defined for field" -#: dblayer.php:1005 dblayer.php:1196 +#: dblayer.php:1006 dblayer.php:1197 #, php-format msgid "No database type defined for field '%s'" msgstr "No database type defined for field '%s'" @@ -464,7 +469,7 @@ msgstr "No entry available" msgid "No execute rights on %s" msgstr "No execute rights on %s" -#: dblayer.php:432 +#: dblayer.php:433 msgid "No field primary defined for tests in primary" msgstr "No field primary defined for tests in primary" @@ -516,7 +521,7 @@ msgstr "No password change available" msgid "No password overwrite available" msgstr "No password overwrite available" -#: form.php:852 +#: form.php:867 msgid "No previous CSRF token : abort" msgstr "No previous CSRF token : abort" @@ -524,7 +529,7 @@ msgstr "No previous CSRF token : abort" msgid "No valid DSN provided" msgstr "No valid DSN provided" -#: form.php:644 +#: form.php:659 msgid "No value provided" msgstr "No value provided" @@ -539,7 +544,7 @@ msgstr "No write rights on %s" msgid "Not authenticated" msgstr "Not authenticated" -#: authzgroups.php:245 +#: authzgroups.php:252 msgid "Object" msgstr "Object" @@ -567,15 +572,15 @@ msgstr "Object don't start by slash" msgid "Object not found" msgstr "Object not found" -#: form.php:863 +#: form.php:878 msgid "Obsolete CSRF token provided" msgstr "Obsolete CSRF token provided" -#: dblayer.php:673 +#: dblayer.php:674 msgid "Order information provided is not an array" msgstr "Order information provided is not an array" -#: dblayer.php:1278 +#: dblayer.php:1279 msgid "PDO Engine not supported in dbLayer" msgstr "PDO Engine not supported in dbLayer" @@ -591,7 +596,7 @@ msgstr "Please sign in" msgid "Previous session not found" msgstr "Previous session not found" -#: inifile.php:105 inifile.php:130 +#: inifile.php:110 inifile.php:136 #, php-format msgid "Provided value for '%s' is not scalar" msgstr "Provided value for '%s' is not scalar" @@ -604,7 +609,7 @@ msgstr "Removing more than one object" msgid "Restricted access" msgstr "Restricted access" -#: authzgroups.php:306 +#: authzgroups.php:326 msgid "Right" msgstr "Right" @@ -616,11 +621,11 @@ msgstr "Save the data" msgid "Search:" msgstr "Search:" -#: dblayer.php:665 +#: dblayer.php:666 msgid "Select information provided is not an array" msgstr "Select information provided is not an array" -#: dblayer.php:725 +#: dblayer.php:726 #, php-format msgid "Select not found for id=%d" msgstr "Select not found for id=%d" @@ -629,7 +634,7 @@ msgstr "Select not found for id=%d" msgid "Sign in" msgstr "Sign in" -#: renderer.php:123 +#: renderer.php:134 msgid "Success : " msgstr "Success : " @@ -655,11 +660,11 @@ msgstr "The SOAP connection is not opened" msgid "The SQL database is not connected" msgstr "The SQL database is not connected" -#: dblayer.php:116 +#: dblayer.php:117 msgid "The SQLite database file is write protected" msgstr "The SQLite database file is write protected" -#: dblayer.php:1061 +#: dblayer.php:1062 msgid "The Unique field definition is not an array" msgstr "The Unique field definition is not an array" @@ -680,7 +685,7 @@ msgstr "The configuration model file is missing" msgid "The configuration model file is not readable" msgstr "The configuration model file is not readable" -#: dblayer.php:577 +#: dblayer.php:578 msgid "The data provided to create are not array" msgstr "The data provided to create are not array" @@ -692,26 +697,26 @@ msgstr "The details can't be provided by HTPasswd file" msgid "The details can't be provided by Sympa" msgstr "The details can't be provided by Sympa" -#: dblayer.php:112 +#: dblayer.php:113 msgid "The directory for SQLite database is write protected" msgstr "The directory for SQLite database is write protected" -#: dblayer.php:500 +#: dblayer.php:501 #, php-format msgid "The field type for column '%s' is not provided" msgstr "The field type for column '%s' is not provided" -#: dblayer.php:493 +#: dblayer.php:494 #, php-format msgid "The foreign column '%s' is not provided" msgstr "The foreign column '%s' is not provided" -#: dblayer.php:545 +#: dblayer.php:546 #, php-format msgid "The foreign key '%s' doesn't exists" msgstr "The foreign key '%s' doesn't exists" -#: dblayer.php:333 +#: dblayer.php:334 #, php-format msgid "The length of varchar field '%s' is not provided" msgstr "The length of varchar field '%s' is not provided" @@ -765,7 +770,7 @@ msgstr "The path %s is not found in database" msgid "The root can not be removed" msgstr "The root can not be removed" -#: dblayer.php:574 +#: dblayer.php:575 msgid "The unique configuration is not an array" msgstr "The unique configuration is not an array" @@ -786,7 +791,7 @@ msgstr "Unable to find the user : '%s'" msgid "Unable to get the user password from database" msgstr "Unable to get the user password from database" -#: dblayer.php:571 +#: dblayer.php:572 msgid "Unique fields of table are not defined" msgstr "Unique fields of table are not defined" @@ -794,30 +799,30 @@ msgstr "Unique fields of table are not defined" msgid "Unknown FORM method (GET or POST allowed)" msgstr "Unknown FORM method (GET or POST allowed)" -#: dblayer.php:189 +#: dblayer.php:190 msgid "Unknown PDO driver provided" msgstr "Unknown PDO driver provided" -#: dblayer.php:1050 +#: dblayer.php:1051 msgid "Unknown additionnal parameter for field" msgstr "Unknown additionnal parameter for field" -#: dblayer.php:1144 dblayer.php:1242 +#: dblayer.php:1145 dblayer.php:1243 #, php-format msgid "Unknown additionnal parameter for field '%s'" msgstr "Unknown additionnal parameter for field '%s'" -#: dblayer.php:250 +#: dblayer.php:251 msgid "Unknown database driver in listTables" msgstr "Unknown database driver in listTables" -#: dblayer.php:375 +#: dblayer.php:376 #, php-format msgid "Unknown field type for '%s'" msgstr "Unknown field type for '%s'" -#: authzgroups.php:763 authzgroups.php:794 authzgroups.php:854 -#: authzgroups.php:880 +#: authzgroups.php:808 authzgroups.php:839 authzgroups.php:899 +#: authzgroups.php:925 msgid "Unknown right provided (RO/RW only)" msgstr "Unknown right provided (RO/RW only)" @@ -825,17 +830,17 @@ msgstr "Unknown right provided (RO/RW only)" msgid "Unknown right stored" msgstr "Unknown right stored" -#: dblayer.php:1032 +#: dblayer.php:1033 #, php-format msgid "Unknown type '%s' provided for field '%s'" msgstr "Unknown type '%s' provided for field '%s'" -#: imap.php:538 imap.php:583 +#: imap.php:539 imap.php:585 #, php-format msgid "Unknown type in imap_fetchstructure : %s" msgstr "Unknown type in imap_fetchstructure : %s" -#: dblayer.php:1125 dblayer.php:1224 +#: dblayer.php:1126 dblayer.php:1225 #, php-format msgid "Unknown type provided for field '%s'" msgstr "Unknown type provided for field '%s'" @@ -849,34 +854,34 @@ msgstr "Unkwnown cache method : " msgid "Update done" msgstr "Update done" -#: authzgroups.php:281 +#: authzgroups.php:296 msgid "User" msgstr "User" -#: authzgroups.php:612 authzgroups.php:633 +#: authzgroups.php:633 authzgroups.php:654 msgid "Wanted GroupMember not found" msgstr "Wanted GroupMember not found" -#: authzgroups.php:492 authzgroups.php:505 authzgroups.php:518 -#: authzgroups.php:532 authzgroups.php:588 authzgroups.php:606 -#: authzgroups.php:627 authzgroups.php:695 authzgroups.php:711 -#: authzgroups.php:727 authzgroups.php:769 authzgroups.php:800 -#: authzgroups.php:905 authzgroups.php:924 +#: authzgroups.php:513 authzgroups.php:526 authzgroups.php:539 +#: authzgroups.php:553 authzgroups.php:609 authzgroups.php:627 +#: authzgroups.php:648 authzgroups.php:740 authzgroups.php:756 +#: authzgroups.php:772 authzgroups.php:814 authzgroups.php:845 +#: authzgroups.php:950 authzgroups.php:969 msgid "Wanted group not found" msgstr "Wanted group not found" -#: authzgroups.php:375 authzgroups.php:389 authzgroups.php:403 -#: authzgroups.php:420 authzgroups.php:773 authzgroups.php:804 -#: authzgroups.php:909 authzgroups.php:959 +#: authzgroups.php:396 authzgroups.php:410 authzgroups.php:424 +#: authzgroups.php:441 authzgroups.php:818 authzgroups.php:849 +#: authzgroups.php:954 authzgroups.php:1004 msgid "Wanted object not found" msgstr "Wanted object not found" -#: authzgroups.php:822 authzgroups.php:836 authzgroups.php:860 -#: authzgroups.php:886 +#: authzgroups.php:867 authzgroups.php:881 authzgroups.php:905 +#: authzgroups.php:931 msgid "Wanted right not found" msgstr "Wanted right not found" -#: renderer.php:121 routeSQL.php:141 +#: renderer.php:126 routeSQL.php:141 msgid "Warning!" msgstr "Warning!" @@ -888,23 +893,23 @@ msgstr "You have been logged out" msgid "elements" msgstr "elements" -#: authzgroups.php:259 authzgroups.php:282 authzgroups.php:304 +#: authzgroups.php:268 authzgroups.php:298 authzgroups.php:323 msgid "idgroup" msgstr "idgroup" -#: authzgroups.php:280 +#: authzgroups.php:294 msgid "idgroupmember" msgstr "idgroupmember" -#: authzgroups.php:243 authzgroups.php:305 +#: authzgroups.php:248 authzgroups.php:325 msgid "idobject" msgstr "idobject" -#: authzgroups.php:303 +#: authzgroups.php:321 msgid "idright" msgstr "idright" -#: inifile.php:85 inifile.php:94 +#: inifile.php:88 inifile.php:98 msgid "inifile::setString : provided data is not an array" msgstr "inifile::setString : provided data is not an array" diff --git a/locale/en_US.UTF8/LC_MESSAGES/domframework.mo b/locale/en_US.UTF8/LC_MESSAGES/domframework.mo index 139e2b5..c3c112c 100644 Binary files a/locale/en_US.UTF8/LC_MESSAGES/domframework.mo and b/locale/en_US.UTF8/LC_MESSAGES/domframework.mo differ diff --git a/locale/en_US.UTF8/LC_MESSAGES/domframework.po b/locale/en_US.UTF8/LC_MESSAGES/domframework.po index f196102..4ac1da4 100644 --- a/locale/en_US.UTF8/LC_MESSAGES/domframework.po +++ b/locale/en_US.UTF8/LC_MESSAGES/domframework.po @@ -3,7 +3,7 @@ msgid "%s is write protected" msgstr "%s is write protected" -#: authzgroups.php:162 authzgroups.php:223 routeSQL.php:315 routeSQL.php:330 +#: authzgroups.php:163 authzgroups.php:227 routeSQL.php:315 routeSQL.php:330 #: routeSQL.php:393 routeSQL.php:408 routeSQL.php:415 routeSQL.php:418 #: routeSQL.php:461 routeSQL.php:476 routeSQL.php:483 routeSQL.php:486 #: routeSQL.php:527 routeSQL.php:542 routeSQL.php:549 routeSQL.php:552 @@ -27,15 +27,15 @@ msgstr "Add new entry" msgid "Already sign in" msgstr "Already sign in" -#: dblayer.php:454 +#: dblayer.php:455 msgid "An entry with these values already exists" msgstr "An entry with these values already exists" -#: dblayer.php:476 +#: dblayer.php:477 msgid "An entry with this value already exists" msgstr "An entry with this value already exists" -#: authzgroups.php:161 authzgroups.php:191 authzgroups.php:222 +#: authzgroups.php:161 authzgroups.php:192 authzgroups.php:225 #: routeSQL.php:313 routeSQL.php:328 routeSQL.php:392 routeSQL.php:406 #: routeSQL.php:413 routeSQL.php:460 routeSQL.php:474 routeSQL.php:481 #: routeSQL.php:526 routeSQL.php:540 routeSQL.php:547 routeSQL.php:605 @@ -132,8 +132,8 @@ msgstr "Can't save configuration file '%s'" msgid "Click here to logout" msgstr "Click here to logout" -#: authzgroups.php:246 authzgroups.php:262 authzgroups.php:283 -#: authzgroups.php:307 +#: authzgroups.php:254 authzgroups.php:274 authzgroups.php:300 +#: authzgroups.php:328 msgid "Comment" msgstr "Comment" @@ -150,34 +150,34 @@ msgstr "Configuration file '%s' is write protected" msgid "Creation done" msgstr "Creation done" -#: authzgroups.php:325 authzgroups.php:476 authzgroups.php:488 -#: authzgroups.php:501 authzgroups.php:514 authzgroups.php:528 -#: authzgroups.php:543 authzgroups.php:554 +#: authzgroups.php:346 authzgroups.php:497 authzgroups.php:509 +#: authzgroups.php:522 authzgroups.php:535 authzgroups.php:549 +#: authzgroups.php:564 authzgroups.php:575 msgid "DB for Group is not connected" msgstr "DB for Group is not connected" -#: authzgroups.php:328 authzgroups.php:583 authzgroups.php:601 -#: authzgroups.php:622 authzgroups.php:666 authzgroups.php:690 -#: authzgroups.php:706 authzgroups.php:722 +#: authzgroups.php:349 authzgroups.php:604 authzgroups.php:622 +#: authzgroups.php:643 authzgroups.php:687 authzgroups.php:711 +#: authzgroups.php:735 authzgroups.php:751 authzgroups.php:767 msgid "DB for GroupMember is not connected" msgstr "DB for GroupMember is not connected" -#: authzgroups.php:36 authzgroups.php:322 authzgroups.php:358 -#: authzgroups.php:371 authzgroups.php:385 authzgroups.php:399 -#: authzgroups.php:416 authzgroups.php:433 authzgroups.php:446 +#: authzgroups.php:36 authzgroups.php:343 authzgroups.php:379 +#: authzgroups.php:392 authzgroups.php:406 authzgroups.php:420 +#: authzgroups.php:437 authzgroups.php:454 authzgroups.php:467 msgid "DB for Object is not connected" msgstr "DB for Object is not connected" -#: authzgroups.php:332 authzgroups.php:756 authzgroups.php:787 -#: authzgroups.php:818 authzgroups.php:832 authzgroups.php:847 -#: authzgroups.php:873 authzgroups.php:901 authzgroups.php:920 -#: authzgroups.php:933 authzgroups.php:944 authzgroups.php:955 -#: authzgroups.php:970 +#: authzgroups.php:353 authzgroups.php:801 authzgroups.php:832 +#: authzgroups.php:863 authzgroups.php:877 authzgroups.php:892 +#: authzgroups.php:918 authzgroups.php:946 authzgroups.php:965 +#: authzgroups.php:978 authzgroups.php:989 authzgroups.php:1000 +#: authzgroups.php:1015 msgid "DB for Right is not connected" msgstr "DB for Right is not connected" -#: dblayer.php:198 dblayer.php:216 dblayer.php:567 dblayer.php:661 -#: dblayer.php:820 dblayer.php:917 dblayer.php:957 dblayer.php:984 +#: dblayer.php:199 dblayer.php:217 dblayer.php:568 dblayer.php:662 +#: dblayer.php:821 dblayer.php:918 dblayer.php:958 dblayer.php:985 msgid "Database not connected" msgstr "Database not connected" @@ -197,12 +197,12 @@ msgstr "Default parameters" msgid "Directory %s is not writable : can not create cache directory" msgstr "Directory %s is not writable : can not create cache directory" -#: inifile.php:157 +#: inifile.php:164 #, php-format msgid "Directory '%s' available or not readable or not writeable" msgstr "Directory '%s' available or not readable or not writeable" -#: dblayer.php:669 +#: dblayer.php:670 msgid "Display information provided is not an array" msgstr "Display information provided is not an array" @@ -222,7 +222,7 @@ msgstr "English (GB)" msgid "English (US)" msgstr "English (US)" -#: dblayer.php:408 +#: dblayer.php:409 msgid "Entry to modify unavailable" msgstr "Entry to modify unavailable" @@ -230,21 +230,21 @@ msgstr "Entry to modify unavailable" msgid "Error in configuration file" msgstr "Error in configuration file" -#: renderer.php:120 routeSQL.php:139 +#: renderer.php:122 routeSQL.php:139 msgid "Error!" msgstr "Error!" -#: dblayer.php:341 +#: dblayer.php:342 #, php-format msgid "Errors in consistency : '%s' data is too long" msgstr "Errors in consistency : '%s' data is too long" -#: dblayer.php:322 +#: dblayer.php:323 #, php-format msgid "Errors in consistency : '%s' is not an integer" msgstr "Errors in consistency : '%s' is not an integer" -#: dblayer.php:312 +#: dblayer.php:313 #, php-format msgid "Errors in consistency : '%s' is not an integer or a string [is %s]" msgstr "Errors in consistency : '%s' is not an integer or a string [is %s]" @@ -258,22 +258,22 @@ msgstr "Extension not allowed" msgid "Field '%s' (defined in titles) not found in fields" msgstr "Field '%s' (defined in titles) not found in fields" -#: dblayer.php:681 +#: dblayer.php:682 #, php-format msgid "Field '%s' not allowed" msgstr "Field '%s' not allowed" -#: inifile.php:160 +#: inifile.php:168 #, php-format msgid "File '%s' is not writeable" msgstr "File '%s' is not writeable" -#: inifile.php:16 +#: inifile.php:17 #, php-format msgid "File '%s' not found" msgstr "File '%s' not found" -#: inifile.php:18 +#: inifile.php:20 #, php-format msgid "File '%s' not readable" msgstr "File '%s' not readable" @@ -296,25 +296,25 @@ msgstr "French" msgid "Go back to the calling page" msgstr "Go back to the calling page" -#: authzgroups.php:261 +#: authzgroups.php:272 msgid "Group" msgstr "Group" -#: authzgroups.php:652 +#: authzgroups.php:673 msgid "IDUser in IDGroup not found" msgstr "IDUser in IDGroup not found" -#: dblayer.php:367 +#: dblayer.php:368 #, php-format msgid "Incorrect date provided for field '%s'" msgstr "Incorrect date provided for field '%s'" -#: dblayer.php:354 +#: dblayer.php:355 #, php-format msgid "Incorrect datetime provided for field '%s'" msgstr "Incorrect datetime provided for field '%s'" -#: renderer.php:122 +#: renderer.php:130 msgid "Info :" msgstr "Info :" @@ -322,7 +322,7 @@ msgstr "Info :" msgid "Info:" msgstr "Info:" -#: form.php:857 +#: form.php:872 msgid "Invalid CSRF token provided" msgstr "Invalid CSRF token provided" @@ -370,25 +370,25 @@ msgstr "Invalid password provided : too long" msgid "Invalid password provided : too short" msgstr "Invalid password provided : too short" -#: dblayer.php:283 +#: dblayer.php:284 #, php-format msgid "Mandatory field '%s' is empty" msgstr "Mandatory field '%s' is empty" -#: dblayer.php:276 +#: dblayer.php:277 #, php-format msgid "Mandatory field '%s' not provided" msgstr "Mandatory field '%s' not provided" -#: authzgroups.php:192 +#: authzgroups.php:194 msgid "Modification forbidden" msgstr "Modification forbidden" -#: authzgroups.php:244 authzgroups.php:260 +#: authzgroups.php:250 authzgroups.php:270 msgid "Module" msgstr "Module" -#: dblayer.php:823 dblayer.php:937 dblayer.php:987 +#: dblayer.php:824 dblayer.php:938 dblayer.php:988 msgid "No Field defined" msgstr "No Field defined" @@ -400,7 +400,7 @@ msgstr "No List User available" msgid "No PHP support for openssl_random_pseudo_bytes" msgstr "No PHP support for openssl_random_pseudo_bytes" -#: dblayer.php:825 +#: dblayer.php:826 msgid "No Primary defined" msgstr "No Primary defined" @@ -412,11 +412,11 @@ msgstr "No SOAP PHP library available" msgid "No SQL table defined" msgstr "No SQL table defined" -#: dblayer.php:1017 dblayer.php:1110 +#: dblayer.php:1018 dblayer.php:1111 msgid "No Size provided for varchar field" msgstr "No Size provided for varchar field" -#: dblayer.php:1208 +#: dblayer.php:1209 #, php-format msgid "No Size provided for varchar field '%s'" msgstr "No Size provided for varchar field '%s'" @@ -442,15 +442,20 @@ msgstr "No configuration file '%s' available and it can't be created" msgid "No connect to authentication available" msgstr "No connect to authentication available" -#: dblayer.php:828 +#: outputhtml.php:52 +#, php-format +msgid "No data provided from view %s::%s" +msgstr "No data provided from view %s::%s" + +#: dblayer.php:829 msgid "No data to update provided" msgstr "No data to update provided" -#: dblayer.php:1100 +#: dblayer.php:1101 msgid "No database type defined for field" msgstr "No database type defined for field" -#: dblayer.php:1005 dblayer.php:1196 +#: dblayer.php:1006 dblayer.php:1197 #, php-format msgid "No database type defined for field '%s'" msgstr "No database type defined for field '%s'" @@ -464,7 +469,7 @@ msgstr "No entry available" msgid "No execute rights on %s" msgstr "No execute rights on %s" -#: dblayer.php:432 +#: dblayer.php:433 msgid "No field primary defined for tests in primary" msgstr "No field primary defined for tests in primary" @@ -516,7 +521,7 @@ msgstr "No password change available" msgid "No password overwrite available" msgstr "No password overwrite available" -#: form.php:852 +#: form.php:867 msgid "No previous CSRF token : abort" msgstr "No previous CSRF token : abort" @@ -524,7 +529,7 @@ msgstr "No previous CSRF token : abort" msgid "No valid DSN provided" msgstr "No valid DSN provided" -#: form.php:644 +#: form.php:659 msgid "No value provided" msgstr "No value provided" @@ -539,7 +544,7 @@ msgstr "No write rights on %s" msgid "Not authenticated" msgstr "Not authenticated" -#: authzgroups.php:245 +#: authzgroups.php:252 msgid "Object" msgstr "Object" @@ -567,15 +572,15 @@ msgstr "Object don't start by slash" msgid "Object not found" msgstr "Object not found" -#: form.php:863 +#: form.php:878 msgid "Obsolete CSRF token provided" msgstr "Obsolete CSRF token provided" -#: dblayer.php:673 +#: dblayer.php:674 msgid "Order information provided is not an array" msgstr "Order information provided is not an array" -#: dblayer.php:1278 +#: dblayer.php:1279 msgid "PDO Engine not supported in dbLayer" msgstr "PDO Engine not supported in dbLayer" @@ -591,7 +596,7 @@ msgstr "Please sign in" msgid "Previous session not found" msgstr "Previous session not found" -#: inifile.php:105 inifile.php:130 +#: inifile.php:110 inifile.php:136 #, php-format msgid "Provided value for '%s' is not scalar" msgstr "Provided value for '%s' is not scalar" @@ -604,7 +609,7 @@ msgstr "Removing more than one object" msgid "Restricted access" msgstr "Restricted access" -#: authzgroups.php:306 +#: authzgroups.php:326 msgid "Right" msgstr "Right" @@ -616,11 +621,11 @@ msgstr "Save the data" msgid "Search:" msgstr "Search:" -#: dblayer.php:665 +#: dblayer.php:666 msgid "Select information provided is not an array" msgstr "Select information provided is not an array" -#: dblayer.php:725 +#: dblayer.php:726 #, php-format msgid "Select not found for id=%d" msgstr "Select not found for id=%d" @@ -629,7 +634,7 @@ msgstr "Select not found for id=%d" msgid "Sign in" msgstr "Sign in" -#: renderer.php:123 +#: renderer.php:134 msgid "Success : " msgstr "Success : " @@ -655,11 +660,11 @@ msgstr "The SOAP connection is not opened" msgid "The SQL database is not connected" msgstr "The SQL database is not connected" -#: dblayer.php:116 +#: dblayer.php:117 msgid "The SQLite database file is write protected" msgstr "The SQLite database file is write protected" -#: dblayer.php:1061 +#: dblayer.php:1062 msgid "The Unique field definition is not an array" msgstr "The Unique field definition is not an array" @@ -680,7 +685,7 @@ msgstr "The configuration model file is missing" msgid "The configuration model file is not readable" msgstr "The configuration model file is not readable" -#: dblayer.php:577 +#: dblayer.php:578 msgid "The data provided to create are not array" msgstr "The data provided to create are not array" @@ -692,26 +697,26 @@ msgstr "The details can't be provided by HTPasswd file" msgid "The details can't be provided by Sympa" msgstr "The details can't be provided by Sympa" -#: dblayer.php:112 +#: dblayer.php:113 msgid "The directory for SQLite database is write protected" msgstr "The directory for SQLite database is write protected" -#: dblayer.php:500 +#: dblayer.php:501 #, php-format msgid "The field type for column '%s' is not provided" msgstr "The field type for column '%s' is not provided" -#: dblayer.php:493 +#: dblayer.php:494 #, php-format msgid "The foreign column '%s' is not provided" msgstr "The foreign column '%s' is not provided" -#: dblayer.php:545 +#: dblayer.php:546 #, php-format msgid "The foreign key '%s' doesn't exists" msgstr "The foreign key '%s' doesn't exists" -#: dblayer.php:333 +#: dblayer.php:334 #, php-format msgid "The length of varchar field '%s' is not provided" msgstr "The length of varchar field '%s' is not provided" @@ -765,7 +770,7 @@ msgstr "The path %s is not found in database" msgid "The root can not be removed" msgstr "The root can not be removed" -#: dblayer.php:574 +#: dblayer.php:575 msgid "The unique configuration is not an array" msgstr "The unique configuration is not an array" @@ -786,7 +791,7 @@ msgstr "Unable to find the user : '%s'" msgid "Unable to get the user password from database" msgstr "Unable to get the user password from database" -#: dblayer.php:571 +#: dblayer.php:572 msgid "Unique fields of table are not defined" msgstr "Unique fields of table are not defined" @@ -794,30 +799,30 @@ msgstr "Unique fields of table are not defined" msgid "Unknown FORM method (GET or POST allowed)" msgstr "Unknown FORM method (GET or POST allowed)" -#: dblayer.php:189 +#: dblayer.php:190 msgid "Unknown PDO driver provided" msgstr "Unknown PDO driver provided" -#: dblayer.php:1050 +#: dblayer.php:1051 msgid "Unknown additionnal parameter for field" msgstr "Unknown additionnal parameter for field" -#: dblayer.php:1144 dblayer.php:1242 +#: dblayer.php:1145 dblayer.php:1243 #, php-format msgid "Unknown additionnal parameter for field '%s'" msgstr "Unknown additionnal parameter for field '%s'" -#: dblayer.php:250 +#: dblayer.php:251 msgid "Unknown database driver in listTables" msgstr "Unknown database driver in listTables" -#: dblayer.php:375 +#: dblayer.php:376 #, php-format msgid "Unknown field type for '%s'" msgstr "Unknown field type for '%s'" -#: authzgroups.php:763 authzgroups.php:794 authzgroups.php:854 -#: authzgroups.php:880 +#: authzgroups.php:808 authzgroups.php:839 authzgroups.php:899 +#: authzgroups.php:925 msgid "Unknown right provided (RO/RW only)" msgstr "Unknown right provided (RO/RW only)" @@ -825,17 +830,17 @@ msgstr "Unknown right provided (RO/RW only)" msgid "Unknown right stored" msgstr "Unknown right stored" -#: dblayer.php:1032 +#: dblayer.php:1033 #, php-format msgid "Unknown type '%s' provided for field '%s'" msgstr "Unknown type '%s' provided for field '%s'" -#: imap.php:538 imap.php:583 +#: imap.php:539 imap.php:585 #, php-format msgid "Unknown type in imap_fetchstructure : %s" msgstr "Unknown type in imap_fetchstructure : %s" -#: dblayer.php:1125 dblayer.php:1224 +#: dblayer.php:1126 dblayer.php:1225 #, php-format msgid "Unknown type provided for field '%s'" msgstr "Unknown type provided for field '%s'" @@ -849,34 +854,34 @@ msgstr "Unkwnown cache method : " msgid "Update done" msgstr "Update done" -#: authzgroups.php:281 +#: authzgroups.php:296 msgid "User" msgstr "User" -#: authzgroups.php:612 authzgroups.php:633 +#: authzgroups.php:633 authzgroups.php:654 msgid "Wanted GroupMember not found" msgstr "Wanted GroupMember not found" -#: authzgroups.php:492 authzgroups.php:505 authzgroups.php:518 -#: authzgroups.php:532 authzgroups.php:588 authzgroups.php:606 -#: authzgroups.php:627 authzgroups.php:695 authzgroups.php:711 -#: authzgroups.php:727 authzgroups.php:769 authzgroups.php:800 -#: authzgroups.php:905 authzgroups.php:924 +#: authzgroups.php:513 authzgroups.php:526 authzgroups.php:539 +#: authzgroups.php:553 authzgroups.php:609 authzgroups.php:627 +#: authzgroups.php:648 authzgroups.php:740 authzgroups.php:756 +#: authzgroups.php:772 authzgroups.php:814 authzgroups.php:845 +#: authzgroups.php:950 authzgroups.php:969 msgid "Wanted group not found" msgstr "Wanted group not found" -#: authzgroups.php:375 authzgroups.php:389 authzgroups.php:403 -#: authzgroups.php:420 authzgroups.php:773 authzgroups.php:804 -#: authzgroups.php:909 authzgroups.php:959 +#: authzgroups.php:396 authzgroups.php:410 authzgroups.php:424 +#: authzgroups.php:441 authzgroups.php:818 authzgroups.php:849 +#: authzgroups.php:954 authzgroups.php:1004 msgid "Wanted object not found" msgstr "Wanted object not found" -#: authzgroups.php:822 authzgroups.php:836 authzgroups.php:860 -#: authzgroups.php:886 +#: authzgroups.php:867 authzgroups.php:881 authzgroups.php:905 +#: authzgroups.php:931 msgid "Wanted right not found" msgstr "Wanted right not found" -#: renderer.php:121 routeSQL.php:141 +#: renderer.php:126 routeSQL.php:141 msgid "Warning!" msgstr "Warning!" @@ -888,23 +893,23 @@ msgstr "You have been logged out" msgid "elements" msgstr "elements" -#: authzgroups.php:259 authzgroups.php:282 authzgroups.php:304 +#: authzgroups.php:268 authzgroups.php:298 authzgroups.php:323 msgid "idgroup" msgstr "idgroup" -#: authzgroups.php:280 +#: authzgroups.php:294 msgid "idgroupmember" msgstr "idgroupmember" -#: authzgroups.php:243 authzgroups.php:305 +#: authzgroups.php:248 authzgroups.php:325 msgid "idobject" msgstr "idobject" -#: authzgroups.php:303 +#: authzgroups.php:321 msgid "idright" msgstr "idright" -#: inifile.php:85 inifile.php:94 +#: inifile.php:88 inifile.php:98 msgid "inifile::setString : provided data is not an array" msgstr "inifile::setString : provided data is not an array" diff --git a/locale/fr_FR.UTF8/LC_MESSAGES/domframework.mo b/locale/fr_FR.UTF8/LC_MESSAGES/domframework.mo index 03b77cc..65d357e 100644 Binary files a/locale/fr_FR.UTF8/LC_MESSAGES/domframework.mo and b/locale/fr_FR.UTF8/LC_MESSAGES/domframework.mo differ diff --git a/locale/fr_FR.UTF8/LC_MESSAGES/domframework.po b/locale/fr_FR.UTF8/LC_MESSAGES/domframework.po index edb8b52..747d6a1 100644 --- a/locale/fr_FR.UTF8/LC_MESSAGES/domframework.po +++ b/locale/fr_FR.UTF8/LC_MESSAGES/domframework.po @@ -7,7 +7,7 @@ msgstr "Content-Type: text/plain; charset=UTF-8\n" msgid "%s is write protected" msgstr "%s est protégé en écriture" -#: authzgroups.php:162 authzgroups.php:223 routeSQL.php:315 routeSQL.php:330 +#: authzgroups.php:163 authzgroups.php:227 routeSQL.php:315 routeSQL.php:330 #: routeSQL.php:393 routeSQL.php:408 routeSQL.php:415 routeSQL.php:418 #: routeSQL.php:461 routeSQL.php:476 routeSQL.php:483 routeSQL.php:486 #: routeSQL.php:527 routeSQL.php:542 routeSQL.php:549 routeSQL.php:552 @@ -31,15 +31,15 @@ msgstr "Ajouter une nouvelle entrée" msgid "Already sign in" msgstr "Déjà authentifié" -#: dblayer.php:454 +#: dblayer.php:455 msgid "An entry with these values already exists" msgstr "Une entrée existe déjà pour ces valeurs" -#: dblayer.php:476 +#: dblayer.php:477 msgid "An entry with this value already exists" msgstr "Une entrée existe déjà pour cette valeur" -#: authzgroups.php:161 authzgroups.php:191 authzgroups.php:222 +#: authzgroups.php:161 authzgroups.php:192 authzgroups.php:225 #: routeSQL.php:313 routeSQL.php:328 routeSQL.php:392 routeSQL.php:406 #: routeSQL.php:413 routeSQL.php:460 routeSQL.php:474 routeSQL.php:481 #: routeSQL.php:526 routeSQL.php:540 routeSQL.php:547 routeSQL.php:605 @@ -136,8 +136,8 @@ msgstr "Ne peut pas sauvegarder le fichier de configuration '%s'" msgid "Click here to logout" msgstr "Cliquer ici pour se déconnecter" -#: authzgroups.php:246 authzgroups.php:262 authzgroups.php:283 -#: authzgroups.php:307 +#: authzgroups.php:254 authzgroups.php:274 authzgroups.php:300 +#: authzgroups.php:328 msgid "Comment" msgstr "Commentaire" @@ -154,34 +154,34 @@ msgstr "Le fichier de configuration '%s' est protégé en écriture" msgid "Creation done" msgstr "Création effectuée" -#: authzgroups.php:325 authzgroups.php:476 authzgroups.php:488 -#: authzgroups.php:501 authzgroups.php:514 authzgroups.php:528 -#: authzgroups.php:543 authzgroups.php:554 +#: authzgroups.php:346 authzgroups.php:497 authzgroups.php:509 +#: authzgroups.php:522 authzgroups.php:535 authzgroups.php:549 +#: authzgroups.php:564 authzgroups.php:575 msgid "DB for Group is not connected" msgstr "DB pour Group n'est pas connectée" -#: authzgroups.php:328 authzgroups.php:583 authzgroups.php:601 -#: authzgroups.php:622 authzgroups.php:666 authzgroups.php:690 -#: authzgroups.php:706 authzgroups.php:722 +#: authzgroups.php:349 authzgroups.php:604 authzgroups.php:622 +#: authzgroups.php:643 authzgroups.php:687 authzgroups.php:711 +#: authzgroups.php:735 authzgroups.php:751 authzgroups.php:767 msgid "DB for GroupMember is not connected" msgstr "DB pour GroupMember n'est pas connectée" -#: authzgroups.php:36 authzgroups.php:322 authzgroups.php:358 -#: authzgroups.php:371 authzgroups.php:385 authzgroups.php:399 -#: authzgroups.php:416 authzgroups.php:433 authzgroups.php:446 +#: authzgroups.php:36 authzgroups.php:343 authzgroups.php:379 +#: authzgroups.php:392 authzgroups.php:406 authzgroups.php:420 +#: authzgroups.php:437 authzgroups.php:454 authzgroups.php:467 msgid "DB for Object is not connected" msgstr "DB pour Object n'est pas connectée" -#: authzgroups.php:332 authzgroups.php:756 authzgroups.php:787 -#: authzgroups.php:818 authzgroups.php:832 authzgroups.php:847 -#: authzgroups.php:873 authzgroups.php:901 authzgroups.php:920 -#: authzgroups.php:933 authzgroups.php:944 authzgroups.php:955 -#: authzgroups.php:970 +#: authzgroups.php:353 authzgroups.php:801 authzgroups.php:832 +#: authzgroups.php:863 authzgroups.php:877 authzgroups.php:892 +#: authzgroups.php:918 authzgroups.php:946 authzgroups.php:965 +#: authzgroups.php:978 authzgroups.php:989 authzgroups.php:1000 +#: authzgroups.php:1015 msgid "DB for Right is not connected" msgstr "DB pour Right n'est pas connectée" -#: dblayer.php:198 dblayer.php:216 dblayer.php:567 dblayer.php:661 -#: dblayer.php:820 dblayer.php:917 dblayer.php:957 dblayer.php:984 +#: dblayer.php:199 dblayer.php:217 dblayer.php:568 dblayer.php:662 +#: dblayer.php:821 dblayer.php:918 dblayer.php:958 dblayer.php:985 msgid "Database not connected" msgstr "Base de données non connectée" @@ -201,12 +201,12 @@ msgstr "Paramètres par défaut" msgid "Directory %s is not writable : can not create cache directory" msgstr "Le répertoire %s n'est pas inscriptible : ne peut créer le répertoire de cache" -#: inifile.php:157 +#: inifile.php:164 #, php-format msgid "Directory '%s' available or not readable or not writeable" msgstr "Répertoire '%s' disponible ou non lisible ou non inscriptible" -#: dblayer.php:669 +#: dblayer.php:670 msgid "Display information provided is not an array" msgstr "Les informations à afficher ne sont pas fournies en tableau" @@ -226,7 +226,7 @@ msgstr "Anglais (GB)" msgid "English (US)" msgstr "Anglais (US)" -#: dblayer.php:408 +#: dblayer.php:409 msgid "Entry to modify unavailable" msgstr "Entrée à modifier introuvable" @@ -234,21 +234,21 @@ msgstr "Entrée à modifier introuvable" msgid "Error in configuration file" msgstr "Erreur dans le fichier de configuration" -#: renderer.php:120 routeSQL.php:139 +#: renderer.php:122 routeSQL.php:139 msgid "Error!" msgstr "Erreur !" -#: dblayer.php:341 +#: dblayer.php:342 #, php-format msgid "Errors in consistency : '%s' data is too long" msgstr "Erreur de consistance : '%s' est trop long" -#: dblayer.php:322 +#: dblayer.php:323 #, php-format msgid "Errors in consistency : '%s' is not an integer" msgstr "Erreur de consistance : '%s' n'est pas un entier" -#: dblayer.php:312 +#: dblayer.php:313 #, php-format msgid "Errors in consistency : '%s' is not an integer or a string [is %s]" msgstr "Erreur de consistance : '%s' n'est pas un entier ni une chaîne [est %s]" @@ -262,22 +262,22 @@ msgstr "Extension interdite" msgid "Field '%s' (defined in titles) not found in fields" msgstr "Champ '%s' (defini dans les titres) introuvable dans les champs" -#: dblayer.php:681 +#: dblayer.php:682 #, php-format msgid "Field '%s' not allowed" msgstr "Champ '%s' non autorisé" -#: inifile.php:160 +#: inifile.php:168 #, php-format msgid "File '%s' is not writeable" msgstr "Fichier '%s' non inscriptible" -#: inifile.php:16 +#: inifile.php:17 #, php-format msgid "File '%s' not found" msgstr "Fichier '%s' introuvable" -#: inifile.php:18 +#: inifile.php:20 #, php-format msgid "File '%s' not readable" msgstr "Fichier '%s' non lisible" @@ -300,25 +300,25 @@ msgstr "Français" msgid "Go back to the calling page" msgstr "Retourner à la page appelante" -#: authzgroups.php:261 +#: authzgroups.php:272 msgid "Group" msgstr "Groupe" -#: authzgroups.php:652 +#: authzgroups.php:673 msgid "IDUser in IDGroup not found" msgstr "IDUser intouvable dans IDGroup" -#: dblayer.php:367 +#: dblayer.php:368 #, php-format msgid "Incorrect date provided for field '%s'" msgstr "Date fournie incorrecte pour le champ '%s'" -#: dblayer.php:354 +#: dblayer.php:355 #, php-format msgid "Incorrect datetime provided for field '%s'" msgstr "DateHeure fournie incorrecte pour le champ '%s'" -#: renderer.php:122 +#: renderer.php:130 msgid "Info :" msgstr "Info :" @@ -326,7 +326,7 @@ msgstr "Info :" msgid "Info:" msgstr "Info : " -#: form.php:857 +#: form.php:872 msgid "Invalid CSRF token provided" msgstr "Ticket CSRF fourni invalide" @@ -374,25 +374,25 @@ msgstr "Mot de passe fourni invalide : trop long" msgid "Invalid password provided : too short" msgstr "Mot de passe fourni invalide : trop court" -#: dblayer.php:283 +#: dblayer.php:284 #, php-format msgid "Mandatory field '%s' is empty" msgstr "Le champ obligatoire '%s' est vide" -#: dblayer.php:276 +#: dblayer.php:277 #, php-format msgid "Mandatory field '%s' not provided" msgstr "Le champ obligatoire '%s' n'est pas fourni" -#: authzgroups.php:192 +#: authzgroups.php:194 msgid "Modification forbidden" msgstr "Modification interdite" -#: authzgroups.php:244 authzgroups.php:260 +#: authzgroups.php:250 authzgroups.php:270 msgid "Module" msgstr "Module" -#: dblayer.php:823 dblayer.php:937 dblayer.php:987 +#: dblayer.php:824 dblayer.php:938 dblayer.php:988 msgid "No Field defined" msgstr "Pas de Field défini" @@ -404,7 +404,7 @@ msgstr "Pas de liste des utilisateurs disponible" msgid "No PHP support for openssl_random_pseudo_bytes" msgstr "Pas de support dans le PHP pour openssl_random_pseudo_bytes" -#: dblayer.php:825 +#: dblayer.php:826 msgid "No Primary defined" msgstr "Pas de Primary défini" @@ -416,11 +416,11 @@ msgstr "Pas de bibliothèque PHP SOAP disponible" msgid "No SQL table defined" msgstr "Pas de table SQL définie" -#: dblayer.php:1017 dblayer.php:1110 +#: dblayer.php:1018 dblayer.php:1111 msgid "No Size provided for varchar field" msgstr "Pas de taille fournie pour le champ varchar" -#: dblayer.php:1208 +#: dblayer.php:1209 #, php-format msgid "No Size provided for varchar field '%s'" msgstr "Pas de taille fournie pour le champ varchar '%s'" @@ -446,15 +446,20 @@ msgstr "Pas de fichier de configuration '%s' disponible et il ne peut pas être msgid "No connect to authentication available" msgstr "Pas de connexion disponible pour l'authentification" -#: dblayer.php:828 +#: outputhtml.php:52 +#, php-format +msgid "No data provided from view %s::%s" +msgstr "Pas de données fournies pour la vue %s::%s" + +#: dblayer.php:829 msgid "No data to update provided" msgstr "Pas de données à mettre à jour fournies" -#: dblayer.php:1100 +#: dblayer.php:1101 msgid "No database type defined for field" msgstr "Pas de type de base de données défini pour le champ" -#: dblayer.php:1005 dblayer.php:1196 +#: dblayer.php:1006 dblayer.php:1197 #, php-format msgid "No database type defined for field '%s'" msgstr "Pas de type de base de données pour le champ '%s'" @@ -468,7 +473,7 @@ msgstr "Pas d'entrée disponible" msgid "No execute rights on %s" msgstr "Pas les droits d'exécution sur %s" -#: dblayer.php:432 +#: dblayer.php:433 msgid "No field primary defined for tests in primary" msgstr "Pas de champ primaire défini pour les tests dans primary" @@ -520,7 +525,7 @@ msgstr "Pas de changement de mot de passe disponible" msgid "No password overwrite available" msgstr "Pas de surcharge de mot de passe disponible" -#: form.php:852 +#: form.php:867 msgid "No previous CSRF token : abort" msgstr "Pas de ticket CSRF fourni : abandon" @@ -528,7 +533,7 @@ msgstr "Pas de ticket CSRF fourni : abandon" msgid "No valid DSN provided" msgstr "DSN fourni invalide" -#: form.php:644 +#: form.php:659 msgid "No value provided" msgstr "Pas de valeur fournie" @@ -543,7 +548,7 @@ msgstr "Pas les droits d'écriture sur %s" msgid "Not authenticated" msgstr "Pas authentifié" -#: authzgroups.php:245 +#: authzgroups.php:252 msgid "Object" msgstr "Objet" @@ -571,15 +576,15 @@ msgstr "L'objet ne commence pas pas un slash" msgid "Object not found" msgstr "Objet introuvable" -#: form.php:863 +#: form.php:878 msgid "Obsolete CSRF token provided" msgstr "Ticket CSRF fourni obsolète" -#: dblayer.php:673 +#: dblayer.php:674 msgid "Order information provided is not an array" msgstr "Les informations d'Ordre demandées ne sont pas un tableau" -#: dblayer.php:1278 +#: dblayer.php:1279 msgid "PDO Engine not supported in dbLayer" msgstr "Pilote PDO non supporté dans dbLayer" @@ -595,7 +600,7 @@ msgstr "Merci de vous authentifier" msgid "Previous session not found" msgstr "Ancienne session introuvable" -#: inifile.php:105 inifile.php:130 +#: inifile.php:110 inifile.php:136 #, php-format msgid "Provided value for '%s' is not scalar" msgstr "Valeur fournie '%s' n'est pas un scalaire" @@ -608,7 +613,7 @@ msgstr "Suppression de plus d'un objet" msgid "Restricted access" msgstr "Accès réservé" -#: authzgroups.php:306 +#: authzgroups.php:326 msgid "Right" msgstr "Droit" @@ -620,11 +625,11 @@ msgstr "Sauve les données" msgid "Search:" msgstr "Recherche :" -#: dblayer.php:665 +#: dblayer.php:666 msgid "Select information provided is not an array" msgstr "Les informations Select fournies ne sont pas un tableau" -#: dblayer.php:725 +#: dblayer.php:726 #, php-format msgid "Select not found for id=%d" msgstr "Select introuvable pour id=%d" @@ -633,7 +638,7 @@ msgstr "Select introuvable pour id=%d" msgid "Sign in" msgstr "Authentification" -#: renderer.php:123 +#: renderer.php:134 msgid "Success : " msgstr "Succès : " @@ -659,11 +664,11 @@ msgstr "La connexion SOAP n'est pas ouverte" msgid "The SQL database is not connected" msgstr "La base de données SQL n'est pas connectée" -#: dblayer.php:116 +#: dblayer.php:117 msgid "The SQLite database file is write protected" msgstr "La base de données SQLite est protgée en écriture" -#: dblayer.php:1061 +#: dblayer.php:1062 msgid "The Unique field definition is not an array" msgstr "La définition des champs Unique n'est pas un tableau" @@ -684,7 +689,7 @@ msgstr "Le fichier modèle de configuration est absent" msgid "The configuration model file is not readable" msgstr "Le fichier modèle de configuration n'est pas lisible" -#: dblayer.php:577 +#: dblayer.php:578 msgid "The data provided to create are not array" msgstr "Les données fournies pour créer ne sont pas un tableau" @@ -696,26 +701,26 @@ msgstr "Les détails ne peuvent être fournis par un fichier HTPasswd" msgid "The details can't be provided by Sympa" msgstr "Les détails ne peuvent pas être fournis par Sympa" -#: dblayer.php:112 +#: dblayer.php:113 msgid "The directory for SQLite database is write protected" msgstr "Le répertoire de la base SQLite est protégé en écriture" -#: dblayer.php:500 +#: dblayer.php:501 #, php-format msgid "The field type for column '%s' is not provided" msgstr "Le type de champ pour la colonne '%s' n'est pas fourni" -#: dblayer.php:493 +#: dblayer.php:494 #, php-format msgid "The foreign column '%s' is not provided" msgstr "La clé étrangère '%s' n'est pas fournie" -#: dblayer.php:545 +#: dblayer.php:546 #, php-format msgid "The foreign key '%s' doesn't exists" msgstr "La clé étrangère '%s' n'existe pas" -#: dblayer.php:333 +#: dblayer.php:334 #, php-format msgid "The length of varchar field '%s' is not provided" msgstr "La longueur du champ varchar '%s' n'est pas fournie" @@ -769,7 +774,7 @@ msgstr "Le chemin %s est introuvable dans la base de données" msgid "The root can not be removed" msgstr "La racine ne peut pas être supprimée" -#: dblayer.php:574 +#: dblayer.php:575 msgid "The unique configuration is not an array" msgstr "La configuration de unique n'est pas un tableau" @@ -790,7 +795,7 @@ msgstr "Utilisateur introuvable : '%s'" msgid "Unable to get the user password from database" msgstr "Impossible d'obtenir le mot de passe utilisateur depuis la base de données" -#: dblayer.php:571 +#: dblayer.php:572 msgid "Unique fields of table are not defined" msgstr "Les champs Uniques de la table ne sont pas définis" @@ -798,30 +803,30 @@ msgstr "Les champs Uniques de la table ne sont pas définis" msgid "Unknown FORM method (GET or POST allowed)" msgstr "Méthode FORM inconnue (GET ou POST autorisés)" -#: dblayer.php:189 +#: dblayer.php:190 msgid "Unknown PDO driver provided" msgstr "Pilote PDO fourni inconnu" -#: dblayer.php:1050 +#: dblayer.php:1051 msgid "Unknown additionnal parameter for field" msgstr "Paramètre additionnel inconnu pour le champ" -#: dblayer.php:1144 dblayer.php:1242 +#: dblayer.php:1145 dblayer.php:1243 #, php-format msgid "Unknown additionnal parameter for field '%s'" msgstr "Paramètre additionnel inconnu pour le champ '%s'" -#: dblayer.php:250 +#: dblayer.php:251 msgid "Unknown database driver in listTables" msgstr "Pilote de base de données inconnu dans listTables" -#: dblayer.php:375 +#: dblayer.php:376 #, php-format msgid "Unknown field type for '%s'" msgstr "Type inconnu pour '%s'" -#: authzgroups.php:763 authzgroups.php:794 authzgroups.php:854 -#: authzgroups.php:880 +#: authzgroups.php:808 authzgroups.php:839 authzgroups.php:899 +#: authzgroups.php:925 msgid "Unknown right provided (RO/RW only)" msgstr "Droit fourni unconnu (RO/RW seulement)" @@ -829,17 +834,17 @@ msgstr "Droit fourni unconnu (RO/RW seulement)" msgid "Unknown right stored" msgstr "Droit inconnu sauvegardé" -#: dblayer.php:1032 +#: dblayer.php:1033 #, php-format msgid "Unknown type '%s' provided for field '%s'" msgstr "Type inconnu '%s' pour le champ '%s'" -#: imap.php:538 imap.php:583 +#: imap.php:539 imap.php:585 #, php-format msgid "Unknown type in imap_fetchstructure : %s" msgstr "Type inconnu dans imap_fetchstructure : %s" -#: dblayer.php:1125 dblayer.php:1224 +#: dblayer.php:1126 dblayer.php:1225 #, php-format msgid "Unknown type provided for field '%s'" msgstr "Type inconnu pour le champ '%s'" @@ -853,34 +858,34 @@ msgstr "Méthode de cache inconnue : " msgid "Update done" msgstr "Mise à jour effectuée" -#: authzgroups.php:281 +#: authzgroups.php:296 msgid "User" msgstr "Utilisateur" -#: authzgroups.php:612 authzgroups.php:633 +#: authzgroups.php:633 authzgroups.php:654 msgid "Wanted GroupMember not found" msgstr "Le GroupMember souhaité est introuvable" -#: authzgroups.php:492 authzgroups.php:505 authzgroups.php:518 -#: authzgroups.php:532 authzgroups.php:588 authzgroups.php:606 -#: authzgroups.php:627 authzgroups.php:695 authzgroups.php:711 -#: authzgroups.php:727 authzgroups.php:769 authzgroups.php:800 -#: authzgroups.php:905 authzgroups.php:924 +#: authzgroups.php:513 authzgroups.php:526 authzgroups.php:539 +#: authzgroups.php:553 authzgroups.php:609 authzgroups.php:627 +#: authzgroups.php:648 authzgroups.php:740 authzgroups.php:756 +#: authzgroups.php:772 authzgroups.php:814 authzgroups.php:845 +#: authzgroups.php:950 authzgroups.php:969 msgid "Wanted group not found" msgstr "Le Group souhaité est introuvable" -#: authzgroups.php:375 authzgroups.php:389 authzgroups.php:403 -#: authzgroups.php:420 authzgroups.php:773 authzgroups.php:804 -#: authzgroups.php:909 authzgroups.php:959 +#: authzgroups.php:396 authzgroups.php:410 authzgroups.php:424 +#: authzgroups.php:441 authzgroups.php:818 authzgroups.php:849 +#: authzgroups.php:954 authzgroups.php:1004 msgid "Wanted object not found" msgstr "L'Objet souhaité est introuvable" -#: authzgroups.php:822 authzgroups.php:836 authzgroups.php:860 -#: authzgroups.php:886 +#: authzgroups.php:867 authzgroups.php:881 authzgroups.php:905 +#: authzgroups.php:931 msgid "Wanted right not found" msgstr "Le Droit souhaité est introuvable" -#: renderer.php:121 routeSQL.php:141 +#: renderer.php:126 routeSQL.php:141 msgid "Warning!" msgstr "Attention !" @@ -892,23 +897,23 @@ msgstr "Vous avez été déconnecté" msgid "elements" msgstr "elements" -#: authzgroups.php:259 authzgroups.php:282 authzgroups.php:304 +#: authzgroups.php:268 authzgroups.php:298 authzgroups.php:323 msgid "idgroup" msgstr "idgroup" -#: authzgroups.php:280 +#: authzgroups.php:294 msgid "idgroupmember" msgstr "idgroupmember" -#: authzgroups.php:243 authzgroups.php:305 +#: authzgroups.php:248 authzgroups.php:325 msgid "idobject" msgstr "idobject" -#: authzgroups.php:303 +#: authzgroups.php:321 msgid "idright" msgstr "idright" -#: inifile.php:85 inifile.php:94 +#: inifile.php:88 inifile.php:98 msgid "inifile::setString : provided data is not an array" msgstr "inifile::setString : données fournies non tableau" diff --git a/outputhtml.php b/outputhtml.php index 20a51ee..a4aa6a5 100644 --- a/outputhtml.php +++ b/outputhtml.php @@ -47,8 +47,10 @@ class outputhtml extends output if (isset ($resView["title"])) $title = $resView["title"]; if (! isset ($resView["content"])) - throw new Exception ( - _("No data provided from view $viewClass::$viewMethod"), + throw new Exception (sprintf ( + dgettext("domframework", + "No data provided from view %s::%s"), + $viewClass,$viewMethod), 500); $resView = $resView["content"]; } diff --git a/renderer.php b/renderer.php index 03ec7da..6695ffe 100644 --- a/renderer.php +++ b/renderer.php @@ -117,10 +117,22 @@ class renderer $dataflash .= "
\n"; $dataflash .= "