aboutsummaryrefslogtreecommitdiff
path: root/app/views/auth/reset.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-11 21:15:01 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-11 21:15:01 +0100
commita84e9e50bfe17ab1c84ff22ec7accdfd0b9a76db (patch)
treedc8661ab8f4d933c5d0637b72791a286f2374ef9 /app/views/auth/reset.phtml
parent59fc73baa9cbd87fdc2d63e83533a36533c740bf (diff)
Fix french i18n for auth and configure views
Diffstat (limited to 'app/views/auth/reset.phtml')
-rw-r--r--app/views/auth/reset.phtml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/auth/reset.phtml b/app/views/auth/reset.phtml
index e501555c4..6e9816ad3 100644
--- a/app/views/auth/reset.phtml
+++ b/app/views/auth/reset.phtml
@@ -1,5 +1,5 @@
<div class="prompt">
- <h1><?php echo _t('auth_reset'); ?></h1>
+ <h1><?php echo _t('gen.auth.reset'); ?></h1>
<?php if (!empty($this->message)) { ?>
<p class="alert <?php echo $this->message['status'] === 'bad' ? 'alert-error' : 'alert-warn'; ?>">
@@ -11,22 +11,22 @@
<?php if (!$this->no_form) { ?>
<form id="crypto-form" method="post" action="<?php echo _url('auth', 'reset'); ?>">
<p class="alert alert-warn">
- <span class="alert-head"><?php echo _t('attention'); ?></span><br />
- <?php echo _t('auth_will_reset'); ?>
+ <span class="alert-head"><?php echo _t('gen.short.attention'); ?></span><br />
+ <?php echo _t('gen.auth.will_reset'); ?>
</p>
<div>
- <label for="username"><?php echo _t('username_admin'); ?></label>
+ <label for="username"><?php echo _t('gen.auth.username_admin'); ?></label>
<input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />
</div>
<div>
- <label for="passwordPlain"><?php echo _t('password'); ?></label>
+ <label for="passwordPlain"><?php echo _t('gen.auth.password'); ?></label>
<input type="password" id="passwordPlain" required="required" />
<input type="hidden" id="challenge" name="challenge" /><br />
- <noscript><strong><?php echo _t('javascript_should_be_activated'); ?></strong></noscript>
+ <noscript><strong><?php echo _t('gen.js.should_be_activated'); ?></strong></noscript>
</div>
<div>
- <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('submit'); ?></button>
+ <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('gen.action.submit'); ?></button>
</div>
</form>
<?php } ?>