Setup script: move language strings to global variables, prefix them with "$strSetup"

This commit is contained in:
Piotr Przybylski
2008-10-14 10:31:07 +00:00
parent f1d78aa718
commit cd9da66ffb
11 changed files with 410 additions and 403 deletions

View File

@@ -308,7 +308,7 @@ function validate_trusted_proxies($path, $values)
* @param bool $allow_neg allow negative values
* @param bool $allow_zero allow zero
* @param int $max_value max allowed value
* @param string $error_lang_key error message key in $str
* @param string $error_lang_key error message key: $GLOBALS["strSetup$error_lang_key"]
* @return string empty string if test is successful
*/
function test_number($path, $values, $allow_neg, $allow_zero, $max_value, $error_lang_key)