Replace T_() by _() for pot generation

This commit is contained in:
Julien VAUBOURG
2015-07-08 19:03:28 +02:00
parent 36e6aedaa4
commit d7b3aaf910
6 changed files with 57 additions and 57 deletions

View File

@@ -24,7 +24,7 @@
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?= $locale ?>"> <!--<![endif]-->
<head>
<title><?= T_("Wifi Hotspot") ?><?php isset($title) ? " | $title" : '' ?></title>
<title><?= _("Wifi Hotspot") ?><?php isset($title) ? " | $title" : '' ?></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
@@ -46,12 +46,12 @@
<?php if(isset($flash['error'])): ?>
<div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?>
<strong><?= _('Error') ?>:</strong> <?= $flash['error'] ?>
</div>
<?php elseif(isset($flash['notice'])): ?>
<div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
<strong><?= _('Notice') ?>:</strong> <?= $flash['notice'] ?>
</div>
<?php elseif(isset($flash['success'])): ?>
<div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert">
@@ -63,7 +63,7 @@
<?= $content?>
<hr />
<div id="github"><a href="https://github.com/labriqueinternet/hotspot_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
<div id="github"><a href="https://github.com/labriqueinternet/hotspot_ynh"><?= _('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
</div>
</body>