From 7b753c2bebf696ecbecc3fbf6ebf757d1b1b7390 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 22 Jan 2015 09:02:51 -0200 Subject: [PATCH] Do not translate function return string --- etc/inc/pfsense-utils.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 20094ef788..6fbb20c136 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -375,11 +375,11 @@ function get_carp_interface_status($carpinterface) { $_gb = exec("/sbin/ifconfig $interface | /usr/bin/grep -v grep | /usr/bin/grep carp: | /usr/bin/head -n 1", $carp_query); foreach($carp_query as $int) { if (stripos($int, "MASTER")) - return gettext("MASTER"); + return "MASTER"; if (stripos($int, "BACKUP")) - return gettext("BACKUP"); + return "BACKUP"; if (stripos($int, "INIT")) - return gettext("INIT"); + return "INIT"; } return; }