diff --git a/chrome/locale/en-US/zotero/timeline.properties b/chrome/locale/en-US/zotero/timeline.properties index 2e41c88e7..7f27cd8db 100644 --- a/chrome/locale/en-US/zotero/timeline.properties +++ b/chrome/locale/en-US/zotero/timeline.properties @@ -18,18 +18,4 @@ interval.century = Century interval.millennium = Millennium dateType.published = Date Published -dateType.added = Date Added -dateType.modified = Date Modified - -shortName.january = Jan -shortName.february = Feb -shortName.march = Mar -shortName.april = Apr -shortName.may = May -shortName.june = Jun -shortName.july = Jul -shortName.august = Aug -shortName.september = Sep -shortName.october = Oct -shortName.november = Nov -shortName.december = Dec \ No newline at end of file +dateType.modified = Date Modified \ No newline at end of file diff --git a/chrome/skin/default/zotero/timeline/bundle.js b/chrome/skin/default/zotero/timeline/bundle.js index b665bed8c..48a6da1ad 100644 --- a/chrome/skin/default/zotero/timeline/bundle.js +++ b/chrome/skin/default/zotero/timeline/bundle.js @@ -232,9 +232,11 @@ Timeline.GregorianDateLabeller=function(locale,timeZone){this._locale=locale;thi /* Modified by Ben for Zotero */ -Timeline.GregorianDateLabeller.monthNames = [localeHash["shortName.january"], localeHash["shortName.february"], localeHash["shortName.march"], localeHash["shortName.april"], localeHash["shortName.may"], - localeHash["shortName.june"], localeHash["shortName.july"], localeHash["shortName.august"], localeHash["shortName.september"], localeHash["shortName.october"], localeHash["shortName.november"], localeHash["shortName.december"]]; -Timeline.GregorianDateLabeller.getMonthName=function(month,locale){return Timeline.GregorianDateLabeller.monthNames[month];}; + +Timeline.GregorianDateLabeller.monthNames = Zotero.CSL.Global.getMonthStrings("short"); +Timeline.GregorianDateLabeller.getMonthName=function(month,locale) { + return Timeline.GregorianDateLabeller.monthNames[month]; +}; diff --git a/chrome/skin/default/zotero/timeline/timeline.html b/chrome/skin/default/zotero/timeline/timeline.html index 2fc0458bf..7fe58c9f3 100644 --- a/chrome/skin/default/zotero/timeline/timeline.html +++ b/chrome/skin/default/zotero/timeline/timeline.html @@ -15,6 +15,7 @@ } +