Commit 94cc23f1 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Adds missing time format in locales (#2831).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2523 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4baf32b1
...@@ -20,6 +20,7 @@ bg: ...@@ -20,6 +20,7 @@ bg:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -20,6 +20,7 @@ ca: ...@@ -20,6 +20,7 @@ ca:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -20,6 +20,7 @@ cs: ...@@ -20,6 +20,7 @@ cs:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -17,6 +17,7 @@ da: ...@@ -17,6 +17,7 @@ da:
time: time:
formats: formats:
default: "%e. %B %Y, %H:%M" default: "%e. %B %Y, %H:%M"
time: "%H:%M"
short: "%e. %b %Y, %H:%M" short: "%e. %b %Y, %H:%M"
long: "%A, %e. %B %Y, %H:%M" long: "%A, %e. %B %Y, %H:%M"
am: "" am: ""
......
...@@ -20,6 +20,7 @@ en: ...@@ -20,6 +20,7 @@ en:
time: time:
formats: formats:
default: "%m/%d/%Y %I:%M %p" default: "%m/%d/%Y %I:%M %p"
time: "%I:%M %p"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -147,6 +147,7 @@ es: ...@@ -147,6 +147,7 @@ es:
time: time:
formats: formats:
default: "%A, %d de %B de %Y %H:%M:%S %z" default: "%A, %d de %B de %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d de %b %H:%M" short: "%d de %b %H:%M"
long: "%d de %B de %Y %H:%M" long: "%d de %B de %Y %H:%M"
am: "am" am: "am"
......
...@@ -17,6 +17,7 @@ fi: ...@@ -17,6 +17,7 @@ fi:
time: time:
formats: formats:
default: "%a, %e. %b %Y %H:%M:%S %z" default: "%a, %e. %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%e. %b %H:%M" short: "%e. %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "aamupäivä" am: "aamupäivä"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
time: time:
formats: formats:
default: "%Y. %b %e., %H:%M" default: "%Y. %b %e., %H:%M"
time: "%H:%M"
short: "%b %e., %H:%M" short: "%b %e., %H:%M"
long: "%Y. %B %e., %A, %H:%M" long: "%Y. %B %e., %A, %H:%M"
am: "de." am: "de."
......
...@@ -20,6 +20,7 @@ ja: ...@@ -20,6 +20,7 @@ ja:
time: time:
formats: formats:
default: "%Y/%m/%d %H:%M:%S" default: "%Y/%m/%d %H:%M:%S"
time: "%H:%M"
short: "%y/%m/%d %H:%M" short: "%y/%m/%d %H:%M"
long: "%Y年%m月%d日(%a) %H時%M分%S秒 %Z" long: "%Y年%m月%d日(%a) %H時%M分%S秒 %Z"
am: "午前" am: "午前"
......
...@@ -20,6 +20,7 @@ ko: ...@@ -20,6 +20,7 @@ ko:
time: time:
formats: formats:
default: "%Y/%m/%d %H:%M:%S" default: "%Y/%m/%d %H:%M:%S"
time: "%H:%M"
short: "%y/%m/%d %H:%M" short: "%y/%m/%d %H:%M"
long: "%Y년 %B월 %d일, %H시 %M분 %S초 %Z" long: "%Y년 %B월 %d일, %H시 %M분 %S초 %Z"
am: "오전" am: "오전"
......
...@@ -121,6 +121,7 @@ lt: ...@@ -121,6 +121,7 @@ lt:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -20,6 +20,7 @@ nl: ...@@ -20,6 +20,7 @@ nl:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -39,6 +39,7 @@ pl: ...@@ -39,6 +39,7 @@ pl:
time: time:
formats: formats:
default: "%a, %d %b %Y, %H:%M:%S %z" default: "%a, %d %b %Y, %H:%M:%S %z"
time: "%H:%M"
short: "%d %b, %H:%M" short: "%d %b, %H:%M"
long: "%d %B %Y, %H:%M" long: "%d %B %Y, %H:%M"
am: "przed południem" am: "przed południem"
......
...@@ -21,6 +21,7 @@ pt: ...@@ -21,6 +21,7 @@ pt:
time: time:
formats: formats:
default: "%A, %d de %B de %Y, %H:%Mh" default: "%A, %d de %B de %Y, %H:%Mh"
time: "%H:%M"
short: "%d/%m, %H:%M hs" short: "%d/%m, %H:%M hs"
long: "%A, %d de %B de %Y, %H:%Mh" long: "%A, %d de %B de %Y, %H:%Mh"
am: '' am: ''
......
...@@ -19,7 +19,7 @@ ro: ...@@ -19,7 +19,7 @@ ro:
time: time:
formats: formats:
default: "%a %d %b %Y, %H:%M:%S %z" default: "%a %d %b %Y, %H:%M:%S %z"
# time: "%H:%M" time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%d %B %Y %H:%M" long: "%d %B %Y %H:%M"
# only_second: "%S" # only_second: "%S"
......
...@@ -32,6 +32,7 @@ ru: ...@@ -32,6 +32,7 @@ ru:
time: time:
formats: formats:
default: "%a, %d %b %Y, %H:%M:%S %z" default: "%a, %d %b %Y, %H:%M:%S %z"
time: "%H:%M"
short: "%d %b, %H:%M" short: "%d %b, %H:%M"
long: "%d %B %Y, %H:%M" long: "%d %B %Y, %H:%M"
......
...@@ -20,6 +20,7 @@ sk: ...@@ -20,6 +20,7 @@ sk:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -20,6 +20,7 @@ sl: ...@@ -20,6 +20,7 @@ sl:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -139,6 +139,7 @@ sv: ...@@ -139,6 +139,7 @@ sv:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%d %B, %Y %H:%M" long: "%d %B, %Y %H:%M"
am: "" am: ""
......
...@@ -20,6 +20,7 @@ th: ...@@ -20,6 +20,7 @@ th:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -20,6 +20,7 @@ uk: ...@@ -20,6 +20,7 @@ uk:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
am: "am" am: "am"
......
...@@ -149,6 +149,7 @@ vi: ...@@ -149,6 +149,7 @@ vi:
time: time:
formats: formats:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
time: "%H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
long: "%d %B, %Y %H:%M" long: "%d %B, %Y %H:%M"
am: "sáng" am: "sáng"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
time: time:
formats: formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z" default: "%Y年%b%d日 %A %H:%M:%S %Z"
time: "%H:%M"
short: "%b%d日 %H:%M" short: "%b%d日 %H:%M"
long: "%Y年%b%d日 %H:%M" long: "%Y年%b%d日 %H:%M"
am: "上午" am: "上午"
......
...@@ -16,6 +16,7 @@ zh: ...@@ -16,6 +16,7 @@ zh:
time: time:
formats: formats:
default: "%Y年%b%d日 %A %H:%M:%S %Z" default: "%Y年%b%d日 %A %H:%M:%S %Z"
time: "%H:%M"
short: "%b%d日 %H:%M" short: "%b%d日 %H:%M"
long: "%Y年%b%d日 %H:%M" long: "%Y年%b%d日 %H:%M"
am: "上午" am: "上午"
......
...@@ -46,6 +46,8 @@ class Redmine::I18nTest < Test::Unit::TestCase ...@@ -46,6 +46,8 @@ class Redmine::I18nTest < Test::Unit::TestCase
format_date(Date.today) format_date(Date.today)
format_time(Time.now) format_time(Time.now)
format_time(Time.now, false) 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 end
assert l('date.day_names').is_a?(Array) assert l('date.day_names').is_a?(Array)
assert_equal 7, l('date.day_names').size 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