summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Wu <wu.victor@gmail.com>2019-04-26 08:17:21 +0000
committerPhil Hughes <me@iamphill.com>2019-04-26 08:17:21 +0000
commit532040f4f16c247a9cae1ee30e962e3ee3c9ecb6 (patch)
tree9b791ec85ad953d3998fc2c0829fecbf3b79d288
parent5f8383fd89f2bc463847592021ac41a3f41c9032 (diff)
downloadgitlab-ce-532040f4f16c247a9cae1ee30e962e3ee3c9ecb6.tar.gz
Externalize strings in activity calendar
-rw-r--r--app/assets/javascripts/pages/users/activity_calendar.js24
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;