summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_camanager.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-12 09:44:02 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-12 09:44:02 -0300
commitea53e38ff12e8732877d9e9a2cf813cd8f56cdfd (patch)
treee93cdcbcdf26f5e32921d21c7c062e2be6447a26 /usr/local/www/system_camanager.php
parenta236afeefe8ea7ad910a758f8981aa6a0f73514a (diff)
downloadpfsense-ea53e38ff12e8732877d9e9a2cf813cd8f56cdfd.zip
pfsense-ea53e38ff12e8732877d9e9a2cf813cd8f56cdfd.tar.gz
gettext fixes
Diffstat (limited to 'usr/local/www/system_camanager.php')
-rw-r--r--usr/local/www/system_camanager.php21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php
index 7aae43e..369f7b6 100644
--- a/usr/local/www/system_camanager.php
+++ b/usr/local/www/system_camanager.php
@@ -81,8 +81,7 @@ if ($act == "del") {
$name = $a_ca[$id]['name'];
unset($a_ca[$id]);
write_config();
- $savemsg = gettext("Certificate Authority")." {$name} ".
- gettext("successfully deleted")."<br/>";
+ $savemsg = sprintf(gettext("Certificate Authority %s successfully deleted"), $name) . "<br/>";
}
if ($act == "new") {
@@ -248,7 +247,7 @@ function method_change() {
<td id="mainarea">
<div class="tabcont">
- <?php if ($act == "new" || $act == gettext("save") || $input_errors): ?>
+ <?php if ($act == "new" || $act == gettext("Save") || $input_errors): ?>
<form action="system_camanager.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
@@ -323,14 +322,14 @@ function method_change() {
<option value="<?=$len;?>"<?=$selected;?>><?=$len;?></option>
<?php endforeach; ?>
</select>
- <?=gettext(bits);?>
+ <?=gettext("bits");?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Lifetime");?></td>
<td width="78%" class="vtable">
<input name="lifetime" type="text" class="formfld unknown" id="lifetime" size="5" value="<?=htmlspecialchars($pconfig['lifetime']);?>"/>
- <?=gettext(days);?>
+ <?=gettext("days");?>
</td>
</tr>
<tr>
@@ -342,7 +341,7 @@ function method_change() {
<td align="left">
<input name="dn_country" type="text" class="formfld unknown" maxlength="2" size="2" value="<?=htmlspecialchars($pconfig['dn_country']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("US");?>
<em><?=gettext("( two letters )");?></em>
@@ -353,7 +352,7 @@ function method_change() {
<td align="left">
<input name="dn_state" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['dn_state']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("Texas");?>
</td>
@@ -363,7 +362,7 @@ function method_change() {
<td align="left">
<input name="dn_city" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['dn_city']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("Austin");?>
</td>
@@ -373,7 +372,7 @@ function method_change() {
<td align="left">
<input name="dn_organization" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['dn_organization']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("My Company Inc.");?>
</td>
@@ -383,7 +382,7 @@ function method_change() {
<td align="left">
<input name="dn_email" type="text" class="formfld unknown" size="25" value="<?=htmlspecialchars($pconfig['dn_email']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("admin@mycompany.com");?>
</td>
@@ -393,7 +392,7 @@ function method_change() {
<td align="left">
<input name="dn_commonname" type="text" class="formfld unknown" size="25" value="<?=htmlspecialchars($pconfig['dn_commonname']);?>"/>
&nbsp;
- <em>ex:</em>
+ <em><?=gettext("ex:");?></em>
&nbsp;
<?=gettext("internal-ca");?>
</td>
OpenPOWER on IntegriCloud