mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-26 23:33:03 +00:00
fix translate for update template
This commit is contained in:
parent
2a89d8718c
commit
973f362485
3 changed files with 29 additions and 22 deletions
19
i18n/en.yml
19
i18n/en.yml
|
@ -120,16 +120,15 @@ en:
|
|||
wait: "Please waiting during the GPG key generate, this process can take few minutes."
|
||||
valid: "Your GPG key has been created ;-)"
|
||||
update_item:
|
||||
title: "Update an item"
|
||||
name: "Enter the name [%{name}]: "
|
||||
group: "Enter the group [%{group}]: "
|
||||
server: "Enter the hostname or ip [%{server}]: "
|
||||
protocol: "Enter the protocol of the connection [%{protocol}]: "
|
||||
login: "Enter the login connection [%{login}]: "
|
||||
password: "Enter the the password: "
|
||||
port: "Enter the connection port [%{port}]: "
|
||||
comment: "Enter a comment [%{comment}]: "
|
||||
otp_key: "Enter the otp secret (base32 secret key): "
|
||||
name: "The item's name (mandatory"
|
||||
group: "The group's name"
|
||||
host: "The hostname or ip"
|
||||
protocol: "The protocol of the connection (ssh, http, ...)"
|
||||
login: "The login of connection"
|
||||
password: "The password (leave empty if you don't want change)"
|
||||
port: "The connection port"
|
||||
comment: "A comment"
|
||||
otp_key: "The OTP secret (leave empty if you don't want change"
|
||||
valid: "Item has been updated!"
|
||||
export:
|
||||
valid: "The export in %{file} is succesfull!"
|
||||
|
|
19
i18n/fr.yml
19
i18n/fr.yml
|
@ -120,16 +120,15 @@ fr:
|
|||
wait: "Veuillez patienter durant la génération de votre clé GPG, ce processus peut prendre quelques minutes."
|
||||
valid: "Votre clé GPG a bien été créée ;-)"
|
||||
update_item:
|
||||
title: "Mis à jour d'un élément"
|
||||
name: "Entrez le nom [%{name}]: "
|
||||
group: "Entrez le groupe [%{group}]: "
|
||||
server: "Entrez le nom de domaine ou l'ip du serveur [%{server}]: "
|
||||
protocol: "Entrez le protocole de connexion [%{protocol}]: "
|
||||
login: "Entrez votre identifiant de connexion [%{login}]: "
|
||||
password: "Entrez le mot de passe: "
|
||||
port: "Entrez un port de connexion [%{port}]: "
|
||||
comment: "Entrez un commentaire [%{comment}]: "
|
||||
otp_key: "Entrez le secret OTP: "
|
||||
name: "Le nom de l'élément (obligatoire)"
|
||||
group: "Le nom du groupe"
|
||||
host: "Le nom de domaine ou l'ip"
|
||||
protocol: "Le protocole de connexion (ssh, http, ...)"
|
||||
login: "L'identifiant de connexion"
|
||||
password: "Le mot de passe (laissez vide si vous ne voulez pas le changer)"
|
||||
port: "Le port de connexion"
|
||||
comment: "Un commentaire"
|
||||
otp_key: "Le secret OTP (laissez vide si vous ne voulez pas le changer)"
|
||||
valid: "L'élément a bien été mis à jour!"
|
||||
export:
|
||||
valid: "L'export dans %{file} est un succès!"
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
---
|
||||
# <%= I18n.t('form.update_item.name') %>
|
||||
name: <%= item.name %>
|
||||
# <%= I18n.t('form.update_item.group') %>
|
||||
group: <%= item.group %>
|
||||
# <%= I18n.t('form.update_item.host') %>
|
||||
host: <%= item.host %>
|
||||
# <%= I18n.t('form.update_item.protocol') %>
|
||||
protocol: <%= item.protocol %>
|
||||
# <%= I18n.t('form.update_item.login') %>
|
||||
user: <%= item.user %>
|
||||
# <%= I18n.t('form.update_item.password') %>
|
||||
password:
|
||||
# <%= I18n.t('form.update_item.port') %>
|
||||
port: <%= item.port %>
|
||||
# <%= I18n.t('form.update_item.comment') %>
|
||||
comment: <%= item.comment %>
|
||||
otp_secret:
|
||||
# <%= I18n.t('form.update_item.otp_key') %>
|
||||
opt_code:
|
||||
|
|
Loading…
Reference in a new issue