A free, self-hostable news aggregator…
Explication du champ token plus concis
Marien Fressinaud85e057e79396
diff --git a/app/i18n/en.php b/app/i18n/en.phpindex 4ce947346..bd5c7290f 100644--- a/app/i18n/en.php+++ b/app/i18n/en.php@@ -153,7 +153,7 @@ return array ('persona_connection_email' => 'Login mail address (use <a href="https://persona.org/">Persona</a>)','allow_anonymous' => 'Allow anonymous reading','auth_token' => 'Authentication token',- 'explain_token' => 'This token allows to avoid authentication by adding it to URL (eg. %s?token=<your_token>). RSS output only.',+ 'explain_token' => 'Allows to access RSS output without authentication.<br />%s?token=%s','reading_configuration' => 'Reading configuration','articles_per_page' => 'Number of articles per page','default_view' => 'Default view',diff --git a/app/i18n/fr.php b/app/i18n/fr.phpindex 84dec0fa4..17a0fb702 100644--- a/app/i18n/fr.php+++ b/app/i18n/fr.php@@ -153,7 +153,7 @@ return array ('persona_connection_email' => 'Adresse mail de connexion (utilise <a href="https://persona.org/">Persona</a>)','allow_anonymous' => 'Autoriser la lecture anonyme','auth_token' => 'Jeton d’identification',- 'explain_token' => 'Ce jeton permet de s’affranchir d’authentification en l’ajoutant à l’URL (ex. %s?token=<votre_token>). Seul la sortie RSS est concernée.',+ 'explain_token' => 'Permet d\'accéder à la sortie RSS sans besoin de s\'authentifier.<br />%s?output=rss&token=%s','reading_configuration' => 'Configuration de lecture','articles_per_page' => 'Nombre d’articles par page','default_view' => 'Vue par défaut',diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtmlindex 3d92a0dfc..0f89437ac 100644--- a/app/views/configure/display.phtml+++ b/app/views/configure/display.phtml@@ -56,7 +56,7 @@<?php $token = $this->conf->token (); ?><div class="group-controls"><input type="text" id="token" name="token" value="<?php echo $token; ?>" placeholder="<?php echo Translate::t ('blank_to_disable'); ?>"/>- <i class="icon i_help"></i> <?php echo Translate::t('explain_token', Url::display()); ?>+ <i class="icon i_help"></i> <?php echo Translate::t('explain_token', Url::display(), $token); ?></div></div>