From 4a868db26e6fcdaaf8fed966565550118f203acc Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 30 Jun 2010 17:04:32 +0000 Subject: [PATCH] 2010-06-30 Sergio Martin * operation/events/events.php: Changed the Server and All text on the events filter to use gettext. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/events/events.php | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ef20d855b6..69c6a292c1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-30 Sergio Martin + + * operation/events/events.php: Changed the Server and All text + on the events filter to use gettext. + 2010-06-30 Sergio Martin * operation/events/events.php: Fixed the agent filter. Now the diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 9debb1640e..a79dd17a03 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -107,10 +107,10 @@ if($id_agent == -2) { switch ($text_agent) { - case All: + case __('All'): $id_agent = -1; break; - case Server: + case __('Server'): $id_agent = 0; break; default: @@ -122,10 +122,10 @@ else{ switch ($id_agent) { case -1: - $text_agent = 'All'; + $text_agent = __('All'); break; case 0: - $text_agent = 'Server'; + $text_agent = __('Server'); break; default: $text_agent = get_agent_name($id_agent);