diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8899bc4979..2c03201604 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-04-14 Junichi Satoh + + * operation/agentes/stat_win.php: Fixed i18n support. Changed + the description for reloading and the name of the submit button. + 2012-04-13 Sergio Martin * include/functions_visual_map.php diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 98ffc2cc89..0eb05beb3d 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -30,6 +30,12 @@ require_once ($config['homedir'] . '/include/functions_modules.php'); check_login (); +$user_language = get_user_language ($config['id_user']); +if (file_exists ('../../include/languages/'.$user_language.'.mo')) { + $l10n = new gettext_reader (new CachedFileReader ('../../include/languages/'.$user_language.'.mo')); + $l10n->load_tables(); +} + echo ''; $id = get_parameter('id'); @@ -202,7 +208,7 @@ switch ($graph_type) { echo ""; //z-index is 1 because 2 made the calendar show under the divmenu. -echo '