mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
internationalize Discourse.Formatter.tinyDateYear
This commit is contained in:
parent
4d0ceb7551
commit
7713dfb8b0
12 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -59,6 +59,7 @@ cs:
|
|||
one: "1r"
|
||||
few: "%{count}r"
|
||||
other: "%{count}let"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 minuta"
|
||||
|
|
|
@ -49,6 +49,7 @@ de:
|
|||
almost_x_years:
|
||||
one: "1J"
|
||||
other: "%{count}J"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 Minute"
|
||||
|
|
|
@ -49,6 +49,7 @@ en:
|
|||
almost_x_years:
|
||||
one: "1y"
|
||||
other: "%{count}y"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 min"
|
||||
|
|
|
@ -51,6 +51,7 @@ es:
|
|||
almost_x_years:
|
||||
one: "1a"
|
||||
other: "%{count}a"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 minuto"
|
||||
|
|
|
@ -53,6 +53,7 @@ fr:
|
|||
almost_x_years:
|
||||
one: "1y"
|
||||
other: "%{count}a"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 min"
|
||||
|
|
|
@ -49,6 +49,7 @@ it:
|
|||
almost_x_years:
|
||||
one: "1a"
|
||||
other: "%{count}a"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1 minuto"
|
||||
|
|
|
@ -49,6 +49,7 @@ ja:
|
|||
almost_x_years:
|
||||
one: "1y"
|
||||
other: "%{count}y"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1分"
|
||||
|
|
|
@ -49,6 +49,7 @@ ko:
|
|||
almost_x_years:
|
||||
one: "거의 1년"
|
||||
other: "거의 %{count}년"
|
||||
date_year: "'YY M/D"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: "1분"
|
||||
|
|
|
@ -53,6 +53,7 @@ nl:
|
|||
almost_x_years:
|
||||
one: 1j
|
||||
other: "%{count}j"
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: 1 min
|
||||
|
|
|
@ -72,6 +72,7 @@ ru:
|
|||
other: '%{count}лет'
|
||||
few: '%{count}лет'
|
||||
many: '%{count}лет'
|
||||
date_year: "D MMM 'YY"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: '1 минута'
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue