diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-30 17:25:54 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-30 17:25:54 -0300 |
commit | 9856587dc6d3f74e69846f885c4e5f9fcda8d07a (patch) | |
tree | 0fc6b8dc998e10181d56cf9f68d9067bd1ac7876 /usr/local/www/installer.php | |
parent | 9dd1ff883909e0e55eb93a8d8043f48ce0574e1e (diff) | |
download | pfsense-9856587dc6d3f74e69846f885c4e5f9fcda8d07a.zip pfsense-9856587dc6d3f74e69846f885c4e5f9fcda8d07a.tar.gz |
Fix gettext implementation on installer.php
Diffstat (limited to 'usr/local/www/installer.php')
-rw-r--r-- | usr/local/www/installer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php index 356d249..9254c13 100644 --- a/usr/local/www/installer.php +++ b/usr/local/www/installer.php @@ -142,7 +142,7 @@ function body_html() { $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); if(strstr($pfSversion, "1.2")) $one_two = true; - $pgtitle = "pfSense: Installer"; + $pgtitle = gettext("pfSense: Installer"); include("head.inc"); echo <<<EOF <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> @@ -224,7 +224,7 @@ function quickeasyinstall_gui() { <td class="tabcont" > <form action="installer.php" method="post" state="step1_post"> <div id="pfsenseinstaller"> - Starting Installer... Please wait...<p/> + <?=gettext("Starting Installer"); ?>... <?=gettext("Please wait"); ?>...<p/> {{ Insert progressbar here }}<p/> <textarea name='installeroutput' id='installeroutput' rows="20" cols="80"> </textarea> @@ -258,7 +258,7 @@ function installer_main() { <td class="tabcont" > <form action="installer.php" method="post" state="step1_post"> <div id="pfsenseinstaller"> - <a onclick="return confirm('Are you sure you want to install pfSense to $disk?')"> href='installer.php?state=quickeasyinstall'>Quick/Easy installation</a> + <a onclick="return confirm('<?=gettext("Are you sure you want to install pfSense to $disk"); ?>?')"> href='installer.php?state=quickeasyinstall'><?=gettext("Quick/Easy installation"); ?></a> </p> </div> </td> |