mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2428 change language keys for api_key
Replaces 'Public key' references with 'ID' and updates related copy messages in English and French language files and profile template. Also changes key icon to 'icon-user-secret' for better clarity and consistency in the API key generation UI.
This commit is contained in:
@@ -493,11 +493,7 @@ $lang['API Key name'] = 'API Key name';
|
||||
$lang['Duration'] = 'Duration';
|
||||
$lang['Custom date'] = 'Custom date';
|
||||
$lang['Generate key'] = 'Generate key';
|
||||
$lang['Save your secret Key and ID'] = 'Save your secret Key and ID';
|
||||
$lang['This will not be displayed again. You must copy it to continue.'] = 'This will not be displayed again. You must copy it to continue.';
|
||||
$lang['Done'] = 'Done';
|
||||
$lang['Public key copied.'] = 'Public key copied.';
|
||||
$lang['Secret key copied. Keep it in a safe place.'] = 'Secret key copied. Keep it in a safe place.';
|
||||
$lang['Impossible to copy automatically. Please copy manually.'] = 'Impossible to copy automatically. Please copy manually.';
|
||||
$lang['The api key has been successfully created.'] = 'The API key has been successfully created.';
|
||||
$lang['API Key not found'] = 'API Key not found';
|
||||
@@ -529,3 +525,7 @@ $lang['If you do not receive the email, please contact your webmaster.'] = 'If y
|
||||
$lang['Verification code'] = 'Verification code';
|
||||
$lang['Verify'] = 'Verify';
|
||||
$lang['Invalid verification code'] = 'Invalid verification code';
|
||||
$lang['Save your ID and secret'] = 'Save your ID and secret';
|
||||
$lang['The secret will no longer be displayed. You must copy it to continue.'] = 'The secret will no longer be displayed. You must copy it to continue.';
|
||||
$lang['ID copied.'] = 'ID copied.';
|
||||
$lang['Secret copied. Keep it in a safe place.'] = 'Secret copied. Keep it in a safe place.';
|
||||
@@ -492,11 +492,7 @@ $lang['API Key name'] = 'Nom de la clé API';
|
||||
$lang['Duration'] = 'Durée';
|
||||
$lang['Custom date'] = 'Date personnalisée';
|
||||
$lang['Generate key'] = 'Générer la clé';
|
||||
$lang['Save your secret Key and ID'] = 'Enregistrez votre clé secrète et votre identifiant';
|
||||
$lang['This will not be displayed again. You must copy it to continue.'] = 'La clé secrete ne sera plus affichée. Vous devez la copier pour continuer.';
|
||||
$lang['Done'] = 'Terminé';
|
||||
$lang['Public key copied.'] = 'Clé publique copiée.';
|
||||
$lang['Secret key copied. Keep it in a safe place.'] = 'Clé secrète copiée. Gardez-la dans un endroit sûr.';
|
||||
$lang['Impossible to copy automatically. Please copy manually.'] = 'Impossible de copier automatiquement. Veuillez copier manuellement.';
|
||||
$lang['The api key has been successfully created.'] = 'La clé API a été créée avec succès.';
|
||||
$lang['API Key not found'] = 'Clé API non trouvée';
|
||||
@@ -528,3 +524,7 @@ $lang['If you do not receive the email, please contact your webmaster.'] = 'Si v
|
||||
$lang['Verification code'] = 'Code de vérification';
|
||||
$lang['Verify'] = 'Vérifier';
|
||||
$lang['Invalid verification code'] = 'Code de vérification invalide';
|
||||
$lang['Save your ID and secret'] = 'Enregistrez votre identifiant et votre secret';
|
||||
$lang['The secret will no longer be displayed. You must copy it to continue.'] = 'Le secret ne sera plus affiché. Vous devez le copier pour continuer.';
|
||||
$lang['ID copied.'] = 'Identifiant copié.';
|
||||
$lang['Secret copied. Keep it in a safe place.'] = 'Secret copié. Gardez-le dans un endroit sûr.';
|
||||
@@ -36,8 +36,8 @@ opt_hits: {$DEFAULT_USER_VALUES['show_nb_hits']},
|
||||
const selected_date = "{$API_SELECTED_EXPIRATION}";
|
||||
const can_manage_api = {($API_CAN_MANAGE) ? "true" : "false"};
|
||||
|
||||
const str_copy_key_id = "{"Public key copied."|translate|escape:javascript}";
|
||||
const str_copy_key_secret = "{"Secret key copied. Keep it in a safe place."|translate|escape:javascript}";
|
||||
const str_copy_key_id = "{"ID copied."|translate|escape:javascript}";
|
||||
const str_copy_key_secret = "{"Secret copied. Keep it in a safe place."|translate|escape:javascript}";
|
||||
const str_cant_copy = "{"Impossible to copy automatically. Please copy manually."|translate|escape:javascript}";
|
||||
const str_api_added = "{"The api key has been successfully created."|translate|escape:javascript}";
|
||||
const str_revoked = "{"Revoked"|translate|escape:javascript}";
|
||||
@@ -293,10 +293,10 @@ const str_must_not_empty = "{'must not be empty'|translate|escape:javascript}";
|
||||
<i class="gallery-icon-hash"></i>
|
||||
<p class="api_key"></p>
|
||||
<i class="icon-clone" data-copy="" data-success=""></i>
|
||||
<p id="" class="api-copy api-hide success-message">{"Public key copied."|translate|escape:html}</p>
|
||||
<p id="" class="api-copy api-hide success-message">{"ID copied."|translate|escape:html}</p>
|
||||
</div>
|
||||
<div class="row-flex key">
|
||||
<i class="icon-key"></i>
|
||||
<i class="icon-user-secret"></i>
|
||||
<p>{"The secret key can no longer be displayed."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -365,14 +365,14 @@ const str_must_not_empty = "{'must not be empty'|translate|escape:javascript}";
|
||||
<div id="retrieves_keyapi">
|
||||
<div class="head-modal">
|
||||
<p class="title-modal">{'Generate API Key'|translate}</p>
|
||||
<p class="subtitle-modal">{'Save your secret Key and ID'|translate}</p>
|
||||
<p class="modal-secret">{'This will not be displayed again. You must copy it to continue.'|translate}
|
||||
<p class="subtitle-modal">{'Save your ID and secret'|translate}</p>
|
||||
<p class="modal-secret">{'The secret will no longer be displayed. You must copy it to continue.'|translate}
|
||||
<p>
|
||||
</div>
|
||||
|
||||
<div class="modal-input-keys">
|
||||
<p id="api_id_copy_success" class="api-copy api-hide success-message">
|
||||
{"Public key copied."|translate|escape:html}</p>
|
||||
{"ID copied."|translate|escape:html}</p>
|
||||
</div>
|
||||
<div class="input-modal input-modal-id row-flex">
|
||||
<i class="gallery-icon-hash"></i>
|
||||
@@ -382,10 +382,10 @@ const str_must_not_empty = "{'must not be empty'|translate|escape:javascript}";
|
||||
|
||||
<div class="modal-input-keys">
|
||||
<p id="api_key_copy_success" class="modal-input-key api-copy api-hide success-message">
|
||||
{"Secret key copied. Keep it in a safe place."|translate|escape:html}</p>
|
||||
{"Secret copied. Keep it in a safe place."|translate|escape:html}</p>
|
||||
</div>
|
||||
<div class="input-modal input-modal-key row-flex">
|
||||
<i class="icon-key"></i>
|
||||
<i class="icon-user-secret"></i>
|
||||
<input type="text" id="api_secret_key" />
|
||||
<i class="icon-clone" id="api_secret_copy"></i>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user