summaryrefslogtreecommitdiff
path: root/app/views/user
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-11 21:44:11 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-11 21:44:25 +0100
commita1faa826bf04326a073b918f0ff76ac90c9acd31 (patch)
tree48a82c71d1e683f0c10f85f6fdbda3896adcd703 /app/views/user
parenta84e9e50bfe17ab1c84ff22ec7accdfd0b9a76db (diff)
Fix french i18n for last views
Diffstat (limited to 'app/views/user')
-rw-r--r--app/views/user/manage.phtml26
-rw-r--r--app/views/user/profile.phtml22
2 files changed, 24 insertions, 24 deletions
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml
index e46e02572..b175d48df 100644
--- a/app/views/user/manage.phtml
+++ b/app/views/user/manage.phtml
@@ -1,13 +1,13 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('back_to_rss_feeds'); ?></a>
+ <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
<form method="post" action="<?php echo _url('user', 'create'); ?>">
- <legend><?php echo _t('create_user'); ?></legend>
+ <legend><?php echo _t('admin.user.create'); ?></legend>
<div class="form-group">
- <label class="group-name" for="new_user_language"><?php echo _t('language'); ?></label>
+ <label class="group-name" for="new_user_language"><?php echo _t('admin.user.language'); ?></label>
<div class="group-controls">
<select name="new_user_language" id="new_user_language">
<?php $languages = FreshRSS_Context::$conf->availableLanguages(); ?>
@@ -19,25 +19,25 @@
</div>
<div class="form-group">
- <label class="group-name" for="new_user_name"><?php echo _t('username'); ?></label>
+ <label class="group-name" for="new_user_name"><?php echo _t('admin.user.username'); ?></label>
<div class="group-controls">
<input id="new_user_name" name="new_user_name" type="text" size="16" required="required" maxlength="16" autocomplete="off" pattern="[0-9a-zA-Z]{1,16}" placeholder="demo" />
</div>
</div>
<div class="form-group">
- <label class="group-name" for="new_user_passwordPlain"><?php echo _t('password_form'); ?></label>
+ <label class="group-name" for="new_user_passwordPlain"><?php echo _t('admin.user.password_form'); ?></label>
<div class="group-controls">
<div class="stick">
<input type="password" id="new_user_passwordPlain" name="new_user_passwordPlain" autocomplete="off" pattern=".{7,}" />
<a class="btn toggle-password"><?php echo _i('key'); ?></a>
</div>
- <noscript><b><?php echo _t('javascript_should_be_activated'); ?></b></noscript>
+ <noscript><b><?php echo _t('gen.js.should_be_activated'); ?></b></noscript>
</div>
</div>
<div class="form-group">
- <label class="group-name" for="new_user_email"><?php echo _t('persona_connection_email'); ?></label>
+ <label class="group-name" for="new_user_email"><?php echo _t('admin.user.email_persona'); ?></label>
<?php $mail = FreshRSS_Context::$conf->mail_login; ?>
<div class="group-controls">
<input type="email" id="new_user_email" name="new_user_email" class="extend" autocomplete="off" placeholder="alice@example.net" />
@@ -46,17 +46,17 @@
<div class="form-group form-actions">
<div class="group-controls">
- <button type="submit" class="btn btn-important"><?php echo _t('create'); ?></button>
- <button type="reset" class="btn"><?php echo _t('cancel'); ?></button>
+ <button type="submit" class="btn btn-important"><?php echo _t('gen.action.create'); ?></button>
+ <button type="reset" class="btn"><?php echo _t('gen.action.cancel'); ?></button>
</div>
</div>
</form>
<form method="post" action="<?php echo _url('user', 'delete'); ?>">
- <legend><?php echo _t('users'); ?></legend>
+ <legend><?php echo _t('admin.user.users'); ?></legend>
<div class="form-group">
- <label class="group-name" for="user-list"><?php echo _t('users_list'); ?></label>
+ <label class="group-name" for="user-list"><?php echo _t('admin.user.user_list'); ?></label>
<div class="group-controls">
<select id="user-list" class="select-change" name="username">
<?php foreach (listUsers() as $username) { ?>
@@ -64,7 +64,7 @@
<?php } ?>
</select>
- <p><?php echo _t('admin.users.articles_and_size',
+ <p><?php echo _t('admin.user.articles_and_size',
format_number($this->nb_articles),
format_bytes($this->size_user)); ?></p>
</div>
@@ -72,7 +72,7 @@
<div class="form-group form-actions">
<div class="group-controls">
- <button type="submit" class="btn btn-attention confirm"><?php echo _t('delete'); ?></button>
+ <button type="submit" class="btn btn-attention confirm"><?php echo _t('gen.action.remove'); ?></button>
</div>
</div>
</form>
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index 60257012c..fc9b24674 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -1,36 +1,36 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('back_to_rss_feeds'); ?></a>
+ <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
<form method="post" action="<?php echo _url('user', 'profile'); ?>">
- <legend><?php echo _t('login_configuration'); ?></legend>
+ <legend><?php echo _t('conf.profile'); ?></legend>
<div class="form-group">
- <label class="group-name" for="current_user"><?php echo _t('current_user'); ?></label>
+ <label class="group-name" for="current_user"><?php echo _t('conf.user.current'); ?></label>
<div class="group-controls">
<input id="current_user" type="text" disabled="disabled" value="<?php echo Minz_Session::param('currentUser', '_'); ?>" />
<label class="checkbox" for="is_admin">
<input type="checkbox" id="is_admin" disabled="disabled" <?php echo FreshRSS_Auth::hasAccess('admin') ? 'checked="checked" ' : ''; ?>/>
- <?php echo _t('is_admin'); ?>
+ <?php echo _t('conf.user.is_admin'); ?>
</label>
</div>
</div>
<div class="form-group">
- <label class="group-name" for="passwordPlain"><?php echo _t('password_form'); ?></label>
+ <label class="group-name" for="passwordPlain"><?php echo _t('conf.profile.password_form'); ?></label>
<div class="group-controls">
<div class="stick">
<input type="password" id="passwordPlain" name="passwordPlain" autocomplete="off" pattern=".{7,}" <?php echo cryptAvailable() ? '' : 'disabled="disabled" '; ?>/>
<a class="btn toggle-password"><?php echo _i('key'); ?></a>
</div>
- <noscript><b><?php echo _t('javascript_should_be_activated'); ?></b></noscript>
+ <noscript><b><?php echo _t('gen.js.should_be_activated'); ?></b></noscript>
</div>
</div>
<?php if (Minz_Configuration::apiEnabled()) { ?>
<div class="form-group">
- <label class="group-name" for="apiPasswordPlain"><?php echo _t('password_api'); ?></label>
+ <label class="group-name" for="apiPasswordPlain"><?php echo _t('conf.profile.password_api'); ?></label>
<div class="group-controls">
<div class="stick">
<input type="password" id="apiPasswordPlain" name="apiPasswordPlain" autocomplete="off" pattern=".{7,}" <?php echo cryptAvailable() ? '' : 'disabled="disabled" '; ?>/>
@@ -41,18 +41,18 @@
<?php } ?>
<div class="form-group">
- <label class="group-name" for="mail_login"><?php echo _t('persona_connection_email'); ?></label>
+ <label class="group-name" for="mail_login"><?php echo _t('conf.profile.email_persona'); ?></label>
<?php $mail = FreshRSS_Context::$conf->mail_login; ?>
<div class="group-controls">
<input type="email" id="mail_login" name="mail_login" class="extend" autocomplete="off" value="<?php echo $mail; ?>" <?php echo FreshRSS_Auth::hasAccess('admin') ? '' : 'disabled="disabled"'; ?> placeholder="alice@example.net" />
- <noscript><b><?php echo _t('javascript_should_be_activated'); ?></b></noscript>
+ <noscript><b><?php echo _t('gen.js.should_be_activated'); ?></b></noscript>
</div>
</div>
<div class="form-group form-actions">
<div class="group-controls">
- <button type="submit" class="btn btn-important"><?php echo _t('save'); ?></button>
- <button type="reset" class="btn"><?php echo _t('cancel'); ?></button>
+ <button type="submit" class="btn btn-important"><?php echo _t('gen.action.submit'); ?></button>
+ <button type="reset" class="btn"><?php echo _t('gen.action.cancel'); ?></button>
</div>
</div>
</form>