/** * 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' } }; }));