summaryrefslogtreecommitdiff
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
parenta84e9e50bfe17ab1c84ff22ec7accdfd0b9a76db (diff)
Fix french i18n for last views
-rw-r--r--app/i18n/fr/admin.php11
-rw-r--r--app/i18n/fr/conf.php5
-rw-r--r--app/i18n/fr/feedback.php1
-rw-r--r--app/i18n/fr/gen.php12
-rw-r--r--app/views/error/index.phtml2
-rw-r--r--app/views/feed/add.phtml34
-rw-r--r--app/views/javascript/actualize.phtml4
-rw-r--r--app/views/update/apply.phtml4
-rw-r--r--app/views/update/checkInstall.phtml2
-rw-r--r--app/views/update/index.phtml14
-rw-r--r--app/views/user/manage.phtml26
-rw-r--r--app/views/user/profile.phtml22
12 files changed, 72 insertions, 65 deletions
diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.php
index 2268a8a38..b822a867d 100644
--- a/app/i18n/fr/admin.php
+++ b/app/i18n/fr/admin.php
@@ -135,10 +135,21 @@ return array(
'top_feed' => 'Les dix plus gros flux',
),
'update' => array(
+ '_' => 'Système de mise à jour',
+ 'apply' => 'Appliquer la mise à jour',
+ 'check' => 'Vérifier les mises à jour',
+ 'last' => 'Dernière vérification : %s',
'title' => 'Système de mise à jour',
),
'user' => array(
'articles_and_size' => '%s articles (%s)',
+ 'create' => 'Créer un nouvel utilisateur',
+ 'email_persona' => 'Adresse courriel de connexion<br /><small>(pour <a href="https://persona.org/" rel="external">Mozilla Persona</a>)</small>',
+ 'language' => 'Langue',
+ 'password_form' => 'Mot de passe<br /><small>(pour connexion par formulaire)</small>',
'title' => 'Gestion des utilisateurs',
+ 'user_list' => 'Liste des utilisateurs',
+ 'username' => 'Nom d’utilisateur',
+ 'users' => 'Utilisateurs',
),
);
diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php
index 1c8ad6d9e..2e3414081 100644
--- a/app/i18n/fr/conf.php
+++ b/app/i18n/fr/conf.php
@@ -71,6 +71,10 @@ return array(
'title' => 'Filtres utilisateurs',
),
'profile' => array(
+ '_' => 'Gestion du profil',
+ 'email_persona' => 'Adresse courriel de connexion<br /><small>(pour <a href="https://persona.org/" rel="external">Mozilla Persona</a>)</small>',
+ 'password_api' => 'Mot de passe API<br /><small>(ex. : pour applis mobiles)</small>',
+ 'password_form' => 'Mot de passe<br /><small>(pour connexion par formulaire)</small>',
'title' => 'Profil',
),
'reading' => array(
@@ -157,6 +161,7 @@ return array(
'user' => array(
'articles_and_size' => '%s articles (%s)',
'current' => 'Utilisateur actuel',
+ 'is_admin' => 'est administrateur',
'users' => 'Utilisateurs',
),
);
diff --git a/app/i18n/fr/feedback.php b/app/i18n/fr/feedback.php
index 992300c7d..b9d1f6c99 100644
--- a/app/i18n/fr/feedback.php
+++ b/app/i18n/fr/feedback.php
@@ -38,6 +38,7 @@ return array(
'zip_error' => 'Une erreur est survenue durant l’import du fichier Zip.',
),
'sub' => array(
+ 'actualize' => 'Actualiser',
'category' => array(
'created' => 'La catégorie %s a été créée.',
'deleted' => 'La catégorie a été supprimée.',
diff --git a/app/i18n/fr/gen.php b/app/i18n/fr/gen.php
index c2eb0e394..26990b4fe 100644
--- a/app/i18n/fr/gen.php
+++ b/app/i18n/fr/gen.php
@@ -5,6 +5,7 @@ return array(
'actualize' => 'Actualiser',
'back_to_rss_feeds' => '← Retour à vos flux RSS',
'cancel' => 'Annuler',
+ 'create' => 'Créer',
'disable' => 'Désactiver',
'empty' => 'Vider',
'enable' => 'Activer',
@@ -153,7 +154,6 @@ return array(
'bdd_conf_is_ok' => 'La configuration de la base de données a été enregistrée.',
'bdd_configuration' => 'Base de données',
'bdd_type' => 'Type de base de données',
- 'by' => 'par',
'by_email' => 'Par courriel',
'by_feed' => 'par flux',
'cache_is_ok' => 'Les droits sur le répertoire de cache sont bons',
@@ -167,8 +167,6 @@ return array(
'checks' => 'Vérifications',
'choose_language' => 'Choisissez la langue pour FreshRSS',
'congratulations' => 'Félicitations !',
- 'create' => 'Créer',
- 'create_user' => 'Créer un nouvel utilisateur',
'ctype_is_nok' => 'Il manque une librairie pour la vérification des types de caractères (php-ctype)',
'ctype_is_ok' => 'Vous disposez du nécessaire pour la vérification des types de caractères (ctype)',
'curl_is_nok' => 'Vous ne disposez pas de cURL (paquet php5-curl)',
@@ -194,7 +192,6 @@ return array(
'install_not_deleted' => 'Quelque chose s’est mal passé, vous devez supprimer le fichier <em>%s</em> à la main.',
'installation_is_ok' => 'L’installation s’est bien passée.<br />La dernière étape va maintenant tenter de supprimer les fichiers ainsi que d’éventuelles copies de base de données créés durant le processus de mise à jour.<br />Vous pouvez choisir de sauter cette étape en supprimant <kbd>./data/do-install.txt</kbd> manuellement.',
'installation_step' => 'Installation — étape %d · FreshRSS',
- 'is_admin' => 'est administrateur',
'javascript_for_shortcuts' => 'Le JavaScript doit être activé pour pouvoir profiter des raccourcis.',
'javascript_is_better' => 'FreshRSS est plus agréable à utiliser avec JavaScript activé',
'language_defined' => 'La langue a bien été définie.',
@@ -211,13 +208,10 @@ return array(
'not_reads' => '%d non lus',
'not_yet_implemented' => 'Pas encore implémenté',
'number_feeds' => '%d flux',
- 'password_api' => 'Mot de passe API<br /><small>(ex. : pour applis mobiles)</small>',
- 'password_form' => 'Mot de passe<br /><small>(pour connexion par formulaire)</small>',
'pcre_is_nok' => 'Il manque une librairie pour les expressions régulières (php-pcre)',
'pcre_is_ok' => 'Vous disposez du nécessaire pour les expressions régulières (PCRE)',
'pdo_is_nok' => 'Vous ne disposez pas de PDO ou d’un des drivers supportés (pdo_mysql, pdo_sqlite)',
'pdo_is_ok' => 'Vous disposez de PDO et d’au moins un des drivers supportés (pdo_mysql, pdo_sqlite)',
- 'persona_connection_email' => 'Adresse courriel de connexion<br /><small>(pour <a href="https://persona.org/" rel="external">Mozilla Persona</a>)</small>',
'persona_is_ok' => 'Les droits sur le répertoire de Mozilla Persona sont bons',
'php_is_nok' => 'Votre version de PHP est la %s mais FreshRSS requiert au moins la version %s',
'php_is_ok' => 'Votre version de PHP est la %s, qui est compatible avec FreshRSS',
@@ -228,14 +222,10 @@ return array(
'sharing_management' => 'Gestion des options de partage',
'steps' => 'Étapes',
'this_is_the_end' => 'This is the end',
- 'update_apply' => 'Appliquer la mise à jour',
- 'update_check' => 'Vérifier les mises à jour',
'update_end' => 'La mise à jour est terminée, vous pouvez maintenant passer à l’étape finale.',
- 'update_last' => 'Dernière vérification : %s',
'update_long' => 'Ce processus peut prendre longtemps, selon la taille de votre base de données. Vous aurez peut-être à attendre que cette page dépasse son temps maximum d’exécution (~5 minutes) puis à la recharger.',
'update_start' => 'Lancer la mise à jour',
'updated' => 'Modifications enregistrées.',
- 'users_list' => 'Liste des utilisateurs',
'version_update' => 'Mise à jour',
'your_diaspora_pod' => 'Votre pod Diaspora*',
'your_shaarli' => 'Votre Shaarli',
diff --git a/app/views/error/index.phtml b/app/views/error/index.phtml
index 5e1949800..fe3abf8c4 100644
--- a/app/views/error/index.phtml
+++ b/app/views/error/index.phtml
@@ -3,7 +3,7 @@
<h1 class="alert-head"><?php echo $this->code; ?></h1>
<p>
<?php echo $this->errorMessage; ?><br />
- <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>
</p>
</div>
</div>
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml
index 1db053b52..4cdd3f390 100644
--- a/app/views/feed/add.phtml
+++ b/app/views/feed/add.phtml
@@ -1,16 +1,16 @@
<?php if ($this->feed) { ?>
<div class="post">
- <h1><?php echo _t('add_rss_feed'); ?></h1>
+ <h1><?php echo _t('sub.feed.add'); ?></h1>
<?php if (!$this->load_ok) { ?>
- <p class="alert alert-error"><span class="alert-head"><?php echo _t('damn'); ?></span> <?php echo _t('internal_problem_feed', _url('index', 'logs')); ?></p>
+ <p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('feedback.sub.feed.internal_problem', _url('index', 'logs')); ?></p>
<?php } ?>
<form method="post" action="<?php echo _url('feed', 'add'); ?>" autocomplete="off">
- <legend><?php echo _t('informations'); ?></legend>
+ <legend><?php echo _t('sub.feed.informations'); ?></legend>
<?php if ($this->load_ok) { ?>
<div class="form-group">
- <label class="group-name"><?php echo _t('title'); ?></label>
+ <label class="group-name"><?php echo _t('sub.feed.title'); ?></label>
<div class="group-controls">
<label><?php echo $this->feed->name() ; ?></label>
</div>
@@ -18,7 +18,7 @@
<?php $desc = $this->feed->description(); if ($desc != '') { ?>
<div class="form-group">
- <label class="group-name"><?php echo _t('feed_description'); ?></label>
+ <label class="group-name"><?php echo _t('sub.feed.description'); ?></label>
<div class="group-controls">
<label><?php echo htmlspecialchars($desc, ENT_NOQUOTES, 'UTF-8'); ?></label>
</div>
@@ -26,7 +26,7 @@
<?php } ?>
<div class="form-group">
- <label class="group-name"><?php echo _t('website_url'); ?></label>
+ <label class="group-name"><?php echo _t('sub.feed.website'); ?></label>
<div class="group-controls">
<?php echo $this->feed->website(); ?>
<a class="btn" target="_blank" href="<?php echo $this->feed->website(); ?>"><?php echo _i('link'); ?></a>
@@ -35,17 +35,17 @@
<?php } ?>
<div class="form-group">
- <label class="group-name" for="url"><?php echo _t('feed_url'); ?></label>
+ <label class="group-name" for="url"><?php echo _t('sub.feed.url'); ?></label>
<div class="group-controls">
<div class="stick">
<input type="text" name="url_rss" id="url" class="extend" value="<?php echo $this->feed->url(); ?>" />
<a class="btn" target="_blank" href="<?php echo $this->feed->url(); ?>"><?php echo _i('link'); ?></a>
</div>
- <a class="btn" target="_blank" href="http://validator.w3.org/feed/check.cgi?url=<?php echo $this->feed->url(); ?>"><?php echo _t('feed_validator'); ?></a>
+ <a class="btn" target="_blank" href="http://validator.w3.org/feed/check.cgi?url=<?php echo $this->feed->url(); ?>"><?php echo _t('sub.feed.validator'); ?></a>
</div>
</div>
<div class="form-group">
- <label class="group-name" for="category"><?php echo _t('category'); ?></label>
+ <label class="group-name" for="category"><?php echo _t('sub.category'); ?></label>
<div class="group-controls">
<select name="category" id="category">
<?php foreach ($this->categories as $cat) { ?>
@@ -53,37 +53,37 @@
<?php echo $cat->name(); ?>
</option>
<?php } ?>
- <option value="nc"><?php echo _t('new_category'); ?></option>
+ <option value="nc"><?php echo _t('sub.category.new'); ?></option>
</select>
<span style="display: none;">
- <input type="text" name="new_category[name]" id="new_category_name" autocomplete="off" placeholder="<?php echo _t('new_category'); ?>" />
+ <input type="text" name="new_category[name]" id="new_category_name" autocomplete="off" placeholder="<?php echo _t('sub.category.new'); ?>" />
</span>
</div>
</div>
- <legend><?php echo _t('http_authentication'); ?></legend>
+ <legend><?php echo _t('sub.feed.auth.http'); ?></legend>
<?php $auth = $this->feed->httpAuth(false); ?>
<div class="form-group">
- <label class="group-name" for="http_user"><?php echo _t('http_username'); ?></label>
+ <label class="group-name" for="http_user"><?php echo _t('sub.feed.auth.username'); ?></label>
<div class="group-controls">
<input type="text" name="http_user" id="http_user" class="extend" value="<?php echo $auth['username']; ?>" autocomplete="off" />
</div>
- <label class="group-name" for="http_pass"><?php echo _t('http_password'); ?></label>
+ <label class="group-name" for="http_pass"><?php echo _t('sub.feed.auth.password'); ?></label>
<div class="group-controls">
<input type="password" name="http_pass" id="http_pass" class="extend" value="<?php echo $auth['password']; ?>" autocomplete="off" />
</div>
<div class="group-controls">
- <?php echo _i('help'); ?> <?php echo _t('access_protected_feeds'); ?>
+ <?php echo _i('help'); ?> <?php echo _t('sub.feed.auth.help'); ?>
</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>
diff --git a/app/views/javascript/actualize.phtml b/app/views/javascript/actualize.phtml
index 74cef4998..454228909 100644
--- a/app/views/javascript/actualize.phtml
+++ b/app/views/javascript/actualize.phtml
@@ -9,7 +9,7 @@ var feeds = [<?php foreach ($this->feeds as $feed) { ?>{<?php
function initProgressBar(init) {
if (init) {
$("body").after("\<div id=\"actualizeProgress\" class=\"notification good\">\
- <?php echo _t('refresh'); ?><br /><span class=\"title\">/</span><br />\
+ <?php echo _t('feedback.sub.actualize'); ?><br /><span class=\"title\">/</span><br />\
<span class=\"progress\">0 / " + feed_count + "</span>\
</div>");
} else {
@@ -23,7 +23,7 @@ function updateProgressBar(i, title_feed) {
function updateFeeds() {
if (feed_count === 0) {
- openNotification("<?php echo _t('no_feed_to_refresh'); ?>", "good");
+ openNotification("<?php echo _t('feedback.sub.feed.no_refresh'); ?>", "good");
ajax_loading = false;
return;
}
diff --git a/app/views/update/apply.phtml b/app/views/update/apply.phtml
index 30566c7ab..8221929ae 100644
--- a/app/views/update/apply.phtml
+++ b/app/views/update/apply.phtml
@@ -1,9 +1,9 @@
<?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>
- <h1><?php echo _t('update_system'); ?></h1>
+ <h1><?php echo _t('admin.update'); ?></h1>
<?php ask_info_update(); ?>
</div>
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml
index b36551340..a92860c7e 100644
--- a/app/views/update/checkInstall.phtml
+++ b/app/views/update/checkInstall.phtml
@@ -1,7 +1,7 @@
<?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>
<h2><?php echo _t('admin.check_install.php'); ?></h2>
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 401f6acd6..5c07d307e 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -1,12 +1,12 @@
<?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>
- <h1><?php echo _t('update_system'); ?></h1>
+ <h1><?php echo _t('admin.update'); ?></h1>
<p>
- <?php echo _i('help'); ?> <?php echo _t('update_last', $this->last_update_time); ?>
+ <?php echo _i('help'); ?> <?php echo _t('admin.update.last', $this->last_update_time); ?>
</p>
<?php if (!empty($this->message)) { ?>
@@ -16,8 +16,8 @@
</p>
<?php } elseif ($this->check_last_hour) { ?>
<p class="alert alert-warn">
- <span class="alert-head"><?php echo _t('damn'); ?></span>
- <?php echo _t('no_update'); ?>
+ <span class="alert-head"><?php echo _t('gen.short.damn'); ?></span>
+ <?php echo _t('admin.update.none'); ?>
</p>
<?php } ?>
@@ -26,11 +26,11 @@
(empty($this->message) || $this->message['status'] !== 'good')) {
?>
<p>
- <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('update_check'); ?></a>
+ <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('admin.update.check'); ?></a>
</p>
<?php } ?>
<?php if ($this->update_to_apply) { ?>
- <a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('update_apply'); ?></a>
+ <a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('admin.update.apply'); ?></a>
<?php } ?>
</div>
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>