summaryrefslogtreecommitdiffstats
path: root/templates/install_header.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-03-31 17:01:04 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-12 21:13:29 -0400
commitf65076b93d91fe9718cf9bef37638d64290b9f28 (patch)
tree40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/install_header.inc.php
parent15457b16f17a141fa76a3b9882892362b601787c (diff)
downloadampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.gz
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.bz2
ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.zip
Switch from _() to T_()
Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function.
Diffstat (limited to 'templates/install_header.inc.php')
-rw-r--r--templates/install_header.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/install_header.inc.php b/templates/install_header.inc.php
index 9f91b952..57ee13db 100644
--- a/templates/install_header.inc.php
+++ b/templates/install_header.inc.php
@@ -41,20 +41,20 @@ $prefix = realpath(dirname(__FILE__). "/../");
<script src="modules/prototype/prototype.js" language="javascript" type="text/javascript"></script>
<script src="lib/javascript/base.js" language="javascript" type="text/javascript"></script>
<div id="header">
-<h1><?php echo _('Ampache Installation'); ?></h1>
+<h1><?php echo T_('Ampache Installation'); ?></h1>
<p>For the love of Music</p>
</div>
<div id="text-box">
<div class="notify">
- <h3><?php echo _('Requirements'); ?></h3>
+ <h3><?php echo T_('Requirements'); ?></h3>
<p>
- <?php echo _('This page handles the installation of the Ampache database and the creation of the ampache.cfg.php file. Before you continue please make sure that you have the following prerequisites:'); ?>
+ <?php echo T_('This page handles the installation of the Ampache database and the creation of the ampache.cfg.php file. Before you continue please make sure that you have the following prerequisites:'); ?>
</p>
<ul>
- <li><?php echo _('A MySQL server with a username and password that can create/modify databases'); ?></li>
- <li><?php echo sprintf(_('Your webserver has read access to the files %s and %s'),$prefix . '/sql/ampache.sql',$prefix . '/config/ampache.cfg.php.dist'); ?></li>
+ <li><?php echo T_('A MySQL server with a username and password that can create/modify databases'); ?></li>
+ <li><?php echo sprintf(T_('Your webserver has read access to the files %s and %s'),$prefix . '/sql/ampache.sql',$prefix . '/config/ampache.cfg.php.dist'); ?></li>
</ul>
<p>
-<?php echo sprintf(_("Once you have ensured that the above requirements are met please fill out the information below. You will only be asked for the required config values. If you would like to make changes to your Ampache install at a later date simply edit %s"), $prefix . '/config/ampache.cfg.php'); ?>
+<?php echo sprintf(T_("Once you have ensured that the above requirements are met please fill out the information below. You will only be asked for the required config values. If you would like to make changes to your Ampache install at a later date simply edit %s"), $prefix . '/config/ampache.cfg.php'); ?>
</p>
</div>