pulled locales from rails-i18n. This overides the fix made to en-US.yml, please send it upstream

This commit is contained in:
MrZYX 2010-12-13 15:11:00 +01:00
parent 1284fcc92d
commit a8d0d50173
8 changed files with 169 additions and 48 deletions

View file

@ -135,7 +135,7 @@ da:
inclusion: "er ikke i listen" inclusion: "er ikke i listen"
exclusion: "er reserveret" exclusion: "er reserveret"
invalid: "er ikke gyldig" invalid: "er ikke gyldig"
confirmation: stemmer ikke overens med bekræftelse" confirmation: "stemmer ikke overens med bekræftelse"
accepted: "skal accepteres" accepted: "skal accepteres"
empty: "må ikke udelades" empty: "må ikke udelades"
blank: "skal udfyldes" blank: "skal udfyldes"

View file

@ -15,9 +15,10 @@
month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
order: order:
- :year
- :month - :month
- :day - :day
- :year
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"

View file

@ -120,7 +120,7 @@ fr-CA:
million: "Million" million: "Million"
billion: "Milliard" billion: "Milliard"
trillion: "Mille milliard" trillion: "Mille milliard"
quadrillion: "Million de milliard" quadrillion: "Million de milliards"
support: support:
array: array:

View file

@ -10,12 +10,12 @@ fr-CH:
default: "%d.%m.%Y" default: "%d.%m.%Y"
short: "%e %b" short: "%e %b"
long: "%e %B %Y" long: "%e %B %Y"
day_names: [lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche] day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
abbr_day_names: [lun, mar, mer, jeu, ven, sam, dim] abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre] month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.] abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
order: [ :day, :month, :year ] order: [ :day, :month, :year ]
time: time:
formats: formats:
default: "%d. %B %Y %H:%M" default: "%d. %B %Y %H:%M"
@ -69,7 +69,7 @@ fr-CH:
hour: "Heure" hour: "Heure"
minute: "Minute" minute: "Minute"
second: "Seconde" second: "Seconde"
number: number:
format: format:
separator: "." separator: "."
@ -102,8 +102,8 @@ fr-CH:
format: "%n %u" format: "%n %u"
units: units:
byte: byte:
one: "Octet" one: "octet"
other: "Octets" other: "octets"
kb: "ko" kb: "ko"
mb: "Mo" mb: "Mo"
gb: "Go" gb: "Go"
@ -112,12 +112,12 @@ fr-CH:
format: "%n %u" format: "%n %u"
units: units:
unit: "" unit: ""
thousand: "Millier" thousand: "millier"
million: "Million" million: "million"
billion: "Milliard" billion: "milliard"
trillion: "Mille milliard" trillion: "billion"
quadrillion: "Million de milliard" quadrillion: "million de milliards"
support: support:
array: array:
words_connector: ", " words_connector: ", "

View file

@ -11,8 +11,8 @@ fr:
default: "%d/%m/%Y" default: "%d/%m/%Y"
short: "%e %b" short: "%e %b"
long: "%e %B %Y" long: "%e %B %Y"
day_names: [lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche] day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
abbr_day_names: [lun, mar, mer, jeu, ven, sam, dim] abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre] month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.] abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
order: [ :day, :month, :year ] order: [ :day, :month, :year ]
@ -103,8 +103,8 @@ fr:
format: "%n %u" format: "%n %u"
units: units:
byte: byte:
one: "Octet" one: "octet"
other: "Octets" other: "octets"
kb: "ko" kb: "ko"
mb: "Mo" mb: "Mo"
gb: "Go" gb: "Go"
@ -113,11 +113,11 @@ fr:
format: "%n %u" format: "%n %u"
units: units:
unit: "" unit: ""
thousand: "Millier" thousand: "millier"
million: "Million" million: "million"
billion: "Milliard" billion: "milliard"
trillion: "Mille milliard" trillion: "billion"
quadrillion: "Million de milliard" quadrillion: "million de milliards"
support: support:
array: array:

View file

