Added name on client

- Fix typos in field name
- Added migration for name field in API client table

Manually cherry-picked from PR
https://github.com/wallabag/wallabag/pull/2171
This commit is contained in:
Thomas Citharel
2016-05-21 18:09:38 +02:00
committed by Jeremy Benoist
parent db4d63fc1a
commit 9c545fe028
13 changed files with 110 additions and 24 deletions

View File

@ -352,19 +352,21 @@ developer:
field_grant_types: 'Grant type allowed'
no_client: 'No client yet.'
remove:
warn_message_1: 'You have the ability to remove this client. This action is IRREVERSIBLE !'
warn_message_1: 'You have the ability to remove the client %name%. This action is IRREVERSIBLE !'
warn_message_2: "If you remove it, every app configured with that client won't be able to auth on your wallabag."
action: 'Remove this client'
action: 'Remove the client %name%'
client:
page_title: 'Developer > New client'
page_description: 'You are about to create a new client. Please fill the field below for the redirect URI of your application.'
form:
redirect_uris_label: 'Redirect URIs'
name_label: 'Name of the client'
redirect_uris_label: 'Redirect URIs (optional)'
save_label: 'Create a new client'
action_back: 'Back'
client_parameter:
page_title: 'Developer > Client parameters'
page_description: 'Here are your client parameters.'
field_name: 'Client name'
field_id: 'Client ID'
field_secret: 'Client secret'
back: 'Back'
@ -417,5 +419,5 @@ flashes:
summary: 'Import summary: %imported% imported, %skipped% already saved.'
developer:
notice:
client_created: 'New client created.'
client_deleted: 'Client deleted'
client_created: 'New client %name% created.'
client_deleted: 'Client %name% deleted'

View File

@ -343,7 +343,7 @@ developer:
list_methods: "Lister toutes les méthodes de l'API"
clients:
title: 'Clients'
create_new: 'Créer une nouveau client'
create_new: 'Créer un nouveau client'
existing_clients:
title: 'Les clients existants'
field_id: 'ID Client'
@ -352,19 +352,21 @@ developer:
field_grant_types: 'Type de privilège accordé'
no_client: 'Aucun client pour le moment'
remove:
warn_message_1: 'Vous avez la possibilité de supprimer un client. Cette action est IRREVERSIBLE !'
warn_message_2: "Si vous supprimez un client, toutes les applications qui l'utilisaient ne fonctionneront plus avec votre compte wallabag."
action: 'Supprimer ce client'
warn_message_1: 'Vous avez la possibilité de supprimer le client %name%. Cette action est IRREVERSIBLE !'
warn_message_2: "Si vous supprimez le client %name%, toutes les applications qui l'utilisaient ne fonctionneront plus avec votre compte wallabag."
action: 'Supprimer le client %name%'
client:
page_title: 'Développeur > Nouveau client'
page_description: "Vous allez créer un nouveau client. Merci de remplir l'url de redirection vers votre application."
form:
redirect_uris_label: 'URLs de redirection'
name_label: "Nom du client"
redirect_uris_label: 'URLs de redirection (optionnel)'
save_label: 'Créer un nouveau client'
action_back: 'Retour'
client_parameter:
page_title: 'Développeur > Les paramètres de votre client'
page_description: 'Voilà les paramètres de votre client'
field_name: 'Nom du client'
field_id: 'ID Client'
field_secret: 'Clé secrète'
back: 'Retour'
@ -417,5 +419,5 @@ flashes:
summary: "Rapport d'import: %imported% importés, %skipped% déjà présent."
developer:
notice:
client_created: 'Nouveau client créé'
client_deleted: 'Client supprimé'
client_created: 'Nouveau client %name% créé'
client_deleted: 'Client %name% supprimé'