1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-26 23:33:03 +00:00

fix translate

This commit is contained in:
nishiki 2016-05-17 19:34:05 +02:00
parent 53cb745eb4
commit 8a89339691
3 changed files with 8 additions and 8 deletions

View file

@ -84,13 +84,13 @@ en:
not_valid: "No data to import!" not_valid: "No data to import!"
setup_config: setup_config:
title: "Setup a new config file" title: "Setup a new config file"
lang: "Choose your language (en, fr, ...): " lang: "Choose your language (en, fr, ...) [default=%{lang}]: "
gpg_key: "Enter the GPG key: " gpg_key: "Enter the GPG key [ex: test@host.local]: "
wallet_dir: "Enter the wallets's folder path [défaut=%{home}/wallets]: " wallet_dir: "Enter the wallets's folder path [default=%{home}/wallets]: "
valid: "The config file has been created!" valid: "The config file has been created!"
setup_wallet: setup_wallet:
title: "Wallet setup" title: "Wallet setup"
sync_type: "Synchronization type (mpw, ssh, ftp, or nil): " sync_type: "Synchronization type (ssh, ftp, or nil): "
sync_host: "Synchronization server: " sync_host: "Synchronization server: "
sync_port: "Port of the synchronization server: " sync_port: "Port of the synchronization server: "
sync_user: "Username for the synchronization: " sync_user: "Username for the synchronization: "
@ -126,11 +126,11 @@ en:
display: display:
comment: "Comment" comment: "Comment"
error: "ERROR" error: "ERROR"
gpg_password: "Password GPG: " gpg_password: "GPG passphrase: "
group: "Group" group: "Group"
login: "Login" login: "Login"
name: "Name" name: "Name"
nothing: "Nothing result!" nothing: "No matches!"
password: "Password" password: "Password"
port: "Port" port: "Port"
protocol: "Protocol" protocol: "Protocol"

View file

@ -85,7 +85,7 @@ fr:
setup_config: setup_config:
title: "Création d'un nouveau fichier de configuration" title: "Création d'un nouveau fichier de configuration"
lang: "Choisissez votre langue (en, fr, ...) [défaut=%{lang}]: " lang: "Choisissez votre langue (en, fr, ...) [défaut=%{lang}]: "
gpg_key: "Entrez la clé GPG: " gpg_key: "Entrez la clé GPG [ex: test@host.local]: "
wallet_dir: "Entrez le chemin du répertoire qui contiendra les porte-feuilles de mot de passe [défaut=%{home}/wallets]: " wallet_dir: "Entrez le chemin du répertoire qui contiendra les porte-feuilles de mot de passe [défaut=%{home}/wallets]: "
valid: "Le fichier de configuration a bien été créé!" valid: "Le fichier de configuration a bien été créé!"
setup_wallet: setup_wallet:

View file

@ -322,7 +322,7 @@ class Cli
def export(file) def export(file)
@mpw.export(file) @mpw.export(file)
puts "#{I18n.t('export.valid', file)}".green puts "#{I18n.t('export.export.valid', file)}".green
rescue Exception => e rescue Exception => e
puts "#{I18n.t('display.error')} #17: #{e}".red puts "#{I18n.t('display.error')} #17: #{e}".red
end end