diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-12 13:11:05 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-07-12 13:39:08 -0300 |
commit | c55f0507943335b05ffc4e6df226882625c31d6b (patch) | |
tree | 8924358770a22984d08e60db591bd35e14435add | |
parent | f80bdcea1dcce057a9282af7f56ca66ecb7e7420 (diff) | |
download | pfsense-c55f0507943335b05ffc4e6df226882625c31d6b.zip pfsense-c55f0507943335b05ffc4e6df226882625c31d6b.tar.gz |
Implement gettext() calls on services_dyndns.php
-rwxr-xr-x | usr/local/www/services_dyndns.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index c68227e..2d7c063 100755 --- a/usr/local/www/services_dyndns.php +++ b/usr/local/www/services_dyndns.php @@ -73,7 +73,7 @@ function dyndnsCheckIP($int) { return $ip_address; } -$pgtitle = array("Services", "Dynamic DNS clients"); +$pgtitle = array(gettext("Services"), gettext("Dynamic DNS clients")); include("head.inc"); ?> @@ -97,10 +97,10 @@ include("head.inc"); <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="5%" class="listhdrr"></td> - <td width="15%" class="listhdrr">Service</td> - <td width="20%" class="listhdrr">Hostname</td> - <td width="20%" class="listhdrr">Cached IP</td> - <td width="50%" class="listhdr">Description</td> + <td width="15%" class="listhdrr"><?=gettext("Service");?></td> + <td width="20%" class="listhdrr"><?=gettext("Hostname");?></td> + <td width="20%" class="listhdrr"><?=gettext("Cached IP");?></td> + <td width="50%" class="listhdr"><?=gettext("Description");?></td> <td width="10%" class="list"></td> </tr> <?php $i = 0; foreach ($a_dyndns as $dyndns): ?> @@ -148,7 +148,7 @@ include("head.inc"); <?=htmlspecialchars($dyndns['descr']);?> </td> <td valign="middle" nowrap class="list"> <a href="services_dyndns_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a> - <a href="services_dyndns.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this entry?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td> + <a href="services_dyndns.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this entry?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td> </tr> <?php $i++; endforeach; ?> <tr> @@ -157,9 +157,9 @@ include("head.inc"); </tr> <tr> <td colspan="3" class="list"><p class="vexpl"><span class="red"><strong> - Note:<br> + <?=gettext("Note:");?><br> </strong></span> - IP addresses appearing in green are up to date with Dynamic DNS provider. + <?=gettext("IP addresses appearing in green are up to date with Dynamic DNS provider.");?> </td> <td class="list"> </td> </tr> |