diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-08-13 13:32:53 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-08-13 13:32:53 -0300 |
commit | da0031765e65735ceb404fc1bb28f564d727cc66 (patch) | |
tree | e8a6db1ee44e6a6e0d56b357f6d3e7359cb0e0c2 /etc/inc/array_intersect_key.inc | |
parent | bfa790df99cc92d974f17e3d63ac346a90c8d28a (diff) | |
download | pfsense-da0031765e65735ceb404fc1bb28f564d727cc66.zip pfsense-da0031765e65735ceb404fc1bb28f564d727cc66.tar.gz |
Implement gettext() calls on array_intersect_key.inc
Diffstat (limited to 'etc/inc/array_intersect_key.inc')
-rw-r--r-- | etc/inc/array_intersect_key.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/array_intersect_key.inc b/etc/inc/array_intersect_key.inc index 0cd5099..c1416ad 100644 --- a/etc/inc/array_intersect_key.inc +++ b/etc/inc/array_intersect_key.inc @@ -34,7 +34,7 @@ if (!function_exists('array_intersect_key')) { { $args = func_get_args(); if (count($args) < 2) { - user_error('Wrong parameter count for array_intersect_key()', E_USER_WARNING); + user_error(gettext('Wrong parameter count for array_intersect_key()'), E_USER_WARNING); return; } @@ -42,8 +42,8 @@ if (!function_exists('array_intersect_key')) { $array_count = count($args); for ($i = 0; $i !== $array_count; $i++) { if (!is_array($args[$i])) { - user_error('array_intersect_key() Argument #' . - ($i + 1) . ' is not an array', E_USER_WARNING); + user_error(gettext('array_intersect_key() Argument #') . + ($i + 1) . gettext(' is not an array'), E_USER_WARNING); return; } } @@ -64,4 +64,4 @@ if (!function_exists('array_intersect_key')) { } } -?>
\ No newline at end of file +?> |