mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-15 12:25:20 +08:00
camelcase "HTML" in certain places
This commit is contained in:
+4
-1
@@ -6,6 +6,9 @@ $.fullCalendar.lang("fr", {
|
||||
day: "Jour",
|
||||
list: "Mon planning"
|
||||
},
|
||||
allDayHTML: "Toute la journée",// allDayHTML is discouraged but used here as a hack to get the breaking correct
|
||||
|
||||
// allDayHTML is discouraged but used here as a hack to get the breaking correct
|
||||
allDayHtml: "Toute la journée",
|
||||
|
||||
eventLimitText: "en plus"
|
||||
});
|
||||
|
||||
@@ -194,7 +194,7 @@ $.extend(AgendaView.prototype, {
|
||||
return '' +
|
||||
'<td class="' + this.widgetHeaderClass + ' fc-axis" ' + this.axisStyleAttr() + '>' +
|
||||
'<span>' + // needed for matchCellWidths
|
||||
(this.opt('allDayHTML') || htmlEscape(this.opt('allDayText'))) +
|
||||
(this.opt('allDayHtml') || htmlEscape(this.opt('allDayText'))) +
|
||||
'</span>' +
|
||||
'</td>';
|
||||
},
|
||||
|
||||
+3
-3
@@ -25,9 +25,9 @@ fc.datepickerLang = function(langCode, datepickerLangCode, options) {
|
||||
},
|
||||
defaultButtonText: {
|
||||
// the translations sometimes wrongly contain HTML entities
|
||||
prev: stripHTMLEntities(options.prevText),
|
||||
next: stripHTMLEntities(options.nextText),
|
||||
today: stripHTMLEntities(options.currentText)
|
||||
prev: stripHtmlEntities(options.prevText),
|
||||
next: stripHtmlEntities(options.nextText),
|
||||
today: stripHtmlEntities(options.currentText)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
+1
-1
@@ -304,7 +304,7 @@ function htmlEscape(s) {
|
||||
}
|
||||
|
||||
|
||||
function stripHTMLEntities(text) {
|
||||
function stripHtmlEntities(text) {
|
||||
return text.replace(/&.*?;/g, '');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user