mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-30 20:33:50 +01:00
acd0c69e23
- Ajout d'un LSformElement Date : -> includes/class/class.LSattr_ldap_date.php -> includes/class/class.LSattr_html_date.php -> includes/class/class.LSformElement_date.php -> includes/class/class.LSformRule_date.php -> includes/libs/jscalendar -> includes/js/LSformElement_date.js -> includes/js/LSformElement_date_field.js -> templates/images/calendar.png - LSformElement : Ajout d'une méthode exportValues() utilisée par LSform::exportValues() - LSform : -> Utlisation de LSformElement::exportValues() pour exporter les données du formulaire -> Méthode setValuesFromPostData() est désormais invoqué à chaque invocation de la méthode validate() - LSformElement_select_object : Ajout d'une méthode exportValues() pour coller au nouveau mode d'exportation des données de l'annuaire - LSldapObjet : Correction d'un bug potentiel (foreach sur une variable à false) dans la méthode updateData() - LSsession : -> Méthode addCssFile() & addJSscript() : ajout d'un paramètre pour la possibilité d'inclusion de fichier externe (hors des dossiers par défaut ex: les libs) -> Utilisation de la Constante LS_CSS_DIR au lieu d'une chemin en dure -> Paramètrage JS depuis Php : -> Méthode addJSconfigParam() : ajouter un paramètre de config. JS -> Méthode displayTemplate() adaptée pour -> top.tpl : adapté pour afficher une div contenant les paramètres JSONisés -> LSdefault.css : adapté pour ne pas afficher la div contenant les params. -> LSdefault.js : récupère les informations et Initialise une variable javascript LSjsConfig - LSconfirmBox : Correction d'un debug : "delete this;"
119 lines
3 KiB
JavaScript
119 lines
3 KiB
JavaScript
// ** I18N
|
|
|
|
// Calendar ZH language
|
|
// Author: muziq, <muziq@sina.com>
|
|
// Encoding: GB2312 or GBK
|
|
// Distributed under the same terms as the calendar itself.
|
|
|
|
// full day names
|
|
Calendar._DN = new Array
|
|
("星期日",
|
|
"星期一",
|
|
"星期二",
|
|
"星期三",
|
|
"星期四",
|
|
"星期五",
|
|
"星期六",
|
|
"星期日");
|
|
|
|
// Please note that the following array of short day names (and the same goes
|
|
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
|
// for exemplification on how one can customize the short day names, but if
|
|
// they are simply the first N letters of the full name you can simply say:
|
|
//
|
|
// Calendar._SDN_len = N; // short day name length
|
|
// Calendar._SMN_len = N; // short month name length
|
|
//
|
|
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
|
// present, to be compatible with translation files that were written before
|
|
// this feature.
|
|
|
|
// short day names
|
|
Calendar._SDN = new Array
|
|
("日",
|
|
"一",
|
|
"二",
|
|
"三",
|
|
"四",
|
|
"五",
|
|
"六",
|
|
"日");
|
|
|
|
// full month names
|
|
Calendar._MN = new Array
|
|
("一月",
|
|
"二月",
|
|
"三月",
|
|
"四月",
|
|
"五月",
|
|
"六月",
|
|
"七月",
|
|
"八月",
|
|
"九月",
|
|
"十月",
|
|
"十一月",
|
|
"十二月");
|
|
|
|
// short month names
|
|
Calendar._SMN = new Array
|
|
("一月",
|
|
"二月",
|
|
"三月",
|
|
"四月",
|
|
"五月",
|
|
"六月",
|
|
"七月",
|
|
"八月",
|
|
"九月",
|
|
"十月",
|
|
"十一月",
|
|
"十二月");
|
|
|
|
// tooltips
|
|
Calendar._TT = {};
|
|
Calendar._TT["INFO"] = "帮助";
|
|
|
|
Calendar._TT["ABOUT"] =
|
|
"DHTML Date/Time Selector\n" +
|
|
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
|
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
|
|
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
|
|
"\n\n" +
|
|
"选择日期:\n" +
|
|
"- 点击 \xab, \xbb 按钮选择年份\n" +
|
|
"- 点击 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 按钮选择月份\n" +
|
|
"- 长按以上按钮可从菜单中快速选择年份或月份";
|
|
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
|
"选择时间:\n" +
|
|
"- 点击小时或分钟可使改数值加一\n" +
|
|
"- 按住Shift键点击小时或分钟可使改数值减一\n" +
|
|
"- 点击拖动鼠标可进行快速选择";
|
|
|
|
Calendar._TT["PREV_YEAR"] = "上一年 (按住出菜单)";
|
|
Calendar._TT["PREV_MONTH"] = "上一月 (按住出菜单)";
|
|
Calendar._TT["GO_TODAY"] = "转到今日";
|
|
Calendar._TT["NEXT_MONTH"] = "下一月 (按住出菜单)";
|
|
Calendar._TT["NEXT_YEAR"] = "下一年 (按住出菜单)";
|
|
Calendar._TT["SEL_DATE"] = "选择日期";
|
|
Calendar._TT["DRAG_TO_MOVE"] = "拖动";
|
|
Calendar._TT["PART_TODAY"] = " (今日)";
|
|
|
|
// the following is to inform that "%s" is to be the first day of week
|
|
// %s will be replaced with the day name.
|
|
Calendar._TT["DAY_FIRST"] = "最左边显示%s";
|
|
|
|
// This may be locale-dependent. It specifies the week-end days, as an array
|
|
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
|
// means Monday, etc.
|
|
Calendar._TT["WEEKEND"] = "0,6";
|
|
|
|
Calendar._TT["CLOSE"] = "关闭";
|
|
Calendar._TT["TODAY"] = "今日";
|
|
Calendar._TT["TIME_PART"] = "(Shift-)点击鼠标或拖动改变值";
|
|
|
|
// date formats
|
|
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
|
Calendar._TT["TT_DATE_FORMAT"] = "%A, %b %e日";
|
|
|
|
Calendar._TT["WK"] = "周";
|
|
Calendar._TT["TIME"] = "时间:";
|