summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-22 09:02:51 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-22 09:02:51 -0200
commit7b753c2bebf696ecbecc3fbf6ebf757d1b1b7390 (patch)
tree9d6bd7785daa938142f894ef4aee5d146c9e85fd /etc/inc/pfsense-utils.inc
parentee8fb75d2ce6686b836640e4d7379b28eb943e39 (diff)
downloadpfsense-7b753c2bebf696ecbecc3fbf6ebf757d1b1b7390.zip
pfsense-7b753c2bebf696ecbecc3fbf6ebf757d1b1b7390.tar.gz
Do not translate function return string
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 20094ef..6fbb20c 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;
}
OpenPOWER on IntegriCloud