Commit 7ef7f620 authored by jplang's avatar jplang

Adds missing time format in locales (#2831).

git-svn-id: https://svn.redmine.org/redmine/trunk@2523 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 6a06b273
......@@ -20,6 +20,7 @@ bg:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -20,6 +20,7 @@ ca:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -20,6 +20,7 @@ cs:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -17,6 +17,7 @@ da:
time:
formats:
default: "%e. %B %Y, %H:%M"
time: "%H:%M"
short: "%e. %b %Y, %H:%M"
long: "%A, %e. %B %Y, %H:%M"
am: ""
......
......@@ -20,6 +20,7 @@ en:
time:
formats:
default: "%m/%d/%Y %I:%M %p"
time: "%I:%M %p"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -147,6 +147,7 @@ es:
time:
formats:
default: "%A, %d de %B de %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d de %b %H:%M"
long: "%d de %B de %Y %H:%M"
am: "am"
......
......@@ -17,6 +17,7 @@ fi:
time:
formats:
default: "%a, %e. %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%e. %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "aamupäivä"
......
......@@ -19,6 +19,7 @@
time:
formats:
default: "%Y. %b %e., %H:%M"
time: "%H:%M"
short: "%b %e., %H:%M"
long: "%Y. %B %e., %A, %H:%M"
am: "de."
......
......@@ -20,6 +20,7 @@ ja:
time:
formats:
default: "%Y/%m/%d %H:%M:%S"
time: "%H:%M"
short: "%y/%m/%d %H:%M"
long: "%Y年%m月%d日(%a) %H時%M分%S秒 %Z"
am: "午前"
......
......@@ -20,6 +20,7 @@ ko:
time:
formats:
default: "%Y/%m/%d %H:%M:%S"
time: "%H:%M"
short: "%y/%m/%d %H:%M"
long: "%Y년 %B월 %d일, %H시 %M분 %S초 %Z"
am: "오전"
......
......@@ -121,6 +121,7 @@ lt:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -20,6 +20,7 @@ nl:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -39,6 +39,7 @@ pl:
time:
formats:
default: "%a, %d %b %Y, %H:%M:%S %z"
time: "%H:%M"
short: "%d %b, %H:%M"
long: "%d %B %Y, %H:%M"
am: "przed południem"
......
......@@ -21,6 +21,7 @@ pt:
time:
formats:
default: "%A, %d de %B de %Y, %H:%Mh"
time: "%H:%M"
short: "%d/%m, %H:%M hs"
long: "%A, %d de %B de %Y, %H:%Mh"
am: ''
......
......@@ -19,7 +19,7 @@ ro:
time:
formats:
default: "%a %d %b %Y, %H:%M:%S %z"
# time: "%H:%M"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%d %B %Y %H:%M"
# only_second: "%S"
......
......@@ -32,6 +32,7 @@ ru:
time:
formats:
default: "%a, %d %b %Y, %H:%M:%S %z"
time: "%H:%M"
short: "%d %b, %H:%M"
long: "%d %B %Y, %H:%M"
......
......@@ -20,6 +20,7 @@ sk:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -20,6 +20,7 @@ sl:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -139,6 +139,7 @@ sv:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%d %B, %Y %H:%M"
am: ""
......
......@@ -20,6 +20,7 @@ th:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -20,6 +20,7 @@ uk:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "am"
......
......@@ -149,6 +149,7 @@ vi:
time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%d %B, %Y %H:%M"
am: "sáng"
......
......@@ -16,6 +16,7 @@
time:
formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z"
time: "%H:%M"
short: "%b%d日 %H:%M"
long: "%Y年%b%d日 %H:%M"
am: "上午"
......
......@@ -16,6 +16,7 @@ zh:
time:
formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z"
time: "%H:%M"
short: "%b%d日 %H:%M"
long: "%Y年%b%d日 %H:%M"
am: "上午"
......
......@@ -46,6 +46,8 @@ class Redmine::I18nTest < Test::Unit::TestCase
format_date(Date.today)
format_time(Time.now)
format_time(Time.now, false)
assert_not_equal 'default', ::I18n.l(Date.today, :format => :default), "date.formats.default missing in #{lang}"
assert_not_equal 'time', ::I18n.l(Time.now, :format => :time), "time.formats.time missing in #{lang}"
end
assert l('date.day_names').is_a?(Array)
assert_equal 7, l('date.day_names').size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment