summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2010-04-29 14:18:44 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2010-04-29 14:18:44 -0300
commit4d473c89f7e48103b188531006a1149755a7ea94 (patch)
treec06c371051eabcf6d35f7c5a0f33716ea85363bc
parent9a1e70dfc3da5f65ed3bfabef95a4cd96b926640 (diff)
downloadpfsense-4d473c89f7e48103b188531006a1149755a7ea94.zip
pfsense-4d473c89f7e48103b188531006a1149755a7ea94.tar.gz
Fixing gettext() on multiline strings
-rw-r--r--usr/local/www/system_advanced_misc.php8
-rw-r--r--usr/local/www/system_advanced_network.php8
-rwxr-xr-xusr/local/www/system_firmware.php6
3 files changed, 11 insertions, 11 deletions
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php
index df1683c..ae17972 100644
--- a/usr/local/www/system_advanced_misc.php
+++ b/usr/local/www/system_advanced_misc.php
@@ -243,8 +243,8 @@ include("head.inc");
<td width="78%" class="vtable">
<input name="schedule_states" type="checkbox" id="schedule_states" value="yes" <?php if ($pconfig['schedule_states']) echo "checked"; ?> />
<br />
- <?=gettext("By default schedules clear the states of existing connections when expiry time has come.
- This option allows to override this setting by not clearing states for existing connections."); ?>
+ <?=gettext("By default schedules clear the states of existing connections when expiry time has come. ".
+ "This option allows to override this setting by not clearing states for existing connections."); ?>
</td>
</tr>
<tr>
@@ -271,8 +271,8 @@ include("head.inc");
<?php endforeach; ?>
</select>
<br/>
- <?=gettext("Puts the hard disk into standby mode when the selected amount of time after the last
- access has elapsed."); ?> <em><?=gettext("Do not set this for CF cards."); ?></em>
+ <?=gettext("Puts the hard disk into standby mode when the selected amount of time after the last ".
+ "access has elapsed."); ?> <em><?=gettext("Do not set this for CF cards."); ?></em>
</td>
</tr>
<tr>
diff --git a/usr/local/www/system_advanced_network.php b/usr/local/www/system_advanced_network.php
index c2eec06..8a5eb2a 100644
--- a/usr/local/www/system_advanced_network.php
+++ b/usr/local/www/system_advanced_network.php
@@ -204,10 +204,10 @@ function enable_change(enable_over) {
<td width="78%" class="vtable">
<input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?php if ($pconfig['ipv6nat_enable']) echo "checked"; ?> onclick="enable_change(false)" />
<strong><?=gettext("Enable IPv4 NAT encapsulation of IPv6 packets"); ?></strong><br/>
- <?=gettext("This provides an RFC 2893 compatibility mechanism
- that can be used to tunneling IPv6 packets over IPv4
- routing infrastructures. If enabled, don't forget to
- add a firewall rule to permit IPv6 packets."); ?><br/>
+ <?=gettext("This provides an RFC 2893 compatibility mechanism ".
+ "that can be used to tunneling IPv6 packets over IPv4 ".
+ "routing infrastructures. If enabled, don't forget to ".
+ "add a firewall rule to permit IPv6 packets."); ?><br/>
<br/>
<?=gettext("IP address"); ?>&nbsp;:&nbsp;
<input name="ipv6nat_ipaddr" type="text" class="formfld unknown" id="ipv6nat_ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipv6nat_ipaddr']);?>" />
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index cfd6fb0..8acd25e 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -247,9 +247,9 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd"))
<td width="22%" valign="baseline" class="vncell">&nbsp;</td>
<td width="78%" class="vtable">
<p>
- <?php printf(gettext('Click "Enable firmware
- upload" below, then choose the image file (%s)
- to be uploaded.'),$g['firmware_update_text']);?>
+ <?php printf(gettext('Click "Enable firmware '.
+ 'upload" below, then choose the image file (%s) '.
+ 'to be uploaded.'),$g['firmware_update_text']);?>
<br>
<?=gettext('Click "Upgrade firmware" to start the upgrade process.');?>
</p>
OpenPOWER on IntegriCloud