fix attendance calendar locale

This commit is contained in:
xiaomlove
2022-04-15 17:16:24 +08:00
parent 6dc5086aeb
commit bacfdd0df1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ $lang_attendance = array
(
'title' => "Attendance",
'success' => "Success",
'attend_info' => "You have already attended <b>%u</b> days. C <b>%u</b> daythis time you will get <b>%u</b> bonus.",
'attend_info' => "You have already attended <b>%u</b> days, Continuous <b>%u</b> days, this time you will get <b>%u</b> bonus.",
'initial' => "First attendance get %u bonus.",
'steps' => "Every continuous attendance get %u bonusunless reach maximum %u",
'continuous' => "Attend %u day continuous will get %u bouns additional.",
+1 -1
View File
@@ -80,7 +80,7 @@ document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
locale: 'zh-cn',
locale: '$localeJs',
events: events,
validRange: validRange,
eventClick: function(info) {