summaryrefslogtreecommitdiffstats
path: root/templates/show_install.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/show_install.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/show_install.inc.php')
-rw-r--r--templates/show_install.inc.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/show_install.inc.php b/templates/show_install.inc.php
index 598be729..195da699 100644
--- a/templates/show_install.inc.php
+++ b/templates/show_install.inc.php
@@ -30,57 +30,57 @@ $prefix = realpath(dirname(__FILE__). "/../");
require $prefix . '/templates/install_header.inc.php';
?>
<div class="content">
- <strong><?php echo _('Step 1 - Create the Ampache database'); ?></strong><br />
+ <strong><?php echo T_('Step 1 - Create the Ampache database'); ?></strong><br />
<dl>
- <dd><?php echo _('This step creates and inserts the Ampache database, so please provide a MySQL account with database creation rights. This step may take some time on slower computers.'); ?></dd>
+ <dd><?php echo T_('This step creates and inserts the Ampache database, so please provide a MySQL account with database creation rights. This step may take some time on slower computers.'); ?></dd>
</dl>
- <?php echo _('Step 2 - Create ampache.cfg.php'); ?><br />
- <?php echo _('Step 3 - Set up the initial account'); ?><br />
+ <?php echo T_('Step 2 - Create ampache.cfg.php'); ?><br />
+ <?php echo T_('Step 3 - Set up the initial account'); ?><br />
<br />
<?php Error::display('general'); ?>
<br />
- <span class="header2"><?php echo _('Insert Ampache Database'); ?></span>
+ <span class="header2"><?php echo T_('Insert Ampache Database'); ?></span>
<form method="post" action="<?php echo WEB_PATH . "?action=create_db&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" >
<table>
<tr>
- <td class="align"><?php echo _("Desired Database Name"); ?></td>
+ <td class="align"><?php echo T_("Desired Database Name"); ?></td>
<td><input type="text" name="local_db" value="ampache" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("MySQL Hostname"); ?></td>
+ <td class="align"><?php echo T_("MySQL Hostname"); ?></td>
<td><input type="text" name="local_host" value="localhost" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("MySQL Administrative Username"); ?></td>
+ <td class="align"><?php echo T_("MySQL Administrative Username"); ?></td>
<td><input type="text" name="local_username" value="root" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("MySQL Administrative Password"); ?></td>
+ <td class="align"><?php echo T_("MySQL Administrative Password"); ?></td>
<td><input type="password" name="local_pass" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("Create Database User for New Database"); ?>? </td>
+ <td class="align"><?php echo T_("Create Database User for New Database"); ?>? </td>
<td><input type="checkbox" value="create_db_user" name="db_user" onclick="flipField('db_username');flipField('db_password');" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("Ampache Database Username"); ?></td>
+ <td class="align"><?php echo T_("Ampache Database Username"); ?></td>
<td><input type="text" id="db_username" name="db_username" value="ampache" /></td>
</tr>
<tr>
- <td class="align"><?php echo _("Ampache Database User Password"); ?></td>
+ <td class="align"><?php echo T_("Ampache Database User Password"); ?></td>
<td><input type="password" id="db_password" name="db_password" value="" /></td>
</tr>
<tr>
- <td class="align"><?php echo _('Overwrite Existing'); ?></td>
+ <td class="align"><?php echo T_('Overwrite Existing'); ?></td>
<td><input type="checkbox" name="overwrite_db" value="1" /></td>
</tr>
<tr>
- <td class="align"><?php echo _('Use Existing Database'); ?></td>
+ <td class="align"><?php echo T_('Use Existing Database'); ?></td>
<td><input type="checkbox" name="existing_db" value="1" /></td>
</tr>
<tr>
<td>&nbsp;</td>
- <td><input type="submit" value="<?php echo _("Insert Database"); ?>" /></td>
+ <td><input type="submit" value="<?php echo T_("Insert Database"); ?>" /></td>
</tr>
</table>
</form>