Commit 7e7a29ad authored by Franco Fichtner's avatar Franco Fichtner

firewall: fix apply for translations for #444

parent c863336d
...@@ -176,7 +176,7 @@ $( document ).ready(function() { ...@@ -176,7 +176,7 @@ $( document ).ready(function() {
<div class="row"> <div class="row">
<?php if (isset($savemsg)) print_info_box($savemsg); ?> <?php if (isset($savemsg)) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('aliases')): ?> <?php if (is_subsystem_dirty('aliases')): ?>
<?php print_info_box_np(gettext("The alias list has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));?> <?php print_info_box_apply(gettext("The alias list has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));?>
<?php endif; ?> <?php endif; ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box"> <div class="content-box">
......
...@@ -179,7 +179,7 @@ $main_buttons = array( ...@@ -179,7 +179,7 @@ $main_buttons = array(
if (isset($savemsg)) if (isset($savemsg))
print_info_box($savemsg); print_info_box($savemsg);
if (is_subsystem_dirty('natconf')) if (is_subsystem_dirty('natconf'))
print_info_box_np(gettext("The NAT configuration has been changed.") . print_info_box_apply(gettext("The NAT configuration has been changed.") .
"<br />" . "<br />" .
gettext("You must apply the changes in order for them to take effect.")); gettext("You must apply the changes in order for them to take effect."));
?> ?>
......
<?php <?php
/* /*
Copyright (C) 2014 Deciso B.V. Copyright (C) 2014 Deciso B.V.
Copyright (C) 2011 Seth Mos <seth.mos@dds.nl> Copyright (C) 2011 Seth Mos <seth.mos@dds.nl>
...@@ -179,7 +180,7 @@ $main_buttons = array( ...@@ -179,7 +180,7 @@ $main_buttons = array(
<div class="row"> <div class="row">
<?php if (isset($savemsg)) print_info_box($savemsg); ?> <?php if (isset($savemsg)) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('natconf')): ?> <?php if (is_subsystem_dirty('natconf')): ?>
<?php print_info_box_np(gettext("The NAT configuration has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?><br /> <?php print_info_box_apply(gettext("The NAT configuration has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?><br />
<?php endif; ?> <?php endif; ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box"> <div class="content-box">
......
<?php <?php
/* /*
Copyright (C) 2014 Deciso B.V. Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich Copyright (C) 2004 Scott Ullrich
...@@ -248,7 +249,7 @@ include("head.inc"); ...@@ -248,7 +249,7 @@ include("head.inc");
if (isset($savemsg)) if (isset($savemsg))
print_info_box($savemsg); print_info_box($savemsg);
if (is_subsystem_dirty('natconf')) if (is_subsystem_dirty('natconf'))
print_info_box_np(gettext("The NAT configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect.")); print_info_box_apply(gettext("The NAT configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect."));
?> ?>
<form action="firewall_nat_out.php" method="post" name="iform" id="iform"> <form action="firewall_nat_out.php" method="post" name="iform" id="iform">
<input type="hidden" id="id" name="id" value="" /> <input type="hidden" id="id" name="id" value="" />
......
...@@ -260,7 +260,7 @@ $main_buttons = array( ...@@ -260,7 +260,7 @@ $main_buttons = array(
print_info_box($savemsg); print_info_box($savemsg);
else else
if (is_subsystem_dirty('vip')) if (is_subsystem_dirty('vip'))
print_info_box_np(gettext("The VIP configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect.")); print_info_box_apply(gettext("The VIP configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect."));
?> ?>
<section class="col-xs-12"> <section class="col-xs-12">
<div class="content-box-main content-box"> <div class="content-box-main content-box">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment