diff options
author | Victor Wu <wu.victor@gmail.com> | 2019-04-26 08:17:21 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-04-26 08:17:21 +0000 |
commit | 532040f4f16c247a9cae1ee30e962e3ee3c9ecb6 (patch) | |
tree | 9b791ec85ad953d3998fc2c0829fecbf3b79d288 /app | |
parent | 5f8383fd89f2bc463847592021ac41a3f41c9032 (diff) | |
download | gitlab-ce-532040f4f16c247a9cae1ee30e962e3ee3c9ecb6.tar.gz |
Externalize strings in activity calendar
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/pages/users/activity_calendar.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/assets/javascripts/pages/users/activity_calendar.js b/app/assets/javascripts/pages/users/activity_calendar.js index 61204c37307..4a20753e7ae 100644 --- a/app/assets/javascripts/pages/users/activity_calendar.js +++ b/app/assets/javascripts/pages/users/activity_calendar.js @@ -65,18 +65,18 @@ export default class ActivityCalendar { this.daySize = 15; this.daySizeWithSpace = this.daySize + this.daySpace * 2; this.monthNames = [ - 'Jan', - 'Feb', - 'Mar', - 'Apr', - 'May', - 'Jun', - 'Jul', - 'Aug', - 'Sep', - 'Oct', - 'Nov', - 'Dec', + __('Jan'), + __('Feb'), + __('Mar'), + __('Apr'), + __('May'), + __('Jun'), + __('Jul'), + __('Aug'), + __('Sep'), + __('Oct'), + __('Nov'), + __('Dec'), ]; this.months = []; this.firstDayOfWeek = firstDayOfWeek; |