summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_settings.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-08-12 11:10:48 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-08-12 11:11:03 -0300
commiteb9116e9b82b93a93e56dd9507be2f203830b7a9 (patch)
tree5f4540b5886ce1f92bcd9e1f8f5a827c53460bd2 /usr/local/www/pkg_mgr_settings.php
parent4d71d68cd5a3af1f501f910bb224cad5ea76aaa9 (diff)
downloadpfsense-eb9116e9b82b93a93e56dd9507be2f203830b7a9.zip
pfsense-eb9116e9b82b93a93e56dd9507be2f203830b7a9.tar.gz
gettext() fixes on pkg_mgr_settings.php
Diffstat (limited to 'usr/local/www/pkg_mgr_settings.php')
-rw-r--r--usr/local/www/pkg_mgr_settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_settings.php b/usr/local/www/pkg_mgr_settings.php
index 650a4ab..14a5a33 100644
--- a/usr/local/www/pkg_mgr_settings.php
+++ b/usr/local/www/pkg_mgr_settings.php
@@ -89,7 +89,7 @@ function enable_altpkgrepourl(enable_over) {
<?php
$version = file_get_contents("/etc/version");
$tab_array = array();
- $tab_array[] = array("{$version} " . gettext("packages"), false, "pkg_mgr.php");
+ $tab_array[] = array(sprintf(gettext("%s packages"), $version), false, "pkg_mgr.php");
$tab_array[] = array(gettext("Installed Packages"), false, "pkg_mgr_installed.php");
$tab_array[] = array(gettext("Package Settings"), true, "pkg_mgr_settings.php");
display_top_tabs($tab_array);
@@ -106,10 +106,10 @@ function enable_altpkgrepourl(enable_over) {
<td class="vtable">
<input name="alturlenable" type="checkbox" id="alturlenable" value="yes" onClick="enable_altpkgrepourl()" <?php if(isset($curcfg['enable'])) echo "checked"; ?>> <?=gettext("Use a different URL server for packages other than");?> <?php echo $g['product_website']; ?><br>
<table>
- <tr><td><?=gettext("Base URL");?>:</td><td><input name="pkgrepourl" type="input" class="formfld url" id="pkgrepourl" size="64" value="<?php if($curcfg['xmlrpcbaseurl']) echo $curcfg['xmlrpcbaseurl']; else echo $g['']; ?>"></td></tr>
+ <tr><td><?=gettext("Base URL:");?></td><td><input name="pkgrepourl" type="input" class="formfld url" id="pkgrepourl" size="64" value="<?php if($curcfg['xmlrpcbaseurl']) echo $curcfg['xmlrpcbaseurl']; else echo $g['']; ?>"></td></tr>
</table>
<span class="vexpl">
- <?=sprintf(gettext("This is where %s will check for packages when the"),$g['product_name']);?>, <a href="pkg_mgr.php"><?=gettext("System: Packages");?></a> <?=gettext("page is viewed");?>.
+ <?=sprintf(gettext("This is where %s will check for packages when the"),$g['product_name']);?>, <a href="pkg_mgr.php"><?=gettext("System: Packages");?></a> <?=gettext("page is viewed.");?>
</span>
</td>
</tr>
OpenPOWER on IntegriCloud