@ -37,8 +37,8 @@ end
:date => { :date => {
:formats => { :formats => {
:default => lambda { |date, opts| "%d-%m-#{date.year + 543}" }, :default => lambda { |date, opts| "%d-%m-#{date.year + 543}" },
:short => "%e %b", :short => "%d %b",
:long => lambda { |date, opts| "%e %B #{date.year + 543}" }, :long => lambda { |date, opts| "%d %B #{date.year + 543}" },
}, },
:day_names => ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"], :day_names => ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"],
@ -52,8 +52,8 @@ end
:time => { :time => {
:formats => { :formats => {
:default => lambda { |date, opts| "%a %d %b #{date.year + 543} %H:%M:%S %z" }, :default => lambda { |date, opts| "%a %d %b #{date.year + 543} %H:%M:%S %z" },
:short => "%e %b %H:%M น.", :short => "%d %b %H:%M น.",
:long => lambda { |date, opts| "%e %B #{date.year + 543} %H:%M น." }, :long => lambda { |date, opts| "%d %B #{date.year + 543} %H:%M น." },
}, },
:am => "ก่อนเที่ยง", :am => "ก่อนเที่ยง",
:pm => "หลังเที่ยง" :pm => "หลังเที่ยง"

View file

@ -1,7 +1,7 @@
# Chinese (China) translations for Ruby on Rails # Chinese (China) translations for Ruby on Rails
# by tsechingho (http://github.com/tsechingho) # by tsechingho (http://github.com/tsechingho)
"zh-CN": zh-CN:
date: date:
formats: formats:
default: "%Y-%m-%d" default: "%Y-%m-%d"
@ -12,7 +12,7 @@
month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月] month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月] abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
order: [ :year, :month, :day ] order: [ :year, :month, :day ]
time: time:
formats: formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z" default: "%Y年%b%d日 %A %H:%M:%S %Z"
@ -20,7 +20,7 @@
long: "%Y年%b%d日 %H:%M" long: "%Y年%b%d日 %H:%M"
am: "上午" am: "上午"
pm: "下午" pm: "下午"
datetime: datetime:
distance_in_words: distance_in_words:
half_a_minute: "半分钟" half_a_minute: "半分钟"
@ -64,12 +64,14 @@
hour: "时" hour: "时"
minute: "分" minute: "分"
second: "秒" second: "秒"
number: number:
format: format:
separator: "." separator: "."
delimiter: "," delimiter: ","
precision: 3 precision: 3
significant: false
strip_insignificant_zeros: false
currency: currency:
format: format:
format: "%u %n" format: "%u %n"
@ -77,6 +79,8 @@
separator: "." separator: "."
delimiter: "," delimiter: ","
precision: 2 precision: 2
significant: false
strip_insignificant_zeros: false
percentage: percentage:
format: format:
delimiter: "" delimiter: ""
@ -87,6 +91,8 @@
format: format:
delimiter: "" delimiter: ""
precision: 1 precision: 1
significant: false
strip_insignificant_zeros: false
storage_units: storage_units:
format: "%n %u" format: "%n %u"
units: units:
@ -97,7 +103,30 @@
mb: "MB" mb: "MB"
gb: "GB" gb: "GB"
tb: "TB" tb: "TB"
decimal_units:
format: "%n %u"
units:
# 10^-21 zepto, 10^-24 yocto
atto: "渺" # 10^-18
femto: "飞" # 10^-15 毫微微
pico: "漠" # 10^-12 微微
nano: "奈" # 10^-9 毫微
micro: "微" # 10^-6
mili: "毫" # 10^-3 milli
centi: "厘" # 10^-2
deci: "分" # 10^-1
unit: ""
ten:
one: "十"
other: "十" # 10^1
hundred: "百" # 10^2
thousand: "千" # 10^3 kilo
million: "百万" # 10^6 mega
billion: "十亿" # 10^9 giga
trillion: "兆" # 10^12 tera
quadrillion: "千兆" # 10^15 peta
# 10^18 exa, 10^21 zetta, 10^24 yotta
support: support:
array: array:
words_connector: ", " words_connector: ", "
@ -105,7 +134,7 @@
last_word_connector: ", 和 " last_word_connector: ", 和 "
select: select:
prompt: "请选择" prompt: "请选择"
activerecord: activerecord:
errors: errors:
template: # ~ 2.3.5 backward compatible template: # ~ 2.3.5 backward compatible
@ -113,6 +142,8 @@
one: "有 1 个错误发生导致「%{model}」无法被保存。" one: "有 1 个错误发生导致「%{model}」无法被保存。"
other: "有 %{count} 个错误发生导致「%{model}」无法被保存。" other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
body: "如下字段出现错误:" body: "如下字段出现错误:"
full_messages:
format: "%{attribute} %{message}"
messages: messages:
inclusion: "不包含于列表中" inclusion: "不包含于列表中"
exclusion: "是保留关键字" exclusion: "是保留关键字"
@ -124,7 +155,6 @@
too_long: "过长(最长为 %{count} 个字符)" too_long: "过长(最长为 %{count} 个字符)"
too_short: "过短(最短为 %{count} 个字符)" too_short: "过短(最短为 %{count} 个字符)"
wrong_length: "长度非法(必须为 %{count} 个字符)" wrong_length: "长度非法(必须为 %{count} 个字符)"
taken: "已经被使用"
not_a_number: "不是数字" not_a_number: "不是数字"
not_an_integer: "必须是整数" not_an_integer: "必须是整数"
greater_than: "必须大于 %{count}" greater_than: "必须大于 %{count}"
@ -134,8 +164,9 @@
less_than_or_equal_to: "必须小于或等于 %{count}" less_than_or_equal_to: "必须小于或等于 %{count}"
odd: "必须为单数" odd: "必须为单数"
even: "必须为双数" even: "必须为双数"
taken: "已经被使用"
record_invalid: "校验失败: %{errors}" record_invalid: "校验失败: %{errors}"
activemodel: activemodel:
errors: errors:
template: template:
@ -143,5 +174,34 @@
one: "有 1 个错误发生导致「%{model}」无法被保存。" one: "有 1 个错误发生导致「%{model}」无法被保存。"
other: "有 %{count} 个错误发生导致「%{model}」无法被保存。" other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
body: "如下字段出现错误:" body: "如下字段出现错误:"
errors:
format: "%{attribute} %{message}"
messages:
inclusion: "不包含于列表中"
exclusion: "是保留关键字"
invalid: "是无效的"
confirmation: "与确认值不匹配"
accepted: "必须是可被接受的"
empty: "不能留空"
blank: "不能为空字符"
too_long: "过长(最长为 %{count} 个字符)"
too_short: "过短(最短为 %{count} 个字符)"
wrong_length: "长度非法(必须为 %{count} 个字符)"
not_a_number: "不是数字"
not_an_integer: "必须是整数"
greater_than: "必须大于 %{count}"
greater_than_or_equal_to: "必须大于或等于 %{count}"
equal_to: "必须等于 %{count}"
less_than: "必须小于 %{count}"
less_than_or_equal_to: "必须小于或等于 %{count}"
odd: "必须为单数"
even: "必须为双数"
helpers:
select:
prompt: "请选择"
submit:
create: "新增%{model}"
update: "更新%{model}"
submit: "储存%{model}"

View file

@ -1,7 +1,7 @@
# Chinese (Taiwan) translations for Ruby on Rails # Chinese (Taiwan) translations for Ruby on Rails
# by tsechingho (http://github.com/tsechingho) # by tsechingho (http://github.com/tsechingho)
"zh-TW": zh-TW:
date: date:
formats: formats:
default: "%Y-%m-%d" default: "%Y-%m-%d"
@ -12,7 +12,7 @@
month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月] month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月] abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
order: [ :year, :month, :day ] order: [ :year, :month, :day ]
time: time:
formats: formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z" default: "%Y年%b%d日 %A %H:%M:%S %Z"
@ -20,7 +20,7 @@
long: "%Y年%b%d日 %H:%M" long: "%Y年%b%d日 %H:%M"
am: "上午" am: "上午"
pm: "下午" pm: "下午"
datetime: datetime:
distance_in_words: distance_in_words:
half_a_minute: "半分鐘" half_a_minute: "半分鐘"
@ -64,12 +64,14 @@
hour: "時" hour: "時"
minute: "分" minute: "分"
second: "秒" second: "秒"
number: number:
format: format:
separator: "." separator: "."
delimiter: "," delimiter: ","
precision: 3 precision: 3
significant: false
strip_insignificant_zeros: false
currency: currency:
format: format:
format: "%u %n" format: "%u %n"
@ -77,6 +79,8 @@
separator: "." separator: "."
delimiter: "," delimiter: ","
precision: 2 precision: 2
significant: false
strip_insignificant_zeros: false
percentage: percentage:
format: format:
delimiter: "" delimiter: ""
@ -87,6 +91,8 @@
format: format:
delimiter: "" delimiter: ""
precision: 1 precision: 1
significant: false
strip_insignificant_zeros: false
storage_units: storage_units:
format: "%n %u" format: "%n %u"
units: units:
@ -97,7 +103,30 @@
mb: "MB" mb: "MB"
gb: "GB" gb: "GB"
tb: "TB" tb: "TB"
decimal_units:
format: "%n %u"
units:
# 10^-21 zepto, 10^-24 yocto
atto: "渺" # 10^-18
femto: "飛" # 10^-15 毫微微
pico: "漠" # 10^-12 微微
nano: "奈" # 10^-9 毫微
micro: "微" # 10^-6
mili: "毫" # 10^-3 milli
centi: "厘" # 10^-2
deci: "分" # 10^-1
unit: ""
ten:
one: "十"
other: "十" # 10^1
hundred: "百" # 10^2
thousand: "千" # 10^3 kilo
million: "百萬" # 10^6 mega
billion: "十億" # 10^9 giga
trillion: "兆" # 10^12 tera
quadrillion: "千兆" # 10^15 peta
# 10^18 exa, 10^21 zetta, 10^24 yotta
support: support:
array: array:
words_connector: ", " words_connector: ", "
@ -105,7 +134,7 @@
last_word_connector: ", 和 " last_word_connector: ", 和 "
select: select:
prompt: "請選擇" prompt: "請選擇"
activerecord: activerecord:
errors: errors:
template: # ~ 2.3.5 backward compatible template: # ~ 2.3.5 backward compatible
@ -113,6 +142,8 @@
one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
body: "以下欄位發生問題:" body: "以下欄位發生問題:"
full_messages:
format: "%{attribute} %{message}"
messages: messages:
inclusion: "沒有包含在列表中" inclusion: "沒有包含在列表中"
exclusion: "是被保留的關鍵字" exclusion: "是被保留的關鍵字"
@ -124,7 +155,6 @@
too_long: "過長(最長是 %{count} 個字)" too_long: "過長(最長是 %{count} 個字)"
too_short: "過短(最短是 %{count} 個字)" too_short: "過短(最短是 %{count} 個字)"
wrong_length: "字數錯誤(必須是 %{count} 個字)" wrong_length: "字數錯誤(必須是 %{count} 個字)"
taken: "已經被使用"
not_a_number: "不是數字" not_a_number: "不是數字"
not_an_integer: "必須是整數" not_an_integer: "必須是整數"
greater_than: "必須大於 %{count}" greater_than: "必須大於 %{count}"
@ -134,8 +164,9 @@
less_than_or_equal_to: "必須小於或等於 %{count}" less_than_or_equal_to: "必須小於或等於 %{count}"
odd: "必須是奇數" odd: "必須是奇數"
even: "必須是偶數" even: "必須是偶數"
taken: "已經被使用"
record_invalid: "校驗失敗: %{errors}" record_invalid: "校驗失敗: %{errors}"
activemodel: activemodel:
errors: errors:
template: template:
@ -143,5 +174,34 @@
one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
body: "以下欄位發生問題:" body: "以下欄位發生問題:"
errors:
format: "%{attribute} %{message}"
messages:
inclusion: "沒有包含在列表中"
exclusion: "是被保留的關鍵字"
invalid: "是無效的"
confirmation: "不符合確認值"
accepted: "必須是可被接受的"
empty: "不能留空"
blank: "不能是空白字元"
too_long: "過長(最長是 %{count} 個字)"
too_short: "過短(最短是 %{count} 個字)"
wrong_length: "字數錯誤(必須是 %{count} 個字)"
not_a_number: "不是數字"
not_an_integer: "必須是整數"
greater_than: "必須大於 %{count}"
greater_than_or_equal_to: "必須大於或等於 %{count}"
equal_to: "必須等於 %{count}"
less_than: "必須小於 %{count}"
less_than_or_equal_to: "必須小於或等於 %{count}"
odd: "必須是奇數"
even: "必須是偶數"
helpers:
select:
prompt: "請選擇"
submit:
create: "新增%{model}"
update: "更新%{model}"
submit: "儲存%{model}"