summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-14 22:23:17 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-14 22:23:17 +0545
commit116883e0d1e359135e71e1e007c0622e3acd3376 (patch)
tree20087a1661e923db9327c55a7f380e31248fd8d1 /src/usr/local
parentef9c37d9a7247a64fcf78858f364b66caf9eade7 (diff)
downloadpfsense-116883e0d1e359135e71e1e007c0622e3acd3376.zip
pfsense-116883e0d1e359135e71e1e007c0622e3acd3376.tar.gz
Internationalize more text in diag_halt
while I was looking at the panel-heading stuff, I noticed that there are whole chunks of text here that have no gettext() wrapper.
Diffstat (limited to 'src/usr/local')
-rwxr-xr-xsrc/usr/local/www/diag_halt.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_halt.php b/src/usr/local/www/diag_halt.php
index ba8a601..5d7fc5d 100755
--- a/src/usr/local/www/diag_halt.php
+++ b/src/usr/local/www/diag_halt.php
@@ -98,14 +98,14 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
<div class="panel panel-default">
<div class="panel-heading">
- <h2 class="panel-title">Are you sure you want to halt the system?</h2>
+ <h2 class="panel-title"><?=gettext('Are you sure you want to halt the system?')?></h2>
</div>
<div class="panel-body">
<div class="content">
- <p>Click "Halt" to halt the system immediately, or "No" to go to the system dashboard. (There will be a brief delay before the dashboard appears.)</p>
+ <p><?=gettext('Click "Halt" to halt the system immediately, or "No" to go to the system dashboard. (There will be a brief delay before the dashboard appears.)')?></p>
<form action="diag_halt.php" method="post">
- <input type="submit" class="btn btn-danger pull-center" name="save" value="Halt">
- <a href="/" class="btn btn-default">No</a>
+ <input type="submit" class="btn btn-danger pull-center" name="save" value="<?=gettext("Halt")?>">
+ <a href="/" class="btn btn-default"><?=gettext("No")?></a>
</form>
</div>
</div>
OpenPOWER on IntegriCloud