Merge pull request #1795 from ok-harry/master

internationalize Discourse.Formatter.tinyDateYear
This commit is contained in:
Sam 2014-01-12 14:34:10 -08:00
commit e20f5f89e6
15 changed files with 16 additions and 2 deletions

View File

@ -100,7 +100,7 @@ Discourse.Formatter = (function(){
};
tinyDateYear = function(date) {
return moment(date).format("D MMM 'YY");
return moment(date).format(I18n.t("dates.tiny.date_year"));
};
// http://stackoverflow.com/questions/196972/convert-string-to-title-case-with-javascript

View File

@ -59,6 +59,7 @@ cs:
one: "1r"
few: "%{count}r"
other: "%{count}let"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 minuta"

View File

@ -49,6 +49,7 @@ de:
almost_x_years:
one: "1J"
other: "%{count}J"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 Minute"

View File

@ -49,6 +49,7 @@ en:
almost_x_years:
one: "1y"
other: "%{count}y"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 min"

View File

@ -51,6 +51,7 @@ es:
almost_x_years:
one: "1a"
other: "%{count}a"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 minuto"

View File

@ -53,6 +53,7 @@ fr:
almost_x_years:
one: "1y"
other: "%{count}a"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 min"

View File

@ -49,6 +49,7 @@ it:
almost_x_years:
one: "1a"
other: "%{count}a"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 minuto"

View File

@ -49,6 +49,7 @@ ja:
almost_x_years:
one: "1y"
other: "%{count}y"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1分"

View File

@ -49,6 +49,7 @@ ko:
almost_x_years:
one: "거의 1년"
other: "거의 %{count}년"
date_year: "'YY M/D"
medium:
x_minutes:
one: "1분"

View File

@ -53,6 +53,7 @@ nl:
almost_x_years:
one: 1j
other: "%{count}j"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: 1 min

View File

@ -49,6 +49,7 @@ pt_BR:
almost_x_years:
one: "1y"
other: "%{count}y"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 minuto"

View File

@ -72,6 +72,7 @@ ru:
other: '%{count}лет'
few: '%{count}лет'
many: '%{count}лет'
date_year: "D MMM 'YY"
medium:
x_minutes:
one: '1 минута'

View File

@ -49,6 +49,7 @@ sv:
almost_x_years:
one: "1y"
other: "%{count}y"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 min"
@ -1456,4 +1457,4 @@ sv:
uncategorized: 'Okategoriserat'
lightbox:
download: "ladda ned"
download: "ladda ned"

View File

@ -49,6 +49,7 @@ zh_CN:
almost_x_years:
one: "1年"
other: "%{count}年"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1分钟"

View File

@ -49,6 +49,7 @@ zh_TW:
almost_x_years:
one: "1年"
other: "%{count}年"
date_year: "D MMM 'YY"
medium:
x_minutes:
one: "1 分鐘"