summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_assign.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-27 10:17:17 +0545
committerStephen Beaver <sbeaver@netgate.com>2016-01-27 00:20:31 -0500
commit464358b439be13af8850cb0935a4b062a16df4f8 (patch)
tree956f7d1a7ade1a576f1542957f73f5350131b6ba /src/usr/local/www/interfaces_assign.php
parentb9037cbe4dd1fd6e0f3b1c2ec488c1b30efef91f (diff)
downloadpfsense-464358b439be13af8850cb0935a4b062a16df4f8.zip
pfsense-464358b439be13af8850cb0935a4b062a16df4f8.tar.gz
Standardize print_apply_box usage
1) For the translators, it should be better to do it consistently. Then they only need to have 1 translation of "You must apply the changes in order for them to take effect" and can translate each of the other custom sentences individually. 2) The full-stop should always go at the end of the sentence, inside the gettext(). There are some languages where the full-stop is not the same as European. e.g. In Nepal we use the vertical bar for end of sentence.
Diffstat (limited to 'src/usr/local/www/interfaces_assign.php')
-rw-r--r--src/usr/local/www/interfaces_assign.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php
index 06e5b15..3c17dbe 100644
--- a/src/usr/local/www/interfaces_assign.php
+++ b/src/usr/local/www/interfaces_assign.php
@@ -502,7 +502,7 @@ if (file_exists("/var/run/interface_mismatch_reboot_needed")) {
if (file_exists("/tmp/reload_interfaces")) {
echo "<p>\n";
- print_apply_box(gettext("The interface configuration has been changed.<br />You must apply the changes in order for them to take effect."));
+ print_apply_box(gettext("The interface configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
echo "<br /></p>\n";
} elseif ($savemsg) {
print_info_box($savemsg, $class);
OpenPOWER on IntegriCloud