diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 17:01:04 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | f65076b93d91fe9718cf9bef37638d64290b9f28 (patch) | |
tree | 40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_install_account.inc.php | |
parent | 15457b16f17a141fa76a3b9882892362b601787c (diff) | |
download | ampache-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_account.inc.php')
-rw-r--r-- | templates/show_install_account.inc.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/show_install_account.inc.php b/templates/show_install_account.inc.php index fb0b4f7c..a2f16de6 100644 --- a/templates/show_install_account.inc.php +++ b/templates/show_install_account.inc.php @@ -30,32 +30,32 @@ $prefix = realpath(dirname(__FILE__). "/../"); require $prefix . '/templates/install_header.inc.php'; ?> <div class="content"> - <?php echo _('Step 1 - Create the Ampache database'); ?><br /> - <?php echo _('Step 2 - Create ampache.cfg.php'); ?><br /> - <strong><?php echo _('Step 3 - Set up the initial account'); ?></strong><br /> + <?php echo T_('Step 1 - Create the Ampache database'); ?><br /> + <?php echo T_('Step 2 - Create ampache.cfg.php'); ?><br /> + <strong><?php echo T_('Step 3 - Set up the initial account'); ?></strong><br /> <dl> - <dd><?php echo _('This step creates your initial Ampache admin account. Once your admin account has been created you will be redirected to the login page.'); ?></dd> + <dd><?php echo T_('This step creates your initial Ampache admin account. Once your admin account has been created you will be redirected to the login page.'); ?></dd> </dl> <?php Error::display('general'); ?> <br /> - <span class="header2"><?php echo _('Create Admin Account'); ?></span> + <span class="header2"><?php echo T_('Create Admin Account'); ?></span> <form method="post" action="<?php echo WEB_PATH . "?action=create_account&htmllang=$htmllang&charset=$charset"; ?>" enctype="multipart/form-data" > <table> <tr> - <td class="align"><?php echo _('Username'); ?></td> + <td class="align"><?php echo T_('Username'); ?></td> <td><input type="text" name="local_username" value="admin" /></td> </tr> <tr> - <td class="align"><?php echo _('Password'); ?></td> + <td class="align"><?php echo T_('Password'); ?></td> <td><input type="password" name="local_pass" value="" /></td> </tr> <tr> - <td class="align"><?php echo _('Confirm Password'); ?></td> + <td class="align"><?php echo T_('Confirm Password'); ?></td> <td><input type="password" name="local_pass2" value="" /></td> </tr> <tr> <td> </td> - <td><input type="submit" value="<?php echo _('Create Account'); ?>" /></td> + <td><input type="submit" value="<?php echo T_('Create Account'); ?>" /></td> </tr> </table> </form> |