/** * jqGrid Chinese Translation * å’–å•¡å…” yanhonglei@gmail.com * http://www.kafeitu.me * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ /*global jQuery, define */ (function( factory ) { "use strict"; if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery", "../grid.base" ], factory ); } else { // Browser globals factory( jQuery ); } }(function( $ ) { $.jgrid = $.jgrid || {}; if(!$.jgrid.hasOwnProperty("regional")) { $.jgrid.regional = []; } $.jgrid.regional["cn"] = { defaults : { recordtext: "{0} - {1}\u3000å…± {2} æ¡", // å…±å—剿˜¯å…¨è§’ç©ºæ ¼ emptyrecords: "æ— æ•°æ®æ˜¾ç¤º", loadtext: "读å–ä¸...", savetext: "Saving...", pgtext : " {0} å…± {1} 页", pgfirst : "First Page", pglast : "Last Page", pgnext : "Next Page", pgprev : "Previous Page", pgrecs : "Records per Page", showhide: "Toggle Expand Collapse Grid", // mobile pagerCaption : "Grid::Page Settings", pageText : "Page:", recordPage : "Records per Page", nomorerecs : "No more records...", scrollPullup: "Pull up to load more...", scrollPulldown : "Pull down to refresh...", scrollRefresh : "Release to refresh..." }, search : { caption: "æœç´¢...", Find: "查找", Reset: "é‡ç½®", odata: [{ oper:'eq', text:'ç‰äºŽ\u3000\u3000'},{ oper:'ne', text:'ä¸ç‰\u3000\u3000'},{ oper:'lt', text:'å°äºŽ\u3000\u3000'},{ oper:'le', text:'å°äºŽç‰äºŽ'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于ç‰äºŽ'},{ oper:'bw', text:'开始于'},{ oper:'bn', text:'ä¸å¼€å§‹äºŽ'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'ä¸å±žäºŽ'},{ oper:'ew', text:'结æŸäºŽ'},{ oper:'en', text:'ä¸ç»“æŸäºŽ'},{ oper:'cn', text:'包å«\u3000\u3000'},{ oper:'nc', text:'ä¸åŒ…å«'},{ oper:'nu', text:'ä¸å˜åœ¨'},{ oper:'nn', text:'å˜åœ¨'}], groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ], operandTitle : "Click to select search operation.", resetTitle : "Reset Search Value" }, edit : { addCaption: "æ·»åŠ è®°å½•", editCaption: "编辑记录", bSubmit: "æäº¤", bCancel: "å–æ¶ˆ", bClose: "å…³é—", saveData: "æ•°æ®å·²æ”¹å˜ï¼Œæ˜¯å¦ä¿å˜ï¼Ÿ", bYes : "是", bNo : "å¦", bExit : "å–æ¶ˆ", msg: { required:"æ¤å—段必需", number:"请输入有效数å—", minValue:"输值必须大于ç‰äºŽ ", maxValue:"输值必须å°äºŽç‰äºŽ ", email: "è¿™ä¸æ˜¯æœ‰æ•ˆçš„e-mail地å€", integer: "请输入有效整数", date: "请输入有效时间", url: "æ— æ•ˆç½‘å€ã€‚å‰ç¼€å¿…须为 ('http://' 或 'https://')", nodefined : " 未定义ï¼", novalue : " 需è¦è¿”回值ï¼", customarray : "自定义函数需è¦è¿”回数组ï¼", customfcheck : "必须有自定义函数!" } }, view : { caption: "查看记录", bClose: "å…³é—" }, del : { caption: "åˆ é™¤", msg: "åˆ é™¤æ‰€é€‰è®°å½•ï¼Ÿ", bSubmit: "åˆ é™¤", bCancel: "å–æ¶ˆ" }, nav : { edittext: "", edittitle: "编辑所选记录", addtext:"", addtitle: "æ·»åŠ æ–°è®°å½•", deltext: "", deltitle: "åˆ é™¤æ‰€é€‰è®°å½•", searchtext: "", searchtitle: "查找", refreshtext: "", refreshtitle: "åˆ·æ–°è¡¨æ ¼", alertcap: "注æ„", alerttext: "请选择记录", viewtext: "", viewtitle: "查看所选记录", savetext: "", savetitle: "Save row", canceltext: "", canceltitle : "Cancel row editing", selectcaption : "Actions..." }, col : { caption: "选择列", bSubmit: "确定", bCancel: "å–æ¶ˆ" }, errors : { errcap : "错误", nourl : "没有设置url", norecords: "没有è¦å¤„ç†çš„记录", model : "colNames å’Œ colModel 长度ä¸ç‰ï¼" }, formatter : { integer : {thousandsSeparator: ",", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "æ—¥", "一", "二", "三", "å››", "五", "å…", "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期å…", ], monthNames: [ "一", "二", "三", "å››", "五", "å…", "七", "å…«", "ä¹", "å", "å一", "å二", "一月", "二月", "三月", "四月", "五月", "å…æœˆ", "七月", "八月", "乿œˆ", "åæœˆ", "å一月", "å二月" ], AmPm : ["am","pm","上åˆ","下åˆ"], S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, srcformat: 'Y-m-d', newformat: 'Y-m-d', parseRe : /[#%\\\/:_;.,\t\s-]/, masks : { // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid // and see http://docs.jquery.com/UI/Datepicker/formatDate // and https://github.com/jquery/globalize#dates for alternative formats used frequently // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many // information about date, time, numbers and currency formats used in different countries // one should just convert the information in PHP format ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", // short date: // n - Numeric representation of a month, without leading zeros // j - Day of the month without leading zeros // Y - A full numeric representation of a year, 4 digits // example: 3/1/2012 which means 1 March 2012 ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy" // long date: // l - A full textual representation of the day of the week // F - A full textual representation of a month // d - Day of the month, 2 digits with leading zeros // Y - A full numeric representation of a year, 4 digits LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy" // long date with long time: // l - A full textual representation of the day of the week // F - A full textual representation of a month // d - Day of the month, 2 digits with leading zeros // Y - A full numeric representation of a year, 4 digits // g - 12-hour format of an hour without leading zeros // i - Minutes with leading zeros // s - Seconds, with leading zeros // A - Uppercase Ante meridiem and Post meridiem (AM or PM) FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt" // month day: // F - A full textual representation of a month // d - Day of the month, 2 digits with leading zeros MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd" // short time (without seconds) // g - 12-hour format of an hour without leading zeros // i - Minutes with leading zeros // A - Uppercase Ante meridiem and Post meridiem (AM or PM) ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt" // long time (with seconds) // g - 12-hour format of an hour without leading zeros // i - Minutes with leading zeros // s - Seconds, with leading zeros // A - Uppercase Ante meridiem and Post meridiem (AM or PM) LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt" SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", // month with year // Y - A full numeric representation of a year, 4 digits // F - A full textual representation of a month YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy" }, reformatAfterEdit : false, userLocalTime : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }; }));