1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-30 08:53:05 +00:00

fix translate

This commit is contained in:
nishiki 2014-01-05 12:56:52 +01:00
parent 6b8d6a91fd
commit 0153edff66
3 changed files with 4 additions and 5 deletions

View file

@ -40,13 +40,13 @@ en:
add: add:
title: "Add a new item" title: "Add a new item"
name: "Enter the name: " name: "Enter the name: "
group: "Enter the group [default=NoGroup]: " group: "Enter the group (optional): "
server: "Enter the hostname or ip: " server: "Enter the hostname or ip: "
protocol: "Enter the protocol of the connection (ssh, http, other): " protocol: "Enter the protocol of the connection (ssh, http, other): "
login: "Enter the login connection: " login: "Enter the login connection: "
password: "Enter the the password: " password: "Enter the the password: "
port: "Enter the connection port (optinal): " port: "Enter the connection port (optional): "
comment: "Enter a comment (optinal): " comment: "Enter a comment (optional): "
valid: "Item has been added!" valid: "Item has been added!"
delete: delete:
ask: "Are you sure you want to remove the item %{id} ?" ask: "Are you sure you want to remove the item %{id} ?"

View file

@ -40,7 +40,7 @@ fr:
add: add:
title: "Ajout d'un nouvel élément" title: "Ajout d'un nouvel élément"
name: "Entrez le nom: " name: "Entrez le nom: "
group: "Entrez le groupe [défaut=NoGroup]: " group: "Entrez le groupe (optionnel): "
server: "Entrez the hostname or ip: " server: "Entrez the hostname or ip: "
protocol: "Entrez le protocole de connexion (ssh, http, other): " protocol: "Entrez le protocole de connexion (ssh, http, other): "
login: "Entrez l'identifiant de connexion: " login: "Entrez l'identifiant de connexion: "

1
mpw
View file

@ -12,7 +12,6 @@ require 'i18n'
APP_ROOT = File.dirname(Pathname.new(__FILE__).realpath) APP_ROOT = File.dirname(Pathname.new(__FILE__).realpath)
require "#{APP_ROOT}/lib/Cli.rb" require "#{APP_ROOT}/lib/Cli.rb"
lang = Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1] lang = Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1]
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)