Преглед на файлове

Explication du champ token plus concis

Marien Fressinaud преди 12 години
родител
ревизия
85e057e793
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      app/i18n/en.php
  2. 1 1
      app/i18n/fr.php
  3. 1 1
      app/views/configure/display.phtml

+ 1 - 1
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=&lt;your_token&gt;). 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',

+ 1 - 1
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=&lt;votre_token&gt;). 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',

+ 1 - 1
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>