Lines Matching refs:locale

6634 			var locale = gantt.locale;
6636 var s = locale.date.month_short;
6637 var t = locale.date.month_short_hash = {};
6641 var s = locale.date.month_full;
6642 var t = locale.date.month_full_hash = {};
6786 return "\"+locale.date.day_short[date.getDay()]+\"";
6788 return "\"+locale.date.day_full[date.getDay()]+\"";
6790 return "\"+locale.date.month_short[date.getMonth()]+\"";
6792 return "\"+locale.date.month_full[date.getMonth()]+\"";
6818 var dateToStr = new Function("date", "to_fixed", "locale", "getISOWeek", "getWeek", "return \"" + format + "\";");
6821 return dateToStr(date, dateHelper.to_fixed, gantt.locale, dateHelper.getISOWeek, dateHelper.getWeek);
6860 splt += "set[1]=locale.date.month_short_hash[temp[" + i + "]]||0;";
6863 splt += "set[1]=locale.date.month_full_hash[temp[" + i + "]]||0;";
6871 var strToDate = new Function("date", "locale", "var set=[0,0,1,0,0,0]; " + splt + " return new Date(" + code + ");");
6874 return strToDate(dateString, gantt.locale);
7432 "locale": "locale"
7446 locale: function(){
7447 return this.getService("locale");
7537 var labels = gantt.locale.labels;
7642 var labels = gantt.locale.labels;
7797 item.text = gantt.locale.labels.new_task;
11901 gantt.$services.setService("locale", function () {
11902 return gantt.locale;
12010 __webpack_require__(/*! ../locale */ "./sources/locale/index.js")(gantt);
12181 var question = gantt.locale.labels.confirm_deleting;
12182 var title = gantt.locale.labels.confirm_deleting_title;
12631 options.push({ key: gantt.config.constraint_types[i], label: gantt.locale.labels[gantt.config.constraint_types[i]] });
12638 var timeLabel = gantt.locale.labels["constraint_date"] || "Constraint date";
12718 var label = " "+ gantt.locale.labels[gantt.config.duration_unit + "s"] +" ";
13450 button = "<div class='gantt_custom_button' data-index='" + i + "'><div class='gantt_custom_button_" + sns[i].button + "'></div><div class='gantt_custom_button_label'>" + this.locale.labels["button_" + sns[i].button] + "</div></div>";
13455 html += "<div id='" + sns[i].id + "' class='gantt_cal_lsection'><label>" + button + this.locale.labels["section_" + sns[i].name] + "</label></div>" + block.render.call(this, sns[i]);
14052 html += "<div " + ariaAttr + " class='gantt_btn_set gantt_left_btn_set " + button + "_set'" + (floatRight ? " style='float:right;'" : "") + "><div dhx_button='1' data-dhx-button='1' class='" + button + "'></div><div>" + gantt.locale.labels[button] + "</div></div>";
14114 html += "<option value='" + i + "'>" + gantt.locale.date.month_full[i] + "</option>";
14195 labels = gantt.locale.labels;
14781 inner += button(getFirstDefined(config.ok, gantt.locale.labels.message_ok, "OK"), "ok", true);
14783 inner += button(getFirstDefined(config.cancel, gantt.locale.labels.message_cancel, "Cancel"), "cancel", false);
15709 text: gantt.locale.labels.new_task
19286 var locale = this.$gantt.locale;
19295 labels = locale.labels;
25083 var question = this.locale.labels.link + " " + this.templates.link_description(this.getLink(id)) + " " + this.locale.labels.confirm_link_deleting;
27168 var content = gantt.locale.labels.link + " " + gantt.templates.drag_link(link.source, fromStart, link.target, toStart);
27195 return this.getAttributeString({"role":"button", "aria-label":gantt.locale.labels[buttonName], "tabindex":"0"});
27207 label = gantt.locale.labels.years;
27210 label = gantt.locale.labels.months;
27213 label = gantt.locale.labels.days;
27216 label = gantt.locale.labels.hours + gantt.locale.labels.minutes;
27226 return this.getAttributeString({"aria-label": gantt.locale.labels.column_duration, "aria-valuemin": "0"});
27241 attrs = this.getAttributeString({"role":"button", "aria-label": gantt.locale.labels.new_task});
27276 return this.getAttributeString({"role":"button", "aria-label": gantt.locale.labels.new_task});
28990 /***/ "./sources/locale/index.js":
28992 !*** ./sources/locale/index.js ***!
28997 // default locale
28998 // load locale definition and wrap it into module build-time
29000 gantt.locale = {