Commit fc28454f4ea9dece47c06d2093dba4104dc1aa19
1 parent
78004ee2
KTS-3831
"Upgrade ExtJS to 2.2" Adding Build Folder Committed By: Tohir Solomons Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9758 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
203 changed files
with
11966 additions
and
0 deletions
Too many changes.
To preserve performance only 100 of 203 files are displayed.
thirdpartyjs/extjs/build/adapter/ext-base-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +(function(){var B;Ext.lib.Dom={getViewWidth:function(E){return E?this.getDocumentWidth():this.getViewportWidth()},getViewHeight:function(E){return E?this.getDocumentHeight():this.getViewportHeight()},getDocumentHeight:function(){var E=(document.compatMode!="CSS1Compat")?document.body.scrollHeight:document.documentElement.scrollHeight;return Math.max(E,this.getViewportHeight())},getDocumentWidth:function(){var E=(document.compatMode!="CSS1Compat")?document.body.scrollWidth:document.documentElement.scrollWidth;return Math.max(E,this.getViewportWidth())},getViewportHeight:function(){if(Ext.isIE){return Ext.isStrict?document.documentElement.clientHeight:document.body.clientHeight}else{return self.innerHeight}},getViewportWidth:function(){if(Ext.isIE){return Ext.isStrict?document.documentElement.clientWidth:document.body.clientWidth}else{return self.innerWidth}},isAncestor:function(F,G){F=Ext.getDom(F);G=Ext.getDom(G);if(!F||!G){return false}if(F.contains&&!Ext.isSafari){return F.contains(G)}else{if(F.compareDocumentPosition){return !!(F.compareDocumentPosition(G)&16)}else{var E=G.parentNode;while(E){if(E==F){return true}else{if(!E.tagName||E.tagName.toUpperCase()=="HTML"){return false}}E=E.parentNode}return false}}},getRegion:function(E){return Ext.lib.Region.getRegion(E)},getY:function(E){return this.getXY(E)[1]},getX:function(E){return this.getXY(E)[0]},getXY:function(G){var F,K,M,N,J=(document.body||document.documentElement);G=Ext.getDom(G);if(G==J){return[0,0]}if(G.getBoundingClientRect){M=G.getBoundingClientRect();N=C(document).getScroll();return[M.left+N.left,M.top+N.top]}var O=0,L=0;F=G;var E=C(G).getStyle("position")=="absolute";while(F){O+=F.offsetLeft;L+=F.offsetTop;if(!E&&C(F).getStyle("position")=="absolute"){E=true}if(Ext.isGecko){K=C(F);var P=parseInt(K.getStyle("borderTopWidth"),10)||0;var H=parseInt(K.getStyle("borderLeftWidth"),10)||0;O+=H;L+=P;if(F!=G&&K.getStyle("overflow")!="visible"){O+=H;L+=P}}F=F.offsetParent}if(Ext.isSafari&&E){O-=J.offsetLeft;L-=J.offsetTop}if(Ext.isGecko&&!E){var I=C(J);O+=parseInt(I.getStyle("borderLeftWidth"),10)||0;L+=parseInt(I.getStyle("borderTopWidth"),10)||0}F=G.parentNode;while(F&&F!=J){if(!Ext.isOpera||(F.tagName!="TR"&&C(F).getStyle("display")!="inline")){O-=F.scrollLeft;L-=F.scrollTop}F=F.parentNode}return[O,L]},setXY:function(E,F){E=Ext.fly(E,"_setXY");E.position();var G=E.translatePoints(F);if(F[0]!==false){E.dom.style.left=G.left+"px"}if(F[1]!==false){E.dom.style.top=G.top+"px"}},setX:function(F,E){this.setXY(F,[E,false])},setY:function(E,F){this.setXY(E,[false,F])}};Ext.lib.Event=function(){var F=false;var G=[];var K=[];var I=0;var H=[];var E=0;var J=null;return{POLL_RETRYS:200,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,OBJ:3,ADJ_SCOPE:4,_interval:null,startInterval:function(){if(!this._interval){var L=this;var M=function(){L._tryPreloadAttach()};this._interval=setInterval(M,this.POLL_INTERVAL)}},onAvailable:function(N,L,O,M){H.push({id:N,fn:L,obj:O,override:M,checkReady:false});I=this.POLL_RETRYS;this.startInterval()},addListener:function(Q,M,P){Q=Ext.getDom(Q);if(!Q||!P){return false}if("unload"==M){K[K.length]=[Q,M,P];return true}var O=function(R){return typeof Ext!="undefined"?P(Ext.lib.Event.getEvent(R)):false};var L=[Q,M,P,O];var N=G.length;G[N]=L;this.doAdd(Q,M,O,false);return true},removeListener:function(S,O,R){var Q,N;S=Ext.getDom(S);if(!R){return this.purgeElement(S,false,O)}if("unload"==O){for(Q=0,N=K.length;Q<N;Q++){var M=K[Q];if(M&&M[0]==S&&M[1]==O&&M[2]==R){K.splice(Q,1);return true}}return false}var L=null;var P=arguments[3];if("undefined"==typeof P){P=this._getCacheIndex(S,O,R)}if(P>=0){L=G[P]}if(!S||!L){return false}this.doRemove(S,O,L[this.WFN],false);delete G[P][this.WFN];delete G[P][this.FN];G.splice(P,1);return true},getTarget:function(N,M){N=N.browserEvent||N;var L=N.target||N.srcElement;return this.resolveTextNode(L)},resolveTextNode:function(L){if(Ext.isSafari&&L&&3==L.nodeType){return L.parentNode}else{return L}},getPageX:function(M){M=M.browserEvent||M;var L=M.pageX;if(!L&&0!==L){L=M.clientX||0;if(Ext.isIE){L+=this.getScroll()[1]}}return L},getPageY:function(L){L=L.browserEvent||L;var M=L.pageY;if(!M&&0!==M){M=L.clientY||0;if(Ext.isIE){M+=this.getScroll()[0]}}return M},getXY:function(L){L=L.browserEvent||L;return[this.getPageX(L),this.getPageY(L)]},getRelatedTarget:function(M){M=M.browserEvent||M;var L=M.relatedTarget;if(!L){if(M.type=="mouseout"){L=M.toElement}else{if(M.type=="mouseover"){L=M.fromElement}}}return this.resolveTextNode(L)},getTime:function(N){N=N.browserEvent||N;if(!N.time){var M=new Date().getTime();try{N.time=M}catch(L){this.lastError=L;return M}}return N.time},stopEvent:function(L){this.stopPropagation(L);this.preventDefault(L)},stopPropagation:function(L){L=L.browserEvent||L;if(L.stopPropagation){L.stopPropagation()}else{L.cancelBubble=true}},preventDefault:function(L){L=L.browserEvent||L;if(L.preventDefault){L.preventDefault()}else{L.returnValue=false}},getEvent:function(M){var L=M||window.event;if(!L){var N=this.getEvent.caller;while(N){L=N.arguments[0];if(L&&Event==L.constructor){break}N=N.caller}}return L},getCharCode:function(L){L=L.browserEvent||L;return L.charCode||L.keyCode||0},_getCacheIndex:function(Q,N,P){for(var O=0,M=G.length;O<M;++O){var L=G[O];if(L&&L[this.FN]==P&&L[this.EL]==Q&&L[this.TYPE]==N){return O}}return -1},elCache:{},getEl:function(L){return document.getElementById(L)},clearCache:function(){},_load:function(M){F=true;var L=Ext.lib.Event;if(Ext.isIE){L.doRemove(window,"load",L._load)}},_tryPreloadAttach:function(){if(this.locked){return false}this.locked=true;var R=!F;if(!R){R=(I>0)}var Q=[];for(var M=0,L=H.length;M<L;++M){var P=H[M];if(P){var O=this.getEl(P.id);if(O){if(!P.checkReady||F||O.nextSibling||(document&&document.body)){var N=O;if(P.override){if(P.override===true){N=P.obj}else{N=P.override}}P.fn.call(N,P.obj);H[M]=null}}else{Q.push(P)}}}I=(Q.length===0)?0:I-1;if(R){this.startInterval()}else{clearInterval(this._interval);this._interval=null}this.locked=false;return true},purgeElement:function(P,Q,N){var R=this.getListeners(P,N);if(R){for(var O=0,L=R.length;O<L;++O){var M=R[O];this.removeListener(P,M.type,M.fn)}}if(Q&&P&&P.childNodes){for(O=0,L=P.childNodes.length;O<L;++O){this.purgeElement(P.childNodes[O],Q,N)}}},getListeners:function(M,R){var P=[],L;if(!R){L=[G,K]}else{if(R=="unload"){L=[K]}else{L=[G]}}for(var O=0;O<L.length;++O){var T=L[O];if(T&&T.length>0){for(var Q=0,S=T.length;Q<S;++Q){var N=T[Q];if(N&&N[this.EL]===M&&(!R||R===N[this.TYPE])){P.push({type:N[this.TYPE],fn:N[this.FN],obj:N[this.OBJ],adjust:N[this.ADJ_SCOPE],index:Q})}}}}return(P.length)?P:null},_unload:function(S){var R=Ext.lib.Event,P,O,M,L,N;for(P=0,L=K.length;P<L;++P){M=K[P];if(M){var Q=window;if(M[R.ADJ_SCOPE]){if(M[R.ADJ_SCOPE]===true){Q=M[R.OBJ]}else{Q=M[R.ADJ_SCOPE]}}M[R.FN].call(Q,R.getEvent(S),M[R.OBJ]);K[P]=null;M=null;Q=null}}K=null;if(G&&G.length>0){O=G.length;while(O){N=O-1;M=G[N];if(M){R.removeListener(M[R.EL],M[R.TYPE],M[R.FN],N)}O=O-1}M=null;R.clearCache()}R.doRemove(window,"unload",R._unload)},getScroll:function(){var L=document.documentElement,M=document.body;if(L&&(L.scrollTop||L.scrollLeft)){return[L.scrollTop,L.scrollLeft]}else{if(M){return[M.scrollTop,M.scrollLeft]}else{return[0,0]}}},doAdd:function(){if(window.addEventListener){return function(O,M,N,L){O.addEventListener(M,N,(L))}}else{if(window.attachEvent){return function(O,M,N,L){O.attachEvent("on"+M,N)}}else{return function(){}}}}(),doRemove:function(){if(window.removeEventListener){return function(O,M,N,L){O.removeEventListener(M,N,(L))}}else{if(window.detachEvent){return function(N,L,M){N.detachEvent("on"+L,M)}}else{return function(){}}}}()}}();var D=Ext.lib.Event;D.on=D.addListener;D.un=D.removeListener;if(document&&document.body){D._load()}else{D.doAdd(window,"load",D._load)}D.doAdd(window,"unload",D._unload);D._tryPreloadAttach();Ext.lib.Ajax={request:function(K,I,E,J,F){if(F){var G=F.headers;if(G){for(var H in G){if(G.hasOwnProperty(H)){this.initHeader(H,G[H],false)}}}if(F.xmlData){if(!G||!G["Content-Type"]){this.initHeader("Content-Type","text/xml",false)}K=(K?K:(F.method?F.method:"POST"));J=F.xmlData}else{if(F.jsonData){if(!G||!G["Content-Type"]){this.initHeader("Content-Type","application/json",false)}K=(K?K:(F.method?F.method:"POST"));J=typeof F.jsonData=="object"?Ext.encode(F.jsonData):F.jsonData}}}return this.asyncRequest(K,I,E,J)},serializeForm:function(F){if(typeof F=="string"){F=(document.getElementById(F)||document.forms[F])}var G,E,H,J,K="",M=false;for(var L=0;L<F.elements.length;L++){G=F.elements[L];J=F.elements[L].disabled;E=F.elements[L].name;H=F.elements[L].value;if(!J&&E){switch(G.type){case"select-one":case"select-multiple":for(var I=0;I<G.options.length;I++){if(G.options[I].selected){if(Ext.isIE){K+=encodeURIComponent(E)+"="+encodeURIComponent(G.options[I].attributes["value"].specified?G.options[I].value:G.options[I].text)+"&"}else{K+=encodeURIComponent(E)+"="+encodeURIComponent(G.options[I].hasAttribute("value")?G.options[I].value:G.options[I].text)+"&"}}}break;case"radio":case"checkbox":if(G.checked){K+=encodeURIComponent(E)+"="+encodeURIComponent(H)+"&"}break;case"file":case undefined:case"reset":case"button":break;case"submit":if(M==false){K+=encodeURIComponent(E)+"="+encodeURIComponent(H)+"&";M=true}break;default:K+=encodeURIComponent(E)+"="+encodeURIComponent(H)+"&";break}}}K=K.substr(0,K.length-1);return K},headers:{},hasHeaders:false,useDefaultHeader:true,defaultPostHeader:"application/x-www-form-urlencoded; charset=UTF-8",useDefaultXhrHeader:true,defaultXhrHeader:"XMLHttpRequest",hasDefaultHeaders:true,defaultHeaders:{},poll:{},timeout:{},pollInterval:50,transactionId:0,setProgId:function(E){this.activeX.unshift(E)},setDefaultPostHeader:function(E){this.useDefaultHeader=E},setDefaultXhrHeader:function(E){this.useDefaultXhrHeader=E},setPollingInterval:function(E){if(typeof E=="number"&&isFinite(E)){this.pollInterval=E}},createXhrObject:function(I){var H,E;try{E=new XMLHttpRequest();H={conn:E,tId:I}}catch(G){for(var F=0;F<this.activeX.length;++F){try{E=new ActiveXObject(this.activeX[F]);H={conn:E,tId:I};break}catch(G){}}}finally{return H}},getConnectionObject:function(){var F;var G=this.transactionId;try{F=this.createXhrObject(G);if(F){this.transactionId++}}catch(E){}finally{return F}},asyncRequest:function(I,F,H,E){var G=this.getConnectionObject();if(!G){return null}else{G.conn.open(I,F,true);if(this.useDefaultXhrHeader){if(!this.defaultHeaders["X-Requested-With"]){this.initHeader("X-Requested-With",this.defaultXhrHeader,true)}}if(E&&this.useDefaultHeader&&(!this.hasHeaders||!this.headers["Content-Type"])){this.initHeader("Content-Type",this.defaultPostHeader)}if(this.hasDefaultHeaders||this.hasHeaders){this.setHeader(G)}this.handleReadyState(G,H);G.conn.send(E||null);return G}},handleReadyState:function(F,G){var E=this;if(G&&G.timeout){this.timeout[F.tId]=window.setTimeout(function(){E.abort(F,G,true)},G.timeout)}this.poll[F.tId]=window.setInterval(function(){if(F.conn&&F.conn.readyState==4){window.clearInterval(E.poll[F.tId]);delete E.poll[F.tId];if(G&&G.timeout){window.clearTimeout(E.timeout[F.tId]);delete E.timeout[F.tId]}E.handleTransactionResponse(F,G)}},this.pollInterval)},handleTransactionResponse:function(I,J,E){if(!J){this.releaseObject(I);return }var G,F;try{if(I.conn.status!==undefined&&I.conn.status!=0){G=I.conn.status}else{G=13030}}catch(H){G=13030}if(G>=200&&G<300){F=this.createResponseObject(I,J.argument);if(J.success){if(!J.scope){J.success(F)}else{J.success.apply(J.scope,[F])}}}else{switch(G){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:F=this.createExceptionObject(I.tId,J.argument,(E?E:false));if(J.failure){if(!J.scope){J.failure(F)}else{J.failure.apply(J.scope,[F])}}break;default:F=this.createResponseObject(I,J.argument);if(J.failure){if(!J.scope){J.failure(F)}else{J.failure.apply(J.scope,[F])}}}}this.releaseObject(I);F=null},createResponseObject:function(E,K){var H={};var M={};try{var G=E.conn.getAllResponseHeaders();var J=G.split("\n");for(var I=0;I<J.length;I++){var F=J[I].indexOf(":");if(F!=-1){M[J[I].substring(0,F)]=J[I].substring(F+2)}}}catch(L){}H.tId=E.tId;H.status=E.conn.status;H.statusText=E.conn.statusText;H.getResponseHeader=M;H.getAllResponseHeaders=G;H.responseText=E.conn.responseText;H.responseXML=E.conn.responseXML;if(typeof K!==undefined){H.argument=K}return H},createExceptionObject:function(L,H,E){var J=0;var K="communication failure";var G=-1;var F="transaction aborted";var I={};I.tId=L;if(E){I.status=G;I.statusText=F}else{I.status=J;I.statusText=K}if(H){I.argument=H}return I},initHeader:function(E,H,G){var F=(G)?this.defaultHeaders:this.headers;if(F[E]===undefined){F[E]=H}else{F[E]=H+","+F[E]}if(G){this.hasDefaultHeaders=true}else{this.hasHeaders=true}},setHeader:function(E){if(this.hasDefaultHeaders){for(var F in this.defaultHeaders){if(this.defaultHeaders.hasOwnProperty(F)){E.conn.setRequestHeader(F,this.defaultHeaders[F])}}}if(this.hasHeaders){for(var F in this.headers){if(this.headers.hasOwnProperty(F)){E.conn.setRequestHeader(F,this.headers[F])}}this.headers={};this.hasHeaders=false}},resetDefaultHeaders:function(){delete this.defaultHeaders;this.defaultHeaders={};this.hasDefaultHeaders=false},abort:function(F,G,E){if(this.isCallInProgress(F)){F.conn.abort();window.clearInterval(this.poll[F.tId]);delete this.poll[F.tId];if(E){delete this.timeout[F.tId]}this.handleTransactionResponse(F,G,true);return true}else{return false}},isCallInProgress:function(E){if(E.conn){return E.conn.readyState!=4&&E.conn.readyState!=0}else{return false}},releaseObject:function(E){E.conn=null;E=null},activeX:["MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"]};Ext.lib.Region=function(G,H,E,F){this.top=G;this[1]=G;this.right=H;this.bottom=E;this.left=F;this[0]=F};Ext.lib.Region.prototype={contains:function(E){return(E.left>=this.left&&E.right<=this.right&&E.top>=this.top&&E.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(I){var G=Math.max(this.top,I.top);var H=Math.min(this.right,I.right);var E=Math.min(this.bottom,I.bottom);var F=Math.max(this.left,I.left);if(E>=G&&H>=F){return new Ext.lib.Region(G,H,E,F)}else{return null}},union:function(I){var G=Math.min(this.top,I.top);var H=Math.max(this.right,I.right);var E=Math.max(this.bottom,I.bottom);var F=Math.min(this.left,I.left);return new Ext.lib.Region(G,H,E,F)},constrainTo:function(E){this.top=this.top.constrain(E.top,E.bottom);this.bottom=this.bottom.constrain(E.top,E.bottom);this.left=this.left.constrain(E.left,E.right);this.right=this.right.constrain(E.left,E.right);return this},adjust:function(G,F,E,H){this.top+=G;this.left+=F;this.right+=H;this.bottom+=E;return this}};Ext.lib.Region.getRegion=function(H){var J=Ext.lib.Dom.getXY(H);var G=J[1];var I=J[0]+H.offsetWidth;var E=J[1]+H.offsetHeight;var F=J[0];return new Ext.lib.Region(G,I,E,F)};Ext.lib.Point=function(E,F){if(Ext.isArray(E)){F=E[1];E=E[0]}this.x=this.right=this.left=this[0]=E;this.y=this.top=this.bottom=this[1]=F};Ext.lib.Point.prototype=new Ext.lib.Region();Ext.lib.Anim={scroll:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.Scroll)},motion:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.Motion)},color:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.ColorAnim)},run:function(I,F,K,L,E,H,G){G=G||Ext.lib.AnimBase;if(typeof L=="string"){L=Ext.lib.Easing[L]}var J=new G(I,F,K,L);J.animateX(function(){Ext.callback(E,H)});return J}};function C(E){if(!B){B=new Ext.Element.Flyweight()}B.dom=E;return B}if(Ext.isIE){function A(){var E=Function.prototype;delete E.createSequence;delete E.defer;delete E.createDelegate;delete E.createCallback;delete E.createInterceptor;window.detachEvent("onunload",A)}window.attachEvent("onunload",A)}Ext.lib.AnimBase=function(F,E,G,H){if(F){this.init(F,E,G,H)}};Ext.lib.AnimBase.prototype={toString:function(){var E=this.getEl();var F=E.id||E.tagName;return("Anim "+F)},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(E,G,F){return this.method(this.currentFrame,G,F-G,this.totalFrames)},setAttribute:function(E,G,F){if(this.patterns.noNegatives.test(E)){G=(G>0)?G:0}Ext.fly(this.getEl(),"_anim").setStyle(E,G+F)},getAttribute:function(E){var G=this.getEl();var I=C(G).getStyle(E);if(I!=="auto"&&!this.patterns.offsetUnit.test(I)){return parseFloat(I)}var F=this.patterns.offsetAttribute.exec(E)||[];var J=!!(F[3]);var H=!!(F[2]);if(H||(C(G).getStyle("position")=="absolute"&&J)){I=G["offset"+F[0].charAt(0).toUpperCase()+F[0].substr(1)]}else{I=0}return I},getDefaultUnit:function(E){if(this.patterns.defaultUnit.test(E)){return"px"}return""},animateX:function(G,E){var F=function(){this.onComplete.removeListener(F);if(typeof G=="function"){G.call(E||this,this)}};this.onComplete.addListener(F,this);this.animate()},setRuntimeAttribute:function(F){var K;var G;var H=this.attributes;this.runtimeAttributes[F]={};var J=function(L){return(typeof L!=="undefined")};if(!J(H[F]["to"])&&!J(H[F]["by"])){return false}K=(J(H[F]["from"]))?H[F]["from"]:this.getAttribute(F);if(J(H[F]["to"])){G=H[F]["to"]}else{if(J(H[F]["by"])){if(K.constructor==Array){G=[];for(var I=0,E=K.length;I<E;++I){G[I]=K[I]+H[F]["by"][I]}}else{G=K+H[F]["by"]}}}this.runtimeAttributes[F].start=K;this.runtimeAttributes[F].end=G;this.runtimeAttributes[F].unit=(J(H[F].unit))?H[F]["unit"]:this.getDefaultUnit(F)},init:function(G,L,K,E){var F=false;var H=null;var J=0;G=Ext.getDom(G);this.attributes=L||{};this.duration=K||1;this.method=E||Ext.lib.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=Ext.lib.AnimMgr.fps;this.getEl=function(){return G};this.isAnimated=function(){return F};this.getStartTime=function(){return H};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(Ext.lib.AnimMgr.fps*this.duration):this.duration;Ext.lib.AnimMgr.registerElement(this)};this.stop=function(O){if(O){this.currentFrame=this.totalFrames;this._onTween.fire()}Ext.lib.AnimMgr.stop(this)};var N=function(){this.onStart.fire();this.runtimeAttributes={};for(var O in this.attributes){this.setRuntimeAttribute(O)}F=true;J=0;H=new Date()};var M=function(){var Q={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};Q.toString=function(){return("duration: "+Q.duration+", currentFrame: "+Q.currentFrame)};this.onTween.fire(Q);var P=this.runtimeAttributes;for(var O in P){this.setAttribute(O,this.doMethod(O,P[O].start,P[O].end),P[O].unit)}J+=1};var I=function(){var O=(new Date()-H)/1000;var P={duration:O,frames:J,fps:J/O};P.toString=function(){return("duration: "+P.duration+", frames: "+P.frames+", fps: "+P.fps)};F=false;J=0;this.onComplete.fire(P)};this._onStart=new Ext.util.Event(this);this.onStart=new Ext.util.Event(this);this.onTween=new Ext.util.Event(this);this._onTween=new Ext.util.Event(this);this.onComplete=new Ext.util.Event(this);this._onComplete=new Ext.util.Event(this);this._onStart.addListener(N);this._onTween.addListener(M);this._onComplete.addListener(I)}};Ext.lib.AnimMgr=new function(){var G=null;var F=[];var E=0;this.fps=1000;this.delay=1;this.registerElement=function(J){F[F.length]=J;E+=1;J._onStart.fire();this.start()};this.unRegister=function(K,J){K._onComplete.fire();J=J||I(K);if(J!=-1){F.splice(J,1)}E-=1;if(E<=0){this.stop()}};this.start=function(){if(G===null){G=setInterval(this.run,this.delay)}};this.stop=function(L){if(!L){clearInterval(G);for(var K=0,J=F.length;K<J;++K){if(F[0].isAnimated()){this.unRegister(F[0],0)}}F=[];G=null;E=0}else{this.unRegister(L)}};this.run=function(){for(var L=0,J=F.length;L<J;++L){var K=F[L];if(!K||!K.isAnimated()){continue}if(K.currentFrame<K.totalFrames||K.totalFrames===null){K.currentFrame+=1;if(K.useSeconds){H(K)}K._onTween.fire()}else{Ext.lib.AnimMgr.stop(K,L)}}};var I=function(L){for(var K=0,J=F.length;K<J;++K){if(F[K]==L){return K}}return -1};var H=function(K){var N=K.totalFrames;var M=K.currentFrame;var L=(K.currentFrame*K.duration*1000/K.totalFrames);var J=(new Date()-K.getStartTime());var O=0;if(J<K.duration*1000){O=Math.round((J/L-1)*K.currentFrame)}else{O=N-(M+1)}if(O>0&&isFinite(O)){if(K.currentFrame+O>=N){O=N-(M+1)}K.currentFrame+=O}}};Ext.lib.Bezier=new function(){this.getPosition=function(I,H){var J=I.length;var G=[];for(var F=0;F<J;++F){G[F]=[I[F][0],I[F][1]]}for(var E=1;E<J;++E){for(F=0;F<J-E;++F){G[F][0]=(1-H)*G[F][0]+H*G[parseInt(F+1,10)][0];G[F][1]=(1-H)*G[F][1]+H*G[parseInt(F+1,10)][1]}}return[G[0][0],G[0][1]]}};(function(){Ext.lib.ColorAnim=function(I,H,J,K){Ext.lib.ColorAnim.superclass.constructor.call(this,I,H,J,K)};Ext.extend(Ext.lib.ColorAnim,Ext.lib.AnimBase);var F=Ext.lib;var G=F.ColorAnim.superclass;var E=F.ColorAnim.prototype;E.toString=function(){var H=this.getEl();var I=H.id||H.tagName;return("ColorAnim "+I)};E.patterns.color=/color$/i;E.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;E.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;E.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;E.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;E.parseColor=function(H){if(H.length==3){return H}var I=this.patterns.hex.exec(H);if(I&&I.length==4){return[parseInt(I[1],16),parseInt(I[2],16),parseInt(I[3],16)]}I=this.patterns.rgb.exec(H);if(I&&I.length==4){return[parseInt(I[1],10),parseInt(I[2],10),parseInt(I[3],10)]}I=this.patterns.hex3.exec(H);if(I&&I.length==4){return[parseInt(I[1]+I[1],16),parseInt(I[2]+I[2],16),parseInt(I[3]+I[3],16)]}return null};E.getAttribute=function(H){var J=this.getEl();if(this.patterns.color.test(H)){var K=C(J).getStyle(H);if(this.patterns.transparent.test(K)){var I=J.parentNode;K=C(I).getStyle(H);while(I&&this.patterns.transparent.test(K)){I=I.parentNode;K=C(I).getStyle(H);if(I.tagName.toUpperCase()=="HTML"){K="#fff"}}}}else{K=G.getAttribute.call(this,H)}return K};E.doMethod=function(I,M,J){var L;if(this.patterns.color.test(I)){L=[];for(var K=0,H=M.length;K<H;++K){L[K]=G.doMethod.call(this,I,M[K],J[K])}L="rgb("+Math.floor(L[0])+","+Math.floor(L[1])+","+Math.floor(L[2])+")"}else{L=G.doMethod.call(this,I,M,J)}return L};E.setRuntimeAttribute=function(I){G.setRuntimeAttribute.call(this,I);if(this.patterns.color.test(I)){var K=this.attributes;var M=this.parseColor(this.runtimeAttributes[I].start);var J=this.parseColor(this.runtimeAttributes[I].end);if(typeof K[I]["to"]==="undefined"&&typeof K[I]["by"]!=="undefined"){J=this.parseColor(K[I].by);for(var L=0,H=M.length;L<H;++L){J[L]=M[L]+J[L]}}this.runtimeAttributes[I].start=M;this.runtimeAttributes[I].end=J}}})();Ext.lib.Easing={easeNone:function(F,E,H,G){return H*F/G+E},easeIn:function(F,E,H,G){return H*(F/=G)*F+E},easeOut:function(F,E,H,G){return -H*(F/=G)*(F-2)+E},easeBoth:function(F,E,H,G){if((F/=G/2)<1){return H/2*F*F+E}return -H/2*((--F)*(F-2)-1)+E},easeInStrong:function(F,E,H,G){return H*(F/=G)*F*F*F+E},easeOutStrong:function(F,E,H,G){return -H*((F=F/G-1)*F*F*F-1)+E},easeBothStrong:function(F,E,H,G){if((F/=G/2)<1){return H/2*F*F*F*F+E}return -H/2*((F-=2)*F*F*F-2)+E},elasticIn:function(G,E,K,J,F,I){if(G==0){return E}if((G/=J)==1){return E+K}if(!I){I=J*0.3}if(!F||F<Math.abs(K)){F=K;var H=I/4}else{var H=I/(2*Math.PI)*Math.asin(K/F)}return -(F*Math.pow(2,10*(G-=1))*Math.sin((G*J-H)*(2*Math.PI)/I))+E},elasticOut:function(G,E,K,J,F,I){if(G==0){return E}if((G/=J)==1){return E+K}if(!I){I=J*0.3}if(!F||F<Math.abs(K)){F=K;var H=I/4}else{var H=I/(2*Math.PI)*Math.asin(K/F)}return F*Math.pow(2,-10*G)*Math.sin((G*J-H)*(2*Math.PI)/I)+K+E},elasticBoth:function(G,E,K,J,F,I){if(G==0){return E}if((G/=J/2)==2){return E+K}if(!I){I=J*(0.3*1.5)}if(!F||F<Math.abs(K)){F=K;var H=I/4}else{var H=I/(2*Math.PI)*Math.asin(K/F)}if(G<1){return -0.5*(F*Math.pow(2,10*(G-=1))*Math.sin((G*J-H)*(2*Math.PI)/I))+E}return F*Math.pow(2,-10*(G-=1))*Math.sin((G*J-H)*(2*Math.PI)/I)*0.5+K+E},backIn:function(F,E,I,H,G){if(typeof G=="undefined"){G=1.70158}return I*(F/=H)*F*((G+1)*F-G)+E},backOut:function(F,E,I,H,G){if(typeof G=="undefined"){G=1.70158}return I*((F=F/H-1)*F*((G+1)*F+G)+1)+E},backBoth:function(F,E,I,H,G){if(typeof G=="undefined"){G=1.70158}if((F/=H/2)<1){return I/2*(F*F*(((G*=(1.525))+1)*F-G))+E}return I/2*((F-=2)*F*(((G*=(1.525))+1)*F+G)+2)+E},bounceIn:function(F,E,H,G){return H-Ext.lib.Easing.bounceOut(G-F,0,H,G)+E},bounceOut:function(F,E,H,G){if((F/=G)<(1/2.75)){return H*(7.5625*F*F)+E}else{if(F<(2/2.75)){return H*(7.5625*(F-=(1.5/2.75))*F+0.75)+E}else{if(F<(2.5/2.75)){return H*(7.5625*(F-=(2.25/2.75))*F+0.9375)+E}}}return H*(7.5625*(F-=(2.625/2.75))*F+0.984375)+E},bounceBoth:function(F,E,H,G){if(F<G/2){return Ext.lib.Easing.bounceIn(F*2,0,H,G)*0.5+E}return Ext.lib.Easing.bounceOut(F*2-G,0,H,G)*0.5+H*0.5+E}};(function(){Ext.lib.Motion=function(K,J,L,M){if(K){Ext.lib.Motion.superclass.constructor.call(this,K,J,L,M)}};Ext.extend(Ext.lib.Motion,Ext.lib.ColorAnim);var H=Ext.lib;var I=H.Motion.superclass;var F=H.Motion.prototype;F.toString=function(){var J=this.getEl();var K=J.id||J.tagName;return("Motion "+K)};F.patterns.points=/^points$/i;F.setAttribute=function(J,L,K){if(this.patterns.points.test(J)){K=K||"px";I.setAttribute.call(this,"left",L[0],K);I.setAttribute.call(this,"top",L[1],K)}else{I.setAttribute.call(this,J,L,K)}};F.getAttribute=function(J){if(this.patterns.points.test(J)){var K=[I.getAttribute.call(this,"left"),I.getAttribute.call(this,"top")]}else{K=I.getAttribute.call(this,J)}return K};F.doMethod=function(J,N,K){var M=null;if(this.patterns.points.test(J)){var L=this.method(this.currentFrame,0,100,this.totalFrames)/100;M=H.Bezier.getPosition(this.runtimeAttributes[J],L)}else{M=I.doMethod.call(this,J,N,K)}return M};F.setRuntimeAttribute=function(S){if(this.patterns.points.test(S)){var K=this.getEl();var M=this.attributes;var J;var O=M["points"]["control"]||[];var L;var P,R;if(O.length>0&&!Ext.isArray(O[0])){O=[O]}else{var N=[];for(P=0,R=O.length;P<R;++P){N[P]=O[P]}O=N}Ext.fly(K,"_anim").position();if(G(M["points"]["from"])){Ext.lib.Dom.setXY(K,M["points"]["from"])}else{Ext.lib.Dom.setXY(K,Ext.lib.Dom.getXY(K))}J=this.getAttribute("points");if(G(M["points"]["to"])){L=E.call(this,M["points"]["to"],J);var Q=Ext.lib.Dom.getXY(this.getEl());for(P=0,R=O.length;P<R;++P){O[P]=E.call(this,O[P],J)}}else{if(G(M["points"]["by"])){L=[J[0]+M["points"]["by"][0],J[1]+M["points"]["by"][1]];for(P=0,R=O.length;P<R;++P){O[P]=[J[0]+O[P][0],J[1]+O[P][1]]}}}this.runtimeAttributes[S]=[J];if(O.length>0){this.runtimeAttributes[S]=this.runtimeAttributes[S].concat(O)}this.runtimeAttributes[S][this.runtimeAttributes[S].length]=L}else{I.setRuntimeAttribute.call(this,S)}};var E=function(J,L){var K=Ext.lib.Dom.getXY(this.getEl());J=[J[0]-K[0]+L[0],J[1]-K[1]+L[1]];return J};var G=function(J){return(typeof J!=="undefined")}})();(function(){Ext.lib.Scroll=function(I,H,J,K){if(I){Ext.lib.Scroll.superclass.constructor.call(this,I,H,J,K)}};Ext.extend(Ext.lib.Scroll,Ext.lib.ColorAnim);var F=Ext.lib;var G=F.Scroll.superclass;var E=F.Scroll.prototype;E.toString=function(){var H=this.getEl();var I=H.id||H.tagName;return("Scroll "+I)};E.doMethod=function(H,K,I){var J=null;if(H=="scroll"){J=[this.method(this.currentFrame,K[0],I[0]-K[0],this.totalFrames),this.method(this.currentFrame,K[1],I[1]-K[1],this.totalFrames)]}else{J=G.doMethod.call(this,H,K,I)}return J};E.getAttribute=function(H){var J=null;var I=this.getEl();if(H=="scroll"){J=[I.scrollLeft,I.scrollTop]}else{J=G.getAttribute.call(this,H)}return J};E.setAttribute=function(H,K,J){var I=this.getEl();if(H=="scroll"){I.scrollLeft=K[0];I.scrollTop=K[1]}else{G.setAttribute.call(this,H,K,J)}}})()})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/adapter/jquery-bridge-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +if(typeof jQuery=="undefined"){throw"Unable to load Ext, jQuery not found."}(function(){var B;Ext.lib.Dom={getViewWidth:function(D){return D?Math.max(jQuery(document).width(),jQuery(window).width()):jQuery(window).width()},getViewHeight:function(D){return D?Math.max(jQuery(document).height(),jQuery(window).height()):jQuery(window).height()},isAncestor:function(E,F){E=Ext.getDom(E);F=Ext.getDom(F);if(!E||!F){return false}if(E.contains&&!Ext.isSafari){return E.contains(F)}else{if(E.compareDocumentPosition){return !!(E.compareDocumentPosition(F)&16)}else{var D=F.parentNode;while(D){if(D==E){return true}else{if(!D.tagName||D.tagName.toUpperCase()=="HTML"){return false}}D=D.parentNode}return false}}},getRegion:function(D){return Ext.lib.Region.getRegion(D)},getY:function(D){return this.getXY(D)[1]},getX:function(D){return this.getXY(D)[0]},getXY:function(F){var E,J,L,M,I=(document.body||document.documentElement);F=Ext.getDom(F);if(F==I){return[0,0]}if(F.getBoundingClientRect){L=F.getBoundingClientRect();M=C(document).getScroll();return[L.left+M.left,L.top+M.top]}var N=0,K=0;E=F;var D=C(F).getStyle("position")=="absolute";while(E){N+=E.offsetLeft;K+=E.offsetTop;if(!D&&C(E).getStyle("position")=="absolute"){D=true}if(Ext.isGecko){J=C(E);var O=parseInt(J.getStyle("borderTopWidth"),10)||0;var G=parseInt(J.getStyle("borderLeftWidth"),10)||0;N+=G;K+=O;if(E!=F&&J.getStyle("overflow")!="visible"){N+=G;K+=O}}E=E.offsetParent}if(Ext.isSafari&&D){N-=I.offsetLeft;K-=I.offsetTop}if(Ext.isGecko&&!D){var H=C(I);N+=parseInt(H.getStyle("borderLeftWidth"),10)||0;K+=parseInt(H.getStyle("borderTopWidth"),10)||0}E=F.parentNode;while(E&&E!=I){if(!Ext.isOpera||(E.tagName!="TR"&&C(E).getStyle("display")!="inline")){N-=E.scrollLeft;K-=E.scrollTop}E=E.parentNode}return[N,K]},setXY:function(D,E){D=Ext.fly(D,"_setXY");D.position();var F=D.translatePoints(E);if(E[0]!==false){D.dom.style.left=F.left+"px"}if(E[1]!==false){D.dom.style.top=F.top+"px"}},setX:function(E,D){this.setXY(E,[D,false])},setY:function(D,E){this.setXY(D,[false,E])}};function C(D){if(!B){B=new Ext.Element.Flyweight()}B.dom=D;return B}Ext.lib.Event={getPageX:function(D){D=D.browserEvent||D;return D.pageX},getPageY:function(D){D=D.browserEvent||D;return D.pageY},getXY:function(D){D=D.browserEvent||D;return[D.pageX,D.pageY]},getTarget:function(D){return D.target},on:function(H,D,G,F,E){jQuery(H).bind(D,G)},un:function(F,D,E){jQuery(F).unbind(D,E)},purgeElement:function(D){jQuery(D).unbind()},preventDefault:function(D){D=D.browserEvent||D;if(D.preventDefault){D.preventDefault()}else{D.returnValue=false}},stopPropagation:function(D){D=D.browserEvent||D;if(D.stopPropagation){D.stopPropagation()}else{D.cancelBubble=true}},stopEvent:function(D){this.preventDefault(D);this.stopPropagation(D)},onAvailable:function(I,E,D){var H=new Date();var F=function(){if(H.getElapsed()>10000){clearInterval(G)}var J=document.getElementById(I);if(J){clearInterval(G);E.call(D||window,J)}};var G=setInterval(F,50)},resolveTextNode:function(D){if(D&&3==D.nodeType){return D.parentNode}else{return D}},getRelatedTarget:function(E){E=E.browserEvent||E;var D=E.relatedTarget;if(!D){if(E.type=="mouseout"){D=E.toElement}else{if(E.type=="mouseover"){D=E.fromElement}}}return this.resolveTextNode(D)}};Ext.lib.Ajax=function(){var D=function(E){return function(G,F){if((F=="error"||F=="timeout")&&E.failure){E.failure.call(E.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:E.argument})}else{if(E.success){E.success.call(E.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:E.argument})}}}};return{request:function(K,H,E,I,F){var J={type:K,url:H,data:I,timeout:E.timeout,complete:D(E)};if(F){var G=F.headers;if(F.xmlData){J.data=F.xmlData;J.processData=false;J.type=(K?K:(F.method?F.method:"POST"));if(!G||!G["Content-Type"]){J.contentType="text/xml"}}else{if(F.jsonData){J.data=typeof F.jsonData=="object"?Ext.encode(F.jsonData):F.jsonData;J.processData=false;J.type=(K?K:(F.method?F.method:"POST"));if(!G||!G["Content-Type"]){J.contentType="application/json"}}}if(G){J.beforeSend=function(M){for(var L in G){if(G.hasOwnProperty(L)){M.setRequestHeader(L,G[L])}}}}}jQuery.ajax(J)},formRequest:function(I,H,F,J,E,G){jQuery.ajax({type:Ext.getDom(I).method||"POST",url:H,data:jQuery(I).serialize()+(J?"&"+J:""),timeout:F.timeout,complete:D(F)})},isCallInProgress:function(E){return false},abort:function(E){return false},serializeForm:function(E){return jQuery(E.dom||E).serialize()}}}();Ext.lib.Anim=function(){var D=function(E,F){var G=true;return{stop:function(H){},isAnimated:function(){return G},proxyCallback:function(){G=false;Ext.callback(E,F)}}};return{scroll:function(H,F,J,K,E,G){var I=D(E,G);H=Ext.getDom(H);if(typeof F.scroll.to[0]=="number"){H.scrollLeft=F.scroll.to[0]}if(typeof F.scroll.to[1]=="number"){H.scrollTop=F.scroll.to[1]}I.proxyCallback();return I},motion:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G)},color:function(H,F,J,K,E,G){var I=D(E,G);I.proxyCallback();return I},run:function(F,N,I,M,G,P,O){var J=D(G,P),K=Ext.fly(F,"_animrun");var E={};for(var H in N){if(N[H].from){if(H!="points"){K.setStyle(H,N[H].from)}}switch(H){case"points":var L,R;K.position();if(L=N.points.by){var Q=K.getXY();R=K.translatePoints([Q[0]+L[0],Q[1]+L[1]])}else{R=K.translatePoints(N.points.to)}E.left=R.left;E.top=R.top;if(!parseInt(K.getStyle("left"),10)){K.setLeft(0)}if(!parseInt(K.getStyle("top"),10)){K.setTop(0)}if(N.points.from){K.setXY(N.points.from)}break;case"width":E.width=N.width.to;break;case"height":E.height=N.height.to;break;case"opacity":E.opacity=N.opacity.to;break;case"left":E.left=N.left.to;break;case"top":E.top=N.top.to;break;default:E[H]=N[H].to;break}}jQuery(F).animate(E,I*1000,undefined,J.proxyCallback);return J}}}();Ext.lib.Region=function(F,G,D,E){this.top=F;this[1]=F;this.right=G;this.bottom=D;this.left=E;this[0]=E};Ext.lib.Region.prototype={contains:function(D){return(D.left>=this.left&&D.right<=this.right&&D.top>=this.top&&D.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(H){var F=Math.max(this.top,H.top);var G=Math.min(this.right,H.right);var D=Math.min(this.bottom,H.bottom);var E=Math.max(this.left,H.left);if(D>=F&&G>=E){return new Ext.lib.Region(F,G,D,E)}else{return null}},union:function(H){var F=Math.min(this.top,H.top);var G=Math.max(this.right,H.right);var D=Math.max(this.bottom,H.bottom);var E=Math.min(this.left,H.left);return new Ext.lib.Region(F,G,D,E)},constrainTo:function(D){this.top=this.top.constrain(D.top,D.bottom);this.bottom=this.bottom.constrain(D.top,D.bottom);this.left=this.left.constrain(D.left,D.right);this.right=this.right.constrain(D.left,D.right);return this},adjust:function(F,E,D,G){this.top+=F;this.left+=E;this.right+=G;this.bottom+=D;return this}};Ext.lib.Region.getRegion=function(G){var I=Ext.lib.Dom.getXY(G);var F=I[1];var H=I[0]+G.offsetWidth;var D=I[1]+G.offsetHeight;var E=I[0];return new Ext.lib.Region(F,H,D,E)};Ext.lib.Point=function(D,E){if(Ext.isArray(D)){E=D[1];D=D[0]}this.x=this.right=this.left=this[0]=D;this.y=this.top=this.bottom=this[1]=E};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function A(){var D=Function.prototype;delete D.createSequence;delete D.defer;delete D.createDelegate;delete D.createCallback;delete D.createInterceptor;window.detachEvent("onunload",A)}window.attachEvent("onunload",A)}})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/adapter/prototype-bridge-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +(function(){var B;Ext.lib.Dom={getViewWidth:function(D){return D?this.getDocumentWidth():this.getViewportWidth()},getViewHeight:function(D){return D?this.getDocumentHeight():this.getViewportHeight()},getDocumentHeight:function(){var D=(document.compatMode!="CSS1Compat")?document.body.scrollHeight:document.documentElement.scrollHeight;return Math.max(D,this.getViewportHeight())},getDocumentWidth:function(){var D=(document.compatMode!="CSS1Compat")?document.body.scrollWidth:document.documentElement.scrollWidth;return Math.max(D,this.getViewportWidth())},getViewportHeight:function(){var D=self.innerHeight;var E=document.compatMode;if((E||Ext.isIE)&&!Ext.isOpera){D=(E=="CSS1Compat")?document.documentElement.clientHeight:document.body.clientHeight}return D},getViewportWidth:function(){var D=self.innerWidth;var E=document.compatMode;if(E||Ext.isIE){D=(E=="CSS1Compat")?document.documentElement.clientWidth:document.body.clientWidth}return D},isAncestor:function(E,F){E=Ext.getDom(E);F=Ext.getDom(F);if(!E||!F){return false}if(E.contains&&!Ext.isSafari){return E.contains(F)}else{if(E.compareDocumentPosition){return !!(E.compareDocumentPosition(F)&16)}else{var D=F.parentNode;while(D){if(D==E){return true}else{if(!D.tagName||D.tagName.toUpperCase()=="HTML"){return false}}D=D.parentNode}return false}}},getRegion:function(D){return Ext.lib.Region.getRegion(D)},getY:function(D){return this.getXY(D)[1]},getX:function(D){return this.getXY(D)[0]},getXY:function(F){var E,J,L,M,I=(document.body||document.documentElement);F=Ext.getDom(F);if(F==I){return[0,0]}if(F.getBoundingClientRect){L=F.getBoundingClientRect();M=C(document).getScroll();return[L.left+M.left,L.top+M.top]}var N=0,K=0;E=F;var D=C(F).getStyle("position")=="absolute";while(E){N+=E.offsetLeft;K+=E.offsetTop;if(!D&&C(E).getStyle("position")=="absolute"){D=true}if(Ext.isGecko){J=C(E);var O=parseInt(J.getStyle("borderTopWidth"),10)||0;var G=parseInt(J.getStyle("borderLeftWidth"),10)||0;N+=G;K+=O;if(E!=F&&J.getStyle("overflow")!="visible"){N+=G;K+=O}}E=E.offsetParent}if(Ext.isSafari&&D){N-=I.offsetLeft;K-=I.offsetTop}if(Ext.isGecko&&!D){var H=C(I);N+=parseInt(H.getStyle("borderLeftWidth"),10)||0;K+=parseInt(H.getStyle("borderTopWidth"),10)||0}E=F.parentNode;while(E&&E!=I){if(!Ext.isOpera||(E.tagName!="TR"&&C(E).getStyle("display")!="inline")){N-=E.scrollLeft;K-=E.scrollTop}E=E.parentNode}return[N,K]},setXY:function(D,E){D=Ext.fly(D,"_setXY");D.position();var F=D.translatePoints(E);if(E[0]!==false){D.dom.style.left=F.left+"px"}if(E[1]!==false){D.dom.style.top=F.top+"px"}},setX:function(E,D){this.setXY(E,[D,false])},setY:function(D,E){this.setXY(D,[false,E])}};Ext.lib.Event={getPageX:function(D){return Event.pointerX(D.browserEvent||D)},getPageY:function(D){return Event.pointerY(D.browserEvent||D)},getXY:function(D){D=D.browserEvent||D;return[Event.pointerX(D),Event.pointerY(D)]},getTarget:function(D){return Event.element(D.browserEvent||D)},resolveTextNode:function(D){if(D&&3==D.nodeType){return D.parentNode}else{return D}},getRelatedTarget:function(E){E=E.browserEvent||E;var D=E.relatedTarget;if(!D){if(E.type=="mouseout"){D=E.toElement}else{if(E.type=="mouseover"){D=E.fromElement}}}return this.resolveTextNode(D)},on:function(F,D,E){Event.observe(F,D,E,false)},un:function(F,D,E){Event.stopObserving(F,D,E,false)},purgeElement:function(D){},preventDefault:function(D){D=D.browserEvent||D;if(D.preventDefault){D.preventDefault()}else{D.returnValue=false}},stopPropagation:function(D){D=D.browserEvent||D;if(D.stopPropagation){D.stopPropagation()}else{D.cancelBubble=true}},stopEvent:function(D){Event.stop(D.browserEvent||D)},onAvailable:function(I,E,D){var H=new Date(),G;var F=function(){if(H.getElapsed()>10000){clearInterval(G)}var J=document.getElementById(I);if(J){clearInterval(G);E.call(D||window,J)}};G=setInterval(F,50)}};Ext.lib.Ajax=function(){var E=function(F){return F.success?function(G){F.success.call(F.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:F.argument})}:Ext.emptyFn};var D=function(F){return F.failure?function(G){F.failure.call(F.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:F.argument})}:Ext.emptyFn};return{request:function(L,I,F,J,G){var K={method:L,parameters:J||"",timeout:F.timeout,onSuccess:E(F),onFailure:D(F)};if(G){var H=G.headers;if(H){K.requestHeaders=H}if(G.xmlData){L=(L?L:(G.method?G.method:"POST"));if(!H||!H["Content-Type"]){K.contentType="text/xml"}K.postBody=G.xmlData;delete K.parameters}if(G.jsonData){L=(L?L:(G.method?G.method:"POST"));if(!H||!H["Content-Type"]){K.contentType="application/json"}K.postBody=typeof G.jsonData=="object"?Ext.encode(G.jsonData):G.jsonData;delete K.parameters}}new Ajax.Request(I,K)},formRequest:function(J,I,G,K,F,H){new Ajax.Request(I,{method:Ext.getDom(J).method||"POST",parameters:Form.serialize(J)+(K?"&"+K:""),timeout:G.timeout,onSuccess:E(G),onFailure:D(G)})},isCallInProgress:function(F){return false},abort:function(F){return false},serializeForm:function(F){return Form.serialize(F.dom||F)}}}();Ext.lib.Anim=function(){var D={easeOut:function(F){return 1-Math.pow(1-F,2)},easeIn:function(F){return 1-Math.pow(1-F,2)}};var E=function(F,G){return{stop:function(H){this.effect.cancel()},isAnimated:function(){return this.effect.state=="running"},proxyCallback:function(){Ext.callback(F,G)}}};return{scroll:function(I,G,K,L,F,H){var J=E(F,H);I=Ext.getDom(I);if(typeof G.scroll.to[0]=="number"){I.scrollLeft=G.scroll.to[0]}if(typeof G.scroll.to[1]=="number"){I.scrollTop=G.scroll.to[1]}J.proxyCallback();return J},motion:function(I,G,J,K,F,H){return this.run(I,G,J,K,F,H)},color:function(I,G,J,K,F,H){return this.run(I,G,J,K,F,H)},run:function(G,O,K,N,H,Q,P){var F={};for(var J in O){switch(J){case"points":var M,S,L=Ext.fly(G,"_animrun");L.position();if(M=O.points.by){var R=L.getXY();S=L.translatePoints([R[0]+M[0],R[1]+M[1]])}else{S=L.translatePoints(O.points.to)}F.left=S.left+"px";F.top=S.top+"px";break;case"width":F.width=O.width.to+"px";break;case"height":F.height=O.height.to+"px";break;case"opacity":F.opacity=String(O.opacity.to);break;default:F[J]=String(O[J].to);break}}var I=E(H,Q);I.effect=new Effect.Morph(Ext.id(G),{duration:K,afterFinish:I.proxyCallback,transition:D[N]||Effect.Transitions.linear,style:F});return I}}}();function C(D){if(!B){B=new Ext.Element.Flyweight()}B.dom=D;return B}Ext.lib.Region=function(F,G,D,E){this.top=F;this[1]=F;this.right=G;this.bottom=D;this.left=E;this[0]=E};Ext.lib.Region.prototype={contains:function(D){return(D.left>=this.left&&D.right<=this.right&&D.top>=this.top&&D.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(H){var F=Math.max(this.top,H.top);var G=Math.min(this.right,H.right);var D=Math.min(this.bottom,H.bottom);var E=Math.max(this.left,H.left);if(D>=F&&G>=E){return new Ext.lib.Region(F,G,D,E)}else{return null}},union:function(H){var F=Math.min(this.top,H.top);var G=Math.max(this.right,H.right);var D=Math.max(this.bottom,H.bottom);var E=Math.min(this.left,H.left);return new Ext.lib.Region(F,G,D,E)},constrainTo:function(D){this.top=this.top.constrain(D.top,D.bottom);this.bottom=this.bottom.constrain(D.top,D.bottom);this.left=this.left.constrain(D.left,D.right);this.right=this.right.constrain(D.left,D.right);return this},adjust:function(F,E,D,G){this.top+=F;this.left+=E;this.right+=G;this.bottom+=D;return this}};Ext.lib.Region.getRegion=function(G){var I=Ext.lib.Dom.getXY(G);var F=I[1];var H=I[0]+G.offsetWidth;var D=I[1]+G.offsetHeight;var E=I[0];return new Ext.lib.Region(F,H,D,E)};Ext.lib.Point=function(D,E){if(Ext.isArray(D)){E=D[1];D=D[0]}this.x=this.right=this.left=this[0]=D;this.y=this.top=this.bottom=this[1]=E};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function A(){var D=Function.prototype;delete D.createSequence;delete D.defer;delete D.createDelegate;delete D.createCallback;delete D.createInterceptor;window.detachEvent("onunload",A)}window.attachEvent("onunload",A)}})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/adapter/yui-bridge-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +if(typeof YAHOO=="undefined"){throw"Unable to load Ext, core YUI utilities (yahoo, dom, event) not found."}(function(){var I=YAHOO.util.Event;var J=YAHOO.util.Dom;var C=YAHOO.util.Connect;var K=YAHOO.util.Easing;var B=YAHOO.util.Anim;var G;Ext.lib.Dom={getViewWidth:function(A){return A?J.getDocumentWidth():J.getViewportWidth()},getViewHeight:function(A){return A?J.getDocumentHeight():J.getViewportHeight()},isAncestor:function(A,D){return J.isAncestor(A,D)},getRegion:function(A){return J.getRegion(A)},getY:function(A){return this.getXY(A)[1]},getX:function(A){return this.getXY(A)[0]},getXY:function(E){var D,O,Q,R,N=(document.body||document.documentElement);E=Ext.getDom(E);if(E==N){return[0,0]}if(E.getBoundingClientRect){Q=E.getBoundingClientRect();R=H(document).getScroll();return[Q.left+R.left,Q.top+R.top]}var S=0,P=0;D=E;var A=H(E).getStyle("position")=="absolute";while(D){S+=D.offsetLeft;P+=D.offsetTop;if(!A&&H(D).getStyle("position")=="absolute"){A=true}if(Ext.isGecko){O=H(D);var T=parseInt(O.getStyle("borderTopWidth"),10)||0;var L=parseInt(O.getStyle("borderLeftWidth"),10)||0;S+=L;P+=T;if(D!=E&&O.getStyle("overflow")!="visible"){S+=L;P+=T}}D=D.offsetParent}if(Ext.isSafari&&A){S-=N.offsetLeft;P-=N.offsetTop}if(Ext.isGecko&&!A){var M=H(N);S+=parseInt(M.getStyle("borderLeftWidth"),10)||0;P+=parseInt(M.getStyle("borderTopWidth"),10)||0}D=E.parentNode;while(D&&D!=N){if(!Ext.isOpera||(D.tagName!="TR"&&H(D).getStyle("display")!="inline")){S-=D.scrollLeft;P-=D.scrollTop}D=D.parentNode}return[S,P]},setXY:function(A,D){A=Ext.fly(A,"_setXY");A.position();var E=A.translatePoints(D);if(D[0]!==false){A.dom.style.left=E.left+"px"}if(D[1]!==false){A.dom.style.top=E.top+"px"}},setX:function(D,A){this.setXY(D,[A,false])},setY:function(A,D){this.setXY(A,[false,D])}};Ext.lib.Event={getPageX:function(A){return I.getPageX(A.browserEvent||A)},getPageY:function(A){return I.getPageY(A.browserEvent||A)},getXY:function(A){return I.getXY(A.browserEvent||A)},getTarget:function(A){return I.getTarget(A.browserEvent||A)},getRelatedTarget:function(A){return I.getRelatedTarget(A.browserEvent||A)},on:function(M,A,L,E,D){I.on(M,A,L,E,D)},un:function(E,A,D){I.removeListener(E,A,D)},purgeElement:function(A){I.purgeElement(A)},preventDefault:function(A){I.preventDefault(A.browserEvent||A)},stopPropagation:function(A){I.stopPropagation(A.browserEvent||A)},stopEvent:function(A){I.stopEvent(A.browserEvent||A)},onAvailable:function(L,E,D,A){return I.onAvailable(L,E,D,A)}};Ext.lib.Ajax={request:function(O,M,A,N,D){if(D){var E=D.headers;if(E){for(var L in E){if(E.hasOwnProperty(L)){C.initHeader(L,E[L],false)}}}if(D.xmlData){if(!E||!E["Content-Type"]){C.initHeader("Content-Type","text/xml",false)}O=(O?O:(D.method?D.method:"POST"));N=D.xmlData}else{if(D.jsonData){if(!E||!E["Content-Type"]){C.initHeader("Content-Type","application/json",false)}O=(O?O:(D.method?D.method:"POST"));N=typeof D.jsonData=="object"?Ext.encode(D.jsonData):D.jsonData}}}return C.asyncRequest(O,M,A,N)},formRequest:function(M,L,D,N,A,E){C.setForm(M,A,E);return C.asyncRequest(Ext.getDom(M).method||"POST",L,D,N)},isCallInProgress:function(A){return C.isCallInProgress(A)},abort:function(A){return C.abort(A)},serializeForm:function(A){var D=C.setForm(A.dom||A);C.resetFormState();return D}};Ext.lib.Region=YAHOO.util.Region;Ext.lib.Point=YAHOO.util.Point;Ext.lib.Anim={scroll:function(L,D,M,N,A,E){this.run(L,D,M,N,A,E,YAHOO.util.Scroll)},motion:function(L,D,M,N,A,E){this.run(L,D,M,N,A,E,YAHOO.util.Motion)},color:function(L,D,M,N,A,E){this.run(L,D,M,N,A,E,YAHOO.util.ColorAnim)},run:function(M,D,O,P,A,L,E){E=E||YAHOO.util.Anim;if(typeof P=="string"){P=YAHOO.util.Easing[P]}var N=new E(M,D,O,P);N.animateX(function(){Ext.callback(A,L)});return N}};function H(A){if(!G){G=new Ext.Element.Flyweight()}G.dom=A;return G}if(Ext.isIE){function F(){var A=Function.prototype;delete A.createSequence;delete A.defer;delete A.createDelegate;delete A.createCallback;delete A.createInterceptor;window.detachEvent("onunload",F)}window.attachEvent("onunload",F)}if(YAHOO.util.Anim){YAHOO.util.Anim.prototype.animateX=function(E,A){var D=function(){this.onComplete.unsubscribe(D);if(typeof E=="function"){E.call(A||this,this)}};this.onComplete.subscribe(D,this,true);this.animate()}}if(YAHOO.util.DragDrop&&Ext.dd.DragDrop){YAHOO.util.DragDrop.defaultPadding=Ext.dd.DragDrop.defaultPadding;YAHOO.util.DragDrop.constrainTo=Ext.dd.DragDrop.constrainTo}YAHOO.util.Dom.getXY=function(A){var D=function(E){return Ext.lib.Dom.getXY(E)};return YAHOO.util.Dom.batch(A,D,YAHOO.util.Dom,true)};if(YAHOO.util.AnimMgr){YAHOO.util.AnimMgr.fps=1000}YAHOO.util.Region.prototype.adjust=function(E,D,A,L){this.top+=E;this.left+=D;this.right+=L;this.bottom+=A;return this};YAHOO.util.Region.prototype.constrainTo=function(A){this.top=this.top.constrain(A.top,A.bottom);this.bottom=this.bottom.constrain(A.top,A.bottom);this.left=this.left.constrain(A.left,A.right);this.right=this.right.constrain(A.left,A.right);return this}})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/CompositeElement-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.CompositeElement=function(A){this.elements=[];this.addElements(A)};Ext.CompositeElement.prototype={isComposite:true,addElements:function(E){if(!E){return this}if(typeof E=="string"){E=Ext.Element.selectorFunction(E)}var D=this.elements;var B=D.length-1;for(var C=0,A=E.length;C<A;C++){D[++B]=Ext.get(E[C])}return this},fill:function(A){this.elements=[];this.add(A);return this},filter:function(A){var B=[];this.each(function(C){if(C.is(A)){B[B.length]=C.dom}});this.fill(B);return this},invoke:function(E,B){var D=this.elements;for(var C=0,A=D.length;C<A;C++){Ext.Element.prototype[E].apply(D[C],B)}return this},add:function(A){if(typeof A=="string"){this.addElements(Ext.Element.selectorFunction(A))}else{if(A.length!==undefined){this.addElements(A)}else{this.addElements([A])}}return this},each:function(E,D){var C=this.elements;for(var B=0,A=C.length;B<A;B++){if(E.call(D||C[B],C[B],this,B)===false){break}}return this},item:function(A){return this.elements[A]||null},first:function(){return this.item(0)},last:function(){return this.item(this.elements.length-1)},getCount:function(){return this.elements.length},contains:function(A){return this.indexOf(A)!==-1},indexOf:function(A){return this.elements.indexOf(Ext.get(A))},removeElement:function(D,F){if(Ext.isArray(D)){for(var C=0,A=D.length;C<A;C++){this.removeElement(D[C])}return this}var B=typeof D=="number"?D:this.indexOf(D);if(B!==-1&&this.elements[B]){if(F){var E=this.elements[B];if(E.dom){E.remove()}else{Ext.removeNode(E)}}this.elements.splice(B,1)}return this},replaceElement:function(D,C,A){var B=typeof D=="number"?D:this.indexOf(D);if(B!==-1){if(A){this.elements[B].replaceWith(C)}else{this.elements.splice(B,1,Ext.get(C))}}return this},clear:function(){this.elements=[]}};(function(){Ext.CompositeElement.createCall=function(B,C){if(!B[C]){B[C]=function(){return this.invoke(C,arguments)}}};for(var A in Ext.Element.prototype){if(typeof Ext.Element.prototype[A]=="function"){Ext.CompositeElement.createCall(Ext.CompositeElement.prototype,A)}}})();Ext.CompositeElementLite=function(A){Ext.CompositeElementLite.superclass.constructor.call(this,A);this.el=new Ext.Element.Flyweight()};Ext.extend(Ext.CompositeElementLite,Ext.CompositeElement,{addElements:function(E){if(E){if(Ext.isArray(E)){this.elements=this.elements.concat(E)}else{var D=this.elements;var B=D.length-1;for(var C=0,A=E.length;C<A;C++){D[++B]=E[C]}}}return this},invoke:function(F,B){var D=this.elements;var E=this.el;for(var C=0,A=D.length;C<A;C++){E.dom=D[C];Ext.Element.prototype[F].apply(E,B)}return this},item:function(A){if(!this.elements[A]){return null}this.el.dom=this.elements[A];return this.el},addListener:function(B,G,F,E){var D=this.elements;for(var C=0,A=D.length;C<A;C++){Ext.EventManager.on(D[C],B,G,F||D[C],E)}return this},each:function(F,E){var C=this.elements;var D=this.el;for(var B=0,A=C.length;B<A;B++){D.dom=C[B];if(F.call(E||D,D,this,B)===false){break}}return this},indexOf:function(A){return this.elements.indexOf(Ext.getDom(A))},replaceElement:function(D,C,A){var B=typeof D=="number"?D:this.indexOf(D);if(B!==-1){C=Ext.getDom(C);if(A){var E=this.elements[B];E.parentNode.insertBefore(C,E);Ext.removeNode(E)}this.elements.splice(B,1,C)}return this}});Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener;if(Ext.DomQuery){Ext.Element.selectorFunction=Ext.DomQuery.select}Ext.Element.select=function(A,D,B){var C;if(typeof A=="string"){C=Ext.Element.selectorFunction(A,B)}else{if(A.length!==undefined){C=A}else{throw"Invalid selector"}}if(D===true){return new Ext.CompositeElement(C)}else{return new Ext.CompositeElementLite(C)}};Ext.select=Ext.Element.select; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/DomHelper-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.DomHelper=function(){var L=null;var F=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var B=/^table|tbody|tr|td$/i;var A=function(T){if(typeof T=="string"){return T}var O="";if(Ext.isArray(T)){for(var R=0,P=T.length;R<P;R++){O+=A(T[R])}return O}if(!T.tag){T.tag="div"}O+="<"+T.tag;for(var N in T){if(N=="tag"||N=="children"||N=="cn"||N=="html"||typeof T[N]=="function"){continue}if(N=="style"){var S=T["style"];if(typeof S=="function"){S=S.call()}if(typeof S=="string"){O+=" style=\""+S+"\""}else{if(typeof S=="object"){O+=" style=\"";for(var Q in S){if(typeof S[Q]!="function"){O+=Q+":"+S[Q]+";"}}O+="\""}}}else{if(N=="cls"){O+=" class=\""+T["cls"]+"\""}else{if(N=="htmlFor"){O+=" for=\""+T["htmlFor"]+"\""}else{O+=" "+N+"=\""+T[N]+"\""}}}}if(F.test(T.tag)){O+="/>"}else{O+=">";var U=T.children||T.cn;if(U){O+=A(U)}else{if(T.html){O+=T.html}}O+="</"+T.tag+">"}return O};var M=function(T,O){var S;if(Ext.isArray(T)){S=document.createDocumentFragment();for(var R=0,P=T.length;R<P;R++){M(T[R],S)}}else{if(typeof T=="string"){S=document.createTextNode(T)}else{S=document.createElement(T.tag||"div");var Q=!!S.setAttribute;for(var N in T){if(N=="tag"||N=="children"||N=="cn"||N=="html"||N=="style"||typeof T[N]=="function"){continue}if(N=="cls"){S.className=T["cls"]}else{if(Q){S.setAttribute(N,T[N])}else{S[N]=T[N]}}}Ext.DomHelper.applyStyles(S,T.style);var U=T.children||T.cn;if(U){M(U,S)}else{if(T.html){S.innerHTML=T.html}}}}if(O){O.appendChild(S)}return S};var I=function(S,Q,P,R){L.innerHTML=[Q,P,R].join("");var N=-1,O=L;while(++N<S){O=O.firstChild}return O};var J="<table>",E="</table>",C=J+"<tbody>",K="</tbody>"+E,H=C+"<tr>",D="</tr>"+K;var G=function(N,O,Q,P){if(!L){L=document.createElement("div")}var R;var S=null;if(N=="td"){if(O=="afterbegin"||O=="beforeend"){return }if(O=="beforebegin"){S=Q;Q=Q.parentNode}else{S=Q.nextSibling;Q=Q.parentNode}R=I(4,H,P,D)}else{if(N=="tr"){if(O=="beforebegin"){S=Q;Q=Q.parentNode;R=I(3,C,P,K)}else{if(O=="afterend"){S=Q.nextSibling;Q=Q.parentNode;R=I(3,C,P,K)}else{if(O=="afterbegin"){S=Q.firstChild}R=I(4,H,P,D)}}}else{if(N=="tbody"){if(O=="beforebegin"){S=Q;Q=Q.parentNode;R=I(2,J,P,E)}else{if(O=="afterend"){S=Q.nextSibling;Q=Q.parentNode;R=I(2,J,P,E)}else{if(O=="afterbegin"){S=Q.firstChild}R=I(3,C,P,K)}}}else{if(O=="beforebegin"||O=="afterend"){return }if(O=="afterbegin"){S=Q.firstChild}R=I(2,J,P,E)}}}Q.insertBefore(R,S);return R};return{useDom:false,markup:function(N){return A(N)},applyStyles:function(P,Q){if(Q){P=Ext.fly(P);if(typeof Q=="string"){var O=/\s?([a-z\-]*)\:\s?([^;]*);?/gi;var R;while((R=O.exec(Q))!=null){P.setStyle(R[1],R[2])}}else{if(typeof Q=="object"){for(var N in Q){P.setStyle(N,Q[N])}}else{if(typeof Q=="function"){Ext.DomHelper.applyStyles(P,Q.call())}}}}},insertHtml:function(P,R,Q){P=P.toLowerCase();if(R.insertAdjacentHTML){if(B.test(R.tagName)){var O;if(O=G(R.tagName.toLowerCase(),P,R,Q)){return O}}switch(P){case"beforebegin":R.insertAdjacentHTML("BeforeBegin",Q);return R.previousSibling;case"afterbegin":R.insertAdjacentHTML("AfterBegin",Q);return R.firstChild;case"beforeend":R.insertAdjacentHTML("BeforeEnd",Q);return R.lastChild;case"afterend":R.insertAdjacentHTML("AfterEnd",Q);return R.nextSibling}throw"Illegal insertion point -> \""+P+"\""}var N=R.ownerDocument.createRange();var S;switch(P){case"beforebegin":N.setStartBefore(R);S=N.createContextualFragment(Q);R.parentNode.insertBefore(S,R);return R.previousSibling;case"afterbegin":if(R.firstChild){N.setStartBefore(R.firstChild);S=N.createContextualFragment(Q);R.insertBefore(S,R.firstChild);return R.firstChild}else{R.innerHTML=Q;return R.firstChild}case"beforeend":if(R.lastChild){N.setStartAfter(R.lastChild);S=N.createContextualFragment(Q);R.appendChild(S);return R.lastChild}else{R.innerHTML=Q;return R.lastChild}case"afterend":N.setStartAfter(R);S=N.createContextualFragment(Q);R.parentNode.insertBefore(S,R.nextSibling);return R.nextSibling}throw"Illegal insertion point -> \""+P+"\""},insertBefore:function(N,P,O){return this.doInsert(N,P,O,"beforeBegin")},insertAfter:function(N,P,O){return this.doInsert(N,P,O,"afterEnd","nextSibling")},insertFirst:function(N,P,O){return this.doInsert(N,P,O,"afterBegin","firstChild")},doInsert:function(Q,S,R,T,P){Q=Ext.getDom(Q);var O;if(this.useDom){O=M(S,null);(P==="firstChild"?Q:Q.parentNode).insertBefore(O,P?Q[P]:Q)}else{var N=A(S);O=this.insertHtml(T,Q,N)}return R?Ext.get(O,true):O},append:function(P,R,Q){P=Ext.getDom(P);var O;if(this.useDom){O=M(R,null);P.appendChild(O)}else{var N=A(R);O=this.insertHtml("beforeEnd",P,N)}return Q?Ext.get(O,true):O},overwrite:function(N,P,O){N=Ext.getDom(N);N.innerHTML=A(P);return O?Ext.get(N.firstChild,true):N.firstChild},createTemplate:function(O){var N=A(O);return new Ext.Template(N)}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/DomQuery-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.DomQuery=function(){var cache={},simpleCache={},valueCache={};var nonSpace=/\S/;var trimRe=/^\s+|\s+$/g;var tplRe=/\{(\d+)\}/g;var modeRe=/^(\s?[\/>+~]\s?|\s|$)/;var tagTokenRe=/^(#)?([\w-\*]+)/;var nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/;function child(p,index){var i=0;var n=p.firstChild;while(n){if(n.nodeType==1){if(++i==index){return n}}n=n.nextSibling}return null}function next(n){while((n=n.nextSibling)&&n.nodeType!=1){}return n}function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){}return n}function children(d){var n=d.firstChild,ni=-1;while(n){var nx=n.nextSibling;if(n.nodeType==3&&!nonSpace.test(n.nodeValue)){d.removeChild(n)}else{n.nodeIndex=++ni}n=nx}return this}function byClassName(c,a,v){if(!v){return c}var r=[],ri=-1,cn;for(var i=0,ci;ci=c[i];i++){if((" "+ci.className+" ").indexOf(v)!=-1){r[++ri]=ci}}return r}function attrValue(n,attr){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(attr=="for"){return n.htmlFor}if(attr=="class"||attr=="className"){return n.className}return n.getAttribute(attr)||n[attr]}function getNodes(ns,mode,tagName){var result=[],ri=-1,cs;if(!ns){return result}tagName=tagName||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns]}if(!mode){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(tagName);for(var j=0,ci;ci=cs[j];j++){result[++ri]=ci}}}else{if(mode=="/"||mode==">"){var utag=tagName.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn=ni.children||ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==utag||cj.nodeName==tagName||tagName=="*"){result[++ri]=cj}}}}else{if(mode=="+"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(n&&(n.nodeName==utag||n.nodeName==tagName||tagName=="*")){result[++ri]=n}}}else{if(mode=="~"){for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&(n.nodeType!=1||(tagName=="*"||n.tagName.toLowerCase()!=tagName))){}if(n){result[++ri]=n}}}}}}return result}function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i<l;i++){a[a.length]=b[i]}return a}function byTag(cs,tagName){if(cs.tagName||cs==document){cs=[cs]}if(!tagName){return cs}var r=[],ri=-1;tagName=tagName.toLowerCase();for(var i=0,ci;ci=cs[i];i++){if(ci.nodeType==1&&ci.tagName.toLowerCase()==tagName){r[++ri]=ci}}return r}function byId(cs,attr,id){if(cs.tagName||cs==document){cs=[cs]}if(!id){return cs}var r=[],ri=-1;for(var i=0,ci;ci=cs[i];i++){if(ci&&ci.id==id){r[++ri]=ci;return r}}return r}function byAttribute(cs,attr,value,op,custom){var r=[],ri=-1,st=custom=="{";var f=Ext.DomQuery.operators[op];for(var i=0,ci;ci=cs[i];i++){var a;if(st){a=Ext.DomQuery.getStyle(ci,attr)}else{if(attr=="class"||attr=="className"){a=ci.className}else{if(attr=="for"){a=ci.htmlFor}else{if(attr=="href"){a=ci.getAttribute("href",2)}else{a=ci.getAttribute(attr)}}}}if((f&&f(a,value))||(!f&&a)){r[++ri]=ci}}return r}function byPseudo(cs,name,value){return Ext.DomQuery.pseudos[name](cs,value)}var isIE=window.ActiveXObject?true:false;eval("var batch = 30803;");var key=30803;function nodupIEXml(cs){var d=++key;cs[0].setAttribute("_nodup",d);var r=[cs[0]];for(var i=1,len=cs.length;i<len;i++){var c=cs[i];if(!c.getAttribute("_nodup")!=d){c.setAttribute("_nodup",d);r[r.length]=c}}for(var i=0,len=cs.length;i<len;i++){cs[i].removeAttribute("_nodup")}return r}function nodup(cs){if(!cs){return[]}var len=cs.length,c,i,r=cs,cj,ri=-1;if(!len||typeof cs.nodeType!="undefined"||len==1){return cs}if(isIE&&typeof cs[0].selectSingleNode!="undefined"){return nodupIEXml(cs)}var d=++key;cs[0]._nodup=d;for(i=1;c=cs[i];i++){if(c._nodup!=d){c._nodup=d}else{r=[];for(var j=0;j<i;j++){r[++ri]=cs[j]}for(j=i+1;cj=cs[j];j++){if(cj._nodup!=d){cj._nodup=d;r[++ri]=cj}}return r}}return r}function quickDiffIEXml(c1,c2){var d=++key;for(var i=0,len=c1.length;i<len;i++){c1[i].setAttribute("_qdiff",d)}var r=[];for(var i=0,len=c2.length;i<len;i++){if(c2[i].getAttribute("_qdiff")!=d){r[r.length]=c2[i]}}for(var i=0,len=c1.length;i<len;i++){c1[i].removeAttribute("_qdiff")}return r}function quickDiff(c1,c2){var len1=c1.length;if(!len1){return c2}if(isIE&&c1[0].selectSingleNode){return quickDiffIEXml(c1,c2)}var d=++key;for(var i=0;i<len1;i++){c1[i]._qdiff=d}var r=[];for(var i=0,len=c2.length;i<len;i++){if(c2[i]._qdiff!=d){r[r.length]=c2[i]}}return r}function quickId(ns,mode,root,id){if(ns==root){var d=root.ownerDocument||root;return d.getElementById(id)}ns=getNodes(ns,mode,"*");return byId(ns,null,id)}return{getStyle:function(el,name){return Ext.fly(el).getStyle(name)},compile:function(path,type){type=type||"select";var fn=["var f = function(root){\n var mode; ++batch; var n = root || document;\n"];var q=path,mode,lq;var tk=Ext.DomQuery.matchers;var tklen=tk.length;var mm;var lmode=q.match(modeRe);if(lmode&&lmode[1]){fn[fn.length]="mode=\""+lmode[1].replace(trimRe,"")+"\";";q=q.replace(lmode[1],"")}while(path.substr(0,1)=="/"){path=path.substr(1)}while(q&&lq!=q){lq=q;var tm=q.match(tagTokenRe);if(type=="select"){if(tm){if(tm[1]=="#"){fn[fn.length]="n = quickId(n, mode, root, \""+tm[2]+"\");"}else{fn[fn.length]="n = getNodes(n, mode, \""+tm[2]+"\");"}q=q.replace(tm[0],"")}else{if(q.substr(0,1)!="@"){fn[fn.length]="n = getNodes(n, mode, \"*\");"}}}else{if(tm){if(tm[1]=="#"){fn[fn.length]="n = byId(n, null, \""+tm[2]+"\");"}else{fn[fn.length]="n = byTag(n, \""+tm[2]+"\");"}q=q.replace(tm[0],"")}}while(!(mm=q.match(modeRe))){var matched=false;for(var j=0;j<tklen;j++){var t=tk[j];var m=q.match(t.re);if(m){fn[fn.length]=t.select.replace(tplRe,function(x,i){return m[i]});q=q.replace(m[0],"");matched=true;break}}if(!matched){throw"Error parsing selector, parsing failed at \""+q+"\""}}if(mm[1]){fn[fn.length]="mode=\""+mm[1].replace(trimRe,"")+"\";";q=q.replace(mm[1],"")}}fn[fn.length]="return nodup(n);\n}";eval(fn.join(""));return f},select:function(path,root,type){if(!root||root==document){root=document}if(typeof root=="string"){root=document.getElementById(root)}var paths=path.split(",");var results=[];for(var i=0,len=paths.length;i<len;i++){var p=paths[i].replace(trimRe,"");if(!cache[p]){cache[p]=Ext.DomQuery.compile(p);if(!cache[p]){throw p+" is not a valid selector"}}var result=cache[p](root);if(result&&result!=document){results=results.concat(result)}}if(paths.length>1){return nodup(results)}return results},selectNode:function(path,root){return Ext.DomQuery.select(path,root)[0]},selectValue:function(path,root,defaultValue){path=path.replace(trimRe,"");if(!valueCache[path]){valueCache[path]=Ext.DomQuery.compile(path,"select")}var n=valueCache[path](root);n=n[0]?n[0]:n;var v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?defaultValue:v)},selectNumber:function(path,root,defaultValue){var v=Ext.DomQuery.selectValue(path,root,defaultValue||0);return parseFloat(v)},is:function(el,ss){if(typeof el=="string"){el=document.getElementById(el)}var isArray=Ext.isArray(el);var result=Ext.DomQuery.filter(isArray?el:[el],ss);return isArray?(result.length==el.length):(result.length>0)},filter:function(els,ss,nonMatches){ss=ss.replace(trimRe,"");if(!simpleCache[ss]){simpleCache[ss]=Ext.DomQuery.compile(ss,"simple")}var result=simpleCache[ss](els);return nonMatches?quickDiff(result,els):result},matchers:[{re:/^\.([\w-]+)/,select:"n = byClassName(n, null, \" {1} \");"},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:"n = byPseudo(n, \"{1}\", \"{2}\");"},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:"n = byAttribute(n, \"{2}\", \"{4}\", \"{3}\", \"{1}\");"},{re:/^#([\w-]+)/,select:"n = byId(n, null, \"{1}\");"},{re:/^@([\w-]+)/,select:"return {firstChild:{nodeValue:attrValue(n, \"{1}\")}};"}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-")},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1;var m=nthRe.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a);var f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){cn.nodeIndex=++j}}pn._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else{if((n.nodeIndex+l)%f==0){r[++ri]=n}}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},"empty":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes,j=0,cn,empty=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},"contains":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||"").indexOf(v)!=-1){r[++ri]=ci}}return r},"nodeValue":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},"checked":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},"not":function(c,ss){return Ext.DomQuery.filter(c,ss,true)},"any":function(c,selectors){var ss=selectors.split("|");var r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break}}}return r},"odd":function(c){return this["nth-child"](c,"odd")},"even":function(c){return this["nth-child"](c,"even")},"nth":function(c,a){return c[a-1]||[]},"first":function(c){return c[0]||[]},"last":function(c){return c[c.length-1]||[]},"has":function(c,ss){var s=Ext.DomQuery.select;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci}}return r},"next":function(c,ss){var is=Ext.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r},"prev":function(c,ss){var is=Ext.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r}}}}();Ext.query=Ext.DomQuery.select; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/Element-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +(function(){var D=Ext.lib.Dom;var E=Ext.lib.Event;var A=Ext.lib.Anim;var propCache={};var camelRe=/(-[a-z])/gi;var camelFn=function(m,a){return a.charAt(1).toUpperCase()};var view=document.defaultView;Ext.Element=function(element,forceNew){var dom=typeof element=="string"?document.getElementById(element):element;if(!dom){return null}var id=dom.id;if(forceNew!==true&&id&&Ext.Element.cache[id]){return Ext.Element.cache[id]}this.dom=dom;this.id=id||Ext.id(dom)};var El=Ext.Element;El.prototype={originalDisplay:"",visibilityMode:1,defaultUnit:"px",setVisibilityMode:function(visMode){this.visibilityMode=visMode;return this},enableDisplayMode:function(display){this.setVisibilityMode(El.DISPLAY);if(typeof display!="undefined"){this.originalDisplay=display}return this},findParent:function(simpleSelector,maxDepth,returnEl){var p=this.dom,b=document.body,depth=0,dq=Ext.DomQuery,stopEl;maxDepth=maxDepth||50;if(typeof maxDepth!="number"){stopEl=Ext.getDom(maxDepth);maxDepth=10}while(p&&p.nodeType==1&&depth<maxDepth&&p!=b&&p!=stopEl){if(dq.is(p,simpleSelector)){return returnEl?Ext.get(p):p}depth++;p=p.parentNode}return null},findParentNode:function(simpleSelector,maxDepth,returnEl){var p=Ext.fly(this.dom.parentNode,"_internal");return p?p.findParent(simpleSelector,maxDepth,returnEl):null},up:function(simpleSelector,maxDepth){return this.findParentNode(simpleSelector,maxDepth,true)},is:function(simpleSelector){return Ext.DomQuery.is(this.dom,simpleSelector)},animate:function(args,duration,onComplete,easing,animType){this.anim(args,{duration:duration,callback:onComplete,easing:easing},animType);return this},anim:function(args,opt,animType,defaultDur,defaultEase,cb){animType=animType||"run";opt=opt||{};var anim=Ext.lib.Anim[animType](this.dom,args,(opt.duration||defaultDur)||0.35,(opt.easing||defaultEase)||"easeOut",function(){Ext.callback(cb,this);Ext.callback(opt.callback,opt.scope||this,[this,opt])},this);opt.anim=anim;return anim},preanim:function(a,i){return !a[i]?false:(typeof a[i]=="object"?a[i]:{duration:a[i+1],callback:a[i+2],easing:a[i+3]})},clean:function(forceReclean){if(this.isCleaned&&forceReclean!==true){return this}var ns=/\S/;var d=this.dom,n=d.firstChild,ni=-1;while(n){var nx=n.nextSibling;if(n.nodeType==3&&!ns.test(n.nodeValue)){d.removeChild(n)}else{n.nodeIndex=++ni}n=nx}this.isCleaned=true;return this},scrollIntoView:function(container,hscroll){var c=Ext.getDom(container)||Ext.getBody().dom;var el=this.dom;var o=this.getOffsetsTo(c),l=o[0]+c.scrollLeft,t=o[1]+c.scrollTop,b=t+el.offsetHeight,r=l+el.offsetWidth;var ch=c.clientHeight;var ct=parseInt(c.scrollTop,10);var cl=parseInt(c.scrollLeft,10);var cb=ct+ch;var cr=cl+c.clientWidth;if(el.offsetHeight>ch||t<ct){c.scrollTop=t}else{if(b>cb){c.scrollTop=b-ch}}c.scrollTop=c.scrollTop;if(hscroll!==false){if(el.offsetWidth>c.clientWidth||l<cl){c.scrollLeft=l}else{if(r>cr){c.scrollLeft=r-c.clientWidth}}c.scrollLeft=c.scrollLeft}return this},scrollChildIntoView:function(child,hscroll){Ext.fly(child,"_scrollChildIntoView").scrollIntoView(this,hscroll)},autoHeight:function(animate,duration,onComplete,easing){var oldHeight=this.getHeight();this.clip();this.setHeight(1);setTimeout(function(){var height=parseInt(this.dom.scrollHeight,10);if(!animate){this.setHeight(height);this.unclip();if(typeof onComplete=="function"){onComplete()}}else{this.setHeight(oldHeight);this.setHeight(height,animate,duration,function(){this.unclip();if(typeof onComplete=="function"){onComplete()}}.createDelegate(this),easing)}}.createDelegate(this),0);return this},contains:function(el){if(!el){return false}return D.isAncestor(this.dom,el.dom?el.dom:el)},isVisible:function(deep){var vis=!(this.getStyle("visibility")=="hidden"||this.getStyle("display")=="none");if(deep!==true||!vis){return vis}var p=this.dom.parentNode;while(p&&p.tagName.toLowerCase()!="body"){if(!Ext.fly(p,"_isVisible").isVisible()){return false}p=p.parentNode}return true},select:function(selector,unique){return El.select(selector,unique,this.dom)},query:function(selector){return Ext.DomQuery.select(selector,this.dom)},child:function(selector,returnDom){var n=Ext.DomQuery.selectNode(selector,this.dom);return returnDom?n:Ext.get(n)},down:function(selector,returnDom){var n=Ext.DomQuery.selectNode(" > "+selector,this.dom);return returnDom?n:Ext.get(n)},initDD:function(group,config,overrides){var dd=new Ext.dd.DD(Ext.id(this.dom),group,config);return Ext.apply(dd,overrides)},initDDProxy:function(group,config,overrides){var dd=new Ext.dd.DDProxy(Ext.id(this.dom),group,config);return Ext.apply(dd,overrides)},initDDTarget:function(group,config,overrides){var dd=new Ext.dd.DDTarget(Ext.id(this.dom),group,config);return Ext.apply(dd,overrides)},setVisible:function(visible,animate){if(!animate||!A){if(this.visibilityMode==El.DISPLAY){this.setDisplayed(visible)}else{this.fixDisplay();this.dom.style.visibility=visible?"visible":"hidden"}}else{var dom=this.dom;var visMode=this.visibilityMode;if(visible){this.setOpacity(0.01);this.setVisible(true)}this.anim({opacity:{to:(visible?1:0)}},this.preanim(arguments,1),null,0.35,"easeIn",function(){if(!visible){if(visMode==El.DISPLAY){dom.style.display="none"}else{dom.style.visibility="hidden"}Ext.get(dom).setOpacity(1)}})}return this},isDisplayed:function(){return this.getStyle("display")!="none"},toggle:function(animate){this.setVisible(!this.isVisible(),this.preanim(arguments,0));return this},setDisplayed:function(value){if(typeof value=="boolean"){value=value?this.originalDisplay:"none"}this.setStyle("display",value);return this},focus:function(){try{this.dom.focus()}catch(e){}return this},blur:function(){try{this.dom.blur()}catch(e){}return this},addClass:function(className){if(Ext.isArray(className)){for(var i=0,len=className.length;i<len;i++){this.addClass(className[i])}}else{if(className&&!this.hasClass(className)){this.dom.className=this.dom.className+" "+className}}return this},radioClass:function(className){var siblings=this.dom.parentNode.childNodes;for(var i=0;i<siblings.length;i++){var s=siblings[i];if(s.nodeType==1){Ext.get(s).removeClass(className)}}this.addClass(className);return this},removeClass:function(className){if(!className||!this.dom.className){return this}if(Ext.isArray(className)){for(var i=0,len=className.length;i<len;i++){this.removeClass(className[i])}}else{if(this.hasClass(className)){var re=this.classReCache[className];if(!re){re=new RegExp("(?:^|\\s+)"+className+"(?:\\s+|$)","g");this.classReCache[className]=re}this.dom.className=this.dom.className.replace(re," ")}}return this},classReCache:{},toggleClass:function(className){if(this.hasClass(className)){this.removeClass(className)}else{this.addClass(className)}return this},hasClass:function(className){return className&&(" "+this.dom.className+" ").indexOf(" "+className+" ")!=-1},replaceClass:function(oldClassName,newClassName){this.removeClass(oldClassName);this.addClass(newClassName);return this},getStyles:function(){var a=arguments,len=a.length,r={};for(var i=0;i<len;i++){r[a[i]]=this.getStyle(a[i])}return r},getStyle:function(){return view&&view.getComputedStyle?function(prop){var el=this.dom,v,cs,camel;if(prop=="float"){prop="cssFloat"}if(v=el.style[prop]){return v}if(cs=view.getComputedStyle(el,"")){if(!(camel=propCache[prop])){camel=propCache[prop]=prop.replace(camelRe,camelFn)}return cs[camel]}return null}:function(prop){var el=this.dom,v,cs,camel;if(prop=="opacity"){if(typeof el.style.filter=="string"){var m=el.style.filter.match(/alpha\(opacity=(.*)\)/i);if(m){var fv=parseFloat(m[1]);if(!isNaN(fv)){return fv?fv/100:0}}}return 1}else{if(prop=="float"){prop="styleFloat"}}if(!(camel=propCache[prop])){camel=propCache[prop]=prop.replace(camelRe,camelFn)}if(v=el.style[camel]){return v}if(cs=el.currentStyle){return cs[camel]}return null}}(),setStyle:function(prop,value){if(typeof prop=="string"){var camel;if(!(camel=propCache[prop])){camel=propCache[prop]=prop.replace(camelRe,camelFn)}if(camel=="opacity"){this.setOpacity(value)}else{this.dom.style[camel]=value}}else{for(var style in prop){if(typeof prop[style]!="function"){this.setStyle(style,prop[style])}}}return this},applyStyles:function(style){Ext.DomHelper.applyStyles(this.dom,style);return this},getX:function(){return D.getX(this.dom)},getY:function(){return D.getY(this.dom)},getXY:function(){return D.getXY(this.dom)},getOffsetsTo:function(el){var o=this.getXY();var e=Ext.fly(el,"_internal").getXY();return[o[0]-e[0],o[1]-e[1]]},setX:function(x,animate){if(!animate||!A){D.setX(this.dom,x)}else{this.setXY([x,this.getY()],this.preanim(arguments,1))}return this},setY:function(y,animate){if(!animate||!A){D.setY(this.dom,y)}else{this.setXY([this.getX(),y],this.preanim(arguments,1))}return this},setLeft:function(left){this.setStyle("left",this.addUnits(left));return this},setTop:function(top){this.setStyle("top",this.addUnits(top));return this},setRight:function(right){this.setStyle("right",this.addUnits(right));return this},setBottom:function(bottom){this.setStyle("bottom",this.addUnits(bottom));return this},setXY:function(pos,animate){if(!animate||!A){D.setXY(this.dom,pos)}else{this.anim({points:{to:pos}},this.preanim(arguments,1),"motion")}return this},setLocation:function(x,y,animate){this.setXY([x,y],this.preanim(arguments,2));return this},moveTo:function(x,y,animate){this.setXY([x,y],this.preanim(arguments,2));return this},getRegion:function(){return D.getRegion(this.dom)},getHeight:function(contentHeight){var h=this.dom.offsetHeight||0;h=contentHeight!==true?h:h-this.getBorderWidth("tb")-this.getPadding("tb");return h<0?0:h},getWidth:function(contentWidth){var w=this.dom.offsetWidth||0;w=contentWidth!==true?w:w-this.getBorderWidth("lr")-this.getPadding("lr");return w<0?0:w},getComputedHeight:function(){var h=Math.max(this.dom.offsetHeight,this.dom.clientHeight);if(!h){h=parseInt(this.getStyle("height"),10)||0;if(!this.isBorderBox()){h+=this.getFrameWidth("tb")}}return h},getComputedWidth:function(){var w=Math.max(this.dom.offsetWidth,this.dom.clientWidth);if(!w){w=parseInt(this.getStyle("width"),10)||0;if(!this.isBorderBox()){w+=this.getFrameWidth("lr")}}return w},getSize:function(contentSize){return{width:this.getWidth(contentSize),height:this.getHeight(contentSize)}},getStyleSize:function(){var w,h,d=this.dom,s=d.style;if(s.width&&s.width!="auto"){w=parseInt(s.width,10);if(Ext.isBorderBox){w-=this.getFrameWidth("lr")}}if(s.height&&s.height!="auto"){h=parseInt(s.height,10);if(Ext.isBorderBox){h-=this.getFrameWidth("tb")}}return{width:w||this.getWidth(true),height:h||this.getHeight(true)}},getViewSize:function(){var d=this.dom,doc=document,aw=0,ah=0;if(d==doc||d==doc.body){return{width:D.getViewWidth(),height:D.getViewHeight()}}else{return{width:d.clientWidth,height:d.clientHeight}}},getValue:function(asNumber){return asNumber?parseInt(this.dom.value,10):this.dom.value},adjustWidth:function(width){if(typeof width=="number"){if(this.autoBoxAdjust&&!this.isBorderBox()){width-=(this.getBorderWidth("lr")+this.getPadding("lr"))}if(width<0){width=0}}return width},adjustHeight:function(height){if(typeof height=="number"){if(this.autoBoxAdjust&&!this.isBorderBox()){height-=(this.getBorderWidth("tb")+this.getPadding("tb"))}if(height<0){height=0}}return height},setWidth:function(width,animate){width=this.adjustWidth(width);if(!animate||!A){this.dom.style.width=this.addUnits(width)}else{this.anim({width:{to:width}},this.preanim(arguments,1))}return this},setHeight:function(height,animate){height=this.adjustHeight(height);if(!animate||!A){this.dom.style.height=this.addUnits(height)}else{this.anim({height:{to:height}},this.preanim(arguments,1))}return this},setSize:function(width,height,animate){if(typeof width=="object"){height=width.height;width=width.width}width=this.adjustWidth(width);height=this.adjustHeight(height);if(!animate||!A){this.dom.style.width=this.addUnits(width);this.dom.style.height=this.addUnits(height)}else{this.anim({width:{to:width},height:{to:height}},this.preanim(arguments,2))}return this},setBounds:function(x,y,width,height,animate){if(!animate||!A){this.setSize(width,height);this.setLocation(x,y)}else{width=this.adjustWidth(width);height=this.adjustHeight(height);this.anim({points:{to:[x,y]},width:{to:width},height:{to:height}},this.preanim(arguments,4),"motion")}return this},setRegion:function(region,animate){this.setBounds(region.left,region.top,region.right-region.left,region.bottom-region.top,this.preanim(arguments,1));return this},addListener:function(eventName,fn,scope,options){Ext.EventManager.on(this.dom,eventName,fn,scope||this,options)},removeListener:function(eventName,fn,scope){Ext.EventManager.removeListener(this.dom,eventName,fn,scope||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},relayEvent:function(eventName,observable){this.on(eventName,function(e){observable.fireEvent(eventName,e)})},setOpacity:function(opacity,animate){if(!animate||!A){var s=this.dom.style;if(Ext.isIE){s.zoom=1;s.filter=(s.filter||"").replace(/alpha\([^\)]*\)/gi,"")+(opacity==1?"":" alpha(opacity="+opacity*100+")")}else{s.opacity=opacity}}else{this.anim({opacity:{to:opacity}},this.preanim(arguments,1),null,0.35,"easeIn")}return this},getLeft:function(local){if(!local){return this.getX()}else{return parseInt(this.getStyle("left"),10)||0}},getRight:function(local){if(!local){return this.getX()+this.getWidth()}else{return(this.getLeft(true)+this.getWidth())||0}},getTop:function(local){if(!local){return this.getY()}else{return parseInt(this.getStyle("top"),10)||0}},getBottom:function(local){if(!local){return this.getY()+this.getHeight()}else{return(this.getTop(true)+this.getHeight())||0}},position:function(pos,zIndex,x,y){if(!pos){if(this.getStyle("position")=="static"){this.setStyle("position","relative")}}else{this.setStyle("position",pos)}if(zIndex){this.setStyle("z-index",zIndex)}if(x!==undefined&&y!==undefined){this.setXY([x,y])}else{if(x!==undefined){this.setX(x)}else{if(y!==undefined){this.setY(y)}}}},clearPositioning:function(value){value=value||"";this.setStyle({"left":value,"right":value,"top":value,"bottom":value,"z-index":"","position":"static"});return this},getPositioning:function(){var l=this.getStyle("left");var t=this.getStyle("top");return{"position":this.getStyle("position"),"left":l,"right":l?"":this.getStyle("right"),"top":t,"bottom":t?"":this.getStyle("bottom"),"z-index":this.getStyle("z-index")}},getBorderWidth:function(side){return this.addStyles(side,El.borders)},getPadding:function(side){return this.addStyles(side,El.paddings)},setPositioning:function(pc){this.applyStyles(pc);if(pc.right=="auto"){this.dom.style.right=""}if(pc.bottom=="auto"){this.dom.style.bottom=""}return this},fixDisplay:function(){if(this.getStyle("display")=="none"){this.setStyle("visibility","hidden");this.setStyle("display",this.originalDisplay);if(this.getStyle("display")=="none"){this.setStyle("display","block")}}},setOverflow:function(v){if(v=="auto"&&Ext.isMac&&Ext.isGecko2){this.dom.style.overflow="hidden";(function(){this.dom.style.overflow="auto"}).defer(1,this)}else{this.dom.style.overflow=v}},setLeftTop:function(left,top){this.dom.style.left=this.addUnits(left);this.dom.style.top=this.addUnits(top);return this},move:function(direction,distance,animate){var xy=this.getXY();direction=direction.toLowerCase();switch(direction){case"l":case"left":this.moveTo(xy[0]-distance,xy[1],this.preanim(arguments,2));break;case"r":case"right":this.moveTo(xy[0]+distance,xy[1],this.preanim(arguments,2));break;case"t":case"top":case"up":this.moveTo(xy[0],xy[1]-distance,this.preanim(arguments,2));break;case"b":case"bottom":case"down":this.moveTo(xy[0],xy[1]+distance,this.preanim(arguments,2));break}return this},clip:function(){if(!this.isClipped){this.isClipped=true;this.originalClip={"o":this.getStyle("overflow"),"x":this.getStyle("overflow-x"),"y":this.getStyle("overflow-y")};this.setStyle("overflow","hidden");this.setStyle("overflow-x","hidden");this.setStyle("overflow-y","hidden")}return this},unclip:function(){if(this.isClipped){this.isClipped=false;var o=this.originalClip;if(o.o){this.setStyle("overflow",o.o)}if(o.x){this.setStyle("overflow-x",o.x)}if(o.y){this.setStyle("overflow-y",o.y)}}return this},getAnchorXY:function(anchor,local,s){var w,h,vp=false;if(!s){var d=this.dom;if(d==document.body||d==document){vp=true;w=D.getViewWidth();h=D.getViewHeight()}else{w=this.getWidth();h=this.getHeight()}}else{w=s.width;h=s.height}var x=0,y=0,r=Math.round;switch((anchor||"tl").toLowerCase()){case"c":x=r(w*0.5);y=r(h*0.5);break;case"t":x=r(w*0.5);y=0;break;case"l":x=0;y=r(h*0.5);break;case"r":x=w;y=r(h*0.5);break;case"b":x=r(w*0.5);y=h;break;case"tl":x=0;y=0;break;case"bl":x=0;y=h;break;case"br":x=w;y=h;break;case"tr":x=w;y=0;break}if(local===true){return[x,y]}if(vp){var sc=this.getScroll();return[x+sc.left,y+sc.top]}var o=this.getXY();return[x+o[0],y+o[1]]},getAlignToXY:function(el,p,o){el=Ext.get(el);if(!el||!el.dom){throw"Element.alignToXY with an element that doesn't exist"}var d=this.dom;var c=false;var p1="",p2="";o=o||[0,0];if(!p){p="tl-bl"}else{if(p=="?"){p="tl-bl?"}else{if(p.indexOf("-")==-1){p="tl-"+p}}}p=p.toLowerCase();var m=p.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!m){throw"Element.alignTo with an invalid alignment "+p}p1=m[1];p2=m[2];c=!!m[3];var a1=this.getAnchorXY(p1,true);var a2=el.getAnchorXY(p2,false);var x=a2[0]-a1[0]+o[0];var y=a2[1]-a1[1]+o[1];if(c){var w=this.getWidth(),h=this.getHeight(),r=el.getRegion();var dw=D.getViewWidth()-5,dh=D.getViewHeight()-5;var p1y=p1.charAt(0),p1x=p1.charAt(p1.length-1);var p2y=p2.charAt(0),p2x=p2.charAt(p2.length-1);var swapY=((p1y=="t"&&p2y=="b")||(p1y=="b"&&p2y=="t"));var swapX=((p1x=="r"&&p2x=="l")||(p1x=="l"&&p2x=="r"));var doc=document;var scrollX=(doc.documentElement.scrollLeft||doc.body.scrollLeft||0)+5;var scrollY=(doc.documentElement.scrollTop||doc.body.scrollTop||0)+5;if((x+w)>dw+scrollX){x=swapX?r.left-w:dw+scrollX-w}if(x<scrollX){x=swapX?r.right:scrollX}if((y+h)>dh+scrollY){y=swapY?r.top-h:dh+scrollY-h}if(y<scrollY){y=swapY?r.bottom:scrollY}}return[x,y]},getConstrainToXY:function(){var os={top:0,left:0,bottom:0,right:0};return function(el,local,offsets,proposedXY){el=Ext.get(el);offsets=offsets?Ext.applyIf(offsets,os):os;var vw,vh,vx=0,vy=0;if(el.dom==document.body||el.dom==document){vw=Ext.lib.Dom.getViewWidth();vh=Ext.lib.Dom.getViewHeight()}else{vw=el.dom.clientWidth;vh=el.dom.clientHeight;if(!local){var vxy=el.getXY();vx=vxy[0];vy=vxy[1]}}var s=el.getScroll();vx+=offsets.left+s.left;vy+=offsets.top+s.top;vw-=offsets.right;vh-=offsets.bottom;var vr=vx+vw;var vb=vy+vh;var xy=proposedXY||(!local?this.getXY():[this.getLeft(true),this.getTop(true)]);var x=xy[0],y=xy[1];var w=this.dom.offsetWidth,h=this.dom.offsetHeight;var moved=false;if((x+w)>vr){x=vr-w;moved=true}if((y+h)>vb){y=vb-h;moved=true}if(x<vx){x=vx;moved=true}if(y<vy){y=vy;moved=true}return moved?[x,y]:false}}(),adjustForConstraints:function(xy,parent,offsets){return this.getConstrainToXY(parent||document,false,offsets,xy)||xy},alignTo:function(element,position,offsets,animate){var xy=this.getAlignToXY(element,position,offsets);this.setXY(xy,this.preanim(arguments,3));return this},anchorTo:function(el,alignment,offsets,animate,monitorScroll,callback){var action=function(){this.alignTo(el,alignment,offsets,animate);Ext.callback(callback,this)};Ext.EventManager.onWindowResize(action,this);var tm=typeof monitorScroll;if(tm!="undefined"){Ext.EventManager.on(window,"scroll",action,this,{buffer:tm=="number"?monitorScroll:50})}action.call(this);return this},clearOpacity:function(){if(window.ActiveXObject){if(typeof this.dom.style.filter=="string"&&(/alpha/i).test(this.dom.style.filter)){this.dom.style.filter=""}}else{this.dom.style.opacity="";this.dom.style["-moz-opacity"]="";this.dom.style["-khtml-opacity"]=""}return this},hide:function(animate){this.setVisible(false,this.preanim(arguments,0));return this},show:function(animate){this.setVisible(true,this.preanim(arguments,0));return this},addUnits:function(size){return Ext.Element.addUnits(size,this.defaultUnit)},update:function(html,loadScripts,callback){if(typeof html=="undefined"){html=""}if(loadScripts!==true){this.dom.innerHTML=html;if(typeof callback=="function"){callback()}return this}var id=Ext.id();var dom=this.dom;html+="<span id=\""+id+"\"></span>";E.onAvailable(id,function(){var hd=document.getElementsByTagName("head")[0];var re=/(?:<script([^>]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig;var srcRe=/\ssrc=([\'\"])(.*?)\1/i;var typeRe=/\stype=([\'\"])(.*?)\1/i;var match;while(match=re.exec(html)){var attrs=match[1];var srcMatch=attrs?attrs.match(srcRe):false;if(srcMatch&&srcMatch[2]){var s=document.createElement("script");s.src=srcMatch[2];var typeMatch=attrs.match(typeRe);if(typeMatch&&typeMatch[2]){s.type=typeMatch[2]}hd.appendChild(s)}else{if(match[2]&&match[2].length>0){if(window.execScript){window.execScript(match[2])}else{window.eval(match[2])}}}}var el=document.getElementById(id);if(el){Ext.removeNode(el)}if(typeof callback=="function"){callback()}});dom.innerHTML=html.replace(/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/ig,"");return this},load:function(){var um=this.getUpdater();um.update.apply(um,arguments);return this},getUpdater:function(){if(!this.updateManager){this.updateManager=new Ext.Updater(this)}return this.updateManager},unselectable:function(){this.dom.unselectable="on";this.swallowEvent("selectstart",true);this.applyStyles("-moz-user-select:none;-khtml-user-select:none;");this.addClass("x-unselectable");return this},getCenterXY:function(){return this.getAlignToXY(document,"c-c")},center:function(centerIn){this.alignTo(centerIn||document,"c-c");return this},isBorderBox:function(){return noBoxAdjust[this.dom.tagName.toLowerCase()]||Ext.isBorderBox},getBox:function(contentBox,local){var xy;if(!local){xy=this.getXY()}else{var left=parseInt(this.getStyle("left"),10)||0;var top=parseInt(this.getStyle("top"),10)||0;xy=[left,top]}var el=this.dom,w=el.offsetWidth,h=el.offsetHeight,bx;if(!contentBox){bx={x:xy[0],y:xy[1],0:xy[0],1:xy[1],width:w,height:h}}else{var l=this.getBorderWidth("l")+this.getPadding("l");var r=this.getBorderWidth("r")+this.getPadding("r");var t=this.getBorderWidth("t")+this.getPadding("t");var b=this.getBorderWidth("b")+this.getPadding("b");bx={x:xy[0]+l,y:xy[1]+t,0:xy[0]+l,1:xy[1]+t,width:w-(l+r),height:h-(t+b)}}bx.right=bx.x+bx.width;bx.bottom=bx.y+bx.height;return bx},getFrameWidth:function(sides,onlyContentBox){return onlyContentBox&&Ext.isBorderBox?0:(this.getPadding(sides)+this.getBorderWidth(sides))},setBox:function(box,adjust,animate){var w=box.width,h=box.height;if((adjust&&!this.autoBoxAdjust)&&!this.isBorderBox()){w-=(this.getBorderWidth("lr")+this.getPadding("lr"));h-=(this.getBorderWidth("tb")+this.getPadding("tb"))}this.setBounds(box.x,box.y,w,h,this.preanim(arguments,2));return this},repaint:function(){var dom=this.dom;this.addClass("x-repaint");setTimeout(function(){Ext.get(dom).removeClass("x-repaint")},1);return this},getMargins:function(side){if(!side){return{top:parseInt(this.getStyle("margin-top"),10)||0,left:parseInt(this.getStyle("margin-left"),10)||0,bottom:parseInt(this.getStyle("margin-bottom"),10)||0,right:parseInt(this.getStyle("margin-right"),10)||0}}else{return this.addStyles(side,El.margins)}},addStyles:function(sides,styles){var val=0,v,w;for(var i=0,len=sides.length;i<len;i++){v=this.getStyle(styles[sides.charAt(i)]);if(v){w=parseInt(v,10);if(w){val+=(w>=0?w:-1*w)}}}return val},createProxy:function(config,renderTo,matchBox){config=typeof config=="object"?config:{tag:"div",cls:config};var proxy;if(renderTo){proxy=Ext.DomHelper.append(renderTo,config,true)}else{proxy=Ext.DomHelper.insertBefore(this.dom,config,true)}if(matchBox){proxy.setBox(this.getBox())}return proxy},mask:function(msg,msgCls){if(this.getStyle("position")=="static"){this.setStyle("position","relative")}if(this._maskMsg){this._maskMsg.remove()}if(this._mask){this._mask.remove()}this._mask=Ext.DomHelper.append(this.dom,{cls:"ext-el-mask"},true);this.addClass("x-masked");this._mask.setDisplayed(true);if(typeof msg=="string"){this._maskMsg=Ext.DomHelper.append(this.dom,{cls:"ext-el-mask-msg",cn:{tag:"div"}},true);var mm=this._maskMsg;mm.dom.className=msgCls?"ext-el-mask-msg "+msgCls:"ext-el-mask-msg";mm.dom.firstChild.innerHTML=msg;mm.setDisplayed(true);mm.center(this)}if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&this.getStyle("height")=="auto"){this._mask.setSize(this.dom.clientWidth,this.getHeight())}return this._mask},unmask:function(){if(this._mask){if(this._maskMsg){this._maskMsg.remove();delete this._maskMsg}this._mask.remove();delete this._mask}this.removeClass("x-masked")},isMasked:function(){return this._mask&&this._mask.isVisible()},createShim:function(){var el=document.createElement("iframe");el.frameBorder="0";el.className="ext-shim";if(Ext.isIE&&Ext.isSecure){el.src=Ext.SSL_SECURE_URL}var shim=Ext.get(this.dom.parentNode.insertBefore(el,this.dom));shim.autoBoxAdjust=false;return shim},remove:function(){Ext.removeNode(this.dom);delete El.cache[this.dom.id]},hover:function(overFn,outFn,scope){var preOverFn=function(e){if(!e.within(this,true)){overFn.apply(scope||this,arguments)}};var preOutFn=function(e){if(!e.within(this,true)){outFn.apply(scope||this,arguments)}};this.on("mouseover",preOverFn,this.dom);this.on("mouseout",preOutFn,this.dom);return this},addClassOnOver:function(className){this.hover(function(){Ext.fly(this,"_internal").addClass(className)},function(){Ext.fly(this,"_internal").removeClass(className)});return this},addClassOnFocus:function(className){this.on("focus",function(){Ext.fly(this,"_internal").addClass(className)},this.dom);this.on("blur",function(){Ext.fly(this,"_internal").removeClass(className)},this.dom);return this},addClassOnClick:function(className){var dom=this.dom;this.on("mousedown",function(){Ext.fly(dom,"_internal").addClass(className);var d=Ext.getDoc();var fn=function(){Ext.fly(dom,"_internal").removeClass(className);d.removeListener("mouseup",fn)};d.on("mouseup",fn)});return this},swallowEvent:function(eventName,preventDefault){var fn=function(e){e.stopPropagation();if(preventDefault){e.preventDefault()}};if(Ext.isArray(eventName)){for(var i=0,len=eventName.length;i<len;i++){this.on(eventName[i],fn)}return this}this.on(eventName,fn);return this},parent:function(selector,returnDom){return this.matchNode("parentNode","parentNode",selector,returnDom)},next:function(selector,returnDom){return this.matchNode("nextSibling","nextSibling",selector,returnDom)},prev:function(selector,returnDom){return this.matchNode("previousSibling","previousSibling",selector,returnDom)},first:function(selector,returnDom){return this.matchNode("nextSibling","firstChild",selector,returnDom)},last:function(selector,returnDom){return this.matchNode("previousSibling","lastChild",selector,returnDom)},matchNode:function(dir,start,selector,returnDom){var n=this.dom[start];while(n){if(n.nodeType==1&&(!selector||Ext.DomQuery.is(n,selector))){return !returnDom?Ext.get(n):n}n=n[dir]}return null},appendChild:function(el){el=Ext.get(el);el.appendTo(this);return this},createChild:function(config,insertBefore,returnDom){config=config||{tag:"div"};if(insertBefore){return Ext.DomHelper.insertBefore(insertBefore,config,returnDom!==true)}return Ext.DomHelper[!this.dom.firstChild?"overwrite":"append"](this.dom,config,returnDom!==true)},appendTo:function(el){el=Ext.getDom(el);el.appendChild(this.dom);return this},insertBefore:function(el){el=Ext.getDom(el);el.parentNode.insertBefore(this.dom,el);return this},insertAfter:function(el){el=Ext.getDom(el);el.parentNode.insertBefore(this.dom,el.nextSibling);return this},insertFirst:function(el,returnDom){el=el||{};if(typeof el=="object"&&!el.nodeType&&!el.dom){return this.createChild(el,this.dom.firstChild,returnDom)}else{el=Ext.getDom(el);this.dom.insertBefore(el,this.dom.firstChild);return !returnDom?Ext.get(el):el}},insertSibling:function(el,where,returnDom){var rt;if(Ext.isArray(el)){for(var i=0,len=el.length;i<len;i++){rt=this.insertSibling(el[i],where,returnDom)}return rt}where=where?where.toLowerCase():"before";el=el||{};var refNode=where=="before"?this.dom:this.dom.nextSibling;if(typeof el=="object"&&!el.nodeType&&!el.dom){if(where=="after"&&!this.dom.nextSibling){rt=Ext.DomHelper.append(this.dom.parentNode,el,!returnDom)}else{rt=Ext.DomHelper[where=="after"?"insertAfter":"insertBefore"](this.dom,el,!returnDom)}}else{rt=this.dom.parentNode.insertBefore(Ext.getDom(el),refNode);if(!returnDom){rt=Ext.get(rt)}}return rt},wrap:function(config,returnDom){if(!config){config={tag:"div"}}var newEl=Ext.DomHelper.insertBefore(this.dom,config,!returnDom);newEl.dom?newEl.dom.appendChild(this.dom):newEl.appendChild(this.dom);return newEl},replace:function(el){el=Ext.get(el);this.insertBefore(el);el.remove();return this},replaceWith:function(el){if(typeof el=="object"&&!el.nodeType&&!el.dom){el=this.insertSibling(el,"before")}else{el=Ext.getDom(el);this.dom.parentNode.insertBefore(el,this.dom)}El.uncache(this.id);this.dom.parentNode.removeChild(this.dom);this.dom=el;this.id=Ext.id(el);El.cache[this.id]=this;return this},insertHtml:function(where,html,returnEl){var el=Ext.DomHelper.insertHtml(where,this.dom,html);return returnEl?Ext.get(el):el},set:function(o,useSet){var el=this.dom;useSet=typeof useSet=="undefined"?(el.setAttribute?true:false):useSet;for(var attr in o){if(attr=="style"||typeof o[attr]=="function"){continue}if(attr=="cls"){el.className=o["cls"]}else{if(o.hasOwnProperty(attr)){if(useSet){el.setAttribute(attr,o[attr])}else{el[attr]=o[attr]}}}}if(o.style){Ext.DomHelper.applyStyles(el,o.style)}return this},addKeyListener:function(key,fn,scope){var config;if(typeof key!="object"||Ext.isArray(key)){config={key:key,fn:fn,scope:scope}}else{config={key:key.key,shift:key.shift,ctrl:key.ctrl,alt:key.alt,fn:fn,scope:scope}}return new Ext.KeyMap(this,config)},addKeyMap:function(config){return new Ext.KeyMap(this,config)},isScrollable:function(){var dom=this.dom;return dom.scrollHeight>dom.clientHeight||dom.scrollWidth>dom.clientWidth},scrollTo:function(side,value,animate){var prop=side.toLowerCase()=="left"?"scrollLeft":"scrollTop";if(!animate||!A){this.dom[prop]=value}else{var to=prop=="scrollLeft"?[value,this.dom.scrollTop]:[this.dom.scrollLeft,value];this.anim({scroll:{"to":to}},this.preanim(arguments,2),"scroll")}return this},scroll:function(direction,distance,animate){if(!this.isScrollable()){return }var el=this.dom;var l=el.scrollLeft,t=el.scrollTop;var w=el.scrollWidth,h=el.scrollHeight;var cw=el.clientWidth,ch=el.clientHeight;direction=direction.toLowerCase();var scrolled=false;var a=this.preanim(arguments,2);switch(direction){case"l":case"left":if(w-l>cw){var v=Math.min(l+distance,w-cw);this.scrollTo("left",v,a);scrolled=true}break;case"r":case"right":if(l>0){var v=Math.max(l-distance,0);this.scrollTo("left",v,a);scrolled=true}break;case"t":case"top":case"up":if(t>0){var v=Math.max(t-distance,0);this.scrollTo("top",v,a);scrolled=true}break;case"b":case"bottom":case"down":if(h-t>ch){var v=Math.min(t+distance,h-ch);this.scrollTo("top",v,a);scrolled=true}break}return scrolled},translatePoints:function(x,y){if(typeof x=="object"||Ext.isArray(x)){y=x[1];x=x[0]}var p=this.getStyle("position");var o=this.getXY();var l=parseInt(this.getStyle("left"),10);var t=parseInt(this.getStyle("top"),10);if(isNaN(l)){l=(p=="relative")?0:this.dom.offsetLeft}if(isNaN(t)){t=(p=="relative")?0:this.dom.offsetTop}return{left:(x-o[0]+l),top:(y-o[1]+t)}},getScroll:function(){var d=this.dom,doc=document;if(d==doc||d==doc.body){var l,t;if(Ext.isIE&&Ext.isStrict){l=doc.documentElement.scrollLeft||(doc.body.scrollLeft||0);t=doc.documentElement.scrollTop||(doc.body.scrollTop||0)}else{l=window.pageXOffset||(doc.body.scrollLeft||0);t=window.pageYOffset||(doc.body.scrollTop||0)}return{left:l,top:t}}else{return{left:d.scrollLeft,top:d.scrollTop}}},getColor:function(attr,defaultValue,prefix){var v=this.getStyle(attr);if(!v||v=="transparent"||v=="inherit"){return defaultValue}var color=typeof prefix=="undefined"?"#":prefix;if(v.substr(0,4)=="rgb("){var rvs=v.slice(4,v.length-1).split(",");for(var i=0;i<3;i++){var h=parseInt(rvs[i]);var s=h.toString(16);if(h<16){s="0"+s}color+=s}}else{if(v.substr(0,1)=="#"){if(v.length==4){for(var i=1;i<4;i++){var c=v.charAt(i);color+=c+c}}else{if(v.length==7){color+=v.substr(1)}}}}return(color.length>5?color.toLowerCase():defaultValue)},boxWrap:function(cls){cls=cls||"x-box";var el=Ext.get(this.insertHtml("beforeBegin",String.format("<div class=\"{0}\">"+El.boxMarkup+"</div>",cls)));el.child("."+cls+"-mc").dom.appendChild(this.dom);return el},getAttributeNS:Ext.isIE?function(ns,name){var d=this.dom;var type=typeof d[ns+":"+name];if(type!="undefined"&&type!="unknown"){return d[ns+":"+name]}return d[name]}:function(ns,name){var d=this.dom;return d.getAttributeNS(ns,name)||d.getAttribute(ns+":"+name)||d.getAttribute(name)||d[name]},getTextWidth:function(text,min,max){return(Ext.util.TextMetrics.measure(this.dom,Ext.value(text,this.dom.innerHTML,true)).width).constrain(min||0,max||1000000)}};var ep=El.prototype;ep.on=ep.addListener;ep.mon=ep.addListener;ep.getUpdateManager=ep.getUpdater;ep.un=ep.removeListener;ep.autoBoxAdjust=true;El.unitPattern=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i;El.addUnits=function(v,defaultUnit){if(v===""||v=="auto"){return v}if(v===undefined){return""}if(typeof v=="number"||!El.unitPattern.test(v)){return v+(defaultUnit||"px")}return v};El.boxMarkup="<div class=\"{0}-tl\"><div class=\"{0}-tr\"><div class=\"{0}-tc\"></div></div></div><div class=\"{0}-ml\"><div class=\"{0}-mr\"><div class=\"{0}-mc\"></div></div></div><div class=\"{0}-bl\"><div class=\"{0}-br\"><div class=\"{0}-bc\"></div></div></div>";El.VISIBILITY=1;El.DISPLAY=2;El.borders={l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"};El.paddings={l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"};El.margins={l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"};El.cache={};var docEl;El.get=function(el){var ex,elm,id;if(!el){return null}if(typeof el=="string"){if(!(elm=document.getElementById(el))){return null}if(ex=El.cache[el]){ex.dom=elm}else{ex=El.cache[el]=new El(elm)}return ex}else{if(el.tagName){if(!(id=el.id)){id=Ext.id(el)}if(ex=El.cache[id]){ex.dom=el}else{ex=El.cache[id]=new El(el)}return ex}else{if(el instanceof El){if(el!=docEl){el.dom=document.getElementById(el.id)||el.dom;El.cache[el.id]=el}return el}else{if(el.isComposite){return el}else{if(Ext.isArray(el)){return El.select(el)}else{if(el==document){if(!docEl){var f=function(){};f.prototype=El.prototype;docEl=new f();docEl.dom=document}return docEl}}}}}}return null};El.uncache=function(el){for(var i=0,a=arguments,len=a.length;i<len;i++){if(a[i]){delete El.cache[a[i].id||a[i]]}}};El.garbageCollect=function(){if(!Ext.enableGarbageCollector){clearInterval(El.collectorThread);return }for(var eid in El.cache){var el=El.cache[eid],d=el.dom;if(!d||!d.parentNode||(!d.offsetParent&&!document.getElementById(eid))){delete El.cache[eid];if(d&&Ext.enableListenerCollection){Ext.EventManager.removeAll(d)}}}};El.collectorThreadId=setInterval(El.garbageCollect,30000);var flyFn=function(){};flyFn.prototype=El.prototype;var _cls=new flyFn();El.Flyweight=function(dom){this.dom=dom};El.Flyweight.prototype=_cls;El.Flyweight.prototype.isFlyweight=true;El._flyweights={};El.fly=function(el,named){named=named||"_global";el=Ext.getDom(el);if(!el){return null}if(!El._flyweights[named]){El._flyweights[named]=new El.Flyweight()}El._flyweights[named].dom=el;return El._flyweights[named]};Ext.get=El.get;Ext.fly=El.fly;var noBoxAdjust=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};if(Ext.isIE||Ext.isGecko){noBoxAdjust["button"]=1}Ext.EventManager.on(window,"unload",function(){delete El.cache;delete El._flyweights})})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/EventManager-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.EventManager=function(){var X,Q,M=false;var N,W,H,S;var P=Ext.lib.Event;var R=Ext.lib.Dom;var A="Ex"+"t";var J={};var O=function(b,E,a,Z,Y){var d=Ext.id(b);if(!J[d]){J[d]={}}var c=J[d];if(!c[E]){c[E]=[]}var D=c[E];D.push({id:d,ename:E,fn:a,wrap:Z,scope:Y});P.on(b,E,Z);if(E=="mousewheel"&&b.addEventListener){b.addEventListener("DOMMouseScroll",Z,false);P.on(window,"unload",function(){b.removeEventListener("DOMMouseScroll",Z,false)})}if(E=="mousedown"&&b==document){Ext.EventManager.stoppedMouseDownEvent.addListener(Z)}};var I=function(Y,a,e,g){Y=Ext.getDom(Y);var D=Ext.id(Y),f=J[D],E;if(f){var c=f[a],Z;if(c){for(var b=0,d=c.length;b<d;b++){Z=c[b];if(Z.fn==e&&(!g||Z.scope==g)){E=Z.wrap;P.un(Y,a,E);c.splice(b,1);break}}}}if(a=="mousewheel"&&Y.addEventListener&&E){Y.removeEventListener("DOMMouseScroll",E,false)}if(a=="mousedown"&&Y==document&&E){Ext.EventManager.stoppedMouseDownEvent.removeListener(E)}};var F=function(a){a=Ext.getDom(a);var c=Ext.id(a),b=J[c],E;if(b){for(var Z in b){if(b.hasOwnProperty(Z)){E=b[Z];for(var Y=0,D=E.length;Y<D;Y++){P.un(a,Z,E[Y].wrap);E[Y]=null}}b[Z]=null}delete J[c]}};var C=function(){if(!M){M=Ext.isReady=true;if(Ext.isGecko||Ext.isOpera){document.removeEventListener("DOMContentLoaded",C,false)}}if(Q){clearInterval(Q);Q=null}if(X){X.fire();X.clearListeners()}};var B=function(){X=new Ext.util.Event();if(Ext.isReady){return }P.on(window,"load",C);if(Ext.isGecko||Ext.isOpera){document.addEventListener("DOMContentLoaded",C,false)}else{if(Ext.isIE){Q=setInterval(function(){try{Ext.isReady||(document.documentElement.doScroll("left"))}catch(D){return }C()},5);document.onreadystatechange=function(){if(document.readyState=="complete"){document.onreadystatechange=null;C()}}}else{if(Ext.isSafari){Q=setInterval(function(){var D=document.readyState;if(D=="complete"){C()}},10)}}}};var V=function(E,Y){var D=new Ext.util.DelayedTask(E);return function(Z){Z=new Ext.EventObjectImpl(Z);D.delay(Y.buffer,E,null,[Z])}};var T=function(a,Z,D,Y,E){return function(b){Ext.EventManager.removeListener(Z,D,Y,E);a(b)}};var G=function(D,E){return function(Y){Y=new Ext.EventObjectImpl(Y);setTimeout(function(){D(Y)},E.delay||10)}};var L=function(Y,E,D,c,b){var d=(!D||typeof D=="boolean")?{}:D;c=c||d.fn;b=b||d.scope;var a=Ext.getDom(Y);if(!a){throw"Error listening for \""+E+"\". Element \""+Y+"\" doesn't exist."}var Z=function(g){if(!window[A]){return }g=Ext.EventObject.setEvent(g);var f;if(d.delegate){f=g.getTarget(d.delegate,a);if(!f){return }}else{f=g.target}if(d.stopEvent===true){g.stopEvent()}if(d.preventDefault===true){g.preventDefault()}if(d.stopPropagation===true){g.stopPropagation()}if(d.normalized===false){g=g.browserEvent}c.call(b||a,g,f,d)};if(d.delay){Z=G(Z,d)}if(d.single){Z=T(Z,a,E,c,b)}if(d.buffer){Z=V(Z,d)}O(a,E,c,Z,b);return Z};var K=/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate)$/;var U={addListener:function(Y,D,a,Z,E){if(typeof D=="object"){var c=D;for(var b in c){if(K.test(b)){continue}if(typeof c[b]=="function"){L(Y,b,c,c[b],c.scope)}else{L(Y,b,c[b])}}return }return L(Y,D,E,a,Z)},removeListener:function(E,D,Z,Y){return I(E,D,Z,Y)},removeAll:function(D){return F(D)},onDocumentReady:function(Y,E,D){if(!X){B()}if(M||Ext.isReady){D||(D={});Y.defer(D.delay||0,E)}else{X.addListener(Y,E,D)}},onWindowResize:function(Y,E,D){if(!N){N=new Ext.util.Event();W=new Ext.util.DelayedTask(function(){N.fire(R.getViewWidth(),R.getViewHeight())});P.on(window,"resize",this.fireWindowResize,this)}N.addListener(Y,E,D)},fireWindowResize:function(){if(N){if((Ext.isIE||Ext.isAir)&&W){W.delay(50)}else{N.fire(R.getViewWidth(),R.getViewHeight())}}},onTextResize:function(Z,Y,D){if(!H){H=new Ext.util.Event();var E=new Ext.Element(document.createElement("div"));E.dom.className="x-text-resize";E.dom.innerHTML="X";E.appendTo(document.body);S=E.dom.offsetHeight;setInterval(function(){if(E.dom.offsetHeight!=S){H.fire(S,S=E.dom.offsetHeight)}},this.textResizeInterval)}H.addListener(Z,Y,D)},removeResizeListener:function(E,D){if(N){N.removeListener(E,D)}},fireResize:function(){if(N){N.fire(R.getViewWidth(),R.getViewHeight())}},ieDeferSrc:false,textResizeInterval:50};U.on=U.addListener;U.un=U.removeListener;U.stoppedMouseDownEvent=new Ext.util.Event();return U}();Ext.onReady=Ext.EventManager.onDocumentReady;(function(){var A=function(){var C=document.body||document.getElementsByTagName("body")[0];if(!C){return false}var B=[" ",Ext.isIE?"ext-ie "+(Ext.isIE6?"ext-ie6":"ext-ie7"):Ext.isGecko?"ext-gecko "+(Ext.isGecko2?"ext-gecko2":"ext-gecko3"):Ext.isOpera?"ext-opera":Ext.isSafari?"ext-safari":""];if(Ext.isMac){B.push("ext-mac")}if(Ext.isLinux){B.push("ext-linux")}if(Ext.isBorderBox){B.push("ext-border-box")}if(Ext.isStrict){var D=C.parentNode;if(D){D.className+=" ext-strict"}}C.className+=B.join(" ");return true};if(!A()){Ext.onReady(A)}})();Ext.EventObject=function(){var B=Ext.lib.Event;var A={3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35};var C=Ext.isIE?{1:0,4:1,2:2}:(Ext.isSafari?{1:0,2:1,3:2}:{0:0,1:1,2:2});Ext.EventObjectImpl=function(D){if(D){this.setEvent(D.browserEvent||D)}};Ext.EventObjectImpl.prototype={browserEvent:null,button:-1,shiftKey:false,ctrlKey:false,altKey:false,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,CONTROL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGEUP:33,PAGE_DOWN:34,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,setEvent:function(D){if(D==this||(D&&D.browserEvent)){return D}this.browserEvent=D;if(D){this.button=D.button?C[D.button]:(D.which?D.which-1:-1);if(D.type=="click"&&this.button==-1){this.button=0}this.type=D.type;this.shiftKey=D.shiftKey;this.ctrlKey=D.ctrlKey||D.metaKey;this.altKey=D.altKey;this.keyCode=D.keyCode;this.charCode=D.charCode;this.target=B.getTarget(D);this.xy=B.getXY(D)}else{this.button=-1;this.shiftKey=false;this.ctrlKey=false;this.altKey=false;this.keyCode=0;this.charCode=0;this.target=null;this.xy=[0,0]}return this},stopEvent:function(){if(this.browserEvent){if(this.browserEvent.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}B.stopEvent(this.browserEvent)}},preventDefault:function(){if(this.browserEvent){B.preventDefault(this.browserEvent)}},isNavKeyPress:function(){var D=this.keyCode;D=Ext.isSafari?(A[D]||D):D;return(D>=33&&D<=40)||D==this.RETURN||D==this.TAB||D==this.ESC},isSpecialKey:function(){var D=this.keyCode;return(this.type=="keypress"&&this.ctrlKey)||D==9||D==13||D==40||D==27||(D==16)||(D==17)||(D>=18&&D<=20)||(D>=33&&D<=35)||(D>=36&&D<=39)||(D>=44&&D<=45)},stopPropagation:function(){if(this.browserEvent){if(this.browserEvent.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}B.stopPropagation(this.browserEvent)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){var D=this.keyCode||this.charCode;return Ext.isSafari?(A[D]||D):D},getPageX:function(){return this.xy[0]},getPageY:function(){return this.xy[1]},getTime:function(){if(this.browserEvent){return B.getTime(this.browserEvent)}return null},getXY:function(){return this.xy},getTarget:function(E,F,D){return E?Ext.fly(this.target).findParent(E,F,D):(D?Ext.get(this.target):this.target)},getRelatedTarget:function(){if(this.browserEvent){return B.getRelatedTarget(this.browserEvent)}return null},getWheelDelta:function(){var D=this.browserEvent;var E=0;if(D.wheelDelta){E=D.wheelDelta/120}else{if(D.detail){E=-D.detail/3}}return E},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false},within:function(E,F){var D=this[F?"getRelatedTarget":"getTarget"]();return D&&Ext.fly(E).contains(D)},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1])}};return new Ext.EventObjectImpl()}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/Ext-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext={version:"2.2"};window["undefined"]=window["undefined"];Ext.apply=function(C,D,B){if(B){Ext.apply(C,B)}if(C&&D&&typeof D=="object"){for(var A in D){C[A]=D[A]}}return C};(function(){var idSeed=0;var ua=navigator.userAgent.toLowerCase();var isStrict=document.compatMode=="CSS1Compat",isOpera=ua.indexOf("opera")>-1,isSafari=(/webkit|khtml/).test(ua),isSafari3=isSafari&&ua.indexOf("webkit/5")!=-1,isIE=!isOpera&&ua.indexOf("msie")>-1,isIE7=!isOpera&&ua.indexOf("msie 7")>-1,isGecko=!isSafari&&ua.indexOf("gecko")>-1,isGecko3=!isSafari&&ua.indexOf("rv:1.9")>-1,isBorderBox=isIE&&!isStrict,isWindows=(ua.indexOf("windows")!=-1||ua.indexOf("win32")!=-1),isMac=(ua.indexOf("macintosh")!=-1||ua.indexOf("mac os x")!=-1),isAir=(ua.indexOf("adobeair")!=-1),isLinux=(ua.indexOf("linux")!=-1),isSecure=window.location.href.toLowerCase().indexOf("https")===0;if(isIE&&!isIE7){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}Ext.apply(Ext,{isStrict:isStrict,isSecure:isSecure,isReady:false,enableGarbageCollector:true,enableListenerCollection:false,SSL_SECURE_URL:"javascript:false",BLANK_IMAGE_URL:"http:/"+"/extjs.com/s.gif",emptyFn:function(){},applyIf:function(o,c){if(o&&c){for(var p in c){if(typeof o[p]=="undefined"){o[p]=c[p]}}}return o},addBehaviors:function(o){if(!Ext.isReady){Ext.onReady(function(){Ext.addBehaviors(o)});return }var cache={};for(var b in o){var parts=b.split("@");if(parts[1]){var s=parts[0];if(!cache[s]){cache[s]=Ext.select(s)}cache[s].on(parts[1],o[b])}}cache=null},id:function(el,prefix){prefix=prefix||"ext-gen";el=Ext.getDom(el);var id=prefix+(++idSeed);return el?(el.id?el.id:(el.id=id)):id},extend:function(){var io=function(o){for(var m in o){this[m]=o[m]}};var oc=Object.prototype.constructor;return function(sb,sp,overrides){if(typeof sp=="object"){overrides=sp;sp=sb;sb=overrides.constructor!=oc?overrides.constructor:function(){sp.apply(this,arguments)}}var F=function(){},sbp,spp=sp.prototype;F.prototype=spp;sbp=sb.prototype=new F();sbp.constructor=sb;sb.superclass=spp;if(spp.constructor==oc){spp.constructor=sp}sb.override=function(o){Ext.override(sb,o)};sbp.override=io;Ext.override(sb,overrides);sb.extend=function(o){Ext.extend(sb,o)};return sb}}(),override:function(origclass,overrides){if(overrides){var p=origclass.prototype;for(var method in overrides){p[method]=overrides[method]}}},namespace:function(){var a=arguments,o=null,i,j,d,rt;for(i=0;i<a.length;++i){d=a[i].split(".");rt=d[0];eval("if (typeof "+rt+" == \"undefined\"){"+rt+" = {};} o = "+rt+";");for(j=1;j<d.length;++j){o[d[j]]=o[d[j]]||{};o=o[d[j]]}}},urlEncode:function(o){if(!o){return""}var buf=[];for(var key in o){var ov=o[key],k=encodeURIComponent(key);var type=typeof ov;if(type=="undefined"){buf.push(k,"=&")}else{if(type!="function"&&type!="object"){buf.push(k,"=",encodeURIComponent(ov),"&")}else{if(Ext.isArray(ov)){if(ov.length){for(var i=0,len=ov.length;i<len;i++){buf.push(k,"=",encodeURIComponent(ov[i]===undefined?"":ov[i]),"&")}}else{buf.push(k,"=&")}}}}}buf.pop();return buf.join("")},urlDecode:function(string,overwrite){if(!string||!string.length){return{}}var obj={};var pairs=string.split("&");var pair,name,value;for(var i=0,len=pairs.length;i<len;i++){pair=pairs[i].split("=");name=decodeURIComponent(pair[0]);value=decodeURIComponent(pair[1]);if(overwrite!==true){if(typeof obj[name]=="undefined"){obj[name]=value}else{if(typeof obj[name]=="string"){obj[name]=[obj[name]];obj[name].push(value)}else{obj[name].push(value)}}}else{obj[name]=value}}return obj},each:function(array,fn,scope){if(typeof array.length=="undefined"||typeof array=="string"){array=[array]}for(var i=0,len=array.length;i<len;i++){if(fn.call(scope||array[i],array[i],i,array)===false){return i}}},combine:function(){var as=arguments,l=as.length,r=[];for(var i=0;i<l;i++){var a=as[i];if(Ext.isArray(a)){r=r.concat(a)}else{if(a.length!==undefined&&!a.substr){r=r.concat(Array.prototype.slice.call(a,0))}else{r.push(a)}}}return r},escapeRe:function(s){return s.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},callback:function(cb,scope,args,delay){if(typeof cb=="function"){if(delay){cb.defer(delay,scope,args||[])}else{cb.apply(scope,args||[])}}},getDom:function(el){if(!el||!document){return null}return el.dom?el.dom:(typeof el=="string"?document.getElementById(el):el)},getDoc:function(){return Ext.get(document)},getBody:function(){return Ext.get(document.body||document.documentElement)},getCmp:function(id){return Ext.ComponentMgr.get(id)},num:function(v,defaultValue){if(typeof v!="number"){return defaultValue}return v},destroy:function(){for(var i=0,a=arguments,len=a.length;i<len;i++){var as=a[i];if(as){if(typeof as.destroy=="function"){as.destroy()}else{if(as.dom){as.removeAllListeners();as.remove()}}}}},removeNode:isIE?function(){var d;return function(n){if(n&&n.tagName!="BODY"){d=d||document.createElement("div");d.appendChild(n);d.innerHTML=""}}}():function(n){if(n&&n.parentNode&&n.tagName!="BODY"){n.parentNode.removeChild(n)}},type:function(o){if(o===undefined||o===null){return false}if(o.htmlElement){return"element"}var t=typeof o;if(t=="object"&&o.nodeName){switch(o.nodeType){case 1:return"element";case 3:return(/\S/).test(o.nodeValue)?"textnode":"whitespace"}}if(t=="object"||t=="function"){switch(o.constructor){case Array:return"array";case RegExp:return"regexp"}if(typeof o.length=="number"&&typeof o.item=="function"){return"nodelist"}}return t},isEmpty:function(v,allowBlank){return v===null||v===undefined||(!allowBlank?v==="":false)},value:function(v,defaultValue,allowBlank){return Ext.isEmpty(v,allowBlank)?defaultValue:v},isArray:function(v){return v&&typeof v.length=="number"&&typeof v.splice=="function"},isDate:function(v){return v&&typeof v.getFullYear=="function"},isOpera:isOpera,isSafari:isSafari,isSafari3:isSafari3,isSafari2:isSafari&&!isSafari3,isIE:isIE,isIE6:isIE&&!isIE7,isIE7:isIE7,isGecko:isGecko,isGecko2:isGecko&&!isGecko3,isGecko3:isGecko3,isBorderBox:isBorderBox,isLinux:isLinux,isWindows:isWindows,isMac:isMac,isAir:isAir,useShims:((isIE&&!isIE7)||(isMac&&isGecko&&!isGecko3))});Ext.ns=Ext.namespace})();Ext.ns("Ext","Ext.util","Ext.grid","Ext.dd","Ext.tree","Ext.data","Ext.form","Ext.menu","Ext.state","Ext.lib","Ext.layout","Ext.app","Ext.ux");Ext.apply(Function.prototype,{createCallback:function(){var A=arguments;var B=this;return function(){return B.apply(window,A)}},createDelegate:function(C,B,A){var D=this;return function(){var F=B||arguments;if(A===true){F=Array.prototype.slice.call(arguments,0);F=F.concat(B)}else{if(typeof A=="number"){F=Array.prototype.slice.call(arguments,0);var E=[A,0].concat(B);Array.prototype.splice.apply(F,E)}}return D.apply(C||window,F)}},defer:function(C,E,B,A){var D=this.createDelegate(E,B,A);if(C){return setTimeout(D,C)}D();return 0},createSequence:function(B,A){if(typeof B!="function"){return this}var C=this;return function(){var D=C.apply(this||window,arguments);B.apply(A||this||window,arguments);return D}},createInterceptor:function(B,A){if(typeof B!="function"){return this}var C=this;return function(){B.target=this;B.method=C;if(B.apply(A||this||window,arguments)===false){return }return C.apply(this||window,arguments)}}});Ext.applyIf(String,{escape:function(A){return A.replace(/('|\\)/g,"\\$1")},leftPad:function(D,B,C){var A=new String(D);if(!C){C=" "}while(A.length<B){A=C+A}return A.toString()},format:function(B){var A=Array.prototype.slice.call(arguments,1);return B.replace(/\{(\d+)\}/g,function(C,D){return A[D]})}});String.prototype.toggle=function(B,A){return this==B?A:B};String.prototype.trim=function(){var A=/^\s+|\s+$/g;return function(){return this.replace(A,"")}}();Ext.applyIf(Number.prototype,{constrain:function(B,A){return Math.min(Math.max(this,B),A)}});Ext.applyIf(Array.prototype,{indexOf:function(C){for(var B=0,A=this.length;B<A;B++){if(this[B]==C){return B}}return -1},remove:function(B){var A=this.indexOf(B);if(A!=-1){this.splice(A,1)}return this}});Date.prototype.getElapsed=function(A){return Math.abs((A||new Date()).getTime()-this.getTime())}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/Fx-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.enableFx=true;Ext.Fx={slideIn:function(A,C){var B=this.getFxEl();C=C||{};B.queueFx(C,function(){A=A||"t";this.fixDisplay();var D=this.getFxRestore();var I=this.getBox();this.setSize(I);var F=this.fxWrap(D.pos,C,"hidden");var K=this.dom.style;K.visibility="visible";K.position="absolute";var E=function(){B.fxUnwrap(F,D.pos,C);K.width=D.width;K.height=D.height;B.afterFx(C)};var J,L={to:[I.x,I.y]},H={to:I.width},G={to:I.height};switch(A.toLowerCase()){case"t":F.setSize(I.width,0);K.left=K.bottom="0";J={height:G};break;case"l":F.setSize(0,I.height);K.right=K.top="0";J={width:H};break;case"r":F.setSize(0,I.height);F.setX(I.right);K.left=K.top="0";J={width:H,points:L};break;case"b":F.setSize(I.width,0);F.setY(I.bottom);K.left=K.top="0";J={height:G,points:L};break;case"tl":F.setSize(0,0);K.right=K.bottom="0";J={width:H,height:G};break;case"bl":F.setSize(0,0);F.setY(I.y+I.height);K.right=K.top="0";J={width:H,height:G,points:L};break;case"br":F.setSize(0,0);F.setXY([I.right,I.bottom]);K.left=K.top="0";J={width:H,height:G,points:L};break;case"tr":F.setSize(0,0);F.setX(I.x+I.width);K.left=K.bottom="0";J={width:H,height:G,points:L};break}this.dom.style.visibility="visible";F.show();arguments.callee.anim=F.fxanim(J,C,"motion",0.5,"easeOut",E)});return this},slideOut:function(A,C){var B=this.getFxEl();C=C||{};B.queueFx(C,function(){A=A||"t";var I=this.getFxRestore();var D=this.getBox();this.setSize(D);var G=this.fxWrap(I.pos,C,"visible");var F=this.dom.style;F.visibility="visible";F.position="absolute";G.setSize(D);var J=function(){if(C.useDisplay){B.setDisplayed(false)}else{B.hide()}B.fxUnwrap(G,I.pos,C);F.width=I.width;F.height=I.height;B.afterFx(C)};var E,H={to:0};switch(A.toLowerCase()){case"t":F.left=F.bottom="0";E={height:H};break;case"l":F.right=F.top="0";E={width:H};break;case"r":F.left=F.top="0";E={width:H,points:{to:[D.right,D.y]}};break;case"b":F.left=F.top="0";E={height:H,points:{to:[D.x,D.bottom]}};break;case"tl":F.right=F.bottom="0";E={width:H,height:H};break;case"bl":F.right=F.top="0";E={width:H,height:H,points:{to:[D.x,D.bottom]}};break;case"br":F.left=F.top="0";E={width:H,height:H,points:{to:[D.x+D.width,D.bottom]}};break;case"tr":F.left=F.bottom="0";E={width:H,height:H,points:{to:[D.right,D.y]}};break}arguments.callee.anim=G.fxanim(E,C,"motion",0.5,"easeOut",J)});return this},puff:function(B){var A=this.getFxEl();B=B||{};A.queueFx(B,function(){this.clearOpacity();this.show();var F=this.getFxRestore();var D=this.dom.style;var G=function(){if(B.useDisplay){A.setDisplayed(false)}else{A.hide()}A.clearOpacity();A.setPositioning(F.pos);D.width=F.width;D.height=F.height;D.fontSize="";A.afterFx(B)};var E=this.getWidth();var C=this.getHeight();arguments.callee.anim=this.fxanim({width:{to:this.adjustWidth(E*2)},height:{to:this.adjustHeight(C*2)},points:{by:[-(E*0.5),-(C*0.5)]},opacity:{to:0},fontSize:{to:200,unit:"%"}},B,"motion",0.5,"easeOut",G)});return this},switchOff:function(B){var A=this.getFxEl();B=B||{};A.queueFx(B,function(){this.clearOpacity();this.clip();var D=this.getFxRestore();var C=this.dom.style;var E=function(){if(B.useDisplay){A.setDisplayed(false)}else{A.hide()}A.clearOpacity();A.setPositioning(D.pos);C.width=D.width;C.height=D.height;A.afterFx(B)};this.fxanim({opacity:{to:0.3}},null,null,0.1,null,function(){this.clearOpacity();(function(){this.fxanim({height:{to:1},points:{by:[0,this.getHeight()*0.5]}},B,"motion",0.3,"easeIn",E)}).defer(100,this)})});return this},highlight:function(A,C){var B=this.getFxEl();C=C||{};B.queueFx(C,function(){A=A||"ffff9c";var D=C.attr||"backgroundColor";this.clearOpacity();this.show();var G=this.getColor(D);var H=this.dom.style[D];var F=(C.endColor||G)||"ffffff";var I=function(){B.dom.style[D]=H;B.afterFx(C)};var E={};E[D]={from:A,to:F};arguments.callee.anim=this.fxanim(E,C,"color",1,"easeIn",I)});return this},frame:function(A,C,D){var B=this.getFxEl();D=D||{};B.queueFx(D,function(){A=A||"#C3DAF9";if(A.length==6){A="#"+A}C=C||1;var G=D.duration||1;this.show();var E=this.getBox();var F=function(){var H=Ext.getBody().createChild({style:{visbility:"hidden",position:"absolute","z-index":"35000",border:"0px solid "+A}});var I=Ext.isBorderBox?2:1;H.animate({top:{from:E.y,to:E.y-20},left:{from:E.x,to:E.x-20},borderWidth:{from:0,to:10},opacity:{from:1,to:0},height:{from:E.height,to:(E.height+(20*I))},width:{from:E.width,to:(E.width+(20*I))}},G,function(){H.remove();if(--C>0){F()}else{B.afterFx(D)}})};F.call(this)});return this},pause:function(C){var A=this.getFxEl();var B={};A.queueFx(B,function(){setTimeout(function(){A.afterFx(B)},C*1000)});return this},fadeIn:function(B){var A=this.getFxEl();B=B||{};A.queueFx(B,function(){this.setOpacity(0);this.fixDisplay();this.dom.style.visibility="visible";var C=B.endOpacity||1;arguments.callee.anim=this.fxanim({opacity:{to:C}},B,null,0.5,"easeOut",function(){if(C==1){this.clearOpacity()}A.afterFx(B)})});return this},fadeOut:function(B){var A=this.getFxEl();B=B||{};A.queueFx(B,function(){arguments.callee.anim=this.fxanim({opacity:{to:B.endOpacity||0}},B,null,0.5,"easeOut",function(){if(this.visibilityMode==Ext.Element.DISPLAY||B.useDisplay){this.dom.style.display="none"}else{this.dom.style.visibility="hidden"}this.clearOpacity();A.afterFx(B)})});return this},scale:function(A,B,C){this.shift(Ext.apply({},C,{width:A,height:B}));return this},shift:function(B){var A=this.getFxEl();B=B||{};A.queueFx(B,function(){var E={},D=B.width,F=B.height,C=B.x,H=B.y,G=B.opacity;if(D!==undefined){E.width={to:this.adjustWidth(D)}}if(F!==undefined){E.height={to:this.adjustHeight(F)}}if(B.left!==undefined){E.left={to:B.left}}if(B.top!==undefined){E.top={to:B.top}}if(B.right!==undefined){E.right={to:B.right}}if(B.bottom!==undefined){E.bottom={to:B.bottom}}if(C!==undefined||H!==undefined){E.points={to:[C!==undefined?C:this.getX(),H!==undefined?H:this.getY()]}}if(G!==undefined){E.opacity={to:G}}if(B.xy!==undefined){E.points={to:B.xy}}arguments.callee.anim=this.fxanim(E,B,"motion",0.35,"easeOut",function(){A.afterFx(B)})});return this},ghost:function(A,C){var B=this.getFxEl();C=C||{};B.queueFx(C,function(){A=A||"b";var H=this.getFxRestore();var E=this.getWidth(),G=this.getHeight();var F=this.dom.style;var J=function(){if(C.useDisplay){B.setDisplayed(false)}else{B.hide()}B.clearOpacity();B.setPositioning(H.pos);F.width=H.width;F.height=H.height;B.afterFx(C)};var D={opacity:{to:0},points:{}},I=D.points;switch(A.toLowerCase()){case"t":I.by=[0,-G];break;case"l":I.by=[-E,0];break;case"r":I.by=[E,0];break;case"b":I.by=[0,G];break;case"tl":I.by=[-E,-G];break;case"bl":I.by=[-E,G];break;case"br":I.by=[E,G];break;case"tr":I.by=[E,-G];break}arguments.callee.anim=this.fxanim(D,C,"motion",0.5,"easeOut",J)});return this},syncFx:function(){this.fxDefaults=Ext.apply(this.fxDefaults||{},{block:false,concurrent:true,stopFx:false});return this},sequenceFx:function(){this.fxDefaults=Ext.apply(this.fxDefaults||{},{block:false,concurrent:false,stopFx:false});return this},nextFx:function(){var A=this.fxQueue[0];if(A){A.call(this)}},hasActiveFx:function(){return this.fxQueue&&this.fxQueue[0]},stopFx:function(){if(this.hasActiveFx()){var A=this.fxQueue[0];if(A&&A.anim&&A.anim.isAnimated()){this.fxQueue=[A];A.anim.stop(true)}}return this},beforeFx:function(A){if(this.hasActiveFx()&&!A.concurrent){if(A.stopFx){this.stopFx();return true}return false}return true},hasFxBlock:function(){var A=this.fxQueue;return A&&A[0]&&A[0].block},queueFx:function(C,A){if(!this.fxQueue){this.fxQueue=[]}if(!this.hasFxBlock()){Ext.applyIf(C,this.fxDefaults);if(!C.concurrent){var B=this.beforeFx(C);A.block=C.block;this.fxQueue.push(A);if(B){this.nextFx()}}else{A.call(this)}}return this},fxWrap:function(F,D,C){var B;if(!D.wrap||!(B=Ext.get(D.wrap))){var A;if(D.fixPosition){A=this.getXY()}var E=document.createElement("div");E.style.visibility=C;B=Ext.get(this.dom.parentNode.insertBefore(E,this.dom));B.setPositioning(F);if(B.getStyle("position")=="static"){B.position("relative")}this.clearPositioning("auto");B.clip();B.dom.appendChild(this.dom);if(A){B.setXY(A)}}return B},fxUnwrap:function(A,C,B){this.clearPositioning();this.setPositioning(C);if(!B.wrap){A.dom.parentNode.insertBefore(this.dom,A.dom);A.remove()}},getFxRestore:function(){var A=this.dom.style;return{pos:this.getPositioning(),width:A.width,height:A.height}},afterFx:function(A){if(A.afterStyle){this.applyStyles(A.afterStyle)}if(A.afterCls){this.addClass(A.afterCls)}if(A.remove===true){this.remove()}Ext.callback(A.callback,A.scope,[this]);if(!A.concurrent){this.fxQueue.shift();this.nextFx()}},getFxEl:function(){return Ext.get(this.dom)},fxanim:function(D,E,B,F,C,A){B=B||"run";E=E||{};var G=Ext.lib.Anim[B](this.dom,D,(E.duration||F)||0.35,(E.easing||C)||"easeOut",function(){Ext.callback(A,this)},this);E.anim=G;return G}};Ext.Fx.resize=Ext.Fx.scale;Ext.apply(Ext.Element.prototype,Ext.Fx); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/Template-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.Template=function(E){var B=arguments;if(Ext.isArray(E)){E=E.join("")}else{if(B.length>1){var C=[];for(var D=0,A=B.length;D<A;D++){if(typeof B[D]=="object"){Ext.apply(this,B[D])}else{C[C.length]=B[D]}}E=C.join("")}}this.html=E;if(this.compiled){this.compile()}};Ext.Template.prototype={applyTemplate:function(B){if(this.compiled){return this.compiled(B)}var A=this.disableFormats!==true;var E=Ext.util.Format,C=this;var D=function(G,I,L,H){if(L&&A){if(L.substr(0,5)=="this."){return C.call(L.substr(5),B[I],B)}else{if(H){var K=/^\s*['"](.*)["']\s*$/;H=H.split(",");for(var J=0,F=H.length;J<F;J++){H[J]=H[J].replace(K,"$1")}H=[B[I]].concat(H)}else{H=[B[I]]}return E[L].apply(E,H)}}else{return B[I]!==undefined?B[I]:""}};return this.html.replace(this.re,D)},set:function(A,B){this.html=A;this.compiled=null;if(B){this.compile()}return this},disableFormats:false,re:/\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,compile:function(){var fm=Ext.util.Format;var useF=this.disableFormats!==true;var sep=Ext.isGecko?"+":",";var fn=function(m,name,format,args){if(format&&useF){args=args?","+args:"";if(format.substr(0,5)!="this."){format="fm."+format+"("}else{format="this.call(\""+format.substr(5)+"\", ";args=", values"}}else{args="";format="(values['"+name+"'] == undefined ? '' : "}return"'"+sep+format+"values['"+name+"']"+args+")"+sep+"'"};var body;if(Ext.isGecko){body="this.compiled = function(values){ return '"+this.html.replace(/\\/g,"\\\\").replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,fn)+"';};"}else{body=["this.compiled = function(values){ return ['"];body.push(this.html.replace(/\\/g,"\\\\").replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,fn));body.push("'].join('');};");body=body.join("")}eval(body);return this},call:function(C,B,A){return this[C](B,A)},insertFirst:function(B,A,C){return this.doInsert("afterBegin",B,A,C)},insertBefore:function(B,A,C){return this.doInsert("beforeBegin",B,A,C)},insertAfter:function(B,A,C){return this.doInsert("afterEnd",B,A,C)},append:function(B,A,C){return this.doInsert("beforeEnd",B,A,C)},doInsert:function(C,E,B,A){E=Ext.getDom(E);var D=Ext.DomHelper.insertHtml(C,E,this.applyTemplate(B));return A?Ext.get(D,true):D},overwrite:function(B,A,C){B=Ext.getDom(B);B.innerHTML=this.applyTemplate(A);return C?Ext.get(B.firstChild,true):B.firstChild}};Ext.Template.prototype.apply=Ext.Template.prototype.applyTemplate;Ext.DomHelper.Template=Ext.Template;Ext.Template.from=function(B,A){B=Ext.getDom(B);return new Ext.Template(B.value||B.innerHTML,A||"")}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/core/UpdateManager-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.Updater=Ext.extend(Ext.util.Observable,{constructor:function(B,A){B=Ext.get(B);if(!A&&B.updateManager){return B.updateManager}this.el=B;this.defaultUrl=null;this.addEvents("beforeupdate","update","failure");var C=Ext.Updater.defaults;this.sslBlankUrl=C.sslBlankUrl;this.disableCaching=C.disableCaching;this.indicatorText=C.indicatorText;this.showLoadIndicator=C.showLoadIndicator;this.timeout=C.timeout;this.loadScripts=C.loadScripts;this.transaction=null;this.refreshDelegate=this.refresh.createDelegate(this);this.updateDelegate=this.update.createDelegate(this);this.formUpdateDelegate=this.formUpdate.createDelegate(this);if(!this.renderer){this.renderer=this.getDefaultRenderer()}Ext.Updater.superclass.constructor.call(this)},getDefaultRenderer:function(){return new Ext.Updater.BasicRenderer()},getEl:function(){return this.el},update:function(B,F,G,D){if(this.fireEvent("beforeupdate",this.el,B,F)!==false){var A,C;if(typeof B=="object"){A=B;B=A.url;F=F||A.params;G=G||A.callback;D=D||A.discardUrl;C=A.scope;if(typeof A.nocache!="undefined"){this.disableCaching=A.nocache}if(typeof A.text!="undefined"){this.indicatorText="<div class=\"loading-indicator\">"+A.text+"</div>"}if(typeof A.scripts!="undefined"){this.loadScripts=A.scripts}if(typeof A.timeout!="undefined"){this.timeout=A.timeout}}this.showLoading();if(!D){this.defaultUrl=B}if(typeof B=="function"){B=B.call(this)}var E=Ext.apply({},{url:B,params:(typeof F=="function"&&C)?F.createDelegate(C):F,success:this.processSuccess,failure:this.processFailure,scope:this,callback:undefined,timeout:(this.timeout*1000),disableCaching:this.disableCaching,argument:{"options":A,"url":B,"form":null,"callback":G,"scope":C||window,"params":F}},A);this.transaction=Ext.Ajax.request(E)}},formUpdate:function(C,A,B,D){if(this.fireEvent("beforeupdate",this.el,C,A)!==false){if(typeof A=="function"){A=A.call(this)}C=Ext.getDom(C);this.transaction=Ext.Ajax.request({form:C,url:A,success:this.processSuccess,failure:this.processFailure,scope:this,timeout:(this.timeout*1000),argument:{"url":A,"form":C,"callback":D,"reset":B}});this.showLoading.defer(1,this)}},refresh:function(A){if(this.defaultUrl==null){return }this.update(this.defaultUrl,null,A,true)},startAutoRefresh:function(B,C,D,E,A){if(A){this.update(C||this.defaultUrl,D,E,true)}if(this.autoRefreshProcId){clearInterval(this.autoRefreshProcId)}this.autoRefreshProcId=setInterval(this.update.createDelegate(this,[C||this.defaultUrl,D,E,true]),B*1000)},stopAutoRefresh:function(){if(this.autoRefreshProcId){clearInterval(this.autoRefreshProcId);delete this.autoRefreshProcId}},isAutoRefreshing:function(){return this.autoRefreshProcId?true:false},showLoading:function(){if(this.showLoadIndicator){this.el.update(this.indicatorText)}},processSuccess:function(A){this.transaction=null;if(A.argument.form&&A.argument.reset){try{A.argument.form.reset()}catch(B){}}if(this.loadScripts){this.renderer.render(this.el,A,this,this.updateComplete.createDelegate(this,[A]))}else{this.renderer.render(this.el,A,this);this.updateComplete(A)}},updateComplete:function(A){this.fireEvent("update",this.el,A);if(typeof A.argument.callback=="function"){A.argument.callback.call(A.argument.scope,this.el,true,A,A.argument.options)}},processFailure:function(A){this.transaction=null;this.fireEvent("failure",this.el,A);if(typeof A.argument.callback=="function"){A.argument.callback.call(A.argument.scope,this.el,false,A,A.argument.options)}},setRenderer:function(A){this.renderer=A},getRenderer:function(){return this.renderer},setDefaultUrl:function(A){this.defaultUrl=A},abort:function(){if(this.transaction){Ext.Ajax.abort(this.transaction)}},isUpdating:function(){if(this.transaction){return Ext.Ajax.isLoading(this.transaction)}return false}});Ext.Updater.defaults={timeout:30,loadScripts:false,sslBlankUrl:(Ext.SSL_SECURE_URL||"javascript:false"),disableCaching:false,showLoadIndicator:true,indicatorText:"<div class=\"loading-indicator\">Loading...</div>"};Ext.Updater.updateElement=function(D,C,E,B){var A=Ext.get(D).getUpdater();Ext.apply(A,B);A.update(C,E,B?B.callback:null)};Ext.Updater.BasicRenderer=function(){};Ext.Updater.BasicRenderer.prototype={render:function(C,A,B,D){C.update(A.responseText,B.loadScripts,D)}};Ext.UpdateManager=Ext.Updater; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/ArrayReader-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.ArrayReader=Ext.extend(Ext.data.JsonReader,{readRecords:function(C){var B=this.meta?this.meta.id:null;var G=this.recordType,K=G.prototype.fields;var E=[];var M=C;for(var I=0;I<M.length;I++){var D=M[I];var O={};var A=((B||B===0)&&D[B]!==undefined&&D[B]!==""?D[B]:null);for(var H=0,P=K.length;H<P;H++){var L=K.items[H];var F=L.mapping!==undefined&&L.mapping!==null?L.mapping:H;var N=D[F]!==undefined?D[F]:L.defaultValue;N=L.convert(N,D);O[L.name]=N}var J=new G(O,A);J.json=D;E[E.length]=J}return{records:E,totalRecords:E.length}}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/Connection-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.Connection=function(A){Ext.apply(this,A);this.addEvents("beforerequest","requestcomplete","requestexception");Ext.data.Connection.superclass.constructor.call(this)};Ext.extend(Ext.data.Connection,Ext.util.Observable,{timeout:30000,autoAbort:false,disableCaching:true,disableCachingParam:"_dc",request:function(E){if(this.fireEvent("beforerequest",this,E)!==false){var C=E.params;if(typeof C=="function"){C=C.call(E.scope||window,E)}if(typeof C=="object"){C=Ext.urlEncode(C)}if(this.extraParams){var G=Ext.urlEncode(this.extraParams);C=C?(C+"&"+G):G}var B=E.url||this.url;if(typeof B=="function"){B=B.call(E.scope||window,E)}if(E.form){var D=Ext.getDom(E.form);B=B||D.action;var J=D.getAttribute("enctype");if(E.isUpload||(J&&J.toLowerCase()=="multipart/form-data")){return this.doFormUpload(E,C,B)}var I=Ext.lib.Ajax.serializeForm(D);C=C?(C+"&"+I):I}var K=E.headers;if(this.defaultHeaders){K=Ext.apply(K||{},this.defaultHeaders);if(!E.headers){E.headers=K}}var F={success:this.handleResponse,failure:this.handleFailure,scope:this,argument:{options:E},timeout:E.timeout||this.timeout};var A=E.method||this.method||((C||E.xmlData||E.jsonData)?"POST":"GET");if(A=="GET"&&(this.disableCaching&&E.disableCaching!==false)||E.disableCaching===true){var H=E.disableCachingParam||this.disableCachingParam;B+=(B.indexOf("?")!=-1?"&":"?")+H+"="+(new Date().getTime())}if(typeof E.autoAbort=="boolean"){if(E.autoAbort){this.abort()}}else{if(this.autoAbort!==false){this.abort()}}if((A=="GET"||E.xmlData||E.jsonData)&&C){B+=(B.indexOf("?")!=-1?"&":"?")+C;C=""}this.transId=Ext.lib.Ajax.request(A,B,F,C,E);return this.transId}else{Ext.callback(E.callback,E.scope,[E,null,null]);return null}},isLoading:function(A){if(A){return Ext.lib.Ajax.isCallInProgress(A)}else{return this.transId?true:false}},abort:function(A){if(A||this.isLoading()){Ext.lib.Ajax.abort(A||this.transId)}},handleResponse:function(A){this.transId=false;var B=A.argument.options;A.argument=B?B.argument:null;this.fireEvent("requestcomplete",this,A,B);Ext.callback(B.success,B.scope,[A,B]);Ext.callback(B.callback,B.scope,[B,true,A])},handleFailure:function(A,C){this.transId=false;var B=A.argument.options;A.argument=B?B.argument:null;this.fireEvent("requestexception",this,A,B,C);Ext.callback(B.failure,B.scope,[A,B]);Ext.callback(B.callback,B.scope,[B,false,A])},doFormUpload:function(E,A,B){var C=Ext.id();var F=document.createElement("iframe");F.id=C;F.name=C;F.className="x-hidden";if(Ext.isIE){F.src=Ext.SSL_SECURE_URL}document.body.appendChild(F);if(Ext.isIE){document.frames[C].name=C}var D=Ext.getDom(E.form);D.target=C;D.method="POST";D.enctype=D.encoding="multipart/form-data";if(B){D.action=B}var L,J;if(A){L=[];A=Ext.urlDecode(A,false);for(var H in A){if(A.hasOwnProperty(H)){J=document.createElement("input");J.type="hidden";J.name=H;J.value=A[H];D.appendChild(J);L.push(J)}}}function G(){var M={responseText:"",responseXML:null};M.argument=E?E.argument:null;try{var O;if(Ext.isIE){O=F.contentWindow.document}else{O=(F.contentDocument||window.frames[C].document)}if(O&&O.body){M.responseText=O.body.innerHTML}if(O&&O.XMLDocument){M.responseXML=O.XMLDocument}else{M.responseXML=O}}catch(N){}Ext.EventManager.removeListener(F,"load",G,this);this.fireEvent("requestcomplete",this,M,E);Ext.callback(E.success,E.scope,[M,E]);Ext.callback(E.callback,E.scope,[E,true,M]);setTimeout(function(){Ext.removeNode(F)},100)}Ext.EventManager.on(F,"load",G,this);D.submit();if(L){for(var I=0,K=L.length;I<K;I++){Ext.removeNode(L[I])}}}});Ext.Ajax=new Ext.data.Connection({autoAbort:false,serializeForm:function(A){return Ext.lib.Ajax.serializeForm(A)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/DataField-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.Field=function(D){if(typeof D=="string"){D={name:D}}Ext.apply(this,D);if(!this.type){this.type="auto"}var C=Ext.data.SortTypes;if(typeof this.sortType=="string"){this.sortType=C[this.sortType]}if(!this.sortType){switch(this.type){case"string":this.sortType=C.asUCString;break;case"date":this.sortType=C.asDate;break;default:this.sortType=C.none}}var E=/[\$,%]/g;if(!this.convert){var B,A=this.dateFormat;switch(this.type){case"":case"auto":case undefined:B=function(F){return F};break;case"string":B=function(F){return(F===undefined||F===null)?"":String(F)};break;case"int":B=function(F){return F!==undefined&&F!==null&&F!==""?parseInt(String(F).replace(E,""),10):""};break;case"float":B=function(F){return F!==undefined&&F!==null&&F!==""?parseFloat(String(F).replace(E,""),10):""};break;case"bool":case"boolean":B=function(F){return F===true||F==="true"||F==1};break;case"date":B=function(G){if(!G){return""}if(Ext.isDate(G)){return G}if(A){if(A=="timestamp"){return new Date(G*1000)}if(A=="time"){return new Date(parseInt(G,10))}return Date.parseDate(G,A)}var F=Date.parse(G);return F?new Date(F):null};break}this.convert=B}};Ext.data.Field.prototype={dateFormat:null,defaultValue:"",mapping:null,sortType:null,sortDir:"ASC"}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/DataProxy-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.DataProxy=function(){this.addEvents("beforeload","load");Ext.data.DataProxy.superclass.constructor.call(this)};Ext.extend(Ext.data.DataProxy,Ext.util.Observable); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/DataReader-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.DataReader=function(A,B){this.meta=A;this.recordType=Ext.isArray(B)?Ext.data.Record.create(B):B};Ext.data.DataReader.prototype={}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/GroupingStore-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.GroupingStore=Ext.extend(Ext.data.Store,{remoteGroup:false,groupOnSort:false,clearGrouping:function(){this.groupField=false;if(this.remoteGroup){if(this.baseParams){delete this.baseParams.groupBy}this.reload()}else{this.applySort();this.fireEvent("datachanged",this)}},groupBy:function(C,B){if(this.groupField==C&&!B){return }this.groupField=C;if(this.remoteGroup){if(!this.baseParams){this.baseParams={}}this.baseParams["groupBy"]=C}if(this.groupOnSort){this.sort(C);return }if(this.remoteGroup){this.reload()}else{var A=this.sortInfo||{};if(A.field!=C){this.applySort()}else{this.sortData(C)}this.fireEvent("datachanged",this)}},applySort:function(){Ext.data.GroupingStore.superclass.applySort.call(this);if(!this.groupOnSort&&!this.remoteGroup){var A=this.getGroupState();if(A&&A!=this.sortInfo.field){this.sortData(this.groupField)}}},applyGrouping:function(A){if(this.groupField!==false){this.groupBy(this.groupField,true);return true}else{if(A===true){this.fireEvent("datachanged",this)}return false}},getGroupState:function(){return this.groupOnSort&&this.groupField!==false?(this.sortInfo?this.sortInfo.field:undefined):this.groupField}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/HttpProxy-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.HttpProxy=function(A){Ext.data.HttpProxy.superclass.constructor.call(this);this.conn=A;this.useAjax=!A||!A.events};Ext.extend(Ext.data.HttpProxy,Ext.data.DataProxy,{getConnection:function(){return this.useAjax?Ext.Ajax:this.conn},load:function(E,B,F,C,A){if(this.fireEvent("beforeload",this,E)!==false){var D={params:E||{},request:{callback:F,scope:C,arg:A},reader:B,callback:this.loadResponse,scope:this};if(this.useAjax){Ext.applyIf(D,this.conn);if(this.activeRequest){Ext.Ajax.abort(this.activeRequest)}this.activeRequest=Ext.Ajax.request(D)}else{this.conn.request(D)}}else{F.call(C||this,null,A,false)}},loadResponse:function(E,D,B){delete this.activeRequest;if(!D){this.fireEvent("loadexception",this,E,B);E.request.callback.call(E.request.scope,null,E.request.arg,false);return }var A;try{A=E.reader.read(B)}catch(C){this.fireEvent("loadexception",this,E,B,C);E.request.callback.call(E.request.scope,null,E.request.arg,false);return }this.fireEvent("load",this,E,E.request.arg);E.request.callback.call(E.request.scope,A,E.request.arg,true)},update:function(A){},updateResponse:function(A){}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/JsonReader-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.JsonReader=function(A,B){A=A||{};Ext.data.JsonReader.superclass.constructor.call(this,A,B||A.fields)};Ext.extend(Ext.data.JsonReader,Ext.data.DataReader,{read:function(response){var json=response.responseText;var o=eval("("+json+")");if(!o){throw {message:"JsonReader.read: Json object not found"}}return this.readRecords(o)},onMetaChange:function(A,C,B){},simpleAccess:function(B,A){return B[A]},getJsonAccessor:function(){var A=/[\[\.]/;return function(C){try{return(A.test(C))?new Function("obj","return obj."+C):function(D){return D[C]}}catch(B){}return Ext.emptyFn}}(),readRecords:function(K){this.jsonData=K;if(K.metaData){delete this.ef;this.meta=K.metaData;this.recordType=Ext.data.Record.create(K.metaData.fields);this.onMetaChange(this.meta,this.recordType,K)}var H=this.meta,A=this.recordType,R=A.prototype.fields,F=R.items,E=R.length;if(!this.ef){if(H.totalProperty){this.getTotal=this.getJsonAccessor(H.totalProperty)}if(H.successProperty){this.getSuccess=this.getJsonAccessor(H.successProperty)}this.getRoot=H.root?this.getJsonAccessor(H.root):function(U){return U};if(H.id){var Q=this.getJsonAccessor(H.id);this.getId=function(V){var U=Q(V);return(U===undefined||U==="")?null:U}}else{this.getId=function(){return null}}this.ef=[];for(var O=0;O<E;O++){R=F[O];var T=(R.mapping!==undefined&&R.mapping!==null)?R.mapping:R.name;this.ef[O]=this.getJsonAccessor(T)}}var M=this.getRoot(K),S=M.length,I=S,D=true;if(H.totalProperty){var G=parseInt(this.getTotal(K),10);if(!isNaN(G)){I=G}}if(H.successProperty){var G=this.getSuccess(K);if(G===false||G==="false"){D=false}}var P=[];for(var O=0;O<S;O++){var L=M[O];var B={};var J=this.getId(L);for(var N=0;N<E;N++){R=F[N];var G=this.ef[N](L);B[R.name]=R.convert((G!==undefined)?G:R.defaultValue,L)}var C=new A(B,J);C.json=L;P[O]=C}return{success:D,records:P,totalRecords:I}}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/JsonStore-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.JsonStore=function(A){Ext.data.JsonStore.superclass.constructor.call(this,Ext.apply(A,{proxy:A.proxy||(!A.data?new Ext.data.HttpProxy({url:A.url}):undefined),reader:new Ext.data.JsonReader(A,A.fields)}))};Ext.extend(Ext.data.JsonStore,Ext.data.Store); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/MemoryProxy-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.MemoryProxy=function(A){Ext.data.MemoryProxy.superclass.constructor.call(this);this.data=A};Ext.extend(Ext.data.MemoryProxy,Ext.data.DataProxy,{load:function(F,C,G,D,B){F=F||{};var A;try{A=C.readRecords(this.data)}catch(E){this.fireEvent("loadexception",this,B,null,E);G.call(D,null,B,false);return }G.call(D,A,B,true)},update:function(B,A){}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/Record-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.Record=function(A,B){this.id=(B||B===0)?B:++Ext.data.Record.AUTO_ID;this.data=A};Ext.data.Record.create=function(E){var C=Ext.extend(Ext.data.Record,{});var D=C.prototype;D.fields=new Ext.util.MixedCollection(false,function(F){return F.name});for(var B=0,A=E.length;B<A;B++){D.fields.add(new Ext.data.Field(E[B]))}C.getField=function(F){return D.fields.get(F)};return C};Ext.data.Record.AUTO_ID=1000;Ext.data.Record.EDIT="edit";Ext.data.Record.REJECT="reject";Ext.data.Record.COMMIT="commit";Ext.data.Record.prototype={dirty:false,editing:false,error:null,modified:null,join:function(A){this.store=A},set:function(A,B){if(String(this.data[A])==String(B)){return }this.dirty=true;if(!this.modified){this.modified={}}if(typeof this.modified[A]=="undefined"){this.modified[A]=this.data[A]}this.data[A]=B;if(!this.editing&&this.store){this.store.afterEdit(this)}},get:function(A){return this.data[A]},beginEdit:function(){this.editing=true;this.modified={}},cancelEdit:function(){this.editing=false;delete this.modified},endEdit:function(){this.editing=false;if(this.dirty&&this.store){this.store.afterEdit(this)}},reject:function(B){var A=this.modified;for(var C in A){if(typeof A[C]!="function"){this.data[C]=A[C]}}this.dirty=false;delete this.modified;this.editing=false;if(this.store&&B!==true){this.store.afterReject(this)}},commit:function(A){this.dirty=false;delete this.modified;this.editing=false;if(this.store&&A!==true){this.store.afterCommit(this)}},getChanges:function(){var A=this.modified,B={};for(var C in A){if(A.hasOwnProperty(C)){B[C]=this.data[C]}}return B},hasError:function(){return this.error!=null},clearError:function(){this.error=null},copy:function(A){return new this.constructor(Ext.apply({},this.data),A||this.id)},isModified:function(A){return !!(this.modified&&this.modified.hasOwnProperty(A))}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/ScriptTagProxy-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.ScriptTagProxy=function(A){Ext.data.ScriptTagProxy.superclass.constructor.call(this);Ext.apply(this,A);this.head=document.getElementsByTagName("head")[0]};Ext.data.ScriptTagProxy.TRANS_ID=1000;Ext.extend(Ext.data.ScriptTagProxy,Ext.data.DataProxy,{timeout:30000,callbackParam:"callback",nocache:true,load:function(E,F,H,I,J){if(this.fireEvent("beforeload",this,E)!==false){var C=Ext.urlEncode(Ext.apply(E,this.extraParams));var B=this.url;B+=(B.indexOf("?")!=-1?"&":"?")+C;if(this.nocache){B+="&_dc="+(new Date().getTime())}var A=++Ext.data.ScriptTagProxy.TRANS_ID;var K={id:A,cb:"stcCallback"+A,scriptId:"stcScript"+A,params:E,arg:J,url:B,callback:H,scope:I,reader:F};var D=this;window[K.cb]=function(L){D.handleResponse(L,K)};B+=String.format("&{0}={1}",this.callbackParam,K.cb);if(this.autoAbort!==false){this.abort()}K.timeoutId=this.handleFailure.defer(this.timeout,this,[K]);var G=document.createElement("script");G.setAttribute("src",B);G.setAttribute("type","text/javascript");G.setAttribute("id",K.scriptId);this.head.appendChild(G);this.trans=K}else{H.call(I||this,null,J,false)}},isLoading:function(){return this.trans?true:false},abort:function(){if(this.isLoading()){this.destroyTrans(this.trans)}},destroyTrans:function(B,A){this.head.removeChild(document.getElementById(B.scriptId));clearTimeout(B.timeoutId);if(A){window[B.cb]=undefined;try{delete window[B.cb]}catch(C){}}else{window[B.cb]=function(){window[B.cb]=undefined;try{delete window[B.cb]}catch(D){}}}},handleResponse:function(D,B){this.trans=false;this.destroyTrans(B,true);var A;try{A=B.reader.readRecords(D)}catch(C){this.fireEvent("loadexception",this,D,B.arg,C);B.callback.call(B.scope||window,null,B.arg,false);return }this.fireEvent("load",this,D,B.arg);B.callback.call(B.scope||window,A,B.arg,true)},handleFailure:function(A){this.trans=false;this.destroyTrans(A,false);this.fireEvent("loadexception",this,null,A.arg);A.callback.call(A.scope||window,null,A.arg,false)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/SimpleStore-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.SimpleStore=function(A){Ext.data.SimpleStore.superclass.constructor.call(this,Ext.apply(A,{reader:new Ext.data.ArrayReader({id:A.id},Ext.data.Record.create(A.fields))}))};Ext.extend(Ext.data.SimpleStore,Ext.data.Store,{loadData:function(E,B){if(this.expandData===true){var D=[];for(var C=0,A=E.length;C<A;C++){D[D.length]=[E[C]]}E=D}Ext.data.SimpleStore.superclass.loadData.call(this,E,B)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/SortTypes-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.SortTypes={none:function(A){return A},stripTagsRE:/<\/?[^>]+>/gi,asText:function(A){return String(A).replace(this.stripTagsRE,"")},asUCText:function(A){return String(A).toUpperCase().replace(this.stripTagsRE,"")},asUCString:function(A){return String(A).toUpperCase()},asDate:function(A){if(!A){return 0}if(Ext.isDate(A)){return A.getTime()}return Date.parse(String(A))},asFloat:function(A){var B=parseFloat(String(A).replace(/,/g,""));if(isNaN(B)){B=0}return B},asInt:function(A){var B=parseInt(String(A).replace(/,/g,""));if(isNaN(B)){B=0}return B}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/Store-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.Store=function(A){this.data=new Ext.util.MixedCollection(false);this.data.getKey=function(B){return B.id};this.baseParams={};this.paramNames={"start":"start","limit":"limit","sort":"sort","dir":"dir"};if(A&&A.data){this.inlineData=A.data;delete A.data}Ext.apply(this,A);if(this.url&&!this.proxy){this.proxy=new Ext.data.HttpProxy({url:this.url})}if(this.reader){if(!this.recordType){this.recordType=this.reader.recordType}if(this.reader.onMetaChange){this.reader.onMetaChange=this.onMetaChange.createDelegate(this)}}if(this.recordType){this.fields=this.recordType.prototype.fields}this.modified=[];this.addEvents("datachanged","metachange","add","remove","update","clear","beforeload","load","loadexception");if(this.proxy){this.relayEvents(this.proxy,["loadexception"])}this.sortToggle={};if(this.sortInfo){this.setDefaultSort(this.sortInfo.field,this.sortInfo.direction)}Ext.data.Store.superclass.constructor.call(this);if(this.storeId||this.id){Ext.StoreMgr.register(this)}if(this.inlineData){this.loadData(this.inlineData);delete this.inlineData}else{if(this.autoLoad){this.load.defer(10,this,[typeof this.autoLoad=="object"?this.autoLoad:undefined])}}};Ext.extend(Ext.data.Store,Ext.util.Observable,{remoteSort:false,pruneModifiedRecords:false,lastOptions:null,destroy:function(){if(this.id){Ext.StoreMgr.unregister(this)}this.data=null;this.purgeListeners()},add:function(B){B=[].concat(B);if(B.length<1){return }for(var D=0,A=B.length;D<A;D++){B[D].join(this)}var C=this.data.length;this.data.addAll(B);if(this.snapshot){this.snapshot.addAll(B)}this.fireEvent("add",this,B,C)},addSorted:function(A){var B=this.findInsertIndex(A);this.insert(B,A)},remove:function(A){var B=this.data.indexOf(A);this.data.removeAt(B);if(this.pruneModifiedRecords){this.modified.remove(A)}if(this.snapshot){this.snapshot.remove(A)}this.fireEvent("remove",this,A,B)},removeAll:function(){this.data.clear();if(this.snapshot){this.snapshot.clear()}if(this.pruneModifiedRecords){this.modified=[]}this.fireEvent("clear",this)},insert:function(C,B){B=[].concat(B);for(var D=0,A=B.length;D<A;D++){this.data.insert(C,B[D]);B[D].join(this)}this.fireEvent("add",this,B,C)},indexOf:function(A){return this.data.indexOf(A)},indexOfId:function(A){return this.data.indexOfKey(A)},getById:function(A){return this.data.key(A)},getAt:function(A){return this.data.itemAt(A)},getRange:function(B,A){return this.data.getRange(B,A)},storeOptions:function(A){A=Ext.apply({},A);delete A.callback;delete A.scope;this.lastOptions=A},load:function(B){B=B||{};if(this.fireEvent("beforeload",this,B)!==false){this.storeOptions(B);var C=Ext.apply(B.params||{},this.baseParams);if(this.sortInfo&&this.remoteSort){var A=this.paramNames;C[A["sort"]]=this.sortInfo.field;C[A["dir"]]=this.sortInfo.direction}this.proxy.load(C,this.reader,this.loadRecords,this,B);return true}else{return false}},reload:function(A){this.load(Ext.applyIf(A||{},this.lastOptions))},loadRecords:function(G,B,F){if(!G||F===false){if(F!==false){this.fireEvent("load",this,[],B)}if(B.callback){B.callback.call(B.scope||this,[],B,false)}return }var E=G.records,D=G.totalRecords||E.length;if(!B||B.add!==true){if(this.pruneModifiedRecords){this.modified=[]}for(var C=0,A=E.length;C<A;C++){E[C].join(this)}if(this.snapshot){this.data=this.snapshot;delete this.snapshot}this.data.clear();this.data.addAll(E);this.totalLength=D;this.applySort();this.fireEvent("datachanged",this)}else{this.totalLength=Math.max(D,this.data.length+E.length);this.add(E)}this.fireEvent("load",this,E,B);if(B.callback){B.callback.call(B.scope||this,E,B,true)}},loadData:function(C,A){var B=this.reader.readRecords(C);this.loadRecords(B,{add:A},true)},getCount:function(){return this.data.length||0},getTotalCount:function(){return this.totalLength||0},getSortState:function(){return this.sortInfo},applySort:function(){if(this.sortInfo&&!this.remoteSort){var A=this.sortInfo,B=A.field;this.sortData(B,A.direction)}},sortData:function(C,D){D=D||"ASC";var A=this.fields.get(C).sortType;var B=function(F,E){var H=A(F.data[C]),G=A(E.data[C]);return H>G?1:(H<G?-1:0)};this.data.sort(D,B);if(this.snapshot&&this.snapshot!=this.data){this.snapshot.sort(D,B)}},setDefaultSort:function(B,A){A=A?A.toUpperCase():"ASC";this.sortInfo={field:B,direction:A};this.sortToggle[B]=A},sort:function(E,C){var D=this.fields.get(E);if(!D){return false}if(!C){if(this.sortInfo&&this.sortInfo.field==D.name){C=(this.sortToggle[D.name]||"ASC").toggle("ASC","DESC")}else{C=D.sortDir}}var B=(this.sortToggle)?this.sortToggle[D.name]:null;var A=(this.sortInfo)?this.sortInfo:null;this.sortToggle[D.name]=C;this.sortInfo={field:D.name,direction:C};if(!this.remoteSort){this.applySort();this.fireEvent("datachanged",this)}else{if(!this.load(this.lastOptions)){if(B){this.sortToggle[D.name]=B}if(A){this.sortInfo=A}}}},each:function(B,A){this.data.each(B,A)},getModifiedRecords:function(){return this.modified},createFilterFn:function(C,B,D,A){if(Ext.isEmpty(B,false)){return false}B=this.data.createValueMatcher(B,D,A);return function(E){return B.test(E.data[C])}},sum:function(E,F,A){var C=this.data.items,B=0;F=F||0;A=(A||A===0)?A:C.length-1;for(var D=F;D<=A;D++){B+=(C[D].data[E]||0)}return B},filter:function(D,C,E,A){var B=this.createFilterFn(D,C,E,A);return B?this.filterBy(B):this.clearFilter()},filterBy:function(B,A){this.snapshot=this.snapshot||this.data;this.data=this.queryBy(B,A||this);this.fireEvent("datachanged",this)},query:function(D,C,E,A){var B=this.createFilterFn(D,C,E,A);return B?this.queryBy(B):this.data.clone()},queryBy:function(B,A){var C=this.snapshot||this.data;return C.filterBy(B,A||this)},find:function(D,C,F,E,A){var B=this.createFilterFn(D,C,E,A);return B?this.data.findIndexBy(B,null,F):-1},findBy:function(B,A,C){return this.data.findIndexBy(B,A,C)},collect:function(G,H,B){var F=(B===true&&this.snapshot)?this.snapshot.items:this.data.items;var I,J,A=[],C={};for(var D=0,E=F.length;D<E;D++){I=F[D].data[G];J=String(I);if((H||!Ext.isEmpty(I))&&!C[J]){C[J]=true;A[A.length]=I}}return A},clearFilter:function(A){if(this.isFiltered()){this.data=this.snapshot;delete this.snapshot;if(A!==true){this.fireEvent("datachanged",this)}}},isFiltered:function(){return this.snapshot&&this.snapshot!=this.data},afterEdit:function(A){if(this.modified.indexOf(A)==-1){this.modified.push(A)}this.fireEvent("update",this,A,Ext.data.Record.EDIT)},afterReject:function(A){this.modified.remove(A);this.fireEvent("update",this,A,Ext.data.Record.REJECT)},afterCommit:function(A){this.modified.remove(A);this.fireEvent("update",this,A,Ext.data.Record.COMMIT)},commitChanges:function(){var B=this.modified.slice(0);this.modified=[];for(var C=0,A=B.length;C<A;C++){B[C].commit()}},rejectChanges:function(){var B=this.modified.slice(0);this.modified=[];for(var C=0,A=B.length;C<A;C++){B[C].reject()}},onMetaChange:function(B,A,C){this.recordType=A;this.fields=A.prototype.fields;delete this.snapshot;this.sortInfo=B.sortInfo;this.modified=[];this.fireEvent("metachange",this,this.reader.meta)},findInsertIndex:function(A){this.suspendEvents();var C=this.data.clone();this.data.add(A);this.applySort();var B=this.data.indexOf(A);this.data=C;this.resumeEvents();return B}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/StoreMgr-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.StoreMgr=Ext.apply(new Ext.util.MixedCollection(),{register:function(){for(var A=0,B;B=arguments[A];A++){this.add(B)}},unregister:function(){for(var A=0,B;B=arguments[A];A++){this.remove(this.lookup(B))}},lookup:function(A){return typeof A=="object"?A:this.get(A)},getKey:function(A){return A.storeId||A.id}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/Tree-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.Tree=function(A){this.nodeHash={};this.root=null;if(A){this.setRootNode(A)}this.addEvents("append","remove","move","insert","beforeappend","beforeremove","beforemove","beforeinsert");Ext.data.Tree.superclass.constructor.call(this)};Ext.extend(Ext.data.Tree,Ext.util.Observable,{pathSeparator:"/",proxyNodeEvent:function(){return this.fireEvent.apply(this,arguments)},getRootNode:function(){return this.root},setRootNode:function(A){this.root=A;A.ownerTree=this;A.isRoot=true;this.registerNode(A);return A},getNodeById:function(A){return this.nodeHash[A]},registerNode:function(A){this.nodeHash[A.id]=A},unregisterNode:function(A){delete this.nodeHash[A.id]},toString:function(){return"[Tree"+(this.id?" "+this.id:"")+"]"}});Ext.data.Node=function(A){this.attributes=A||{};this.leaf=this.attributes.leaf;this.id=this.attributes.id;if(!this.id){this.id=Ext.id(null,"ynode-");this.attributes.id=this.id}this.childNodes=[];if(!this.childNodes.indexOf){this.childNodes.indexOf=function(D){for(var C=0,B=this.length;C<B;C++){if(this[C]==D){return C}}return -1}}this.parentNode=null;this.firstChild=null;this.lastChild=null;this.previousSibling=null;this.nextSibling=null;this.addEvents({"append":true,"remove":true,"move":true,"insert":true,"beforeappend":true,"beforeremove":true,"beforemove":true,"beforeinsert":true});this.listeners=this.attributes.listeners;Ext.data.Node.superclass.constructor.call(this)};Ext.extend(Ext.data.Node,Ext.util.Observable,{fireEvent:function(B){if(Ext.data.Node.superclass.fireEvent.apply(this,arguments)===false){return false}var A=this.getOwnerTree();if(A){if(A.proxyNodeEvent.apply(A,arguments)===false){return false}}return true},isLeaf:function(){return this.leaf===true},setFirstChild:function(A){this.firstChild=A},setLastChild:function(A){this.lastChild=A},isLast:function(){return(!this.parentNode?true:this.parentNode.lastChild==this)},isFirst:function(){return(!this.parentNode?true:this.parentNode.firstChild==this)},hasChildNodes:function(){return !this.isLeaf()&&this.childNodes.length>0},isExpandable:function(){return this.attributes.expandable||this.hasChildNodes()},appendChild:function(E){var F=false;if(Ext.isArray(E)){F=E}else{if(arguments.length>1){F=arguments}}if(F){for(var D=0,A=F.length;D<A;D++){this.appendChild(F[D])}}else{if(this.fireEvent("beforeappend",this.ownerTree,this,E)===false){return false}var B=this.childNodes.length;var C=E.parentNode;if(C){if(E.fireEvent("beforemove",E.getOwnerTree(),E,C,this,B)===false){return false}C.removeChild(E)}B=this.childNodes.length;if(B==0){this.setFirstChild(E)}this.childNodes.push(E);E.parentNode=this;var G=this.childNodes[B-1];if(G){E.previousSibling=G;G.nextSibling=E}else{E.previousSibling=null}E.nextSibling=null;this.setLastChild(E);E.setOwnerTree(this.getOwnerTree());this.fireEvent("append",this.ownerTree,this,E,B);if(C){E.fireEvent("move",this.ownerTree,E,C,this,B)}return E}},removeChild:function(B){var A=this.childNodes.indexOf(B);if(A==-1){return false}if(this.fireEvent("beforeremove",this.ownerTree,this,B)===false){return false}this.childNodes.splice(A,1);if(B.previousSibling){B.previousSibling.nextSibling=B.nextSibling}if(B.nextSibling){B.nextSibling.previousSibling=B.previousSibling}if(this.firstChild==B){this.setFirstChild(B.nextSibling)}if(this.lastChild==B){this.setLastChild(B.previousSibling)}B.setOwnerTree(null);B.parentNode=null;B.previousSibling=null;B.nextSibling=null;this.fireEvent("remove",this.ownerTree,this,B);return B},insertBefore:function(D,A){if(!A){return this.appendChild(D)}if(D==A){return false}if(this.fireEvent("beforeinsert",this.ownerTree,this,D,A)===false){return false}var B=this.childNodes.indexOf(A);var C=D.parentNode;var E=B;if(C==this&&this.childNodes.indexOf(D)<B){E--}if(C){if(D.fireEvent("beforemove",D.getOwnerTree(),D,C,this,B,A)===false){return false}C.removeChild(D)}if(E==0){this.setFirstChild(D)}this.childNodes.splice(E,0,D);D.parentNode=this;var F=this.childNodes[E-1];if(F){D.previousSibling=F;F.nextSibling=D}else{D.previousSibling=null}D.nextSibling=A;A.previousSibling=D;D.setOwnerTree(this.getOwnerTree());this.fireEvent("insert",this.ownerTree,this,D,A);if(C){D.fireEvent("move",this.ownerTree,D,C,this,E,A)}return D},remove:function(){this.parentNode.removeChild(this);return this},item:function(A){return this.childNodes[A]},replaceChild:function(A,B){this.insertBefore(A,B);this.removeChild(B);return B},indexOf:function(A){return this.childNodes.indexOf(A)},getOwnerTree:function(){if(!this.ownerTree){var A=this;while(A){if(A.ownerTree){this.ownerTree=A.ownerTree;break}A=A.parentNode}}return this.ownerTree},getDepth:function(){var B=0;var A=this;while(A.parentNode){++B;A=A.parentNode}return B},setOwnerTree:function(B){if(B!=this.ownerTree){if(this.ownerTree){this.ownerTree.unregisterNode(this)}this.ownerTree=B;var D=this.childNodes;for(var C=0,A=D.length;C<A;C++){D[C].setOwnerTree(B)}if(B){B.registerNode(this)}}},getPath:function(B){B=B||"id";var D=this.parentNode;var A=[this.attributes[B]];while(D){A.unshift(D.attributes[B]);D=D.parentNode}var C=this.getOwnerTree().pathSeparator;return C+A.join(C)},bubble:function(C,B,A){var D=this;while(D){if(C.apply(B||D,A||[D])===false){break}D=D.parentNode}},cascade:function(F,E,B){if(F.apply(E||this,B||[this])!==false){var D=this.childNodes;for(var C=0,A=D.length;C<A;C++){D[C].cascade(F,E,B)}}},eachChild:function(F,E,B){var D=this.childNodes;for(var C=0,A=D.length;C<A;C++){if(F.apply(E||this,B||[D[C]])===false){break}}},findChild:function(D,E){var C=this.childNodes;for(var B=0,A=C.length;B<A;B++){if(C[B].attributes[D]==E){return C[B]}}return null},findChildBy:function(E,D){var C=this.childNodes;for(var B=0,A=C.length;B<A;B++){if(E.call(D||C[B],C[B])===true){return C[B]}}return null},sort:function(E,D){var C=this.childNodes;var A=C.length;if(A>0){var F=D?function(){E.apply(D,arguments)}:E;C.sort(F);for(var B=0;B<A;B++){var G=C[B];G.previousSibling=C[B-1];G.nextSibling=C[B+1];if(B==0){this.setFirstChild(G)}if(B==A-1){this.setLastChild(G)}}}},contains:function(A){return A.isAncestor(this)},isAncestor:function(A){var B=this.parentNode;while(B){if(B==A){return true}B=B.parentNode}return false},toString:function(){return"[Node"+(this.id?" "+this.id:"")+"]"}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/data/XmlReader-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.data.XmlReader=function(A,B){A=A||{};Ext.data.XmlReader.superclass.constructor.call(this,A,B||A.fields)};Ext.extend(Ext.data.XmlReader,Ext.data.DataReader,{read:function(A){var B=A.responseXML;if(!B){throw {message:"XmlReader.read: XML Document not available"}}return this.readRecords(B)},readRecords:function(T){this.xmlData=T;var N=T.documentElement||T;var I=Ext.DomQuery;var B=this.recordType,L=B.prototype.fields;var D=this.meta.id;var G=0,E=true;if(this.meta.totalRecords){G=I.selectNumber(this.meta.totalRecords,N,0)}if(this.meta.success){var K=I.selectValue(this.meta.success,N,true);E=K!==false&&K!=="false"}var Q=[];var U=I.select(this.meta.record,N);for(var P=0,R=U.length;P<R;P++){var M=U[P];var A={};var J=D?I.selectValue(D,M):undefined;for(var O=0,H=L.length;O<H;O++){var S=L.items[O];var F=I.selectValue(S.mapping||S.name,M,S.defaultValue);F=S.convert(F,M);A[S.name]=F}var C=new B(A,J);C.node=M;Q[Q.length]=C}return{success:E,records:Q,totalRecords:G||Q.length}}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DDCore-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +(function(){var A=Ext.EventManager;var B=Ext.lib.Dom;Ext.dd.DragDrop=function(E,C,D){if(E){this.init(E,C,D)}};Ext.dd.DragDrop.prototype={id:null,config:null,dragElId:null,handleElId:null,invalidHandleTypes:null,invalidHandleIds:null,invalidHandleClasses:null,startPageX:0,startPageY:0,groups:null,locked:false,lock:function(){this.locked=true},unlock:function(){this.locked=false},isTarget:true,padding:null,_domRef:null,__ygDragDrop:true,constrainX:false,constrainY:false,minX:0,maxX:0,minY:0,maxY:0,maintainOffset:false,xTicks:null,yTicks:null,primaryButtonOnly:true,available:false,hasOuterHandles:false,b4StartDrag:function(C,D){},startDrag:function(C,D){},b4Drag:function(C){},onDrag:function(C){},onDragEnter:function(C,D){},b4DragOver:function(C){},onDragOver:function(C,D){},b4DragOut:function(C){},onDragOut:function(C,D){},b4DragDrop:function(C){},onDragDrop:function(C,D){},onInvalidDrop:function(C){},b4EndDrag:function(C){},endDrag:function(C){},b4MouseDown:function(C){},onMouseDown:function(C){},onMouseUp:function(C){},onAvailable:function(){},defaultPadding:{left:0,right:0,top:0,bottom:0},constrainTo:function(H,F,M){if(typeof F=="number"){F={left:F,right:F,top:F,bottom:F}}F=F||this.defaultPadding;var J=Ext.get(this.getEl()).getBox();var C=Ext.get(H);var L=C.getScroll();var I,D=C.dom;if(D==document.body){I={x:L.left,y:L.top,width:Ext.lib.Dom.getViewWidth(),height:Ext.lib.Dom.getViewHeight()}}else{var K=C.getXY();I={x:K[0]+L.left,y:K[1]+L.top,width:D.clientWidth,height:D.clientHeight}}var G=J.y-I.y;var E=J.x-I.x;this.resetConstraints();this.setXConstraint(E-(F.left||0),I.width-E-J.width-(F.right||0),this.xTickSize);this.setYConstraint(G-(F.top||0),I.height-G-J.height-(F.bottom||0),this.yTickSize)},getEl:function(){if(!this._domRef){this._domRef=Ext.getDom(this.id)}return this._domRef},getDragEl:function(){return Ext.getDom(this.dragElId)},init:function(E,C,D){this.initTarget(E,C,D);A.on(this.id,"mousedown",this.handleMouseDown,this)},initTarget:function(E,C,D){this.config=D||{};this.DDM=Ext.dd.DDM;this.groups={};if(typeof E!=="string"){E=Ext.id(E)}this.id=E;this.addToGroup((C)?C:"default");this.handleElId=E;this.setDragElId(E);this.invalidHandleTypes={A:"A"};this.invalidHandleIds={};this.invalidHandleClasses=[];this.applyConfig();this.handleOnAvailable()},applyConfig:function(){this.padding=this.config.padding||[0,0,0,0];this.isTarget=(this.config.isTarget!==false);this.maintainOffset=(this.config.maintainOffset);this.primaryButtonOnly=(this.config.primaryButtonOnly!==false)},handleOnAvailable:function(){this.available=true;this.resetConstraints();this.onAvailable()},setPadding:function(E,C,F,D){if(!C&&0!==C){this.padding=[E,E,E,E]}else{if(!F&&0!==F){this.padding=[E,C,E,C]}else{this.padding=[E,C,F,D]}}},setInitPosition:function(F,E){var G=this.getEl();if(!this.DDM.verifyEl(G)){return }var D=F||0;var C=E||0;var H=B.getXY(G);this.initPageX=H[0]-D;this.initPageY=H[1]-C;this.lastPageX=H[0];this.lastPageY=H[1];this.setStartPosition(H)},setStartPosition:function(D){var C=D||B.getXY(this.getEl());this.deltaSetXY=null;this.startPageX=C[0];this.startPageY=C[1]},addToGroup:function(C){this.groups[C]=true;this.DDM.regDragDrop(this,C)},removeFromGroup:function(C){if(this.groups[C]){delete this.groups[C]}this.DDM.removeDDFromGroup(this,C)},setDragElId:function(C){this.dragElId=C},setHandleElId:function(C){if(typeof C!=="string"){C=Ext.id(C)}this.handleElId=C;this.DDM.regHandle(this.id,C)},setOuterHandleElId:function(C){if(typeof C!=="string"){C=Ext.id(C)}A.on(C,"mousedown",this.handleMouseDown,this);this.setHandleElId(C);this.hasOuterHandles=true},unreg:function(){A.un(this.id,"mousedown",this.handleMouseDown);this._domRef=null;this.DDM._remove(this)},destroy:function(){this.unreg()},isLocked:function(){return(this.DDM.isLocked()||this.locked)},handleMouseDown:function(E,D){if(this.primaryButtonOnly&&E.button!=0){return }if(this.isLocked()){return }this.DDM.refreshCache(this.groups);var C=new Ext.lib.Point(Ext.lib.Event.getPageX(E),Ext.lib.Event.getPageY(E));if(!this.hasOuterHandles&&!this.DDM.isOverTarget(C,this)){}else{if(this.clickValidator(E)){this.setStartPosition();this.b4MouseDown(E);this.onMouseDown(E);this.DDM.handleMouseDown(E,this);this.DDM.stopEvent(E)}else{}}},clickValidator:function(D){var C=D.getTarget();return(this.isValidHandleChild(C)&&(this.id==this.handleElId||this.DDM.handleWasClicked(C,this.id)))},addInvalidHandleType:function(C){var D=C.toUpperCase();this.invalidHandleTypes[D]=D},addInvalidHandleId:function(C){if(typeof C!=="string"){C=Ext.id(C)}this.invalidHandleIds[C]=C},addInvalidHandleClass:function(C){this.invalidHandleClasses.push(C)},removeInvalidHandleType:function(C){var D=C.toUpperCase();delete this.invalidHandleTypes[D]},removeInvalidHandleId:function(C){if(typeof C!=="string"){C=Ext.id(C)}delete this.invalidHandleIds[C]},removeInvalidHandleClass:function(D){for(var E=0,C=this.invalidHandleClasses.length;E<C;++E){if(this.invalidHandleClasses[E]==D){delete this.invalidHandleClasses[E]}}},isValidHandleChild:function(F){var E=true;var H;try{H=F.nodeName.toUpperCase()}catch(G){H=F.nodeName}E=E&&!this.invalidHandleTypes[H];E=E&&!this.invalidHandleIds[F.id];for(var D=0,C=this.invalidHandleClasses.length;E&&D<C;++D){E=!Ext.fly(F).hasClass(this.invalidHandleClasses[D])}return E},setXTicks:function(F,C){this.xTicks=[];this.xTickSize=C;var E={};for(var D=this.initPageX;D>=this.minX;D=D-C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true}}for(D=this.initPageX;D<=this.maxX;D=D+C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true}}this.xTicks.sort(this.DDM.numericSort)},setYTicks:function(F,C){this.yTicks=[];this.yTickSize=C;var E={};for(var D=this.initPageY;D>=this.minY;D=D-C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true}}for(D=this.initPageY;D<=this.maxY;D=D+C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true}}this.yTicks.sort(this.DDM.numericSort)},setXConstraint:function(E,D,C){this.leftConstraint=E;this.rightConstraint=D;this.minX=this.initPageX-E;this.maxX=this.initPageX+D;if(C){this.setXTicks(this.initPageX,C)}this.constrainX=true},clearConstraints:function(){this.constrainX=false;this.constrainY=false;this.clearTicks()},clearTicks:function(){this.xTicks=null;this.yTicks=null;this.xTickSize=0;this.yTickSize=0},setYConstraint:function(C,E,D){this.topConstraint=C;this.bottomConstraint=E;this.minY=this.initPageY-C;this.maxY=this.initPageY+E;if(D){this.setYTicks(this.initPageY,D)}this.constrainY=true},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var D=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var C=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(D,C)}else{this.setInitPosition()}if(this.constrainX){this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize)}if(this.constrainY){this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize)}},getTick:function(I,F){if(!F){return I}else{if(F[0]>=I){return F[0]}else{for(var D=0,C=F.length;D<C;++D){var E=D+1;if(F[E]&&F[E]>=I){var H=I-F[D];var G=F[E]-I;return(G>H)?F[D]:F[E]}}return F[F.length-1]}}},toString:function(){return("DragDrop "+this.id)}}})();if(!Ext.dd.DragDropMgr){Ext.dd.DragDropMgr=function(){var A=Ext.EventManager;return{ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,init:function(){this.initialized=true},POINT:0,INTERSECT:1,mode:0,_execOnAll:function(D,C){for(var E in this.ids){for(var B in this.ids[E]){var F=this.ids[E][B];if(!this.isTypeOfDD(F)){continue}F[D].apply(F,C)}}},_onLoad:function(){this.init();A.on(document,"mouseup",this.handleMouseUp,this,true);A.on(document,"mousemove",this.handleMouseMove,this,true);A.on(window,"unload",this._onUnload,this,true);A.on(window,"resize",this._onResize,this,true)},_onResize:function(B){this._execOnAll("resetConstraints",[])},lock:function(){this.locked=true},unlock:function(){this.locked=false},isLocked:function(){return this.locked},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:350,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,regDragDrop:function(C,B){if(!this.initialized){this.init()}if(!this.ids[B]){this.ids[B]={}}this.ids[B][C.id]=C},removeDDFromGroup:function(D,B){if(!this.ids[B]){this.ids[B]={}}var C=this.ids[B];if(C&&C[D.id]){delete C[D.id]}},_remove:function(C){for(var B in C.groups){if(B&&this.ids[B][C.id]){delete this.ids[B][C.id]}}delete this.handleIds[C.id]},regHandle:function(C,B){if(!this.handleIds[C]){this.handleIds[C]={}}this.handleIds[C][B]=B},isDragDrop:function(B){return(this.getDDById(B))?true:false},getRelated:function(F,C){var E=[];for(var D in F.groups){for(j in this.ids[D]){var B=this.ids[D][j];if(!this.isTypeOfDD(B)){continue}if(!C||B.isTarget){E[E.length]=B}}}return E},isLegalTarget:function(F,E){var C=this.getRelated(F,true);for(var D=0,B=C.length;D<B;++D){if(C[D].id==E.id){return true}}return false},isTypeOfDD:function(B){return(B&&B.__ygDragDrop)},isHandle:function(C,B){return(this.handleIds[C]&&this.handleIds[C][B])},getDDById:function(C){for(var B in this.ids){if(this.ids[B][C]){return this.ids[B][C]}}return null},handleMouseDown:function(D,C){if(Ext.QuickTips){Ext.QuickTips.disable()}this.currentTarget=D.getTarget();this.dragCurrent=C;var B=C.getEl();this.startX=D.getPageX();this.startY=D.getPageY();this.deltaX=this.startX-B.offsetLeft;this.deltaY=this.startY-B.offsetTop;this.dragThreshMet=false;this.clickTimeout=setTimeout(function(){var E=Ext.dd.DDM;E.startDrag(E.startX,E.startY)},this.clickTimeThresh)},startDrag:function(B,C){clearTimeout(this.clickTimeout);if(this.dragCurrent){this.dragCurrent.b4StartDrag(B,C);this.dragCurrent.startDrag(B,C)}this.dragThreshMet=true},handleMouseUp:function(B){if(Ext.QuickTips){Ext.QuickTips.enable()}if(!this.dragCurrent){return }clearTimeout(this.clickTimeout);if(this.dragThreshMet){this.fireEvents(B,true)}else{}this.stopDrag(B);this.stopEvent(B)},stopEvent:function(B){if(this.stopPropagation){B.stopPropagation()}if(this.preventDefault){B.preventDefault()}},stopDrag:function(B){if(this.dragCurrent){if(this.dragThreshMet){this.dragCurrent.b4EndDrag(B);this.dragCurrent.endDrag(B)}this.dragCurrent.onMouseUp(B)}this.dragCurrent=null;this.dragOvers={}},handleMouseMove:function(D){if(!this.dragCurrent){return true}if(Ext.isIE&&(D.button!==0&&D.button!==1&&D.button!==2)){this.stopEvent(D);return this.handleMouseUp(D)}if(!this.dragThreshMet){var C=Math.abs(this.startX-D.getPageX());var B=Math.abs(this.startY-D.getPageY());if(C>this.clickPixelThresh||B>this.clickPixelThresh){this.startDrag(this.startX,this.startY)}}if(this.dragThreshMet){this.dragCurrent.b4Drag(D);this.dragCurrent.onDrag(D);if(!this.dragCurrent.moveOnly){this.fireEvents(D,false)}}this.stopEvent(D);return true},fireEvents:function(K,L){var N=this.dragCurrent;if(!N||N.isLocked()){return }var O=K.getPoint();var B=[];var E=[];var I=[];var G=[];var D=[];for(var F in this.dragOvers){var C=this.dragOvers[F];if(!this.isTypeOfDD(C)){continue}if(!this.isOverTarget(O,C,this.mode)){E.push(C)}B[F]=true;delete this.dragOvers[F]}for(var M in N.groups){if("string"!=typeof M){continue}for(F in this.ids[M]){var H=this.ids[M][F];if(!this.isTypeOfDD(H)){continue}if(H.isTarget&&!H.isLocked()&&H!=N){if(this.isOverTarget(O,H,this.mode)){if(L){G.push(H)}else{if(!B[H.id]){D.push(H)}else{I.push(H)}this.dragOvers[H.id]=H}}}}}if(this.mode){if(E.length){N.b4DragOut(K,E);N.onDragOut(K,E)}if(D.length){N.onDragEnter(K,D)}if(I.length){N.b4DragOver(K,I);N.onDragOver(K,I)}if(G.length){N.b4DragDrop(K,G);N.onDragDrop(K,G)}}else{var J=0;for(F=0,J=E.length;F<J;++F){N.b4DragOut(K,E[F].id);N.onDragOut(K,E[F].id)}for(F=0,J=D.length;F<J;++F){N.onDragEnter(K,D[F].id)}for(F=0,J=I.length;F<J;++F){N.b4DragOver(K,I[F].id);N.onDragOver(K,I[F].id)}for(F=0,J=G.length;F<J;++F){N.b4DragDrop(K,G[F].id);N.onDragDrop(K,G[F].id)}}if(L&&!G.length){N.onInvalidDrop(K)}},getBestMatch:function(D){var F=null;var C=D.length;if(C==1){F=D[0]}else{for(var E=0;E<C;++E){var B=D[E];if(B.cursorIsOver){F=B;break}else{if(!F||F.overlap.getArea()<B.overlap.getArea()){F=B}}}}return F},refreshCache:function(C){for(var B in C){if("string"!=typeof B){continue}for(var D in this.ids[B]){var E=this.ids[B][D];if(this.isTypeOfDD(E)){var F=this.getLocation(E);if(F){this.locationCache[E.id]=F}else{delete this.locationCache[E.id]}}}}},verifyEl:function(C){if(C){var B;if(Ext.isIE){try{B=C.offsetParent}catch(D){}}else{B=C.offsetParent}if(B){return true}}return false},getLocation:function(G){if(!this.isTypeOfDD(G)){return null}var E=G.getEl(),J,D,C,L,K,M,B,I,F;try{J=Ext.lib.Dom.getXY(E)}catch(H){}if(!J){return null}D=J[0];C=D+E.offsetWidth;L=J[1];K=L+E.offsetHeight;M=L-G.padding[0];B=C+G.padding[1];I=K+G.padding[2];F=D-G.padding[3];return new Ext.lib.Region(M,B,I,F)},isOverTarget:function(J,B,D){var F=this.locationCache[B.id];if(!F||!this.useCache){F=this.getLocation(B);this.locationCache[B.id]=F}if(!F){return false}B.cursorIsOver=F.contains(J);var I=this.dragCurrent;if(!I||!I.getTargetCoord||(!D&&!I.constrainX&&!I.constrainY)){return B.cursorIsOver}B.overlap=null;var G=I.getTargetCoord(J.x,J.y);var C=I.getDragEl();var E=new Ext.lib.Region(G.y,G.x+C.offsetWidth,G.y+C.offsetHeight,G.x);var H=E.intersect(F);if(H){B.overlap=H;return(D)?true:B.cursorIsOver}else{return false}},_onUnload:function(C,B){Ext.dd.DragDropMgr.unregAll()},unregAll:function(){if(this.dragCurrent){this.stopDrag();this.dragCurrent=null}this._execOnAll("unreg",[]);for(var B in this.elementCache){delete this.elementCache[B]}this.elementCache={};this.ids={}},elementCache:{},getElWrapper:function(C){var B=this.elementCache[C];if(!B||!B.el){B=this.elementCache[C]=new this.ElementWrapper(Ext.getDom(C))}return B},getElement:function(B){return Ext.getDom(B)},getCss:function(C){var B=Ext.getDom(C);return(B)?B.style:null},ElementWrapper:function(B){this.el=B||null;this.id=this.el&&B.id;this.css=this.el&&B.style},getPosX:function(B){return Ext.lib.Dom.getX(B)},getPosY:function(B){return Ext.lib.Dom.getY(B)},swapNode:function(D,B){if(D.swapNode){D.swapNode(B)}else{var E=B.parentNode;var C=B.nextSibling;if(C==D){E.insertBefore(D,B)}else{if(B==D.nextSibling){E.insertBefore(B,D)}else{D.parentNode.replaceChild(B,D);E.insertBefore(D,C)}}}},getScroll:function(){var D,B,E=document.documentElement,C=document.body;if(E&&(E.scrollTop||E.scrollLeft)){D=E.scrollTop;B=E.scrollLeft}else{if(C){D=C.scrollTop;B=C.scrollLeft}else{}}return{top:D,left:B}},getStyle:function(C,B){return Ext.fly(C).getStyle(B)},getScrollTop:function(){return this.getScroll().top},getScrollLeft:function(){return this.getScroll().left},moveToEl:function(B,D){var C=Ext.lib.Dom.getXY(D);Ext.lib.Dom.setXY(B,C)},numericSort:function(C,B){return(C-B)},_timeoutCount:0,_addListeners:function(){var B=Ext.dd.DDM;if(Ext.lib.Event&&document){B._onLoad()}else{if(B._timeoutCount>2000){}else{setTimeout(B._addListeners,10);if(document&&document.body){B._timeoutCount+=1}}}},handleWasClicked:function(B,D){if(this.isHandle(D,B.id)){return true}else{var C=B.parentNode;while(C){if(this.isHandle(D,C.id)){return true}else{C=C.parentNode}}}return false}}}();Ext.dd.DDM=Ext.dd.DragDropMgr;Ext.dd.DDM._addListeners()}Ext.dd.DD=function(C,A,B){if(C){this.init(C,A,B)}};Ext.extend(Ext.dd.DD,Ext.dd.DragDrop,{scroll:true,autoOffset:function(C,B){var A=C-this.startPageX;var D=B-this.startPageY;this.setDelta(A,D)},setDelta:function(B,A){this.deltaX=B;this.deltaY=A},setDragElPos:function(C,B){var A=this.getDragEl();this.alignElWithMouse(A,C,B)},alignElWithMouse:function(C,G,F){var E=this.getTargetCoord(G,F);var B=C.dom?C:Ext.fly(C,"_dd");if(!this.deltaSetXY){var H=[E.x,E.y];B.setXY(H);var D=B.getLeft(true);var A=B.getTop(true);this.deltaSetXY=[D-E.x,A-E.y]}else{B.setLeftTop(E.x+this.deltaSetXY[0],E.y+this.deltaSetXY[1])}this.cachePosition(E.x,E.y);this.autoScroll(E.x,E.y,C.offsetHeight,C.offsetWidth);return E},cachePosition:function(B,A){if(B){this.lastPageX=B;this.lastPageY=A}else{var C=Ext.lib.Dom.getXY(this.getEl());this.lastPageX=C[0];this.lastPageY=C[1]}},autoScroll:function(J,I,E,K){if(this.scroll){var L=Ext.lib.Dom.getViewHeight();var B=Ext.lib.Dom.getViewWidth();var N=this.DDM.getScrollTop();var D=this.DDM.getScrollLeft();var H=E+I;var M=K+J;var G=(L+N-I-this.deltaY);var F=(B+D-J-this.deltaX);var C=40;var A=(document.all)?80:30;if(H>L&&G<C){window.scrollTo(D,N+A)}if(I<N&&N>0&&I-N<C){window.scrollTo(D,N-A)}if(M>B&&F<C){window.scrollTo(D+A,N)}if(J<D&&D>0&&J-D<C){window.scrollTo(D-A,N)}}},getTargetCoord:function(C,B){var A=C-this.deltaX;var D=B-this.deltaY;if(this.constrainX){if(A<this.minX){A=this.minX}if(A>this.maxX){A=this.maxX}}if(this.constrainY){if(D<this.minY){D=this.minY}if(D>this.maxY){D=this.maxY}}A=this.getTick(A,this.xTicks);D=this.getTick(D,this.yTicks);return{x:A,y:D}},applyConfig:function(){Ext.dd.DD.superclass.applyConfig.call(this);this.scroll=(this.config.scroll!==false)},b4MouseDown:function(A){this.autoOffset(A.getPageX(),A.getPageY())},b4Drag:function(A){this.setDragElPos(A.getPageX(),A.getPageY())},toString:function(){return("DD "+this.id)}});Ext.dd.DDProxy=function(C,A,B){if(C){this.init(C,A,B);this.initFrame()}};Ext.dd.DDProxy.dragElId="ygddfdiv";Ext.extend(Ext.dd.DDProxy,Ext.dd.DD,{resizeFrame:true,centerFrame:false,createFrame:function(){var B=this;var A=document.body;if(!A||!A.firstChild){setTimeout(function(){B.createFrame()},50);return }var D=this.getDragEl();if(!D){D=document.createElement("div");D.id=this.dragElId;var C=D.style;C.position="absolute";C.visibility="hidden";C.cursor="move";C.border="2px solid #aaa";C.zIndex=999;A.insertBefore(D,A.firstChild)}},initFrame:function(){this.createFrame()},applyConfig:function(){Ext.dd.DDProxy.superclass.applyConfig.call(this);this.resizeFrame=(this.config.resizeFrame!==false);this.centerFrame=(this.config.centerFrame);this.setDragElId(this.config.dragElId||Ext.dd.DDProxy.dragElId)},showFrame:function(E,D){var C=this.getEl();var A=this.getDragEl();var B=A.style;this._resizeProxy();if(this.centerFrame){this.setDelta(Math.round(parseInt(B.width,10)/2),Math.round(parseInt(B.height,10)/2))}this.setDragElPos(E,D);Ext.fly(A).show()},_resizeProxy:function(){if(this.resizeFrame){var A=this.getEl();Ext.fly(this.getDragEl()).setSize(A.offsetWidth,A.offsetHeight)}},b4MouseDown:function(B){var A=B.getPageX();var C=B.getPageY();this.autoOffset(A,C);this.setDragElPos(A,C)},b4StartDrag:function(A,B){this.showFrame(A,B)},b4EndDrag:function(A){Ext.fly(this.getDragEl()).hide()},endDrag:function(C){var B=this.getEl();var A=this.getDragEl();A.style.visibility="";this.beforeMove();B.style.visibility="hidden";Ext.dd.DDM.moveToEl(B,A);A.style.visibility="hidden";B.style.visibility="";this.afterDrag()},beforeMove:function(){},afterDrag:function(){},toString:function(){return("DDProxy "+this.id)}});Ext.dd.DDTarget=function(C,A,B){if(C){this.initTarget(C,A,B)}};Ext.extend(Ext.dd.DDTarget,Ext.dd.DragDrop,{toString:function(){return("DDTarget "+this.id)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DragSource-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.DragSource=function(B,A){this.el=Ext.get(B);if(!this.dragData){this.dragData={}}Ext.apply(this,A);if(!this.proxy){this.proxy=new Ext.dd.StatusProxy()}Ext.dd.DragSource.superclass.constructor.call(this,this.el.dom,this.ddGroup||this.group,{dragElId:this.proxy.id,resizeFrame:false,isTarget:false,scroll:this.scroll===true});this.dragging=false};Ext.extend(Ext.dd.DragSource,Ext.dd.DDProxy,{dropAllowed:"x-dd-drop-ok",dropNotAllowed:"x-dd-drop-nodrop",getDragData:function(A){return this.dragData},onDragEnter:function(C,D){var B=Ext.dd.DragDropMgr.getDDById(D);this.cachedTarget=B;if(this.beforeDragEnter(B,C,D)!==false){if(B.isNotifyTarget){var A=B.notifyEnter(this,C,this.dragData);this.proxy.setStatus(A)}else{this.proxy.setStatus(this.dropAllowed)}if(this.afterDragEnter){this.afterDragEnter(B,C,D)}}},beforeDragEnter:function(B,A,C){return true},alignElWithMouse:function(){Ext.dd.DragSource.superclass.alignElWithMouse.apply(this,arguments);this.proxy.sync()},onDragOver:function(C,D){var B=this.cachedTarget||Ext.dd.DragDropMgr.getDDById(D);if(this.beforeDragOver(B,C,D)!==false){if(B.isNotifyTarget){var A=B.notifyOver(this,C,this.dragData);this.proxy.setStatus(A)}if(this.afterDragOver){this.afterDragOver(B,C,D)}}},beforeDragOver:function(B,A,C){return true},onDragOut:function(B,C){var A=this.cachedTarget||Ext.dd.DragDropMgr.getDDById(C);if(this.beforeDragOut(A,B,C)!==false){if(A.isNotifyTarget){A.notifyOut(this,B,this.dragData)}this.proxy.reset();if(this.afterDragOut){this.afterDragOut(A,B,C)}}this.cachedTarget=null},beforeDragOut:function(B,A,C){return true},onDragDrop:function(B,C){var A=this.cachedTarget||Ext.dd.DragDropMgr.getDDById(C);if(this.beforeDragDrop(A,B,C)!==false){if(A.isNotifyTarget){if(A.notifyDrop(this,B,this.dragData)){this.onValidDrop(A,B,C)}else{this.onInvalidDrop(A,B,C)}}else{this.onValidDrop(A,B,C)}if(this.afterDragDrop){this.afterDragDrop(A,B,C)}}delete this.cachedTarget},beforeDragDrop:function(B,A,C){return true},onValidDrop:function(B,A,C){this.hideProxy();if(this.afterValidDrop){this.afterValidDrop(B,A,C)}},getRepairXY:function(B,A){return this.el.getXY()},onInvalidDrop:function(B,A,C){this.beforeInvalidDrop(B,A,C);if(this.cachedTarget){if(this.cachedTarget.isNotifyTarget){this.cachedTarget.notifyOut(this,A,this.dragData)}this.cacheTarget=null}this.proxy.repair(this.getRepairXY(A,this.dragData),this.afterRepair,this);if(this.afterInvalidDrop){this.afterInvalidDrop(A,C)}},afterRepair:function(){if(Ext.enableFx){this.el.highlight(this.hlColor||"c3daf9")}this.dragging=false},beforeInvalidDrop:function(B,A,C){return true},handleMouseDown:function(B){if(this.dragging){return }var A=this.getDragData(B);if(A&&this.onBeforeDrag(A,B)!==false){this.dragData=A;this.proxy.stop();Ext.dd.DragSource.superclass.handleMouseDown.apply(this,arguments)}},onBeforeDrag:function(A,B){return true},onStartDrag:Ext.emptyFn,startDrag:function(A,B){this.proxy.reset();this.dragging=true;this.proxy.update("");this.onInitDrag(A,B);this.proxy.show()},onInitDrag:function(A,C){var B=this.el.dom.cloneNode(true);B.id=Ext.id();this.proxy.update(B);this.onStartDrag(A,C);return true},getProxy:function(){return this.proxy},hideProxy:function(){this.proxy.hide();this.proxy.reset(true);this.dragging=false},triggerCacheRefresh:function(){Ext.dd.DDM.refreshCache(this.groups)},b4EndDrag:function(A){},endDrag:function(A){this.onEndDrag(this.dragData,A)},onEndDrag:function(A,B){},autoOffset:function(A,B){this.setDelta(-12,-20)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DragTracker-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.DragTracker=function(A){Ext.apply(this,A);this.addEvents("mousedown","mouseup","mousemove","dragstart","dragend","drag");this.dragRegion=new Ext.lib.Region(0,0,0,0);if(this.el){this.initEl(this.el)}};Ext.extend(Ext.dd.DragTracker,Ext.util.Observable,{active:false,tolerance:5,autoStart:false,initEl:function(A){this.el=Ext.get(A);A.on("mousedown",this.onMouseDown,this,this.delegate?{delegate:this.delegate}:undefined)},destroy:function(){this.el.un("mousedown",this.onMouseDown,this)},onMouseDown:function(C,B){if(this.fireEvent("mousedown",this,C)!==false&&this.onBeforeStart(C)!==false){this.startXY=this.lastXY=C.getXY();this.dragTarget=this.delegate?B:this.el.dom;C.preventDefault();var A=Ext.getDoc();A.on("mouseup",this.onMouseUp,this);A.on("mousemove",this.onMouseMove,this);A.on("selectstart",this.stopSelect,this);if(this.autoStart){this.timer=this.triggerStart.defer(this.autoStart===true?1000:this.autoStart,this)}}},onMouseMove:function(D,C){D.preventDefault();var B=D.getXY(),A=this.startXY;this.lastXY=B;if(!this.active){if(Math.abs(A[0]-B[0])>this.tolerance||Math.abs(A[1]-B[1])>this.tolerance){this.triggerStart()}else{return }}this.fireEvent("mousemove",this,D);this.onDrag(D);this.fireEvent("drag",this,D)},onMouseUp:function(B){var A=Ext.getDoc();A.un("mousemove",this.onMouseMove,this);A.un("mouseup",this.onMouseUp,this);A.un("selectstart",this.stopSelect,this);B.preventDefault();this.clearStart();this.active=false;delete this.elRegion;this.fireEvent("mouseup",this,B);this.onEnd(B);this.fireEvent("dragend",this,B)},triggerStart:function(A){this.clearStart();this.active=true;this.onStart(this.startXY);this.fireEvent("dragstart",this,this.startXY)},clearStart:function(){if(this.timer){clearTimeout(this.timer);delete this.timer}},stopSelect:function(A){A.stopEvent();return false},onBeforeStart:function(A){},onStart:function(A){},onDrag:function(A){},onEnd:function(A){},getDragTarget:function(){return this.dragTarget},getDragCt:function(){return this.el},getXY:function(A){return A?this.constrainModes[A].call(this,this.lastXY):this.lastXY},getOffset:function(C){var B=this.getXY(C);var A=this.startXY;return[A[0]-B[0],A[1]-B[1]]},constrainModes:{"point":function(B){if(!this.elRegion){this.elRegion=this.getDragCt().getRegion()}var A=this.dragRegion;A.left=B[0];A.top=B[1];A.right=B[0];A.bottom=B[1];A.constrainTo(this.elRegion);return[A.left,A.top]}}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DragZone-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.DragZone=function(B,A){Ext.dd.DragZone.superclass.constructor.call(this,B,A);if(this.containerScroll){Ext.dd.ScrollManager.register(this.el)}};Ext.extend(Ext.dd.DragZone,Ext.dd.DragSource,{getDragData:function(A){return Ext.dd.Registry.getHandleFromEvent(A)},onInitDrag:function(A,B){this.proxy.update(this.dragData.ddel.cloneNode(true));this.onStartDrag(A,B);return true},afterRepair:function(){if(Ext.enableFx){Ext.Element.fly(this.dragData.ddel).highlight(this.hlColor||"c3daf9")}this.dragging=false},getRepairXY:function(A){return Ext.Element.fly(this.dragData.ddel).getXY()}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DropTarget-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.DropTarget=function(B,A){this.el=Ext.get(B);Ext.apply(this,A);if(this.containerScroll){Ext.dd.ScrollManager.register(this.el)}Ext.dd.DropTarget.superclass.constructor.call(this,this.el.dom,this.ddGroup||this.group,{isTarget:true})};Ext.extend(Ext.dd.DropTarget,Ext.dd.DDTarget,{dropAllowed:"x-dd-drop-ok",dropNotAllowed:"x-dd-drop-nodrop",isTarget:true,isNotifyTarget:true,notifyEnter:function(A,C,B){if(this.overClass){this.el.addClass(this.overClass)}return this.dropAllowed},notifyOver:function(A,C,B){return this.dropAllowed},notifyOut:function(A,C,B){if(this.overClass){this.el.removeClass(this.overClass)}},notifyDrop:function(A,C,B){return false}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/DropZone-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.DropZone=function(B,A){Ext.dd.DropZone.superclass.constructor.call(this,B,A)};Ext.extend(Ext.dd.DropZone,Ext.dd.DropTarget,{getTargetFromEvent:function(A){return Ext.dd.Registry.getTargetFromEvent(A)},onNodeEnter:function(D,A,C,B){},onNodeOver:function(D,A,C,B){return this.dropAllowed},onNodeOut:function(D,A,C,B){},onNodeDrop:function(D,A,C,B){return false},onContainerOver:function(A,C,B){return this.dropNotAllowed},onContainerDrop:function(A,C,B){return false},notifyEnter:function(A,C,B){return this.dropNotAllowed},notifyOver:function(A,C,B){var D=this.getTargetFromEvent(C);if(!D){if(this.lastOverNode){this.onNodeOut(this.lastOverNode,A,C,B);this.lastOverNode=null}return this.onContainerOver(A,C,B)}if(this.lastOverNode!=D){if(this.lastOverNode){this.onNodeOut(this.lastOverNode,A,C,B)}this.onNodeEnter(D,A,C,B);this.lastOverNode=D}return this.onNodeOver(D,A,C,B)},notifyOut:function(A,C,B){if(this.lastOverNode){this.onNodeOut(this.lastOverNode,A,C,B);this.lastOverNode=null}},notifyDrop:function(A,C,B){if(this.lastOverNode){this.onNodeOut(this.lastOverNode,A,C,B);this.lastOverNode=null}var D=this.getTargetFromEvent(C);return D?this.onNodeDrop(D,A,C,B):this.onContainerDrop(A,C,B)},triggerCacheRefresh:function(){Ext.dd.DDM.refreshCache(this.groups)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/Registry-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.Registry=function(){var D={};var B={};var A=0;var C=function(F,E){if(typeof F=="string"){return F}var G=F.id;if(!G&&E!==false){G="extdd-"+(++A);F.id=G}return G};return{register:function(H,I){I=I||{};if(typeof H=="string"){H=document.getElementById(H)}I.ddel=H;D[C(H)]=I;if(I.isHandle!==false){B[I.ddel.id]=I}if(I.handles){var G=I.handles;for(var F=0,E=G.length;F<E;F++){B[C(G[F])]=I}}},unregister:function(H){var J=C(H,false);var I=D[J];if(I){delete D[J];if(I.handles){var G=I.handles;for(var F=0,E=G.length;F<E;F++){delete B[C(G[F],false)]}}}},getHandle:function(E){if(typeof E!="string"){E=E.id}return B[E]},getHandleFromEvent:function(F){var E=Ext.lib.Event.getTarget(F);return E?B[E.id]:null},getTarget:function(E){if(typeof E!="string"){E=E.id}return D[E]},getTargetFromEvent:function(F){var E=Ext.lib.Event.getTarget(F);return E?D[E.id]||B[E.id]:null}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/ScrollManager-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.ScrollManager=function(){var C=Ext.dd.DragDropMgr;var E={};var B=null;var H={};var G=function(K){B=null;A()};var I=function(){if(C.dragCurrent){C.refreshCache(C.dragCurrent.groups)}};var D=function(){if(C.dragCurrent){var K=Ext.dd.ScrollManager;var L=H.el.ddScrollConfig?H.el.ddScrollConfig.increment:K.increment;if(!K.animate){if(H.el.scroll(H.dir,L)){I()}}else{H.el.scroll(H.dir,L,true,K.animDuration,I)}}};var A=function(){if(H.id){clearInterval(H.id)}H.id=0;H.el=null;H.dir=""};var F=function(L,K){A();H.el=L;H.dir=K;var M=(L.ddScrollConfig&&L.ddScrollConfig.frequency)?L.ddScrollConfig.frequency:Ext.dd.ScrollManager.frequency;H.id=setInterval(D,M)};var J=function(N,P){if(P||!C.dragCurrent){return }var Q=Ext.dd.ScrollManager;if(!B||B!=C.dragCurrent){B=C.dragCurrent;Q.refreshCache()}var R=Ext.lib.Event.getXY(N);var S=new Ext.lib.Point(R[0],R[1]);for(var L in E){var M=E[L],K=M._region;var O=M.ddScrollConfig?M.ddScrollConfig:Q;if(K&&K.contains(S)&&M.isScrollable()){if(K.bottom-S.y<=O.vthresh){if(H.el!=M){F(M,"down")}return }else{if(K.right-S.x<=O.hthresh){if(H.el!=M){F(M,"left")}return }else{if(S.y-K.top<=O.vthresh){if(H.el!=M){F(M,"up")}return }else{if(S.x-K.left<=O.hthresh){if(H.el!=M){F(M,"right")}return }}}}}}A()};C.fireEvents=C.fireEvents.createSequence(J,C);C.stopDrag=C.stopDrag.createSequence(G,C);return{register:function(M){if(Ext.isArray(M)){for(var L=0,K=M.length;L<K;L++){this.register(M[L])}}else{M=Ext.get(M);E[M.id]=M}},unregister:function(M){if(Ext.isArray(M)){for(var L=0,K=M.length;L<K;L++){this.unregister(M[L])}}else{M=Ext.get(M);delete E[M.id]}},vthresh:25,hthresh:25,increment:100,frequency:500,animate:true,animDuration:0.4,refreshCache:function(){for(var K in E){if(typeof E[K]=="object"){E[K]._region=E[K].getRegion()}}}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/dd/StatusProxy-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.dd.StatusProxy=function(A){Ext.apply(this,A);this.id=this.id||Ext.id();this.el=new Ext.Layer({dh:{id:this.id,tag:"div",cls:"x-dd-drag-proxy "+this.dropNotAllowed,children:[{tag:"div",cls:"x-dd-drop-icon"},{tag:"div",cls:"x-dd-drag-ghost"}]},shadow:!A||A.shadow!==false});this.ghost=Ext.get(this.el.dom.childNodes[1]);this.dropStatus=this.dropNotAllowed};Ext.dd.StatusProxy.prototype={dropAllowed:"x-dd-drop-ok",dropNotAllowed:"x-dd-drop-nodrop",setStatus:function(A){A=A||this.dropNotAllowed;if(this.dropStatus!=A){this.el.replaceClass(this.dropStatus,A);this.dropStatus=A}},reset:function(A){this.el.dom.className="x-dd-drag-proxy "+this.dropNotAllowed;this.dropStatus=this.dropNotAllowed;if(A){this.ghost.update("")}},update:function(A){if(typeof A=="string"){this.ghost.update(A)}else{this.ghost.update("");A.style.margin="0";this.ghost.dom.appendChild(A)}var B=this.ghost.dom.firstChild;if(B){Ext.fly(B).setStyle(Ext.isIE?"styleFloat":"cssFloat","none")}},getEl:function(){return this.el},getGhost:function(){return this.ghost},hide:function(A){this.el.hide();if(A){this.reset(true)}},stop:function(){if(this.anim&&this.anim.isAnimated&&this.anim.isAnimated()){this.anim.stop()}},show:function(){this.el.show()},sync:function(){this.el.sync()},repair:function(B,C,A){this.callback=C;this.scope=A;if(B&&this.animRepair!==false){this.el.addClass("x-dd-drag-repair");this.el.hideUnders(true);this.anim=this.el.shift({duration:this.repairDuration||0.5,easing:"easeOut",xy:B,stopFx:true,callback:this.afterRepair,scope:this})}else{this.afterRepair()}},afterRepair:function(){this.hide(true);if(typeof this.callback=="function"){this.callback.call(this.scope||this)}this.callback=null;this.scope=null}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/debug-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.debug={};(function(){var B;function A(){var E=new Ext.debug.ScriptsPanel();var G=new Ext.debug.LogPanel();var C=new Ext.debug.DomTree();var D=new Ext.TabPanel({activeTab:0,border:false,tabPosition:"bottom",items:[{title:"Debug Console",layout:"border",items:[G,E]},{title:"DOM Inspector",layout:"border",items:[C]}]});B=new Ext.Panel({id:"x-debug-browser",title:"Console",collapsible:true,animCollapse:false,style:"position:absolute;left:0;bottom:0;",height:200,logView:G,layout:"fit",tools:[{id:"close",handler:function(){B.destroy();B=null;Ext.EventManager.removeResizeListener(F)}}],items:D});B.render(document.body);B.resizer=new Ext.Resizable(B.el,{minHeight:50,handles:"n",pinned:true,transparent:true,resizeElement:function(){var H=this.proxy.getBox();this.proxy.hide();B.setHeight(H.height);return H}});function F(){B.setWidth(Ext.getBody().getViewSize().width)}Ext.EventManager.onWindowResize(F);F()}Ext.apply(Ext,{log:function(){if(!B){A()}B.logView.log.apply(B.logView,arguments)},logf:function(F,E,C,D){Ext.log(String.format.apply(String,arguments))},dump:function(F){if(typeof F=="string"||typeof F=="number"||typeof F=="undefined"||Ext.isDate(F)){Ext.log(F)}else{if(!F){Ext.log("null")}else{if(typeof F!="object"){Ext.log("Unknown return type")}else{if(Ext.isArray(F)){Ext.log("["+F.join(",")+"]")}else{var C=["{\n"];for(var D in F){var G=typeof F[D];if(G!="function"&&G!="object"){C.push(String.format(" {0}: {1},\n",D,F[D]))}}var E=C.join("");if(E.length>3){E=E.substr(0,E.length-2)}Ext.log(E+"\n}")}}}}},_timers:{},time:function(C){C=C||"def";Ext._timers[C]=new Date().getTime()},timeEnd:function(D,F){var E=new Date().getTime();D=D||"def";var C=String.format("{0} ms",E-Ext._timers[D]);Ext._timers[D]=new Date().getTime();if(F!==false){Ext.log("Timer "+(D=="def"?C:D+": "+C))}return C}})})();Ext.debug.ScriptsPanel=Ext.extend(Ext.Panel,{id:"x-debug-scripts",region:"east",minWidth:200,split:true,width:350,border:false,layout:"anchor",style:"border-width:0 0 0 1px;",initComponent:function(){this.scriptField=new Ext.form.TextArea({anchor:"100% -26",style:"border-width:0;"});this.trapBox=new Ext.form.Checkbox({id:"console-trap",boxLabel:"Trap Errors",checked:true});this.toolbar=new Ext.Toolbar([{text:"Run",scope:this,handler:this.evalScript},{text:"Clear",scope:this,handler:this.clear},"->",this.trapBox," "," "]);this.items=[this.toolbar,this.scriptField];Ext.debug.ScriptsPanel.superclass.initComponent.call(this)},evalScript:function(){var s=this.scriptField.getValue();if(this.trapBox.getValue()){try{var rt=eval(s);Ext.dump(rt===undefined?"(no return)":rt)}catch(e){Ext.log(e.message||e.descript)}}else{var rt=eval(s);Ext.dump(rt===undefined?"(no return)":rt)}},clear:function(){this.scriptField.setValue("");this.scriptField.focus()}});Ext.debug.LogPanel=Ext.extend(Ext.Panel,{autoScroll:true,region:"center",border:false,style:"border-width:0 1px 0 0",log:function(){var A=["<div style=\"padding:5px !important;border-bottom:1px solid #ccc;\">",Ext.util.Format.htmlEncode(Array.prototype.join.call(arguments,", ")).replace(/\n/g,"<br />").replace(/\s/g," "),"</div>"].join("");this.body.insertHtml("beforeend",A);this.body.scrollTo("top",100000)},clear:function(){this.body.update("");this.body.dom.scrollTop=0}});Ext.debug.DomTree=Ext.extend(Ext.tree.TreePanel,{enableDD:false,lines:false,rootVisible:false,animate:false,hlColor:"ffff9c",autoScroll:true,region:"center",border:false,initComponent:function(){Ext.debug.DomTree.superclass.initComponent.call(this);var H=false,A;var I=/^\s*$/;var E=Ext.util.Format.htmlEncode;var G=Ext.util.Format.ellipsis;var D=/\s?([a-z\-]*)\:([^;]*)(?:[;\s\n\r]*)/gi;function B(P){if(!P||P.nodeType!=1||P==document.body||P==document){return false}var L=[P],N=P;while((N=N.parentNode)&&N.nodeType==1&&N.tagName.toUpperCase()!="HTML"){L.unshift(N)}var O=A;for(var M=0,J=L.length;M<J;M++){O.expand();O=O.findChild("htmlNode",L[M]);if(!O){return false}}O.select();var K=O.ui.anchor;treeEl.dom.scrollTop=Math.max(0,K.offsetTop-10);O.highlight();return true}function F(K){var J=K.tagName;if(K.id){J+="#"+K.id}else{if(K.className){J+="."+K.className}}return J}function C(V,J,S){return ;if(S&&S.unframe){S.unframe()}var P={};if(J&&J.htmlNode){if(frameEl.pressed){J.frame()}if(inspecting){return }addStyle.enable();reload.setDisabled(J.leaf);var M=J.htmlNode;stylePanel.setTitle(F(M));if(H&&!showAll.pressed){var W=M.style?M.style.cssText:"";if(W){var K;while((K=D.exec(W))!=null){P[K[1].toLowerCase()]=K[2]}}}else{if(H){var T=Ext.debug.cssList;var W=M.style,L=Ext.fly(M);if(W){for(var N=0,O=T.length;N<O;N++){var U=T[N];var R=W[U]||L.getStyle(U);if(R!=undefined&&R!==null&&R!==""){P[U]=R}}}}else{for(var Q in M){var R=M[Q];if((isNaN(Q+10))&&R!=undefined&&R!==null&&R!==""&&!(Ext.isGecko&&Q[0]==Q[0].toUpperCase())){P[Q]=R}}}}}else{if(inspecting){return }addStyle.disable();reload.disabled()}stylesGrid.setSource(P);stylesGrid.treeNode=J;stylesGrid.view.fitColumns()}this.loader=new Ext.tree.TreeLoader();this.loader.load=function(O,J){var K=O.htmlNode==document.body;var N=O.htmlNode.childNodes;for(var L=0,M;M=N[L];L++){if(K&&M.id=="x-debug-browser"){continue}if(M.nodeType==1){O.appendChild(new Ext.debug.HtmlNode(M))}else{if(M.nodeType==3&&!I.test(M.nodeValue)){O.appendChild(new Ext.tree.TreeNode({text:"<em>"+G(E(String(M.nodeValue)),35)+"</em>",cls:"x-tree-noicon"}))}}}J()};this.root=this.setRootNode(new Ext.tree.TreeNode("Ext"));A=this.root.appendChild(new Ext.debug.HtmlNode(document.getElementsByTagName("html")[0]))}});Ext.debug.HtmlNode=function(){var D=Ext.util.Format.htmlEncode;var B=Ext.util.Format.ellipsis;var A=/^\s*$/;var C=[{n:"id",v:"id"},{n:"className",v:"class"},{n:"name",v:"name"},{n:"type",v:"type"},{n:"src",v:"src"},{n:"href",v:"href"}];function F(J){for(var H=0,I;I=J.childNodes[H];H++){if(I.nodeType==1){return true}}return false}function E(I,L){var P=I.tagName.toLowerCase();var O="<"+P;for(var J=0,K=C.length;J<K;J++){var M=C[J];var N=I[M.n];if(N&&!A.test(N)){O+=" "+M.v+"="<i>"+D(N)+"</i>""}}var H=I.style?I.style.cssText:"";if(H){O+=" style="<i>"+D(H.toLowerCase())+"</i>""}if(L&&I.childNodes.length>0){O+="><em>"+B(D(String(I.innerHTML)),35)+"</em></"+P+">"}else{if(L){O+=" />"}else{O+=">"}}return O}var G=function(J){var I=!F(J);this.htmlNode=J;this.tagName=J.tagName.toLowerCase();var H={text:E(J,I),leaf:I,cls:"x-tree-noicon"};G.superclass.constructor.call(this,H);this.attributes.htmlNode=J;if(!I){this.on("expand",this.onExpand,this);this.on("collapse",this.onCollapse,this)}};Ext.extend(G,Ext.tree.AsyncTreeNode,{cls:"x-tree-noicon",preventHScroll:true,refresh:function(I){var H=!F(this.htmlNode);this.setText(E(this.htmlNode,H));if(I){Ext.fly(this.ui.textNode).highlight()}},onExpand:function(){if(!this.closeNode&&this.parentNode){this.closeNode=this.parentNode.insertBefore(new Ext.tree.TreeNode({text:"</"+this.tagName+">",cls:"x-tree-noicon"}),this.nextSibling)}else{if(this.closeNode){this.closeNode.ui.show()}}},onCollapse:function(){if(this.closeNode){this.closeNode.ui.hide()}},render:function(H){G.superclass.render.call(this,H)},highlightNode:function(){},highlight:function(){},frame:function(){this.htmlNode.style.border="1px solid #0000ff"},unframe:function(){this.htmlNode.style.border=""}});return G}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-af.js
0 → 100644
| 1 | +/* | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + * | |
| 5 | + * Afrikaans Translations | |
| 6 | + * by Thys Meintjes (20 July 2007) | |
| 7 | + */ | |
| 8 | + | |
| 9 | +/* Ext Core translations */ | |
| 10 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Besig om te laai...</div>'; | |
| 11 | + | |
| 12 | +/* Ext single string translations */ | |
| 13 | +if(Ext.View){ | |
| 14 | + Ext.View.prototype.emptyText = ""; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.grid.GridPanel){ | |
| 18 | + Ext.grid.GridPanel.prototype.ddText = "{0} geselekteerde ry(e)"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.TabPanelItem){ | |
| 22 | + Ext.TabPanelItem.prototype.closeText = "Maak die oortjie toe"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.form.Field){ | |
| 26 | + Ext.form.Field.prototype.invalidText = "Die waarde in hierdie veld is foutief"; | |
| 27 | +} | |
| 28 | + | |
| 29 | +if(Ext.LoadMask){ | |
| 30 | + Ext.LoadMask.prototype.msg = "Besig om te laai..."; | |
| 31 | +} | |
| 32 | + | |
| 33 | +/* Javascript month and days translations */ | |
| 34 | +Date.monthNames = [ | |
| 35 | + "Januarie", | |
| 36 | + "Februarie", | |
| 37 | + "Maart", | |
| 38 | + "April", | |
| 39 | + "Mei", | |
| 40 | + "Junie", | |
| 41 | + "Julie", | |
| 42 | + "Augustus", | |
| 43 | + "September", | |
| 44 | + "Oktober", | |
| 45 | + "November", | |
| 46 | + "Desember" | |
| 47 | +]; | |
| 48 | + | |
| 49 | +Date.dayNames = [ | |
| 50 | + "Sondag", | |
| 51 | + "Maandag", | |
| 52 | + "Dinsdag", | |
| 53 | + "Woensdag", | |
| 54 | + "Donderdag", | |
| 55 | + "Vrydag", | |
| 56 | + "Saterdag" | |
| 57 | +]; | |
| 58 | + | |
| 59 | +/* Ext components translations */ | |
| 60 | +if(Ext.MessageBox){ | |
| 61 | + Ext.MessageBox.buttonText = { | |
| 62 | + ok : "OK", | |
| 63 | + cancel : "Kanselleer", | |
| 64 | + yes : "Ja", | |
| 65 | + no : "Nee" | |
| 66 | + }; | |
| 67 | +} | |
| 68 | + | |
| 69 | +if(Ext.util.Format){ | |
| 70 | + Ext.util.Format.date = function(v, format){ | |
| 71 | + if(!v) return ""; | |
| 72 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 73 | + return v.dateFormat(format || "d-m-y"); | |
| 74 | + }; | |
| 75 | +} | |
| 76 | + | |
| 77 | +if(Ext.DatePicker){ | |
| 78 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 79 | + todayText : "Vandag", | |
| 80 | + minText : "Hierdie datum is vroër as die minimum datum", | |
| 81 | + maxText : "Hierdie dataum is later as die maximum datum", | |
| 82 | + disabledDaysText : "", | |
| 83 | + disabledDatesText : "", | |
| 84 | + monthNames : Date.monthNames, | |
| 85 | + dayNames : Date.dayNames, | |
| 86 | + nextText : 'Volgende Maand (Beheer+Regs)', | |
| 87 | + prevText : 'Vorige Maand (Beheer+Links)', | |
| 88 | + monthYearText : "Kies 'n maand (Beheer+Op/Af volgende/vorige jaar)", | |
| 89 | + todayTip : "{0} (Spasie)", | |
| 90 | + format : "d-m-y", | |
| 91 | + startDay : 0 | |
| 92 | + }); | |
| 93 | +} | |
| 94 | + | |
| 95 | +if(Ext.PagingToolbar){ | |
| 96 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 97 | + beforePageText : "Bladsy", | |
| 98 | + afterPageText : "van {0}", | |
| 99 | + firstText : "Eerste Bladsy", | |
| 100 | + prevText : "Vorige Bladsy", | |
| 101 | + nextText : "Volgende Bladsy", | |
| 102 | + lastText : "Laatste Bladsy", | |
| 103 | + refreshText : "Verfris", | |
| 104 | + displayMsg : "Wys {0} - {1} van {2}", | |
| 105 | + emptyMsg : 'Geen data om te wys nie' | |
| 106 | + }); | |
| 107 | +} | |
| 108 | + | |
| 109 | +if(Ext.form.TextField){ | |
| 110 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 111 | + minLengthText : "Die minimum lengte van die veld is {0}", | |
| 112 | + maxLengthText : "Die maximum lengte van die veld is {0}", | |
| 113 | + blankText : "Die veld is verpligtend", | |
| 114 | + regexText : "", | |
| 115 | + emptyText : null | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.form.NumberField){ | |
| 120 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 121 | + minText : "Die minimum waarde vir die veld is {0}", | |
| 122 | + maxText : "Die maximum waarde vir die veld is {0}", | |
| 123 | + nanText : "{0} is nie 'n geldige waarde nie" | |
| 124 | + }); | |
| 125 | +} | |
| 126 | + | |
| 127 | +if(Ext.form.DateField){ | |
| 128 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 129 | + disabledDaysText : "Afgeskakel", | |
| 130 | + disabledDatesText : "Afgeskakel", | |
| 131 | + minText : "Die datum in hierdie veld moet na {0} wees", | |
| 132 | + maxText : "Die datum in hierdie veld moet voor {0} wees", | |
| 133 | + invalidText : "{0} is nie 'n geldige datum nie - datumformaat is {1}", | |
| 134 | + format : "d/m/y", | |
| 135 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 136 | + }); | |
| 137 | +} | |
| 138 | + | |
| 139 | +if(Ext.form.ComboBox){ | |
| 140 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 141 | + loadingText : "Besig om te laai...", | |
| 142 | + valueNotFoundText : undefined | |
| 143 | + }); | |
| 144 | +} | |
| 145 | + | |
| 146 | +if(Ext.form.VTypes){ | |
| 147 | + Ext.apply(Ext.form.VTypes, { | |
| 148 | + emailText : "Hierdie veld moet 'n e-pos adres wees met die formaat 'gebruiker@domein.za'", | |
| 149 | + urlText : "Hierdie veld moet 'n URL wees me die formaat 'http:/'+'/www.domein.za'", | |
| 150 | + alphaText : 'Die veld mag alleenlik letters en _ bevat', | |
| 151 | + alphanumText : 'Die veld mag alleenlik letters, syfers en _ bevat' | |
| 152 | + }); | |
| 153 | +} | |
| 154 | + | |
| 155 | +if(Ext.grid.GridView){ | |
| 156 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 157 | + sortAscText : "Sorteer Oplopend", | |
| 158 | + sortDescText : "Sorteer Aflopend", | |
| 159 | + lockText : "Vries Kolom", | |
| 160 | + unlockText : "Ontvries Kolom", | |
| 161 | + columnsText : "Kolomme" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.grid.PropertyColumnModel){ | |
| 166 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 167 | + nameText : "Naam", | |
| 168 | + valueText : "Waarde", | |
| 169 | + dateFormat : "Y-m-j" | |
| 170 | + }); | |
| 171 | +} | |
| 172 | + | |
| 173 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 174 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 175 | + splitTip : "Trek om grootte aan te pas.", | |
| 176 | + collapsibleSplitTip : "Trek om grootte aan te pas. Dubbel-klik om weg te steek." | |
| 177 | + }); | |
| 178 | +} | |
| 0 | 179 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-bg.js
0 → 100644
| 1 | +/** | |
| 2 | + * Bulgarian Translation | |
| 3 | + * | |
| 4 | + * By Георги Костадинов, Калгари, Канада | |
| 5 | + * 10 October 2007 | |
| 6 | + * By Nedko Penev | |
| 7 | + * 26 October 2007 | |
| 8 | + * | |
| 9 | + * (utf-8 encoding) | |
| 10 | + */ | |
| 11 | + | |
| 12 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Зареждане...</div>'; | |
| 13 | + | |
| 14 | +if(Ext.View){ | |
| 15 | + Ext.View.prototype.emptyText = ""; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.grid.GridPanel){ | |
| 19 | + Ext.grid.GridPanel.prototype.ddText = "{0} избрани колони"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.TabPanelItem){ | |
| 23 | + Ext.TabPanelItem.prototype.closeText = "Затвори таб"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.form.Field){ | |
| 27 | + Ext.form.Field.prototype.invalidText = "Невалидна стойност на полето"; | |
| 28 | +} | |
| 29 | + | |
| 30 | +if(Ext.LoadMask){ | |
| 31 | + Ext.LoadMask.prototype.msg = "Зареждане..."; | |
| 32 | +} | |
| 33 | + | |
| 34 | +Date.monthNames = [ | |
| 35 | + "Януари", | |
| 36 | + "Февруари", | |
| 37 | + "Март", | |
| 38 | + "Април", | |
| 39 | + "Май", | |
| 40 | + "Юни", | |
| 41 | + "Юли", | |
| 42 | + "Август", | |
| 43 | + "Септември", | |
| 44 | + "Октомври", | |
| 45 | + "Ноември", | |
| 46 | + "Декември" | |
| 47 | +]; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + Jan : 0, | |
| 51 | + Feb : 1, | |
| 52 | + Mar : 2, | |
| 53 | + Apr : 3, | |
| 54 | + May : 4, | |
| 55 | + Jun : 5, | |
| 56 | + Jul : 6, | |
| 57 | + Aug : 7, | |
| 58 | + Sep : 8, | |
| 59 | + Oct : 9, | |
| 60 | + Nov : 10, | |
| 61 | + Dec : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.dayNames = [ | |
| 65 | + "Неделя", | |
| 66 | + "Понеделник", | |
| 67 | + "Вторник", | |
| 68 | + "Сряда", | |
| 69 | + "Четвъртък", | |
| 70 | + "Петък", | |
| 71 | + "Събота" | |
| 72 | +]; | |
| 73 | + | |
| 74 | +if(Ext.MessageBox){ | |
| 75 | + Ext.MessageBox.buttonText = { | |
| 76 | + ok : "OK", | |
| 77 | + cancel : "Отмени", | |
| 78 | + yes : "Да", | |
| 79 | + no : "Не" | |
| 80 | + }; | |
| 81 | +} | |
| 82 | + | |
| 83 | +if(Ext.util.Format){ | |
| 84 | + Ext.util.Format.date = function(v, format){ | |
| 85 | + if(!v) return ""; | |
| 86 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 87 | + return v.dateFormat(format || "d.m.Y"); | |
| 88 | + }; | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.DatePicker){ | |
| 92 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 93 | + todayText : "Днес", | |
| 94 | + minText : "Тази дата е преди минималната", | |
| 95 | + maxText : "Тази дата е след максималната", | |
| 96 | + disabledDaysText : "", | |
| 97 | + disabledDatesText : "", | |
| 98 | + monthNames : Date.monthNames, | |
| 99 | + dayNames : Date.dayNames, | |
| 100 | + nextText : 'Следващ месец (Control+Right)', | |
| 101 | + prevText : 'Предишен месец (Control+Left)', | |
| 102 | + monthYearText : 'Избери месец (Control+Up/Down за преместване по години)', | |
| 103 | + todayTip : "{0} (Spacebar)", | |
| 104 | + format : "d.m.y", | |
| 105 | + okText : " OK ", | |
| 106 | + cancelText : "Отмени", | |
| 107 | + startDay : 1 | |
| 108 | + }); | |
| 109 | +} | |
| 110 | + | |
| 111 | +if(Ext.PagingToolbar){ | |
| 112 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 113 | + beforePageText : "Страница", | |
| 114 | + afterPageText : "от {0}", | |
| 115 | + firstText : "Първа страница", | |
| 116 | + prevText : "Предишна страница", | |
| 117 | + nextText : "Следваща страница", | |
| 118 | + lastText : "Последна страница", | |
| 119 | + refreshText : "Презареди", | |
| 120 | + displayMsg : "Показвайки {0} - {1} от {2}", | |
| 121 | + emptyMsg : 'Няма данни за показване' | |
| 122 | + }); | |
| 123 | +} | |
| 124 | + | |
| 125 | +if(Ext.form.TextField){ | |
| 126 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 127 | + minLengthText : "Минималната дължина на това поле е {0}", | |
| 128 | + maxLengthText : "Максималната дължина на това поле е {0}", | |
| 129 | + blankText : "Това поле е задължително", | |
| 130 | + regexText : "", | |
| 131 | + emptyText : null | |
| 132 | + }); | |
| 133 | +} | |
| 134 | + | |
| 135 | +if(Ext.form.NumberField){ | |
| 136 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 137 | + minText : "Минималната стойност за това поле е {0}", | |
| 138 | + maxText : "Максималната стойност за това поле е {0}", | |
| 139 | + nanText : "{0} не е валидно число" | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.DateField){ | |
| 144 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 145 | + disabledDaysText : "Недостъпен", | |
| 146 | + disabledDatesText : "Недостъпен", | |
| 147 | + minText : "Датата в това поле трябва да е след {0}", | |
| 148 | + maxText : "Датата в това поле трябва да е преди {0}", | |
| 149 | + invalidText : "{0} не е валидна дата - трябва да бъде във формат {1}", | |
| 150 | + format : "d.m.y", | |
| 151 | + altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 152 | + }); | |
| 153 | +} | |
| 154 | + | |
| 155 | +if(Ext.form.ComboBox){ | |
| 156 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 157 | + loadingText : "Зареждане...", | |
| 158 | + valueNotFoundText : undefined | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.VTypes){ | |
| 163 | + Ext.apply(Ext.form.VTypes, { | |
| 164 | + emailText : 'Това поле трябва да бъде емейл във формат "user@domain.com"', | |
| 165 | + urlText : 'Това поле трябва да бъде URL във формат "http:/'+'/www.domain.com"', | |
| 166 | + alphaText : 'Това поле трябва да съдържа само букви и _', | |
| 167 | + alphanumText : 'Това поле трябва да съдържа само букви, цифри и _' | |
| 168 | + }); | |
| 169 | +} | |
| 170 | + | |
| 171 | +if(Ext.form.HtmlEditor){ | |
| 172 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 173 | + createLinkText : 'Моля, въведете URL за връзката:', | |
| 174 | + buttonTips : { | |
| 175 | + bold : { | |
| 176 | + title: 'Bold (Ctrl+B)', | |
| 177 | + text: 'Удебелява избрания текст.', | |
| 178 | + cls: 'x-html-editor-tip' | |
| 179 | + }, | |
| 180 | + italic : { | |
| 181 | + title: 'Italic (Ctrl+I)', | |
| 182 | + text: 'Прави избрания текст курсив.', | |
| 183 | + cls: 'x-html-editor-tip' | |
| 184 | + }, | |
| 185 | + underline : { | |
| 186 | + title: 'Underline (Ctrl+U)', | |
| 187 | + text: 'Подчертава избрания текст.', | |
| 188 | + cls: 'x-html-editor-tip' | |
| 189 | + }, | |
| 190 | + increasefontsize : { | |
| 191 | + title: 'Уголеми текста', | |
| 192 | + text: 'Уголемява размера на шрифта.', | |
| 193 | + cls: 'x-html-editor-tip' | |
| 194 | + }, | |
| 195 | + decreasefontsize : { | |
| 196 | + title: 'Намали текста', | |
| 197 | + text: 'Намалява размера на шрифта.', | |
| 198 | + cls: 'x-html-editor-tip' | |
| 199 | + }, | |
| 200 | + backcolor : { | |
| 201 | + title: 'Цвят на маркирания текст', | |
| 202 | + text: 'Променя фоновия цвят на избрания текст.', | |
| 203 | + cls: 'x-html-editor-tip' | |
| 204 | + }, | |
| 205 | + forecolor : { | |
| 206 | + title: 'Цвят на шрифта', | |
| 207 | + text: 'Променя цвета на избрания текст.', | |
| 208 | + cls: 'x-html-editor-tip' | |
| 209 | + }, | |
| 210 | + justifyleft : { | |
| 211 | + title: 'Ляво подравняване', | |
| 212 | + text: 'Подравнява текста на ляво.', | |
| 213 | + cls: 'x-html-editor-tip' | |
| 214 | + }, | |
| 215 | + justifycenter : { | |
| 216 | + title: 'Центриране', | |
| 217 | + text: 'Центрира текста.', | |
| 218 | + cls: 'x-html-editor-tip' | |
| 219 | + }, | |
| 220 | + justifyright : { | |
| 221 | + title: 'Дясно подравняване', | |
| 222 | + text: 'Подравнява текста на дясно.', | |
| 223 | + cls: 'x-html-editor-tip' | |
| 224 | + }, | |
| 225 | + insertunorderedlist : { | |
| 226 | + title: 'Неномериран списък', | |
| 227 | + text: 'Започва неномериран списък.', | |
| 228 | + cls: 'x-html-editor-tip' | |
| 229 | + }, | |
| 230 | + insertorderedlist : { | |
| 231 | + title: 'Номериран списък', | |
| 232 | + text: 'Започва номериран списък.', | |
| 233 | + cls: 'x-html-editor-tip' | |
| 234 | + }, | |
| 235 | + createlink : { | |
| 236 | + title: 'Хипервръзка', | |
| 237 | + text: 'Превръща избрания текст в хипервръзка.', | |
| 238 | + cls: 'x-html-editor-tip' | |
| 239 | + }, | |
| 240 | + sourceedit : { | |
| 241 | + title: 'Редактиране на кода', | |
| 242 | + text: 'Преминаване в режим на редактиране на кода.', | |
| 243 | + cls: 'x-html-editor-tip' | |
| 244 | + } | |
| 245 | + } | |
| 246 | + }); | |
| 247 | +} | |
| 248 | + | |
| 249 | +if(Ext.grid.GridView){ | |
| 250 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 251 | + sortAscText : "Подреди в нарастващ ред", | |
| 252 | + sortDescText : "Подреди в намаляващ ред", | |
| 253 | + lockText : "Заключи колона", | |
| 254 | + unlockText : "Отключи колона", | |
| 255 | + columnsText : "Колони" | |
| 256 | + }); | |
| 257 | +} | |
| 258 | + | |
| 259 | +if(Ext.grid.PropertyColumnModel){ | |
| 260 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 261 | + nameText : "Име", | |
| 262 | + valueText : "Стойност", | |
| 263 | + dateFormat : "d.m.Y" | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 268 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 269 | + splitTip : "Влачете с мишката за да промените размера.", | |
| 270 | + collapsibleSplitTip : "Влачете с мишката за да промените размера. Чукнете два пъти за да скриете." | |
| 271 | + }); | |
| 272 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ca.js
0 → 100644
| 1 | +/** | |
| 2 | + * Catalonian Translation by halkon_polako 6-12-2007 | |
| 3 | + * December correction halkon_polako 11-12-2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Tancar aquesta pestanya"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "El valor d'aquest camp és invàlid"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Carregant..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "Gener", | |
| 30 | + "Febrer", | |
| 31 | + "Març", | |
| 32 | + "Abril", | |
| 33 | + "Maig", | |
| 34 | + "Juny", | |
| 35 | + "Juliol", | |
| 36 | + "Agost", | |
| 37 | + "Setembre", | |
| 38 | + "Octubre", | |
| 39 | + "Novembre", | |
| 40 | + "Desembre" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.getShortMonthName = function(month) { | |
| 44 | + return Date.monthNames[month].substring(0, 3); | |
| 45 | +}; | |
| 46 | + | |
| 47 | +Date.monthNumbers = { | |
| 48 | + Gen : 0, | |
| 49 | + Feb : 1, | |
| 50 | + Mar : 2, | |
| 51 | + Abr : 3, | |
| 52 | + Mai : 4, | |
| 53 | + Jun : 5, | |
| 54 | + Jul : 6, | |
| 55 | + Ago : 7, | |
| 56 | + Set : 8, | |
| 57 | + Oct : 9, | |
| 58 | + Nov : 10, | |
| 59 | + Dec : 11 | |
| 60 | +}; | |
| 61 | + | |
| 62 | +Date.getMonthNumber = function(name) { | |
| 63 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 64 | +}; | |
| 65 | + | |
| 66 | +Date.dayNames = [ | |
| 67 | + "Diumenge", | |
| 68 | + "Dilluns", | |
| 69 | + "Dimarts", | |
| 70 | + "Dimecres", | |
| 71 | + "Dijous", | |
| 72 | + "Divendres", | |
| 73 | + "Dissabte" | |
| 74 | +]; | |
| 75 | + | |
| 76 | +Date.getShortDayName = function(day) { | |
| 77 | + return Date.dayNames[day].substring(0, 3); | |
| 78 | +}; | |
| 79 | + | |
| 80 | +if(Ext.MessageBox){ | |
| 81 | + Ext.MessageBox.buttonText = { | |
| 82 | + ok : "Acceptar", | |
| 83 | + cancel : "Cancel·lar", | |
| 84 | + yes : "Sí", | |
| 85 | + no : "No" | |
| 86 | + }; | |
| 87 | +} | |
| 88 | + | |
| 89 | +if(Ext.util.Format){ | |
| 90 | + Ext.util.Format.date = function(v, format){ | |
| 91 | + if(!v) return ""; | |
| 92 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 93 | + return v.dateFormat(format || "d/m/Y"); | |
| 94 | + }; | |
| 95 | +} | |
| 96 | + | |
| 97 | +if(Ext.DatePicker){ | |
| 98 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 99 | + todayText : "Avui", | |
| 100 | + minText : "Aquesta data és anterior a la data mínima", | |
| 101 | + maxText : "Aquesta data és posterior a la data màxima", | |
| 102 | + disabledDaysText : "", | |
| 103 | + disabledDatesText : "", | |
| 104 | + monthNames : Date.monthNames, | |
| 105 | + dayNames : Date.dayNames, | |
| 106 | + nextText : 'Mes Següent (Control+Fletxa Dreta)', | |
| 107 | + prevText : 'Mes Anterior (Control+Fletxa Esquerra)', | |
| 108 | + monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)', | |
| 109 | + todayTip : "{0} (Barra d'espai)", | |
| 110 | + format : "d/m/Y", | |
| 111 | + okText : " Acceptar ", | |
| 112 | + cancelText : "Cancel·lar", | |
| 113 | + startDay : 1 | |
| 114 | + }); | |
| 115 | +} | |
| 116 | + | |
| 117 | +if(Ext.PagingToolbar){ | |
| 118 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 119 | + beforePageText : "Pàgina", | |
| 120 | + afterPageText : "de {0}", | |
| 121 | + firstText : "Primera Pàgina", | |
| 122 | + prevText : "Pàgina Anterior", | |
| 123 | + nextText : "Pàgina Següent", | |
| 124 | + lastText : "Darrera Pàgina", | |
| 125 | + refreshText : "Refrescar", | |
| 126 | + displayMsg : "Mostrant {0} - {1} de {2}", | |
| 127 | + emptyMsg : 'Sense dades per mostrar' | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.TextField){ | |
| 132 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 133 | + minLengthText : "El tamany mínim per aquest camp és {0}", | |
| 134 | + maxLengthText : "El tamany màxim per aquest camp és {0}", | |
| 135 | + blankText : "Aquest camp és obligatori", | |
| 136 | + regexText : "", | |
| 137 | + emptyText : null | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.NumberField){ | |
| 142 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 143 | + minText : "El valor mínim per aquest camp és {0}", | |
| 144 | + maxText : "El valor màxim per aquest camp és {0}", | |
| 145 | + nanText : "{0} no és un nombre vàlid" | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.form.DateField){ | |
| 150 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 151 | + disabledDaysText : "Deshabilitat", | |
| 152 | + disabledDatesText : "Deshabilitat", | |
| 153 | + minText : "La data en aquest camp ha de ser posterior a {0}", | |
| 154 | + maxText : "La data en aquest camp ha de ser inferior a {0}", | |
| 155 | + invalidText : "{0} no és una data vàlida - ha de tenir el format {1}", | |
| 156 | + format : "d/m/Y", | |
| 157 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 158 | + }); | |
| 159 | +} | |
| 160 | + | |
| 161 | +if(Ext.form.ComboBox){ | |
| 162 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 163 | + loadingText : "Carregant...", | |
| 164 | + valueNotFoundText : undefined | |
| 165 | + }); | |
| 166 | +} | |
| 167 | + | |
| 168 | +if(Ext.form.VTypes){ | |
| 169 | + Ext.apply(Ext.form.VTypes, { | |
| 170 | + emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@domain.com"', | |
| 171 | + urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.domain.com"', | |
| 172 | + alphaText : 'Aquest camp només pot contenir lletres i _', | |
| 173 | + alphanumText : 'Aquest camp només por contenir lletres, nombres i _' | |
| 174 | + }); | |
| 175 | +} | |
| 176 | + | |
| 177 | +if(Ext.form.HtmlEditor){ | |
| 178 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 179 | + createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:', | |
| 180 | + buttonTips : { | |
| 181 | + bold : { | |
| 182 | + title: 'Negreta (Ctrl+B)', | |
| 183 | + text: 'Posa el text seleccionat en negreta.', | |
| 184 | + cls: 'x-html-editor-tip' | |
| 185 | + }, | |
| 186 | + italic : { | |
| 187 | + title: 'Itàlica (Ctrl+I)', | |
| 188 | + text: 'Posa el text seleccionat en itàlica.', | |
| 189 | + cls: 'x-html-editor-tip' | |
| 190 | + }, | |
| 191 | + underline : { | |
| 192 | + title: 'Subratllat (Ctrl+U)', | |
| 193 | + text: 'Subratlla el text seleccionat.', | |
| 194 | + cls: 'x-html-editor-tip' | |
| 195 | + }, | |
| 196 | + increasefontsize : { | |
| 197 | + title: 'Augmentar Text', | |
| 198 | + text: 'Augmenta el tamany de la font de text.', | |
| 199 | + cls: 'x-html-editor-tip' | |
| 200 | + }, | |
| 201 | + decreasefontsize : { | |
| 202 | + title: 'Disminuir Text', | |
| 203 | + text: 'Disminueix el tamany de la font de text.', | |
| 204 | + cls: 'x-html-editor-tip' | |
| 205 | + }, | |
| 206 | + backcolor : { | |
| 207 | + title: 'Color de fons', | |
| 208 | + text: 'Canvia el color de fons del text seleccionat.', | |
| 209 | + cls: 'x-html-editor-tip' | |
| 210 | + }, | |
| 211 | + forecolor : { | |
| 212 | + title: 'Color de la font de text', | |
| 213 | + text: 'Canvia el color del text seleccionat.', | |
| 214 | + cls: 'x-html-editor-tip' | |
| 215 | + }, | |
| 216 | + justifyleft : { | |
| 217 | + title: 'Alinear a la esquerra', | |
| 218 | + text: 'Alinea el text a la esquerra.', | |
| 219 | + cls: 'x-html-editor-tip' | |
| 220 | + }, | |
| 221 | + justifycenter : { | |
| 222 | + title: 'Centrar el text', | |
| 223 | + text: 'Centra el text a l\'editor', | |
| 224 | + cls: 'x-html-editor-tip' | |
| 225 | + }, | |
| 226 | + justifyright : { | |
| 227 | + title: 'Alinear a la dreta', | |
| 228 | + text: 'Alinea el text a la dreta.', | |
| 229 | + cls: 'x-html-editor-tip' | |
| 230 | + }, | |
| 231 | + insertunorderedlist : { | |
| 232 | + title: 'Llista amb vinyetes', | |
| 233 | + text: 'Comença una llista amb vinyetes.', | |
| 234 | + cls: 'x-html-editor-tip' | |
| 235 | + }, | |
| 236 | + insertorderedlist : { | |
| 237 | + title: 'Llista numerada', | |
| 238 | + text: 'Comença una llista numerada.', | |
| 239 | + cls: 'x-html-editor-tip' | |
| 240 | + }, | |
| 241 | + createlink : { | |
| 242 | + title: 'Enllaç', | |
| 243 | + text: 'Transforma el text seleccionat en un enllaç.', | |
| 244 | + cls: 'x-html-editor-tip' | |
| 245 | + }, | |
| 246 | + sourceedit : { | |
| 247 | + title: 'Editar Codi', | |
| 248 | + text: 'Canvia al mode d\'edició de codi.', | |
| 249 | + cls: 'x-html-editor-tip' | |
| 250 | + } | |
| 251 | + } | |
| 252 | + }); | |
| 253 | +} | |
| 254 | + | |
| 255 | +if(Ext.grid.GridView){ | |
| 256 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 257 | + sortAscText : "Ordenació Ascendent", | |
| 258 | + sortDescText : "Ordenació Descendent", | |
| 259 | + lockText : "Bloquejar Columna", | |
| 260 | + unlockText : "Desbloquejar Columna", | |
| 261 | + columnsText : "Columnes" | |
| 262 | + }); | |
| 263 | +} | |
| 264 | + | |
| 265 | +if(Ext.grid.GroupingView){ | |
| 266 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 267 | + emptyGroupText : '(Buit)', | |
| 268 | + groupByText : 'Agrupar Per Aquest Camp', | |
| 269 | + showGroupsText : 'Mostrar en Grups' | |
| 270 | + }); | |
| 271 | +} | |
| 272 | + | |
| 273 | +if(Ext.grid.PropertyColumnModel){ | |
| 274 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 275 | + nameText : "Nom", | |
| 276 | + valueText : "Valor", | |
| 277 | + dateFormat : "d/m/Y" | |
| 278 | + }); | |
| 279 | +} | |
| 280 | + | |
| 281 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 282 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 283 | + splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.", | |
| 284 | + collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho." | |
| 285 | + }); | |
| 286 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-cs.js
0 → 100644
| 1 | +/** | |
| 2 | + * Czech Translations | |
| 3 | + * Translated by Tomáš Korčák (72) | |
| 4 | + * 2008/02/08 18:02, Ext-2.0.1 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Prosím čekejte...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} vybraných řádků"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Zavřít záložku"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "Hodnota v tomto poli je neplatná"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "Prosím čekejte..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Leden", | |
| 31 | + "Únor", | |
| 32 | + "Březen", | |
| 33 | + "Duben", | |
| 34 | + "Květen", | |
| 35 | + "Červen", | |
| 36 | + "Červenec", | |
| 37 | + "Srpen", | |
| 38 | + "Září", | |
| 39 | + "Říjen", | |
| 40 | + "Listopad", | |
| 41 | + "Prosinec" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.getShortMonthName = function(month) { | |
| 45 | + return Date.monthNames[month].substring(0, 3); | |
| 46 | +}; | |
| 47 | + | |
| 48 | +Date.monthNumbers = { | |
| 49 | + Jan : 0, | |
| 50 | + Feb : 1, | |
| 51 | + Mar : 2, | |
| 52 | + Apr : 3, | |
| 53 | + May : 4, | |
| 54 | + Jun : 5, | |
| 55 | + Jul : 6, | |
| 56 | + Aug : 7, | |
| 57 | + Sep : 8, | |
| 58 | + Oct : 9, | |
| 59 | + Nov : 10, | |
| 60 | + Dec : 11 | |
| 61 | +}; | |
| 62 | + | |
| 63 | +Date.getMonthNumber = function(name) { | |
| 64 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 65 | +}; | |
| 66 | + | |
| 67 | +Date.dayNames = [ | |
| 68 | + "Neděle", | |
| 69 | + "Pondělí", | |
| 70 | + "Úterý", | |
| 71 | + "Středa", | |
| 72 | + "Čtvrtek", | |
| 73 | + "Pátek", | |
| 74 | + "Sobota" | |
| 75 | +]; | |
| 76 | + | |
| 77 | +Date.getShortDayName = function(day) { | |
| 78 | + return Date.dayNames[day].substring(0, 3); | |
| 79 | +}; | |
| 80 | + | |
| 81 | +if(Ext.MessageBox){ | |
| 82 | + Ext.MessageBox.buttonText = { | |
| 83 | + ok : "OK", | |
| 84 | + cancel : "Storno", | |
| 85 | + yes : "Ano", | |
| 86 | + no : "Ne" | |
| 87 | + }; | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.util.Format){ | |
| 91 | + Ext.util.Format.date = function(v, format){ | |
| 92 | + if(!v) return ""; | |
| 93 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 94 | + return v.dateFormat(format || "d.m.Y"); | |
| 95 | + }; | |
| 96 | +} | |
| 97 | + | |
| 98 | +if(Ext.DatePicker){ | |
| 99 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 100 | + todayText : "Dnes", | |
| 101 | + minText : "Datum nesmí být starší než je minimální", | |
| 102 | + maxText : "Datum nesmí být dřívější než je maximální", | |
| 103 | + disabledDaysText : "", | |
| 104 | + disabledDatesText : "", | |
| 105 | + monthNames : Date.monthNames, | |
| 106 | + dayNames : Date.dayNames, | |
| 107 | + nextText : 'Následující měsíc (Control+Right)', | |
| 108 | + prevText : 'Předcházející měsíc (Control+Left)', | |
| 109 | + monthYearText : 'Zvolte měsíc (ke změně let použijte Control+Up/Down)', | |
| 110 | + todayTip : "{0} (Spacebar)", | |
| 111 | + format : "d.m.Y", | |
| 112 | + okText : " OK ", | |
| 113 | + cancelText : "Storno", | |
| 114 | + startDay : 1 | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.PagingToolbar){ | |
| 119 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 120 | + beforePageText : "Strana", | |
| 121 | + afterPageText : "z {0}", | |
| 122 | + firstText : "První strana", | |
| 123 | + prevText : "Přecházející strana", | |
| 124 | + nextText : "Následující strana", | |
| 125 | + lastText : "Poslední strana", | |
| 126 | + refreshText : "Aktualizovat", | |
| 127 | + displayMsg : "Zobrazeno {0} - {1} z celkových {2}", | |
| 128 | + emptyMsg : 'Žádné záznamy nebyly nalezeny' | |
| 129 | + }); | |
| 130 | +} | |
| 131 | + | |
| 132 | +if(Ext.form.TextField){ | |
| 133 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 134 | + minLengthText : "Pole nesmí mít méně {0} znaků", | |
| 135 | + maxLengthText : "Pole nesmí být delší než {0} znaků", | |
| 136 | + blankText : "This field is required", | |
| 137 | + regexText : "", | |
| 138 | + emptyText : null | |
| 139 | + }); | |
| 140 | +} | |
| 141 | + | |
| 142 | +if(Ext.form.NumberField){ | |
| 143 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 144 | + minText : "Hodnota v tomto poli nesmí být menší než {0}", | |
| 145 | + maxText : "Hodnota v tomto poli nesmí být větší než {0}", | |
| 146 | + nanText : "{0} není platné číslo" | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.DateField){ | |
| 151 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 152 | + disabledDaysText : "Neaktivní", | |
| 153 | + disabledDatesText : "Neaktivní", | |
| 154 | + minText : "Datum v tomto poli nesmí být starší než {0}", | |
| 155 | + maxText : "Datum v tomto poli nesmí být novější než {0}", | |
| 156 | + invalidText : "{0} není platným datem - zkontrolujte zda-li je ve formátu {1}", | |
| 157 | + format : "d.m.Y", | |
| 158 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.ComboBox){ | |
| 163 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 164 | + loadingText : "Prosím čekejte...", | |
| 165 | + valueNotFoundText : undefined | |
| 166 | + }); | |
| 167 | +} | |
| 168 | + | |
| 169 | +if(Ext.form.VTypes){ | |
| 170 | + Ext.apply(Ext.form.VTypes, { | |
| 171 | + emailText : 'V tomto poli může být vyplněna pouze emailová adresa ve formátu "uživatel@doména.cz"', | |
| 172 | + urlText : 'V tomto poli může být vyplněna pouze URL (adresa internetové stránky) ve formátu "http:/'+'/www.doména.cz"', | |
| 173 | + alphaText : 'Toto pole může obsahovat pouze písmena abecedy a znak _', | |
| 174 | + alphanumText : 'Toto pole může obsahovat pouze písmena abecedy, čísla a znak _' | |
| 175 | + }); | |
| 176 | +} | |
| 177 | + | |
| 178 | +if(Ext.form.HtmlEditor){ | |
| 179 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 180 | + createLinkText : 'Zadejte URL adresu odkazu:', | |
| 181 | + buttonTips : { | |
| 182 | + bold : { | |
| 183 | + title: 'Tučné (Ctrl+B)', | |
| 184 | + text: 'Označí vybraný text tučně.', | |
| 185 | + cls: 'x-html-editor-tip' | |
| 186 | + }, | |
| 187 | + italic : { | |
| 188 | + title: 'Kurzíva (Ctrl+I)', | |
| 189 | + text: 'Označí vybraný text kurzívou.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + underline : { | |
| 193 | + title: 'Podtržení (Ctrl+U)', | |
| 194 | + text: 'Podtrhne vybraný text.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + increasefontsize : { | |
| 198 | + title: 'Zvětšit písmo', | |
| 199 | + text: 'Zvětší velikost písma.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + decreasefontsize : { | |
| 203 | + title: 'Zúžit písmo', | |
| 204 | + text: 'Zmenší velikost písma.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + backcolor : { | |
| 208 | + title: 'Barva zvýraznění textu', | |
| 209 | + text: 'Označí vybraný text tak, aby vypadal jako označený zvýrazňovačem.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + forecolor : { | |
| 213 | + title: 'Barva písma', | |
| 214 | + text: 'Změní barvu textu.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + justifyleft : { | |
| 218 | + title: 'Zarovnat text vlevo', | |
| 219 | + text: 'Zarovná text doleva.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + justifycenter : { | |
| 223 | + title: 'Zarovnat na střed', | |
| 224 | + text: 'Zarovná text na střed.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifyright : { | |
| 228 | + title: 'Zarovnat text vpravo', | |
| 229 | + text: 'Zarovná text doprava.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + insertunorderedlist : { | |
| 233 | + title: 'Odrážky', | |
| 234 | + text: 'Začne seznam s odrážkami.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + insertorderedlist : { | |
| 238 | + title: 'Číslování', | |
| 239 | + text: 'Začne číslovaný seznam.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + createlink : { | |
| 243 | + title: 'Internetový odkaz', | |
| 244 | + text: 'Z vybraného textu vytvoří internetový odkaz.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + sourceedit : { | |
| 248 | + title: 'Zdrojový kód', | |
| 249 | + text: 'Přepne do módu úpravy zdrojového kódu.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + } | |
| 252 | + } | |
| 253 | + }); | |
| 254 | +} | |
| 255 | + | |
| 256 | +if(Ext.grid.GridView){ | |
| 257 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 258 | + sortAscText : "Řadit vzestupně", | |
| 259 | + sortDescText : "Řadit sestupně", | |
| 260 | + lockText : "Ukotvit sloupec", | |
| 261 | + unlockText : "Uvolnit sloupec", | |
| 262 | + columnsText : "Sloupce" | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GroupingView){ | |
| 267 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 268 | + emptyGroupText : '(Žádná data)', | |
| 269 | + groupByText : 'Seskupit dle tohoto pole', | |
| 270 | + showGroupsText : 'Zobrazit ve skupině' | |
| 271 | + }); | |
| 272 | +} | |
| 273 | + | |
| 274 | +if(Ext.grid.PropertyColumnModel){ | |
| 275 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 276 | + nameText : "Název", | |
| 277 | + valueText : "Hodnota", | |
| 278 | + dateFormat : "j.m.Y" | |
| 279 | + }); | |
| 280 | +} | |
| 281 | + | |
| 282 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 283 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 284 | + splitTip : "Tahem změnit velikost.", | |
| 285 | + collapsibleSplitTip : "Tahem změnit velikost. Dvojklikem skrýt." | |
| 286 | + }); | |
| 287 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-da.js
0 → 100644
| 1 | +/* | |
| 2 | + * Danish translation | |
| 3 | + * By JohnF | |
| 4 | + * 04-09-2007, 05:28 AM | |
| 5 | + * | |
| 6 | + * Extended and modified by Karl Krukow, | |
| 7 | + * December, 2007. | |
| 8 | + */ | |
| 9 | + | |
| 10 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Henter...</div>'; | |
| 11 | + | |
| 12 | +if(Ext.View){ | |
| 13 | + Ext.View.prototype.emptyText = ""; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.grid.GridPanel){ | |
| 17 | + Ext.grid.GridPanel.prototype.ddText = "{0} markerede rækker"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.TabPanelItem){ | |
| 21 | + Ext.TabPanelItem.prototype.closeText = "Luk denne fane"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.form.Field){ | |
| 25 | + Ext.form.Field.prototype.invalidText = "Værdien i dette felt er ugyldig"; | |
| 26 | +} | |
| 27 | + | |
| 28 | +if(Ext.LoadMask){ | |
| 29 | + Ext.LoadMask.prototype.msg = "Henter..."; | |
| 30 | +} | |
| 31 | + | |
| 32 | +Date.monthNames = [ | |
| 33 | + "januar", | |
| 34 | + "februar", | |
| 35 | + "marts", | |
| 36 | + "april", | |
| 37 | + "maj", | |
| 38 | + "juni", | |
| 39 | + "juli", | |
| 40 | + "august", | |
| 41 | + "september", | |
| 42 | + "oktober", | |
| 43 | + "november", | |
| 44 | + "december" | |
| 45 | +]; | |
| 46 | + | |
| 47 | +Date.getShortMonthName = function(month) { | |
| 48 | + return Date.monthNames[month].substring(0, 3); | |
| 49 | +}; | |
| 50 | + | |
| 51 | +Date.monthNumbers = { | |
| 52 | + Jan : 0, | |
| 53 | + Feb : 1, | |
| 54 | + Mar : 2, | |
| 55 | + Apr : 3, | |
| 56 | + May : 4, | |
| 57 | + Jun : 5, | |
| 58 | + Jul : 6, | |
| 59 | + Aug : 7, | |
| 60 | + Sep : 8, | |
| 61 | + Oct : 9, | |
| 62 | + Nov : 10, | |
| 63 | + Dec : 11 | |
| 64 | +}; | |
| 65 | + | |
| 66 | +Date.getMonthNumber = function(name) { | |
| 67 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 68 | +}; | |
| 69 | + | |
| 70 | +Date.dayNames = [ | |
| 71 | + "søndag", | |
| 72 | + "mandag", | |
| 73 | + "tirsdag", | |
| 74 | + "onsdag", | |
| 75 | + "torsdag", | |
| 76 | + "fredag", | |
| 77 | + "lørdag" | |
| 78 | +]; | |
| 79 | + | |
| 80 | +Date.getShortDayName = function(day) { | |
| 81 | + return Date.dayNames[day].substring(0, 3); | |
| 82 | +}; | |
| 83 | + | |
| 84 | +if(Ext.MessageBox){ | |
| 85 | + Ext.MessageBox.buttonText = { | |
| 86 | + ok : "OK", | |
| 87 | + cancel : "Fortryd", | |
| 88 | + yes : "Ja", | |
| 89 | + no : "Nej" | |
| 90 | + }; | |
| 91 | +} | |
| 92 | + | |
| 93 | +if(Ext.util.Format){ | |
| 94 | + Ext.util.Format.date = function(v, format){ | |
| 95 | + if(!v) return ""; | |
| 96 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 97 | + return v.dateFormat(format || "d/m/Y"); | |
| 98 | + }; | |
| 99 | +} | |
| 100 | + | |
| 101 | +if(Ext.DatePicker){ | |
| 102 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 103 | + todayText : "I dag", | |
| 104 | + minText : "Denne dato er før den tidligst tilladte", | |
| 105 | + maxText : "Denne dato er senere end den senest tilladte", | |
| 106 | + disabledDaysText : "", | |
| 107 | + disabledDatesText : "", | |
| 108 | + monthNames : Date.monthNames, | |
| 109 | + dayNames : Date.dayNames, | |
| 110 | + nextText : 'Næste måned (Ctrl + højre piltast)', | |
| 111 | + prevText : 'Forrige måned (Ctrl + venstre piltast)', | |
| 112 | + monthYearText : 'Vælg en måned (Ctrl + op/ned pil for at ændre årstal)', | |
| 113 | + todayTip : "{0} (mellemrum)", | |
| 114 | + format : "d/m/y", | |
| 115 | + okText : " OK ", | |
| 116 | + cancelText : "Cancel", | |
| 117 | + startDay : 1 | |
| 118 | + }); | |
| 119 | +} | |
| 120 | + | |
| 121 | +if(Ext.PagingToolbar){ | |
| 122 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 123 | + beforePageText : "Side", | |
| 124 | + afterPageText : "af {0}", | |
| 125 | + firstText : "Første side", | |
| 126 | + prevText : "Forrige side", | |
| 127 | + nextText : "Næste side", | |
| 128 | + lastText : "Sidste side", | |
| 129 | + refreshText : "Opfrisk", | |
| 130 | + displayMsg : "Viser {0} - {1} af {2}", | |
| 131 | + emptyMsg : 'Der er ingen data at vise' | |
| 132 | + }); | |
| 133 | +} | |
| 134 | + | |
| 135 | +if(Ext.form.TextField){ | |
| 136 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 137 | + minLengthText : "Minimum længden for dette felt er {0}", | |
| 138 | + maxLengthText : "Maksimum længden for dette felt er {0}", | |
| 139 | + blankText : "Dette felt skal udfyldes", | |
| 140 | + regexText : "", | |
| 141 | + emptyText : null | |
| 142 | + }); | |
| 143 | +} | |
| 144 | + | |
| 145 | +if(Ext.form.NumberField){ | |
| 146 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 147 | + minText : "Mindste-værdien for dette felt er {0}", | |
| 148 | + maxText : "Maksimum-værdien for dette felt er {0}", | |
| 149 | + nanText : "{0} er ikke et tilladt nummer" | |
| 150 | + }); | |
| 151 | +} | |
| 152 | + | |
| 153 | +if(Ext.form.DateField){ | |
| 154 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 155 | + disabledDaysText : "Inaktiveret", | |
| 156 | + disabledDatesText : "Inaktiveret", | |
| 157 | + minText : "Datoen i dette felt skal være efter {0}", | |
| 158 | + maxText : "Datoen i dette felt skal være før {0}", | |
| 159 | + invalidText : "{0} er ikke en tilladt dato - datoer skal angives i formatet {1}", | |
| 160 | + format : "d/m/y", | |
| 161 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.form.ComboBox){ | |
| 166 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 167 | + loadingText : "Henter...", | |
| 168 | + valueNotFoundText : undefined | |
| 169 | + }); | |
| 170 | +} | |
| 171 | + | |
| 172 | +if(Ext.form.VTypes){ | |
| 173 | + Ext.apply(Ext.form.VTypes, { | |
| 174 | + emailText : 'Dette felt skal være en email adresse i formatet "xxx@yyy.zzz"', | |
| 175 | + urlText : 'Dette felt skal være en URL i formatet "http:/'+'/xxx.yyy"', | |
| 176 | + alphaText : 'Dette felt kan kun indeholde bogstaver og "_" (understregning)', | |
| 177 | + alphanumText : 'Dette felt kan kun indeholde bogstaver, tal og "_" (understregning)' | |
| 178 | + }); | |
| 179 | +} | |
| 180 | + | |
| 181 | +if(Ext.form.HtmlEditor){ | |
| 182 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 183 | + createLinkText : 'Indtast URL:', | |
| 184 | + buttonTips : { | |
| 185 | + bold : { | |
| 186 | + title: 'Fed (Ctrl+B)', //Can I change this to Ctrl+F? | |
| 187 | + text: 'Formater det markerede tekst med fed.', | |
| 188 | + cls: 'x-html-editor-tip' | |
| 189 | + }, | |
| 190 | + italic : { | |
| 191 | + title: 'Kursiv (Ctrl+I)',//Ctrl+K | |
| 192 | + text: 'Formater det markerede tekst med kursiv.', | |
| 193 | + cls: 'x-html-editor-tip' | |
| 194 | + }, | |
| 195 | + underline : { | |
| 196 | + title: 'Understreg (Ctrl+U)', | |
| 197 | + text: 'Understreg det markerede tekst.', | |
| 198 | + cls: 'x-html-editor-tip' | |
| 199 | + }, | |
| 200 | + increasefontsize : { | |
| 201 | + title: 'Forstør tekst', | |
| 202 | + text: 'Forøg fontstørrelsen.', | |
| 203 | + cls: 'x-html-editor-tip' | |
| 204 | + }, | |
| 205 | + decreasefontsize : { | |
| 206 | + title: 'Formindsk tekst', | |
| 207 | + text: 'Formindsk fontstørrelsen.', | |
| 208 | + cls: 'x-html-editor-tip' | |
| 209 | + }, | |
| 210 | + backcolor : { | |
| 211 | + title: 'Farve for tekstfremhævelse', | |
| 212 | + text: 'Skift baggrundsfarve for det markerede tekst.', | |
| 213 | + cls: 'x-html-editor-tip' | |
| 214 | + }, | |
| 215 | + forecolor : { | |
| 216 | + title: 'Skriftfarve', | |
| 217 | + text: 'Skift skriftfarve for det markerede tekst.', | |
| 218 | + cls: 'x-html-editor-tip' | |
| 219 | + }, | |
| 220 | + justifyleft : { | |
| 221 | + title: 'Juster venstre', | |
| 222 | + text: 'Venstrestil tekst.', | |
| 223 | + cls: 'x-html-editor-tip' | |
| 224 | + }, | |
| 225 | + justifycenter : { | |
| 226 | + title: 'Centreret', | |
| 227 | + text: 'Centrer tekst.', | |
| 228 | + cls: 'x-html-editor-tip' | |
| 229 | + }, | |
| 230 | + justifyright : { | |
| 231 | + title: 'Juster højre', | |
| 232 | + text: 'Højrestil tekst.', | |
| 233 | + cls: 'x-html-editor-tip' | |
| 234 | + }, | |
| 235 | + insertunorderedlist : { | |
| 236 | + title: 'Punktopstilling', | |
| 237 | + text: 'Påbegynd punktopstilling.', | |
| 238 | + cls: 'x-html-editor-tip' | |
| 239 | + }, | |
| 240 | + insertorderedlist : { | |
| 241 | + title: 'Nummereret opstilling', | |
| 242 | + text: 'Påbegynd nummereret opstilling.', | |
| 243 | + cls: 'x-html-editor-tip' | |
| 244 | + }, | |
| 245 | + createlink : { | |
| 246 | + title: 'Hyperlink', | |
| 247 | + text: 'Lav det markerede test til et hyperlink.', | |
| 248 | + cls: 'x-html-editor-tip' | |
| 249 | + }, | |
| 250 | + sourceedit : { | |
| 251 | + title: 'Kildetekstredigering', | |
| 252 | + text: 'Skift til redigering af kildetekst.', | |
| 253 | + cls: 'x-html-editor-tip' | |
| 254 | + } | |
| 255 | + } | |
| 256 | + }); | |
| 257 | +} | |
| 258 | + | |
| 259 | +if(Ext.grid.GridView){ | |
| 260 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 261 | + sortAscText : "Sortér stigende", | |
| 262 | + sortDescText : "Sortér faldende", | |
| 263 | + lockText : "Lås kolonne", | |
| 264 | + unlockText : "Fjern lås fra kolonne", | |
| 265 | + columnsText : "Kolonner" | |
| 266 | + }); | |
| 267 | +} | |
| 268 | + | |
| 269 | +if(Ext.grid.GroupingView){ | |
| 270 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 271 | + emptyGroupText : '(Ingen)', | |
| 272 | + groupByText : 'Gruppér efter dette felt', | |
| 273 | + showGroupsText : 'Vis i grupper' //should this be sort in groups? | |
| 274 | + }); | |
| 275 | +} | |
| 276 | + | |
| 277 | +if(Ext.grid.PropertyColumnModel){ | |
| 278 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 279 | + nameText : "Navn", | |
| 280 | + valueText : "Værdi", | |
| 281 | + dateFormat : "j/m/Y" | |
| 282 | + }); | |
| 283 | +} | |
| 284 | + | |
| 285 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 286 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 287 | + splitTip : "Træk for at ændre størrelsen.", | |
| 288 | + collapsibleSplitTip : "Træk for at ændre størrelsen. Dobbelt-klik for at skjule." | |
| 289 | + }); | |
| 290 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-de.js
0 → 100644
| 1 | +/* | |
| 2 | + * German translation | |
| 3 | + * By schmidetzki and humpdi | |
| 4 | + * 04-07-2007 | |
| 5 | + * Updated by wm003 10-31-2007 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Übertrage Daten ...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} Zeile(n) ausgewählt"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Diesen Tab schließen"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.BasicForm){ | |
| 23 | + Ext.form.BasicForm.prototype.waitTitle = "Bitte warten..."; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.form.Field){ | |
| 27 | + Ext.form.Field.prototype.invalidText = "Der Wert des Feldes ist nicht korrekt"; | |
| 28 | +} | |
| 29 | + | |
| 30 | +if(Ext.LoadMask){ | |
| 31 | + Ext.LoadMask.prototype.msg = "Übertrage Daten..."; | |
| 32 | +} | |
| 33 | + | |
| 34 | +Date.monthNames = [ | |
| 35 | + "Januar", | |
| 36 | + "Februar", | |
| 37 | + "März", | |
| 38 | + "April", | |
| 39 | + "Mai", | |
| 40 | + "Juni", | |
| 41 | + "Juli", | |
| 42 | + "August", | |
| 43 | + "September", | |
| 44 | + "Oktober", | |
| 45 | + "November", | |
| 46 | + "Dezember" | |
| 47 | +]; | |
| 48 | + | |
| 49 | +Date.getShortMonthName = function(month) { | |
| 50 | + return Date.monthNames[month].substring(0, 3); | |
| 51 | +}; | |
| 52 | + | |
| 53 | +Date.monthNumbers = { | |
| 54 | + Jan : 0, | |
| 55 | + Feb : 1, | |
| 56 | + Mar : 2, | |
| 57 | + Apr : 3, | |
| 58 | + May : 4, | |
| 59 | + Jun : 5, | |
| 60 | + Jul : 6, | |
| 61 | + Aug : 7, | |
| 62 | + Sep : 8, | |
| 63 | + Oct : 9, | |
| 64 | + Nov : 10, | |
| 65 | + Dec : 11 | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.getMonthNumber = function(name) { | |
| 69 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 70 | +}; | |
| 71 | + | |
| 72 | +Date.dayNames = [ | |
| 73 | + "Sonntag", | |
| 74 | + "Montag", | |
| 75 | + "Dienstag", | |
| 76 | + "Mittwoch", | |
| 77 | + "Donnerstag", | |
| 78 | + "Freitag", | |
| 79 | + "Samstag" | |
| 80 | +]; | |
| 81 | + | |
| 82 | +Date.getShortDayName = function(day) { | |
| 83 | + return Date.dayNames[day].substring(0, 3); | |
| 84 | +}; | |
| 85 | + | |
| 86 | +if(Ext.MessageBox){ | |
| 87 | + Ext.MessageBox.buttonText = { | |
| 88 | + ok : "OK", | |
| 89 | + cancel : "Abbrechen", | |
| 90 | + yes : "Ja", | |
| 91 | + no : "Nein" | |
| 92 | + }; | |
| 93 | +} | |
| 94 | + | |
| 95 | +if(Ext.util.Format){ | |
| 96 | + Ext.util.Format.date = function(v, format){ | |
| 97 | + if(!v) return ""; | |
| 98 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 99 | + return v.dateFormat(format || "d.m.Y"); | |
| 100 | + }; | |
| 101 | +} | |
| 102 | + | |
| 103 | +if(Ext.DatePicker){ | |
| 104 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 105 | + todayText : "Heute", | |
| 106 | + minText : "Dieses Datum liegt von dem erstmöglichen Datum", | |
| 107 | + maxText : "Dieses Datum liegt nach dem letztmöglichen Datum", | |
| 108 | + disabledDaysText : "", | |
| 109 | + disabledDatesText : "", | |
| 110 | + monthNames : Date.monthNames, | |
| 111 | + dayNames : Date.dayNames, | |
| 112 | + nextText : "Nächster Monat (Strg/Control + Rechts)", | |
| 113 | + prevText : "Vorheriger Monat (Strg/Control + Links)", | |
| 114 | + monthYearText : "Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)", | |
| 115 | + todayTip : "Heute ({0}) (Leertaste)", | |
| 116 | + format : "d.m.Y", | |
| 117 | + okText : " OK ", | |
| 118 | + cancelText : "Abbrechen", | |
| 119 | + startDay : 1 | |
| 120 | + }); | |
| 121 | +} | |
| 122 | + | |
| 123 | +if(Ext.PagingToolbar){ | |
| 124 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 125 | + beforePageText : "Seite", | |
| 126 | + afterPageText : "von {0}", | |
| 127 | + firstText : "Erste Seite", | |
| 128 | + prevText : "vorherige Seite", | |
| 129 | + nextText : "nächste Seite", | |
| 130 | + lastText : "letzte Seite", | |
| 131 | + refreshText : "Aktualisieren", | |
| 132 | + displayMsg : "Anzeige Eintrag {0} - {1} von {2}", | |
| 133 | + emptyMsg : "Keine Daten vorhanden" | |
| 134 | + }); | |
| 135 | +} | |
| 136 | + | |
| 137 | +if(Ext.form.TextField){ | |
| 138 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 139 | + minLengthText : "Bitte geben Sie mindestens {0} Zeichen ein", | |
| 140 | + maxLengthText : "Bitte geben Sie maximal {0} Zeichen ein", | |
| 141 | + blankText : "Dieses Feld darf nicht leer sein", | |
| 142 | + regexText : "", | |
| 143 | + emptyText : null | |
| 144 | + }); | |
| 145 | +} | |
| 146 | + | |
| 147 | +if(Ext.form.NumberField){ | |
| 148 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 149 | + minText : "Der Mindestwert für dieses Feld ist {0}", | |
| 150 | + maxText : "Der Maximalwert für dieses Feld ist {0}", | |
| 151 | + nanText : "{0} ist keine Zahl" | |
| 152 | + }); | |
| 153 | +} | |
| 154 | + | |
| 155 | +if(Ext.form.DateField){ | |
| 156 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 157 | + disabledDaysText : "nicht erlaubt", | |
| 158 | + disabledDatesText : "nicht erlaubt", | |
| 159 | + minText : "Das Datum in diesem Feld muß nach dem {0} liegen", | |
| 160 | + maxText : "Das Datum in diesem Feld muß vor dem {0} liegen", | |
| 161 | + invalidText : "{0} ist kein valides Datum - es muß im Format {1} eingegeben werden", | |
| 162 | + format : "d.m.Y", | |
| 163 | + altFormats : "d.m.Y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 164 | + }); | |
| 165 | +} | |
| 166 | + | |
| 167 | +if(Ext.form.ComboBox){ | |
| 168 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 169 | + loadingText : "Lade Daten ...", | |
| 170 | + valueNotFoundText : undefined | |
| 171 | + }); | |
| 172 | +} | |
| 173 | + | |
| 174 | +if(Ext.form.VTypes){ | |
| 175 | + Ext.apply(Ext.form.VTypes, { | |
| 176 | + emailText : 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@domain.com"', | |
| 177 | + urlText : 'Dieses Feld sollte eine URL enthalten. Format: "http:/'+'/www.domain.com"', | |
| 178 | + alphaText : 'Dieses Feld darf nur Buchstaben enthalten und _', | |
| 179 | + alphanumText : 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _' | |
| 180 | + }); | |
| 181 | +} | |
| 182 | + | |
| 183 | +if(Ext.form.HtmlEditor){ | |
| 184 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 185 | + createLinkText : 'Bitte geben Sie die URL für den Link ein:', | |
| 186 | + buttonTips : { | |
| 187 | + bold : { | |
| 188 | + title: 'Fett (Ctrl+B)', | |
| 189 | + text: 'Erstellt den ausgewählten Text in Fettschrift.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + italic : { | |
| 193 | + title: 'Kursiv (Ctrl+I)', | |
| 194 | + text: 'Erstellt den ausgewählten Text in Schrägschrift.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + underline : { | |
| 198 | + title: 'Unterstrichen (Ctrl+U)', | |
| 199 | + text: 'Unterstreicht den ausgewählten Text.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + increasefontsize : { | |
| 203 | + title: 'Text vergößern', | |
| 204 | + text: 'Erhöht die Schriftgröße.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + decreasefontsize : { | |
| 208 | + title: 'Text verkleinern', | |
| 209 | + text: 'Verringert die Schriftgröße.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + backcolor : { | |
| 213 | + title: 'Text farblich hervorheben', | |
| 214 | + text: 'Hintergrundfarbe des ausgewählten Textes ändern.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + forecolor : { | |
| 218 | + title: 'Schriftfarbe', | |
| 219 | + text: 'Farbe des ausgewählten Textes ändern.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + justifyleft : { | |
| 223 | + title: 'Linksbündig', | |
| 224 | + text: 'Setzt den Text linksbündig.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifycenter : { | |
| 228 | + title: 'Zentrieren', | |
| 229 | + text: 'Zentriert den Text in Editor.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + justifyright : { | |
| 233 | + title: 'Rechtsbündig', | |
| 234 | + text: 'Setzt den Text rechtsbündig.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + insertunorderedlist : { | |
| 238 | + title: 'Aufzählungsliste', | |
| 239 | + text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + insertorderedlist : { | |
| 243 | + title: 'Numerierte Liste', | |
| 244 | + text: 'Beginnt eine numerierte Liste.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + createlink : { | |
| 248 | + title: 'Hyperlink', | |
| 249 | + text: 'Erstellt einen Hyperlink aus dem ausgewählten text.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + }, | |
| 252 | + sourceedit : { | |
| 253 | + title: 'Source bearbeiten', | |
| 254 | + text: 'Zur Bearbeitung des Quelltextes wechseln.', | |
| 255 | + cls: 'x-html-editor-tip' | |
| 256 | + } | |
| 257 | + } | |
| 258 | + }); | |
| 259 | +} | |
| 260 | + | |
| 261 | +if(Ext.grid.GridView){ | |
| 262 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 263 | + sortAscText : "Aufsteigend sortieren", | |
| 264 | + sortDescText : "Absteigend sortieren", | |
| 265 | + lockText : "Spalte sperren", | |
| 266 | + unlockText : "Spalte freigeben (entsperren)", | |
| 267 | + columnsText : "Spalten" | |
| 268 | + }); | |
| 269 | +} | |
| 270 | + | |
| 271 | +if(Ext.grid.GroupingView){ | |
| 272 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 273 | + emptyGroupText : '(Keine)', | |
| 274 | + groupByText : 'Dieses Feld gruppieren', | |
| 275 | + showGroupsText : 'In Gruppen anzeigen' | |
| 276 | + }); | |
| 277 | +} | |
| 278 | + | |
| 279 | +if(Ext.grid.PropertyColumnModel){ | |
| 280 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 281 | + nameText : "Name", | |
| 282 | + valueText : "Wert", | |
| 283 | + dateFormat : "d.m.Y" | |
| 284 | + }); | |
| 285 | +} | |
| 286 | + | |
| 287 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 288 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 289 | + splitTip : "Ziehen, um Größe zu ändern.", | |
| 290 | + collapsibleSplitTip : "Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden." | |
| 291 | + }); | |
| 292 | +} | |
| 293 | + | |
| 294 | +if(Ext.form.TimeField){ | |
| 295 | + Ext.apply(Ext.form.TimeField.prototype, { | |
| 296 | + minText : "Die Zeit muss gleich oder nach {0} liegen", | |
| 297 | + maxText : "Die Zeit muss gleich oder vor {0} liegen", | |
| 298 | + invalidText : "{0} ist keine gültige Zeit", | |
| 299 | + format : "H:i" | |
| 300 | + }); | |
| 301 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-el_GR.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.1 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * Greek translation | |
| 11 | + * By thesilentman (utf8 encoding) | |
| 12 | + * 27 Apr 2008 | |
| 13 | + * | |
| 14 | + * Changes since previous (second) Version: | |
| 15 | + * + added Date.shortMonthNames | |
| 16 | + * + added Date.getShortMonthName | |
| 17 | + * + added Date.monthNumbers | |
| 18 | + * + added Ext.grid.GroupingView | |
| 19 | + */ | |
| 20 | + | |
| 21 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Μεταφόρτωση δεδομένων...</div>'; | |
| 22 | + | |
| 23 | +if(Ext.View){ | |
| 24 | + Ext.View.prototype.emptyText = ""; | |
| 25 | +} | |
| 26 | + | |
| 27 | +if(Ext.grid.GridPanel){ | |
| 28 | + Ext.grid.GridPanel.prototype.ddText = "{0} Επιλεγμένες σειρές"; | |
| 29 | +} | |
| 30 | + | |
| 31 | +if(Ext.TabPanelItem){ | |
| 32 | + Ext.TabPanelItem.prototype.closeText = "Κλείστε το tab"; | |
| 33 | +} | |
| 34 | + | |
| 35 | +if(Ext.form.Field){ | |
| 36 | + Ext.form.Field.prototype.invalidText = "Το περιεχόμενο του πεδίου δεν είναι αποδεκτό"; | |
| 37 | +} | |
| 38 | + | |
| 39 | +if(Ext.LoadMask){ | |
| 40 | + Ext.LoadMask.prototype.msg = "Μεταφόρτωση δεδομένων..."; | |
| 41 | +} | |
| 42 | + | |
| 43 | +Date.monthNames = [ | |
| 44 | + "Ιανουάριος", | |
| 45 | + "Φεβρουάριος", | |
| 46 | + "Μάρτιος", | |
| 47 | + "Απρίλιος", | |
| 48 | + "Μάιος", | |
| 49 | + "Ιούνιος", | |
| 50 | + "Ιούλιος", | |
| 51 | + "Αύγουστος", | |
| 52 | + "Σεπτέμβριος", | |
| 53 | + "Οκτώβριος", | |
| 54 | + "Νοέμβριος", | |
| 55 | + "Δεκέμβριος" | |
| 56 | +]; | |
| 57 | + | |
| 58 | +Date.shortMonthNames = [ | |
| 59 | + "Ιαν", | |
| 60 | + "Φεβ", | |
| 61 | + "Μάρ", | |
| 62 | + "Απρ", | |
| 63 | + "Μάι", | |
| 64 | + "Ιού", | |
| 65 | + "Ιού", | |
| 66 | + "Αύγ", | |
| 67 | + "Σεπ", | |
| 68 | + "Οκτ", | |
| 69 | + "Νοέ", | |
| 70 | + "Δεκ" | |
| 71 | +]; | |
| 72 | + | |
| 73 | +Date.getShortMonthName = function(month) { | |
| 74 | + return Date.monthNames[month].substring(0, 3); | |
| 75 | +}; | |
| 76 | + | |
| 77 | +Date.monthNumbers = { | |
| 78 | + Jan : 0, | |
| 79 | + Feb : 1, | |
| 80 | + Mar : 2, | |
| 81 | + Apr : 3, | |
| 82 | + May : 4, | |
| 83 | + Jun : 5, | |
| 84 | + Jul : 6, | |
| 85 | + Aug : 7, | |
| 86 | + Sep : 8, | |
| 87 | + Oct : 9, | |
| 88 | + Nov : 10, | |
| 89 | + Dec : 11 | |
| 90 | +}; | |
| 91 | + | |
| 92 | +Date.getMonthNumber = function(name) { | |
| 93 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 94 | +}; | |
| 95 | + | |
| 96 | + | |
| 97 | +Date.dayNames = [ | |
| 98 | + "Κυριακή", | |
| 99 | + "Δευτέρα", | |
| 100 | + "Τρίτη", | |
| 101 | + "Τετάρτη", | |
| 102 | + "Πέμπτη", | |
| 103 | + "Παρασκευή", | |
| 104 | + "Σάββατο" | |
| 105 | +]; | |
| 106 | + | |
| 107 | +if(Ext.MessageBox){ | |
| 108 | + Ext.MessageBox.buttonText = { | |
| 109 | + ok : "OK", | |
| 110 | + cancel : "Άκυρο", | |
| 111 | + yes : "Ναι", | |
| 112 | + no : "Όχι" | |
| 113 | + }; | |
| 114 | +} | |
| 115 | + | |
| 116 | +if(Ext.util.Format){ | |
| 117 | + Ext.util.Format.date = function(v, format){ | |
| 118 | + if(!v) return ""; | |
| 119 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 120 | + return v.dateFormat(format || "d/m/Y"); | |
| 121 | + }; | |
| 122 | +} | |
| 123 | + | |
| 124 | +if(Ext.DatePicker){ | |
| 125 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 126 | + todayText : "Σήμερα", | |
| 127 | + minText : "Η Ημερομηνία είναι προγενέστερη από την παλαιότερη αποδεκτή", | |
| 128 | + maxText : "Η Ημερομηνία είναι μεταγενέστερη από την νεότερη αποδεκτή", | |
| 129 | + disabledDaysText : "", | |
| 130 | + disabledDatesText : "", | |
| 131 | + monthNames : Date.monthNames, | |
| 132 | + dayNames : Date.dayNames, | |
| 133 | + nextText : 'Επόμενος Μήνας (Control+Δεξί Βέλος)', | |
| 134 | + prevText : 'Προηγούμενος Μήνας (Control + Αριστερό Βέλος)', | |
| 135 | + monthYearText : 'Επιλογή Μηνός (Control + Επάνω/Κάτω Βέλος για μεταβολή ετών)', | |
| 136 | + todayTip : "{0} (ΠΛήκτρο Διαστήματος)", | |
| 137 | + format : "d/m/y" | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.PagingToolbar){ | |
| 142 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 143 | + beforePageText : "Σελίδα", | |
| 144 | + afterPageText : "από {0}", | |
| 145 | + firstText : "Πρώτη Σελίδα", | |
| 146 | + prevText : "Προηγούμενη Σελίδα", | |
| 147 | + nextText : "Επόμενη Σελίδα", | |
| 148 | + lastText : "Τελευταία Σελίδα", | |
| 149 | + refreshText : "Ανανέωση", | |
| 150 | + displayMsg : "Εμφάνιση {0} - {1} από {2}", | |
| 151 | + emptyMsg : 'Δεν υπάρχουν δεδομένα' | |
| 152 | + }); | |
| 153 | +} | |
| 154 | + | |
| 155 | +if(Ext.form.TextField){ | |
| 156 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 157 | + minLengthText : "Το μικρότερο αποδεκτό μήκος για το πεδίο είναι {0}", | |
| 158 | + maxLengthText : "Το μεγαλύτερο αποδεκτό μήκος για το πεδίο είναι {0}", | |
| 159 | + blankText : "Το πεδίο είναι υποχρεωτικό", | |
| 160 | + regexText : "", | |
| 161 | + emptyText : null | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.form.NumberField){ | |
| 166 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 167 | + minText : "Η μικρότερη τιμή του πεδίου είναι {0}", | |
| 168 | + maxText : "Η μεγαλύτερη τιμή του πεδίου είναι {0}", | |
| 169 | + nanText : "{0} δεν είναι αποδεκτός αριθμός" | |
| 170 | + }); | |
| 171 | +} | |
| 172 | + | |
| 173 | +if(Ext.form.DateField){ | |
| 174 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 175 | + disabledDaysText : "Ανενεργό", | |
| 176 | + disabledDatesText : "Ανενεργό", | |
| 177 | + minText : "Η ημερομηνία αυτού του πεδίου πρέπει να είναι μετά την {0}", | |
| 178 | + maxText : "Η ημερομηνία αυτού του πεδίου πρέπει να είναι πριν την {0}", | |
| 179 | + invalidText : "{0} δεν είναι έγκυρη ημερομηνία - πρέπει να είναι στη μορφή {1}", | |
| 180 | + format : "d/m/y" | |
| 181 | + }); | |
| 182 | +} | |
| 183 | + | |
| 184 | +if(Ext.form.ComboBox){ | |
| 185 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 186 | + loadingText : "Μεταφόρτωση δεδομένων...", | |
| 187 | + valueNotFoundText : undefined | |
| 188 | + }); | |
| 189 | +} | |
| 190 | + | |
| 191 | +if(Ext.form.VTypes){ | |
| 192 | + Ext.apply(Ext.form.VTypes, { | |
| 193 | + emailText : 'Το πεδίο δέχεται μόνο διευθύνσεις Email σε μορφή "user@domain.com"', | |
| 194 | + urlText : 'Το πεδίο δέχεται μόνο URL σε μορφή "http:/'+'/www.domain.com"', | |
| 195 | + alphaText : 'Το πεδίο δέχεται μόνο χαρακτήρες και _', | |
| 196 | + alphanumText : 'Το πεδίο δέχεται μόνο χαρακτήρες, αριθμούς και _' | |
| 197 | + }); | |
| 198 | +} | |
| 199 | + | |
| 200 | +if(Ext.form.HtmlEditor){ | |
| 201 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 202 | + createLinkText : 'Δώστε τη διεύθυνση (URL) για το σύνδεσμο (link):', | |
| 203 | + buttonTips : { | |
| 204 | + bold : { | |
| 205 | + title: 'Έντονα (Ctrl+B)', | |
| 206 | + text: 'Κάνετε το προεπιλεγμένο κείμενο έντονο.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + italic : { | |
| 210 | + title: 'Πλάγια (Ctrl+I)', | |
| 211 | + text: 'Κάνετε το προεπιλεγμένο κείμενο πλάγιο.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + underline : { | |
| 215 | + title: 'Υπογράμμιση (Ctrl+U)', | |
| 216 | + text: 'Υπογραμμίζετε το προεπιλεγμένο κείμενο.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + increasefontsize : { | |
| 220 | + title: 'Μεγέθυνση κειμένου', | |
| 221 | + text: 'Μεγαλώνετε τη γραμματοσειρά.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + }, | |
| 224 | + decreasefontsize : { | |
| 225 | + title: 'Σμίκρυνση κειμένου', | |
| 226 | + text: 'Μικραίνετε τη γραμματοσειρά.', | |
| 227 | + cls: 'x-html-editor-tip' | |
| 228 | + }, | |
| 229 | + backcolor : { | |
| 230 | + title: 'Χρώμα Φόντου Κειμένου', | |
| 231 | + text: 'Αλλάζετε το χρώμα στο φόντο του προεπιλεγμένου κειμένου.', | |
| 232 | + cls: 'x-html-editor-tip' | |
| 233 | + }, | |
| 234 | + forecolor : { | |
| 235 | + title: 'Χρώμα Γραμματοσειράς', | |
| 236 | + text: 'Αλλάζετε το χρώμα στη γραμματοσειρά του προεπιλεγμένου κειμένου.', | |
| 237 | + cls: 'x-html-editor-tip' | |
| 238 | + }, | |
| 239 | + justifyleft : { | |
| 240 | + title: 'Αριστερή Στοίχιση Κειμένου', | |
| 241 | + text: 'Στοιχίζετε το κείμενο στα αριστερά.', | |
| 242 | + cls: 'x-html-editor-tip' | |
| 243 | + }, | |
| 244 | + justifycenter : { | |
| 245 | + title: 'Κεντράρισμα Κειμένου', | |
| 246 | + text: 'Στοιχίζετε το κείμενο στο κέντρο.', | |
| 247 | + cls: 'x-html-editor-tip' | |
| 248 | + }, | |
| 249 | + justifyright : { | |
| 250 | + title: 'Δεξιά Στοίχιση Κειμένου', | |
| 251 | + text: 'Στοιχίζετε το κείμενο στα δεξιά.', | |
| 252 | + cls: 'x-html-editor-tip' | |
| 253 | + }, | |
| 254 | + insertunorderedlist : { | |
| 255 | + title: 'Εισαγωγή Λίστας Κουκίδων', | |
| 256 | + text: 'Ξεκινήστε μια λίστα με κουκίδες.', | |
| 257 | + cls: 'x-html-editor-tip' | |
| 258 | + }, | |
| 259 | + insertorderedlist : { | |
| 260 | + title: 'Εισαγωγή Λίστας Αρίθμησης', | |
| 261 | + text: 'Ξεκινήστε μια λίστα με αρίθμηση.', | |
| 262 | + cls: 'x-html-editor-tip' | |
| 263 | + }, | |
| 264 | + createlink : { | |
| 265 | + title: 'Hyperlink', | |
| 266 | + text: 'Μετατρέπετε το προεπιλεγμένο κείμενο σε Link.', | |
| 267 | + cls: 'x-html-editor-tip' | |
| 268 | + }, | |
| 269 | + sourceedit : { | |
| 270 | + title: 'Επεξεργασία Κώδικα', | |
| 271 | + text: 'Μεταβαίνετε στη λειτουργία επεξεργασίας κώδικα.', | |
| 272 | + cls: 'x-html-editor-tip' | |
| 273 | + } | |
| 274 | + } | |
| 275 | + }); | |
| 276 | +} | |
| 277 | + | |
| 278 | + | |
| 279 | +if(Ext.grid.GridView){ | |
| 280 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 281 | + sortAscText : "Αύξουσα ταξινόμηση", | |
| 282 | + sortDescText : "Φθίνουσα ταξινόμηση", | |
| 283 | + lockText : "Κλείδωμα στήλης", | |
| 284 | + unlockText : "Ξεκλείδωμα στήλης", | |
| 285 | + columnsText : "Στήλες" | |
| 286 | + }); | |
| 287 | +} | |
| 288 | + | |
| 289 | +if(Ext.grid.GroupingView){ | |
| 290 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 291 | + emptyGroupText : '(Καμμία)', | |
| 292 | + groupByText : 'Ομαδοποίηση βάσει αυτού του πεδίου', | |
| 293 | + showGroupsText : 'Να εμφανίζεται στις ομάδες' | |
| 294 | + }); | |
| 295 | +} | |
| 296 | + | |
| 297 | +if(Ext.grid.PropertyColumnModel){ | |
| 298 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 299 | + nameText : "Όνομα", | |
| 300 | + valueText : "Περιεχόμενο", | |
| 301 | + dateFormat : "m/d/Y" | |
| 302 | + }); | |
| 303 | +} | |
| 304 | + | |
| 305 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 306 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 307 | + splitTip : "Σύρετε για αλλαγή μεγέθους.", | |
| 308 | + collapsibleSplitTip : "Σύρετε για αλλαγή μεγέθους. Διπλό κλικ για απόκρυψη." | |
| 309 | + }); | |
| 310 | +} | |
| 311 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-en.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + * | |
| 5 | + * English Translations | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Close this tab"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.LoadMask){ | |
| 23 | + Ext.LoadMask.prototype.msg = "Loading..."; | |
| 24 | +} | |
| 25 | + | |
| 26 | +Date.monthNames = [ | |
| 27 | + "January", | |
| 28 | + "February", | |
| 29 | + "March", | |
| 30 | + "April", | |
| 31 | + "May", | |
| 32 | + "June", | |
| 33 | + "July", | |
| 34 | + "August", | |
| 35 | + "September", | |
| 36 | + "October", | |
| 37 | + "November", | |
| 38 | + "December" | |
| 39 | +]; | |
| 40 | + | |
| 41 | +Date.getShortMonthName = function(month) { | |
| 42 | + return Date.monthNames[month].substring(0, 3); | |
| 43 | +}; | |
| 44 | + | |
| 45 | +Date.monthNumbers = { | |
| 46 | + Jan : 0, | |
| 47 | + Feb : 1, | |
| 48 | + Mar : 2, | |
| 49 | + Apr : 3, | |
| 50 | + May : 4, | |
| 51 | + Jun : 5, | |
| 52 | + Jul : 6, | |
| 53 | + Aug : 7, | |
| 54 | + Sep : 8, | |
| 55 | + Oct : 9, | |
| 56 | + Nov : 10, | |
| 57 | + Dec : 11 | |
| 58 | +}; | |
| 59 | + | |
| 60 | +Date.getMonthNumber = function(name) { | |
| 61 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.dayNames = [ | |
| 65 | + "Sunday", | |
| 66 | + "Monday", | |
| 67 | + "Tuesday", | |
| 68 | + "Wednesday", | |
| 69 | + "Thursday", | |
| 70 | + "Friday", | |
| 71 | + "Saturday" | |
| 72 | +]; | |
| 73 | + | |
| 74 | +Date.getShortDayName = function(day) { | |
| 75 | + return Date.dayNames[day].substring(0, 3); | |
| 76 | +}; | |
| 77 | + | |
| 78 | +if(Ext.MessageBox){ | |
| 79 | + Ext.MessageBox.buttonText = { | |
| 80 | + ok : "OK", | |
| 81 | + cancel : "Cancel", | |
| 82 | + yes : "Yes", | |
| 83 | + no : "No" | |
| 84 | + }; | |
| 85 | +} | |
| 86 | + | |
| 87 | +if(Ext.util.Format){ | |
| 88 | + Ext.util.Format.date = function(v, format){ | |
| 89 | + if(!v) return ""; | |
| 90 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 91 | + return v.dateFormat(format || "m/d/Y"); | |
| 92 | + }; | |
| 93 | +} | |
| 94 | + | |
| 95 | +if(Ext.DatePicker){ | |
| 96 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 97 | + todayText : "Today", | |
| 98 | + minText : "This date is before the minimum date", | |
| 99 | + maxText : "This date is after the maximum date", | |
| 100 | + disabledDaysText : "", | |
| 101 | + disabledDatesText : "", | |
| 102 | + monthNames : Date.monthNames, | |
| 103 | + dayNames : Date.dayNames, | |
| 104 | + nextText : 'Next Month (Control+Right)', | |
| 105 | + prevText : 'Previous Month (Control+Left)', | |
| 106 | + monthYearText : 'Choose a month (Control+Up/Down to move years)', | |
| 107 | + todayTip : "{0} (Spacebar)", | |
| 108 | + format : "m/d/y", | |
| 109 | + okText : " OK ", | |
| 110 | + cancelText : "Cancel", | |
| 111 | + startDay : 0 | |
| 112 | + }); | |
| 113 | +} | |
| 114 | + | |
| 115 | +if(Ext.PagingToolbar){ | |
| 116 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 117 | + beforePageText : "Page", | |
| 118 | + afterPageText : "of {0}", | |
| 119 | + firstText : "First Page", | |
| 120 | + prevText : "Previous Page", | |
| 121 | + nextText : "Next Page", | |
| 122 | + lastText : "Last Page", | |
| 123 | + refreshText : "Refresh", | |
| 124 | + displayMsg : "Displaying {0} - {1} of {2}", | |
| 125 | + emptyMsg : 'No data to display' | |
| 126 | + }); | |
| 127 | +} | |
| 128 | + | |
| 129 | +if(Ext.form.Field){ | |
| 130 | + Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.TextField){ | |
| 134 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 135 | + minLengthText : "The minimum length for this field is {0}", | |
| 136 | + maxLengthText : "The maximum length for this field is {0}", | |
| 137 | + blankText : "This field is required", | |
| 138 | + regexText : "", | |
| 139 | + emptyText : null | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.NumberField){ | |
| 144 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 145 | + minText : "The minimum value for this field is {0}", | |
| 146 | + maxText : "The maximum value for this field is {0}", | |
| 147 | + nanText : "{0} is not a valid number" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.DateField){ | |
| 152 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 153 | + disabledDaysText : "Disabled", | |
| 154 | + disabledDatesText : "Disabled", | |
| 155 | + minText : "The date in this field must be after {0}", | |
| 156 | + maxText : "The date in this field must be before {0}", | |
| 157 | + invalidText : "{0} is not a valid date - it must be in the format {1}", | |
| 158 | + format : "m/d/y", | |
| 159 | + altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.form.ComboBox){ | |
| 164 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 165 | + loadingText : "Loading...", | |
| 166 | + valueNotFoundText : undefined | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.form.VTypes){ | |
| 171 | + Ext.apply(Ext.form.VTypes, { | |
| 172 | + emailText : 'This field should be an e-mail address in the format "user@domain.com"', | |
| 173 | + urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', | |
| 174 | + alphaText : 'This field should only contain letters and _', | |
| 175 | + alphanumText : 'This field should only contain letters, numbers and _' | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.HtmlEditor){ | |
| 180 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 181 | + createLinkText : 'Please enter the URL for the link:', | |
| 182 | + buttonTips : { | |
| 183 | + bold : { | |
| 184 | + title: 'Bold (Ctrl+B)', | |
| 185 | + text: 'Make the selected text bold.', | |
| 186 | + cls: 'x-html-editor-tip' | |
| 187 | + }, | |
| 188 | + italic : { | |
| 189 | + title: 'Italic (Ctrl+I)', | |
| 190 | + text: 'Make the selected text italic.', | |
| 191 | + cls: 'x-html-editor-tip' | |
| 192 | + }, | |
| 193 | + underline : { | |
| 194 | + title: 'Underline (Ctrl+U)', | |
| 195 | + text: 'Underline the selected text.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + increasefontsize : { | |
| 199 | + title: 'Grow Text', | |
| 200 | + text: 'Increase the font size.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + decreasefontsize : { | |
| 204 | + title: 'Shrink Text', | |
| 205 | + text: 'Decrease the font size.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + backcolor : { | |
| 209 | + title: 'Text Highlight Color', | |
| 210 | + text: 'Change the background color of the selected text.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + forecolor : { | |
| 214 | + title: 'Font Color', | |
| 215 | + text: 'Change the color of the selected text.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + justifyleft : { | |
| 219 | + title: 'Align Text Left', | |
| 220 | + text: 'Align text to the left.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + justifycenter : { | |
| 224 | + title: 'Center Text', | |
| 225 | + text: 'Center text in the editor.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyright : { | |
| 229 | + title: 'Align Text Right', | |
| 230 | + text: 'Align text to the right.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + insertunorderedlist : { | |
| 234 | + title: 'Bullet List', | |
| 235 | + text: 'Start a bulleted list.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + insertorderedlist : { | |
| 239 | + title: 'Numbered List', | |
| 240 | + text: 'Start a numbered list.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + createlink : { | |
| 244 | + title: 'Hyperlink', | |
| 245 | + text: 'Make the selected text a hyperlink.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + sourceedit : { | |
| 249 | + title: 'Source Edit', | |
| 250 | + text: 'Switch to source editing mode.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + } | |
| 253 | + } | |
| 254 | + }); | |
| 255 | +} | |
| 256 | + | |
| 257 | +if(Ext.form.BasicForm){ | |
| 258 | + Ext.form.BasicForm.prototype.waitTitle = "Please wait..."; | |
| 259 | +} | |
| 260 | + | |
| 261 | +if(Ext.grid.GridView){ | |
| 262 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 263 | + sortAscText : "Sort Ascending", | |
| 264 | + sortDescText : "Sort Descending", | |
| 265 | + lockText : "Lock Column", | |
| 266 | + unlockText : "Unlock Column", | |
| 267 | + columnsText : "Columns" | |
| 268 | + }); | |
| 269 | +} | |
| 270 | + | |
| 271 | +if(Ext.grid.GroupingView){ | |
| 272 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 273 | + emptyGroupText : '(None)', | |
| 274 | + groupByText : 'Group By This Field', | |
| 275 | + showGroupsText : 'Show in Groups' | |
| 276 | + }); | |
| 277 | +} | |
| 278 | + | |
| 279 | +if(Ext.grid.PropertyColumnModel){ | |
| 280 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 281 | + nameText : "Name", | |
| 282 | + valueText : "Value", | |
| 283 | + dateFormat : "m/j/Y" | |
| 284 | + }); | |
| 285 | +} | |
| 286 | + | |
| 287 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 288 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 289 | + splitTip : "Drag to resize.", | |
| 290 | + collapsibleSplitTip : "Drag to resize. Double click to hide." | |
| 291 | + }); | |
| 292 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-en_UK.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + * | |
| 5 | + * English (UK) Translations | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Close this tab"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Loading..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "January", | |
| 32 | + "February", | |
| 33 | + "March", | |
| 34 | + "April", | |
| 35 | + "May", | |
| 36 | + "June", | |
| 37 | + "July", | |
| 38 | + "August", | |
| 39 | + "September", | |
| 40 | + "October", | |
| 41 | + "November", | |
| 42 | + "December" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.dayNames = [ | |
| 46 | + "Sunday", | |
| 47 | + "Monday", | |
| 48 | + "Tuesday", | |
| 49 | + "Wednesday", | |
| 50 | + "Thursday", | |
| 51 | + "Friday", | |
| 52 | + "Saturday" | |
| 53 | +]; | |
| 54 | + | |
| 55 | +if(Ext.MessageBox){ | |
| 56 | + Ext.MessageBox.buttonText = { | |
| 57 | + ok : "OK", | |
| 58 | + cancel : "Cancel", | |
| 59 | + yes : "Yes", | |
| 60 | + no : "No" | |
| 61 | + }; | |
| 62 | +} | |
| 63 | + | |
| 64 | +if(Ext.util.Format){ | |
| 65 | + Ext.util.Format.date = function(v, format){ | |
| 66 | + if(!v) return ""; | |
| 67 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 68 | + return v.dateFormat(format || "d/m/Y"); | |
| 69 | + }; | |
| 70 | +} | |
| 71 | + | |
| 72 | +if(Ext.DatePicker){ | |
| 73 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 74 | + todayText : "Today", | |
| 75 | + minText : "This date is before the minimum date", | |
| 76 | + maxText : "This date is after the maximum date", | |
| 77 | + disabledDaysText : "", | |
| 78 | + disabledDatesText : "", | |
| 79 | + monthNames : Date.monthNames, | |
| 80 | + dayNames : Date.dayNames, | |
| 81 | + nextText : 'Next Month (Control+Right)', | |
| 82 | + prevText : 'Previous Month (Control+Left)', | |
| 83 | + monthYearText : 'Choose a month (Control+Up/Down to move years)', | |
| 84 | + todayTip : "{0} (Spacebar)", | |
| 85 | + format : "d/m/y" | |
| 86 | + }); | |
| 87 | +} | |
| 88 | + | |
| 89 | +if(Ext.PagingToolbar){ | |
| 90 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 91 | + beforePageText : "Page", | |
| 92 | + afterPageText : "of {0}", | |
| 93 | + firstText : "First Page", | |
| 94 | + prevText : "Previous Page", | |
| 95 | + nextText : "Next Page", | |
| 96 | + lastText : "Last Page", | |
| 97 | + refreshText : "Refresh", | |
| 98 | + displayMsg : "Displaying {0} - {1} of {2}", | |
| 99 | + emptyMsg : 'No data to display' | |
| 100 | + }); | |
| 101 | +} | |
| 102 | + | |
| 103 | +if(Ext.form.TextField){ | |
| 104 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 105 | + minLengthText : "The minimum length for this field is {0}", | |
| 106 | + maxLengthText : "The maximum length for this field is {0}", | |
| 107 | + blankText : "This field is required", | |
| 108 | + regexText : "", | |
| 109 | + emptyText : null | |
| 110 | + }); | |
| 111 | +} | |
| 112 | + | |
| 113 | +if(Ext.form.NumberField){ | |
| 114 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 115 | + minText : "The minimum value for this field is {0}", | |
| 116 | + maxText : "The maximum value for this field is {0}", | |
| 117 | + nanText : "{0} is not a valid number" | |
| 118 | + }); | |
| 119 | +} | |
| 120 | + | |
| 121 | +if(Ext.form.DateField){ | |
| 122 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 123 | + disabledDaysText : "Disabled", | |
| 124 | + disabledDatesText : "Disabled", | |
| 125 | + minText : "The date in this field must be after {0}", | |
| 126 | + maxText : "The date in this field must be before {0}", | |
| 127 | + invalidText : "{0} is not a valid date - it must be in the format {1}", | |
| 128 | + format : "d/m/y", | |
| 129 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.ComboBox){ | |
| 134 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 135 | + loadingText : "Loading...", | |
| 136 | + valueNotFoundText : undefined | |
| 137 | + }); | |
| 138 | +} | |
| 139 | + | |
| 140 | +if(Ext.form.VTypes){ | |
| 141 | + Ext.apply(Ext.form.VTypes, { | |
| 142 | + emailText : 'This field should be an e-mail address in the format "user@domain.com"', | |
| 143 | + urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', | |
| 144 | + alphaText : 'This field should only contain letters and _', | |
| 145 | + alphanumText : 'This field should only contain letters, numbers and _' | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.grid.GridView){ | |
| 150 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 151 | + sortAscText : "Sort Ascending", | |
| 152 | + sortDescText : "Sort Descending", | |
| 153 | + lockText : "Lock Column", | |
| 154 | + unlockText : "Unlock Column", | |
| 155 | + columnsText : "Columns" | |
| 156 | + }); | |
| 157 | +} | |
| 158 | + | |
| 159 | +if(Ext.grid.PropertyColumnModel){ | |
| 160 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 161 | + nameText : "Name", | |
| 162 | + valueText : "Value", | |
| 163 | + dateFormat : "j/m/Y" | |
| 164 | + }); | |
| 165 | +} | |
| 166 | + | |
| 167 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 168 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 169 | + splitTip : "Drag to resize.", | |
| 170 | + collapsibleSplitTip : "Drag to resize. Double click to hide." | |
| 171 | + }); | |
| 172 | +} | |
| 173 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-es.js
0 → 100644
| 1 | +/* | |
| 2 | + * Spanish/Latin American Translation by genius551v 04-08-2007 | |
| 3 | + * Revised by efege, 2007-04-15. | |
| 4 | + * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy) | |
| 5 | + * Revised by FeDe 12-13-2007 (mm/dd/yyyy) | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Cerrar esta pestaña"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "El valor en este campo es inválido"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Cargando..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | + | |
| 31 | +Date.monthNames = [ | |
| 32 | + "Enero", | |
| 33 | + "Febrero", | |
| 34 | + "Marzo", | |
| 35 | + "Abril", | |
| 36 | + "Mayo", | |
| 37 | + "Junio", | |
| 38 | + "Julio", | |
| 39 | + "Agosto", | |
| 40 | + "Septiembre", | |
| 41 | + "Octubre", | |
| 42 | + "Noviembre", | |
| 43 | + "Diciembre" | |
| 44 | +]; | |
| 45 | + | |
| 46 | +Date.getShortMonthName = function(month) { | |
| 47 | + return Date.monthNames[month].substring(0, 3); | |
| 48 | +}; | |
| 49 | + | |
| 50 | +Date.monthNumbers = { | |
| 51 | + Ene : 0, | |
| 52 | + Feb : 1, | |
| 53 | + Mar : 2, | |
| 54 | + Abr : 3, | |
| 55 | + May : 4, | |
| 56 | + Jun : 5, | |
| 57 | + Jul : 6, | |
| 58 | + Ago : 7, | |
| 59 | + Sep : 8, | |
| 60 | + Oct : 9, | |
| 61 | + Nov : 10, | |
| 62 | + Dic : 11 | |
| 63 | +}; | |
| 64 | + | |
| 65 | +Date.getMonthNumber = function(name) { | |
| 66 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 67 | +}; | |
| 68 | + | |
| 69 | +Date.dayNames = [ | |
| 70 | + "Domingo", | |
| 71 | + "Lunes", | |
| 72 | + "Martes", | |
| 73 | + "Miércoles", | |
| 74 | + "Jueves", | |
| 75 | + "Viernes", | |
| 76 | + "Sábado" | |
| 77 | +]; | |
| 78 | + | |
| 79 | +Date.getShortDayName = function(day) { | |
| 80 | + if (day==3) return "Mié"; | |
| 81 | + if (day==6) return "Sáb"; | |
| 82 | + return Date.dayNames[day].substring(0, 3); | |
| 83 | +}; | |
| 84 | + | |
| 85 | +if(Ext.MessageBox){ | |
| 86 | + Ext.MessageBox.buttonText = { | |
| 87 | + ok : "Aceptar", | |
| 88 | + cancel : "Cancelar", | |
| 89 | + yes : "Sí", | |
| 90 | + no : "No" | |
| 91 | + }; | |
| 92 | +} | |
| 93 | + | |
| 94 | +if(Ext.util.Format){ | |
| 95 | + Ext.util.Format.date = function(v, format){ | |
| 96 | + if(!v) return ""; | |
| 97 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 98 | + return v.dateFormat(format || "d/m/Y"); | |
| 99 | + }; | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.DatePicker){ | |
| 103 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 104 | + todayText : "Hoy", | |
| 105 | + minText : "Esta fecha es anterior a la fecha mínima", | |
| 106 | + maxText : "Esta fecha es posterior a la fecha máxima", | |
| 107 | + disabledDaysText : "", | |
| 108 | + disabledDatesText : "", | |
| 109 | + monthNames : Date.monthNames, | |
| 110 | + dayNames : Date.dayNames, | |
| 111 | + nextText : 'Mes Siguiente (Control+Right)', | |
| 112 | + prevText : 'Mes Anterior (Control+Left)', | |
| 113 | + monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)', | |
| 114 | + todayTip : "{0} (Barra espaciadora)", | |
| 115 | + format : "d/m/Y", | |
| 116 | + okText : " Ok ", | |
| 117 | + cancelText : "Cancelar", | |
| 118 | + startDay : 1 | |
| 119 | + }); | |
| 120 | +} | |
| 121 | + | |
| 122 | +if(Ext.PagingToolbar){ | |
| 123 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 124 | + beforePageText : "Página", | |
| 125 | + afterPageText : "de {0}", | |
| 126 | + firstText : "Primera página", | |
| 127 | + prevText : "Página anterior", | |
| 128 | + nextText : "Página siguiente", | |
| 129 | + lastText : "Última página", | |
| 130 | + refreshText : "Actualizar", | |
| 131 | + displayMsg : "Mostrando {0} - {1} de {2}", | |
| 132 | + emptyMsg : 'Sin datos para mostrar' | |
| 133 | + }); | |
| 134 | +} | |
| 135 | + | |
| 136 | +if(Ext.form.TextField){ | |
| 137 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 138 | + minLengthText : "El tamaño mínimo para este campo es de {0}", | |
| 139 | + maxLengthText : "El tamaño máximo para este campo es de {0}", | |
| 140 | + blankText : "Este campo es obligatorio", | |
| 141 | + regexText : "", | |
| 142 | + emptyText : null | |
| 143 | + }); | |
| 144 | +} | |
| 145 | + | |
| 146 | +if(Ext.form.NumberField){ | |
| 147 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 148 | + minText : "El valor mínimo para este campo es de {0}", | |
| 149 | + maxText : "El valor máximo para este campo es de {0}", | |
| 150 | + nanText : "{0} no es un número válido" | |
| 151 | + }); | |
| 152 | +} | |
| 153 | + | |
| 154 | +if(Ext.form.DateField){ | |
| 155 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 156 | + disabledDaysText : "Deshabilitado", | |
| 157 | + disabledDatesText : "Deshabilitado", | |
| 158 | + minText : "La fecha para este campo debe ser posterior a {0}", | |
| 159 | + maxText : "La fecha para este campo debe ser anterior a {0}", | |
| 160 | + invalidText : "{0} no es una fecha válida - debe tener el formato {1}", | |
| 161 | + format : "d/m/Y", | |
| 162 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 163 | + }); | |
| 164 | +} | |
| 165 | + | |
| 166 | +if(Ext.form.ComboBox){ | |
| 167 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 168 | + loadingText : "Cargando...", | |
| 169 | + valueNotFoundText : undefined | |
| 170 | + }); | |
| 171 | +} | |
| 172 | + | |
| 173 | +if(Ext.form.HtmlEditor){ | |
| 174 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 175 | + createLinkText : "Por favor proporcione la URL para el enlace:", | |
| 176 | + buttonTips : { | |
| 177 | + insertimage:{ | |
| 178 | + title:'Imagen', | |
| 179 | + text:'Inserta una imagen en la posición actual', | |
| 180 | + cls:'x-html-editor-tip' | |
| 181 | + }, | |
| 182 | + bold : { | |
| 183 | + title: 'Negritas (Ctrl+B)', | |
| 184 | + text: 'Transforma el texto seleccionado en Negritas.', | |
| 185 | + cls: 'x-html-editor-tip' | |
| 186 | + }, | |
| 187 | + italic : { | |
| 188 | + title: 'Itálica (Ctrl+I)', | |
| 189 | + text: 'Transforma el texto seleccionado en Itálicas.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + underline : { | |
| 193 | + title: 'Subrayado (Ctrl+U)', | |
| 194 | + text: 'Subraya el texto seleccionado.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + increasefontsize : { | |
| 198 | + title: 'Aumentar la fuente', | |
| 199 | + text: 'Aumenta el tamaño de la fuente', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + decreasefontsize : { | |
| 203 | + title: 'Reducir la fuente', | |
| 204 | + text: 'Reduce el tamaño de la fuente.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + backcolor : { | |
| 208 | + title: 'Color de fondo', | |
| 209 | + text: 'Modifica el color de fondo del texto seleccionado.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + forecolor : { | |
| 213 | + title: 'Color de la fuente', | |
| 214 | + text: 'Modifica el color del texto seleccionado.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + justifyleft : { | |
| 218 | + title: 'Alinear a la izquierda', | |
| 219 | + text: 'Alinea el texto a la izquierda.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + justifycenter : { | |
| 223 | + title: 'Centrar', | |
| 224 | + text: 'Centrar el texto.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifyright : { | |
| 228 | + title: 'Alinear a la derecha', | |
| 229 | + text: 'Alinea el texto a la derecha.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + insertunorderedlist : { | |
| 233 | + title: 'Lista de viñetas', | |
| 234 | + text: 'Inicia una lista con viñetas.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + insertorderedlist : { | |
| 238 | + title: 'Lista numerada', | |
| 239 | + text: 'Inicia una lista numerada.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + createlink : { | |
| 243 | + title: 'Enlace', | |
| 244 | + text: 'Inserta un enlace de hipertexto.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + sourceedit : { | |
| 248 | + title: 'Código Fuente', | |
| 249 | + text: 'Pasar al modo de edición de código fuente.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + } | |
| 252 | + } | |
| 253 | + }); | |
| 254 | +} | |
| 255 | + | |
| 256 | + | |
| 257 | +if(Ext.form.VTypes){ | |
| 258 | + Ext.apply(Ext.form.VTypes, { | |
| 259 | + emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"', | |
| 260 | + urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"', | |
| 261 | + alphaText : 'Este campo sólo debe contener letras y _', | |
| 262 | + alphanumText : 'Este campo sólo debe contener letras, números y _' | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GridView){ | |
| 267 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 268 | + sortAscText : "Ordenar en forma ascendente", | |
| 269 | + sortDescText : "Ordenar en forma descendente", | |
| 270 | + lockText : "Bloquear Columna", | |
| 271 | + unlockText : "Desbloquear Columna", | |
| 272 | + columnsText : "Columnas" | |
| 273 | + }); | |
| 274 | +} | |
| 275 | + | |
| 276 | + | |
| 277 | +if(Ext.grid.GroupingView){ | |
| 278 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 279 | + emptyGroupText : '(Ninguno)', | |
| 280 | + groupByText : 'Agrupar por este campo', | |
| 281 | + showGroupsText : 'Mostrar en grupos' | |
| 282 | + }); | |
| 283 | +} | |
| 284 | + | |
| 285 | +if(Ext.grid.PropertyColumnModel){ | |
| 286 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 287 | + nameText : "Nombre", | |
| 288 | + valueText : "Valor", | |
| 289 | + dateFormat : "j/m/Y" | |
| 290 | + }); | |
| 291 | +} | |
| 292 | + | |
| 293 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 294 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 295 | + splitTip : "Arrastre para redimensionar.", | |
| 296 | + collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar." | |
| 297 | + }); | |
| 298 | +} | |
| 299 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-fa.js
0 → 100644
| 1 | +/* | |
| 2 | + * Farsi (Persian) translation | |
| 3 | + * By Mohaqa | |
| 4 | + * 03-10-2007, 06:23 PM | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} رکورد انتخاب شده"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "بستن"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "مقدار فیلد صحیح نیست"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "در حال بارگذاری ..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "ژانویه", | |
| 31 | + "فوریه", | |
| 32 | + "مارس", | |
| 33 | + "آپریل", | |
| 34 | + "می", | |
| 35 | + "ژوئن", | |
| 36 | + "جولای", | |
| 37 | + "آگوست", | |
| 38 | + "سپتامبر", | |
| 39 | + "اکتبر", | |
| 40 | + "نوامبر", | |
| 41 | + "دسامبر" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.monthNumbers = { | |
| 45 | + Jan : 0, | |
| 46 | + Feb : 1, | |
| 47 | + Mar : 2, | |
| 48 | + Apr : 3, | |
| 49 | + May : 4, | |
| 50 | + Jun : 5, | |
| 51 | + Jul : 6, | |
| 52 | + Aug : 7, | |
| 53 | + Sep : 8, | |
| 54 | + Oct : 9, | |
| 55 | + Nov : 10, | |
| 56 | + Dec : 11 | |
| 57 | +}; | |
| 58 | + | |
| 59 | +Date.dayNames = [ | |
| 60 | + "یکشنبه", | |
| 61 | + "دوشنبه", | |
| 62 | + "سه شنبه", | |
| 63 | + "چهارشنبه", | |
| 64 | + "پنجشنبه", | |
| 65 | + "جمعه", | |
| 66 | + "شنبه" | |
| 67 | +]; | |
| 68 | + | |
| 69 | +if(Ext.MessageBox){ | |
| 70 | + Ext.MessageBox.buttonText = { | |
| 71 | + ok : "تایید", | |
| 72 | + cancel : "بازگشت", | |
| 73 | + yes : "بله", | |
| 74 | + no : "خیر" | |
| 75 | + }; | |
| 76 | +} | |
| 77 | + | |
| 78 | +if(Ext.util.Format){ | |
| 79 | + Ext.util.Format.date = function(v, format){ | |
| 80 | + if(!v) return ""; | |
| 81 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 82 | + return v.dateFormat(format || "Y/m/d"); | |
| 83 | + }; | |
| 84 | +} | |
| 85 | + | |
| 86 | +if(Ext.DatePicker){ | |
| 87 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 88 | + todayText : "امروز", | |
| 89 | + minText : "این تاریخ قبل از محدوده مجاز است", | |
| 90 | + maxText : "این تاریخ پس از محدوده مجاز است", | |
| 91 | + disabledDaysText : "", | |
| 92 | + disabledDatesText : "", | |
| 93 | + monthNames : Date.monthNames, | |
| 94 | + dayNames : Date.dayNames, | |
| 95 | + nextText : 'ماه بعد (Control + Right)', | |
| 96 | + prevText : 'ماه قبل (Control+Left)', | |
| 97 | + monthYearText : 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)', | |
| 98 | + todayTip : "{0} (Spacebar)", | |
| 99 | + format : "y/m/d", | |
| 100 | + okText : " OK ", | |
| 101 | + cancelText : "Cancel", | |
| 102 | + startDay : 0 | |
| 103 | + }); | |
| 104 | +} | |
| 105 | + | |
| 106 | +if(Ext.PagingToolbar){ | |
| 107 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 108 | + beforePageText : "صفحه", | |
| 109 | + afterPageText : "از {0}", | |
| 110 | + firstText : "صفحه اول", | |
| 111 | + prevText : "صفحه قبل", | |
| 112 | + nextText : "صفحه بعد", | |
| 113 | + lastText : "صفحه آخر", | |
| 114 | + refreshText : "بازخوانی", | |
| 115 | + displayMsg : "نمایش {0} - {1} of {2}", | |
| 116 | + emptyMsg : 'داده ای برای نمایش وجود ندارد' | |
| 117 | + }); | |
| 118 | +} | |
| 119 | + | |
| 120 | +if(Ext.form.TextField){ | |
| 121 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 122 | + minLengthText : "حداقل طول این فیلد برابر است با {0}", | |
| 123 | + maxLengthText : "حداکثر طول این فیلد برابر است با {0}", | |
| 124 | + blankText : "این فیلد باید مقداری داشته باشد", | |
| 125 | + regexText : "", | |
| 126 | + emptyText : null | |
| 127 | + }); | |
| 128 | +} | |
| 129 | + | |
| 130 | +if(Ext.form.NumberField){ | |
| 131 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 132 | + minText : "حداقل مقدار این فیلد برابر است با {0}", | |
| 133 | + maxText : "حداکثر مقدار این فیلد برابر است با {0}", | |
| 134 | + nanText : "{0} یک عدد نیست" | |
| 135 | + }); | |
| 136 | +} | |
| 137 | + | |
| 138 | +if(Ext.form.DateField){ | |
| 139 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 140 | + disabledDaysText : "غیرفعال", | |
| 141 | + disabledDatesText : "غیرفعال", | |
| 142 | + minText : "تاریخ باید پس از {0} باشد", | |
| 143 | + maxText : "تاریخ باید پس از {0} باشد", | |
| 144 | + invalidText : "{0} تاریخ صحیحی نیست - فرمت صحیح {1}", | |
| 145 | + format : "y/m/d" | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.form.ComboBox){ | |
| 150 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 151 | + loadingText : "در حال بارگذاری ...", | |
| 152 | + valueNotFoundText : undefined | |
| 153 | + }); | |
| 154 | +} | |
| 155 | + | |
| 156 | +if(Ext.form.VTypes){ | |
| 157 | + Ext.apply(Ext.form.VTypes, { | |
| 158 | + emailText : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@domain.com"', | |
| 159 | + urlText : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.domain.com"', | |
| 160 | + alphaText : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ', | |
| 161 | + alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد' | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.form.HtmlEditor){ | |
| 166 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 167 | + createLinkText : 'لطفا آدرس لینک را وارد کنید:', | |
| 168 | + buttonTips : { | |
| 169 | + bold : { | |
| 170 | + title: 'تیره (Ctrl+B)', | |
| 171 | + text: 'متن انتخاب شده را تیره می کند.', | |
| 172 | + cls: 'x-html-editor-tip' | |
| 173 | + }, | |
| 174 | + italic : { | |
| 175 | + title: 'ایتالیک (Ctrl+I)', | |
| 176 | + text: 'متن انتخاب شده را ایتالیک می کند.', | |
| 177 | + cls: 'x-html-editor-tip' | |
| 178 | + }, | |
| 179 | + underline : { | |
| 180 | + title: 'زیرخط (Ctrl+U)', | |
| 181 | + text: 'زیر هر نوشته یک خط نمایش می دهد.', | |
| 182 | + cls: 'x-html-editor-tip' | |
| 183 | + }, | |
| 184 | + increasefontsize : { | |
| 185 | + title: 'افزایش اندازه', | |
| 186 | + text: 'اندازه فونت را افزایش می دهد.', | |
| 187 | + cls: 'x-html-editor-tip' | |
| 188 | + }, | |
| 189 | + decreasefontsize : { | |
| 190 | + title: 'کاهش اندازه', | |
| 191 | + text: 'اندازه متن را کاهش می دهد.', | |
| 192 | + cls: 'x-html-editor-tip' | |
| 193 | + }, | |
| 194 | + backcolor : { | |
| 195 | + title: 'رنگ زمینه متن', | |
| 196 | + text: 'برای تغییر رنگ زمینه متن استفاده می شود.', | |
| 197 | + cls: 'x-html-editor-tip' | |
| 198 | + }, | |
| 199 | + forecolor : { | |
| 200 | + title: 'رنگ قلم', | |
| 201 | + text: 'رنگ قلم متن را تغییر می دهد.', | |
| 202 | + cls: 'x-html-editor-tip' | |
| 203 | + }, | |
| 204 | + justifyleft : { | |
| 205 | + title: 'چیدن متن از سمت چپ', | |
| 206 | + text: 'متن از سمت چپ چیده شده می شود.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + justifycenter : { | |
| 210 | + title: 'متن در وسط ', | |
| 211 | + text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + justifyright : { | |
| 215 | + title: 'چیدن متن از سمت راست', | |
| 216 | + text: 'متن از سمت راست پیده خواهد شد.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + insertunorderedlist : { | |
| 220 | + title: 'لیست همراه با علامت', | |
| 221 | + text: 'یک لیست جدید ایجاد می کند.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + }, | |
| 224 | + insertorderedlist : { | |
| 225 | + title: 'لیست عددی', | |
| 226 | + text: 'یک لیست عددی ایجاد می کند. ', | |
| 227 | + cls: 'x-html-editor-tip' | |
| 228 | + }, | |
| 229 | + createlink : { | |
| 230 | + title: 'لینک', | |
| 231 | + text: 'متن انتخاب شده را به لینک تبدیل کنید.', | |
| 232 | + cls: 'x-html-editor-tip' | |
| 233 | + }, | |
| 234 | + sourceedit : { | |
| 235 | + title: 'ویرایش سورس', | |
| 236 | + text: 'رفتن به حالت ویرایش سورس.', | |
| 237 | + cls: 'x-html-editor-tip' | |
| 238 | + } | |
| 239 | + } | |
| 240 | + }); | |
| 241 | +} | |
| 242 | + | |
| 243 | +if(Ext.grid.GridView){ | |
| 244 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 245 | + sortAscText : "مرتب سازی افزایشی", | |
| 246 | + sortDescText : "مرتب سازی کاهشی", | |
| 247 | + lockText : "قفل ستون ها", | |
| 248 | + unlockText : "بازکردن ستون ها", | |
| 249 | + columnsText : "ستون ها" | |
| 250 | + }); | |
| 251 | +} | |
| 252 | + | |
| 253 | +if(Ext.grid.PropertyColumnModel){ | |
| 254 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 255 | + nameText : "نام", | |
| 256 | + valueText : "مقدار", | |
| 257 | + dateFormat : "Y/m/d" | |
| 258 | + }); | |
| 259 | +} | |
| 260 | + | |
| 261 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 262 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 263 | + splitTip : "درگ برای تغییر اندازه.", | |
| 264 | + collapsibleSplitTip : "برای تغییر اندازه درگ کنید." | |
| 265 | + }); | |
| 266 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-fr.js
0 → 100644
| 1 | +/* | |
| 2 | + * France (France) translation | |
| 3 | + * By Thylia | |
| 4 | + * 09-11-2007, 02:22 PM | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} ligne(s) sélectionnée(s)"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Fermer cet onglet"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "En cours de chargement..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Janvier", | |
| 31 | + "Février", | |
| 32 | + "Mars", | |
| 33 | + "Avril", | |
| 34 | + "Mai", | |
| 35 | + "Juin", | |
| 36 | + "Juillet", | |
| 37 | + "Août", | |
| 38 | + "Septembre", | |
| 39 | + "Octobre", | |
| 40 | + "Novembre", | |
| 41 | + "Décembre" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.getShortMonthName = function(month) { | |
| 45 | + return Date.monthNames[month].substring(0, 3); | |
| 46 | +}; | |
| 47 | + | |
| 48 | +Date.monthNumbers = { | |
| 49 | + Jan : 0, | |
| 50 | + Feb : 1, | |
| 51 | + Mar : 2, | |
| 52 | + Apr : 3, | |
| 53 | + May : 4, | |
| 54 | + Jun : 5, | |
| 55 | + Jul : 6, | |
| 56 | + Aug : 7, | |
| 57 | + Sep : 8, | |
| 58 | + Oct : 9, | |
| 59 | + Nov : 10, | |
| 60 | + Dec : 11 | |
| 61 | +}; | |
| 62 | + | |
| 63 | +Date.getMonthNumber = function(name) { | |
| 64 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 65 | +}; | |
| 66 | + | |
| 67 | +Date.dayNames = [ | |
| 68 | + "Dimanche", | |
| 69 | + "Lundi", | |
| 70 | + "Mardi", | |
| 71 | + "Mercredi", | |
| 72 | + "Jeudi", | |
| 73 | + "Vendredi", | |
| 74 | + "Samedi" | |
| 75 | +]; | |
| 76 | + | |
| 77 | +Date.getShortDayName = function(day) { | |
| 78 | + return Date.dayNames[day].substring(0, 3); | |
| 79 | +}; | |
| 80 | + | |
| 81 | +if(Ext.MessageBox){ | |
| 82 | + Ext.MessageBox.buttonText = { | |
| 83 | + ok : "OK", | |
| 84 | + cancel : "Annuler", | |
| 85 | + yes : "Oui", | |
| 86 | + no : "Non" | |
| 87 | + }; | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.util.Format){ | |
| 91 | + Ext.util.Format.date = function(v, format){ | |
| 92 | + if(!v) return ""; | |
| 93 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 94 | + return v.dateFormat(format || "d/m/Y"); | |
| 95 | + }; | |
| 96 | +} | |
| 97 | + | |
| 98 | +if(Ext.DatePicker){ | |
| 99 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 100 | + todayText : "Aujourd'hui", | |
| 101 | + minText : "Cette date est antérieure à la date minimum", | |
| 102 | + maxText : "Cette date est postérieure à la date maximum", | |
| 103 | + disabledDaysText : "", | |
| 104 | + disabledDatesText : "", | |
| 105 | + monthNames : Date.monthNames, | |
| 106 | + dayNames : Date.dayNames, | |
| 107 | + nextText : 'Mois suivant (CTRL+Flèche droite)', | |
| 108 | + prevText : "Mois précédent (CTRL+Flèche gauche)", | |
| 109 | + monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)", | |
| 110 | + todayTip : "{0} (Barre d'espace)", | |
| 111 | + okText : " OK ", | |
| 112 | + cancelText : "Annuler", | |
| 113 | + format : "d/m/y", | |
| 114 | + startDay : 1 | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.PagingToolbar){ | |
| 119 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 120 | + beforePageText : "Page", | |
| 121 | + afterPageText : "sur {0}", | |
| 122 | + firstText : "Première page", | |
| 123 | + prevText : "Page précédente", | |
| 124 | + nextText : "Page suivante", | |
| 125 | + lastText : "Dernière page", | |
| 126 | + refreshText : "Actualiser la page", | |
| 127 | + displayMsg : "Page courante {0} - {1} sur {2}", | |
| 128 | + emptyMsg : 'Aucune donnée à afficher' | |
| 129 | + }); | |
| 130 | +} | |
| 131 | + | |
| 132 | +if(Ext.form.TextField){ | |
| 133 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 134 | + minLengthText : "La longueur minimum de ce champ est de {0} caractères", | |
| 135 | + maxLengthText : "La longueur maximum de ce champ est de {0} caractères", | |
| 136 | + blankText : "Ce champ est obligatoire", | |
| 137 | + regexText : "", | |
| 138 | + emptyText : null | |
| 139 | + }); | |
| 140 | +} | |
| 141 | + | |
| 142 | +if(Ext.form.NumberField){ | |
| 143 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 144 | + minText : "La valeur minimum de ce champ doit être de {0}", | |
| 145 | + maxText : "La valeur maximum de ce champ doit être de {0}", | |
| 146 | + nanText : "{0} n'est pas un nombre valide" | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.DateField){ | |
| 151 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 152 | + disabledDaysText : "Désactivé", | |
| 153 | + disabledDatesText : "Désactivé", | |
| 154 | + minText : "La date de ce champ ne peut être antérieure au {0}", | |
| 155 | + maxText : "La date de ce champ ne peut être postérieure au {0}", | |
| 156 | + invalidText : "{0} n'est pas une date valide - elle doit être au format suivant: {1}", | |
| 157 | + format : "d/m/y", | |
| 158 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.ComboBox){ | |
| 163 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 164 | + loadingText : "En cours de chargement...", | |
| 165 | + valueNotFoundText : undefined | |
| 166 | + }); | |
| 167 | +} | |
| 168 | + | |
| 169 | +if(Ext.form.VTypes){ | |
| 170 | + Ext.apply(Ext.form.VTypes, { | |
| 171 | + emailText : 'Ce champ doit contenir une adresse email au format: "usager@domaine.com"', | |
| 172 | + urlText : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.domaine.com"', | |
| 173 | + alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)', | |
| 174 | + alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)' | |
| 175 | + }); | |
| 176 | +} | |
| 177 | + | |
| 178 | +if(Ext.form.HtmlEditor){ | |
| 179 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 180 | + createLinkText : "Veuillez entrer l'URL pour ce lien:", | |
| 181 | + buttonTips : { | |
| 182 | + bold : { | |
| 183 | + title: 'Gras (Ctrl+B)', | |
| 184 | + text: 'Met le texte sélectionné en gras.', | |
| 185 | + cls: 'x-html-editor-tip' | |
| 186 | + }, | |
| 187 | + italic : { | |
| 188 | + title: 'Italique (Ctrl+I)', | |
| 189 | + text: 'Met le texte sélectionné en italique.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + underline : { | |
| 193 | + title: 'Souligné (Ctrl+U)', | |
| 194 | + text: 'Souligne le texte sélectionné.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + increasefontsize : { | |
| 198 | + title: 'Agrandir la police', | |
| 199 | + text: 'Augmente la taille de la police.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + decreasefontsize : { | |
| 203 | + title: 'Réduire la police', | |
| 204 | + text: 'Réduit la taille de la police.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + backcolor : { | |
| 208 | + title: 'Couleur de surbrillance', | |
| 209 | + text: 'Modifie la couleur de fond du texte sélectionné.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + forecolor : { | |
| 213 | + title: 'Couleur de police', | |
| 214 | + text: 'Modifie la couleur du texte sélectionné.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + justifyleft : { | |
| 218 | + title: 'Aligner à gauche', | |
| 219 | + text: 'Aligne le texte à gauche.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + justifycenter : { | |
| 223 | + title: 'Centrer', | |
| 224 | + text: 'Centre le texte.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifyright : { | |
| 228 | + title: 'Aligner à droite', | |
| 229 | + text: 'Aligner le texte à droite.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + insertunorderedlist : { | |
| 233 | + title: 'Liste à puce', | |
| 234 | + text: 'Démarre une liste à puce.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + insertorderedlist : { | |
| 238 | + title: 'Liste numérotée', | |
| 239 | + text: 'Démarre une liste numérotée.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + createlink : { | |
| 243 | + title: 'Lien hypertexte', | |
| 244 | + text: 'Transforme en lien hypertexte.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + sourceedit : { | |
| 248 | + title: 'Code source', | |
| 249 | + text: 'Basculer en mode édition du code source.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + } | |
| 252 | + } | |
| 253 | + }); | |
| 254 | +} | |
| 255 | + | |
| 256 | +if(Ext.form.TimeField){ | |
| 257 | + Ext.apply(Ext.form.TimeField.prototype, { | |
| 258 | + minText : "L'heure de ce champ ne peut être antérieure au {0}", | |
| 259 | + maxText : "L'heure de ce champ ne peut être postérieure au {0}", | |
| 260 | + invalidText : "{0} n'est pas une heure valide", | |
| 261 | + format : "H:i", | |
| 262 | + altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|h a|g a|g A|gi|hi|Hi|gia|hia|g|H" | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GridView){ | |
| 267 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 268 | + sortAscText : "Tri croissant", | |
| 269 | + sortDescText : "Tri décroissant", | |
| 270 | + lockText : "Verrouiller la colonne", | |
| 271 | + unlockText : "Déverrouiller la colonne", | |
| 272 | + columnsText : "Colonnes" | |
| 273 | + }); | |
| 274 | +} | |
| 275 | + | |
| 276 | +if(Ext.grid.GroupingView){ | |
| 277 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 278 | + emptyGroupText : '(Aucun)', | |
| 279 | + groupByText : 'Grouper par ce champ', | |
| 280 | + showGroupsText : 'Afficher par groupes' | |
| 281 | + }); | |
| 282 | +} | |
| 283 | + | |
| 284 | +if(Ext.grid.PropertyColumnModel){ | |
| 285 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 286 | + nameText : "Propriété", | |
| 287 | + valueText : "Valeur", | |
| 288 | + dateFormat : "d/m/Y" | |
| 289 | + }); | |
| 290 | +} | |
| 291 | + | |
| 292 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 293 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 294 | + splitTip : "Cliquer et glisser pour redimensionner le panneau.", | |
| 295 | + collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher." | |
| 296 | + }); | |
| 297 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-fr_CA.js
0 → 100644
| 1 | +/* | |
| 2 | + * France (Canadian) translation | |
| 3 | + * By BernardChhun | |
| 4 | + * 04-08-2007, 03:07 AM | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} ligne(s) sélectionné(s)"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Fermer cette onglet"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "En cours de chargement..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Janvier", | |
| 31 | + "Février", | |
| 32 | + "Mars", | |
| 33 | + "Avril", | |
| 34 | + "Mai", | |
| 35 | + "Juin", | |
| 36 | + "Juillet", | |
| 37 | + "Août", | |
| 38 | + "Septembre", | |
| 39 | + "Octobre", | |
| 40 | + "Novembre", | |
| 41 | + "Décembre" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "Dimanche", | |
| 46 | + "Lundi", | |
| 47 | + "Mardi", | |
| 48 | + "Mercredi", | |
| 49 | + "Jeudi", | |
| 50 | + "Vendredi", | |
| 51 | + "Samedi" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "OK", | |
| 57 | + cancel : "Annuler", | |
| 58 | + yes : "Oui", | |
| 59 | + no : "Non" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "d/m/Y"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "Aujourd'hui", | |
| 74 | + minText : "Cette date est plus petite que la date minimum", | |
| 75 | + maxText : "Cette date est plus grande que la date maximum", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : 'Prochain mois (CTRL+Fléche droite)', | |
| 81 | + prevText : 'Mois précédent (CTRL+Fléche gauche)', | |
| 82 | + monthYearText : 'Choissisez un mois (CTRL+Fléche haut ou bas pour changer d\'année.)', | |
| 83 | + todayTip : "{0} (Barre d'espace)", | |
| 84 | + format : "d/m/y" | |
| 85 | + }); | |
| 86 | +} | |
| 87 | + | |
| 88 | +if(Ext.PagingToolbar){ | |
| 89 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 90 | + beforePageText : "Page", | |
| 91 | + afterPageText : "de {0}", | |
| 92 | + firstText : "Première page", | |
| 93 | + prevText : "Page précédente", | |
| 94 | + nextText : "Prochaine page", | |
| 95 | + lastText : "Dernière page", | |
| 96 | + refreshText : "Recharger la page", | |
| 97 | + displayMsg : "Page courante {0} - {1} de {2}", | |
| 98 | + emptyMsg : 'Aucune donnée à afficher' | |
| 99 | + }); | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.form.TextField){ | |
| 103 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 104 | + minLengthText : "La longueur minimum de ce champ est de {0} caractères", | |
| 105 | + maxLengthText : "La longueur maximum de ce champ est de {0} caractères", | |
| 106 | + blankText : "Ce champ est obligatoire", | |
| 107 | + regexText : "", | |
| 108 | + emptyText : null | |
| 109 | + }); | |
| 110 | +} | |
| 111 | + | |
| 112 | +if(Ext.form.NumberField){ | |
| 113 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 114 | + minText : "La valeur minimum de ce champ doit être de {0}", | |
| 115 | + maxText : "La valeur maximum de ce champ doit être de {0}", | |
| 116 | + nanText : "{0} n'est pas un nombre valide" | |
| 117 | + }); | |
| 118 | +} | |
| 119 | + | |
| 120 | +if(Ext.form.DateField){ | |
| 121 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 122 | + disabledDaysText : "Désactivé", | |
| 123 | + disabledDatesText : "Désactivé", | |
| 124 | + minText : "La date de ce champ doit être avant le {0}", | |
| 125 | + maxText : "La date de ce champ doit être après le {0}", | |
| 126 | + invalidText : "{0} n'est pas une date valide - il doit être au format suivant: {1}", | |
| 127 | + format : "d/m/y" | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.ComboBox){ | |
| 132 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 133 | + loadingText : "En cours de chargement...", | |
| 134 | + valueNotFoundText : undefined | |
| 135 | + }); | |
| 136 | +} | |
| 137 | + | |
| 138 | +if(Ext.form.VTypes){ | |
| 139 | + Ext.apply(Ext.form.VTypes, { | |
| 140 | + emailText : 'Ce champ doit contenir un courriel et doit être sous ce format: "usager@domaine.com"', | |
| 141 | + urlText : 'Ce champ doit contenir une URL sous le format suivant: "http:/'+'/www.domaine.com"', | |
| 142 | + alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)', | |
| 143 | + alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)' | |
| 144 | + }); | |
| 145 | +} | |
| 146 | + | |
| 147 | +if(Ext.grid.GridView){ | |
| 148 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 149 | + sortAscText : "Tri ascendant", | |
| 150 | + sortDescText : "Tri descendant", | |
| 151 | + lockText : "Verrouillé la colonne", | |
| 152 | + unlockText : "Déverrouillé la colonne", | |
| 153 | + columnsText : "Colonnes" | |
| 154 | + }); | |
| 155 | +} | |
| 156 | + | |
| 157 | +if(Ext.grid.PropertyColumnModel){ | |
| 158 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 159 | + nameText : "Propriété", | |
| 160 | + valueText : "Valeur", | |
| 161 | + dateFormat : "d/m/Y" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 166 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 167 | + splitTip : "Cliquer et glisser pour redimensionner le panneau.", | |
| 168 | + collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour cacher le panneau." | |
| 169 | + }); | |
| 170 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-gr.js
0 → 100644
| 1 | +/** | |
| 2 | + * Greek (Old Version) Translations by Vagelis | |
| 3 | + * 03-June-2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Öüñôùóç...</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} åðéëåãìÝíç(åò) ãñáììÞ(Ýò)"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Êëåßóôå áõôÞ ôçí êáñôÝëá"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "Ç ôéìÞ óôï ðåäßï äåí åßíáé Ýãêõñç"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Öüñôùóç..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "ÉáíïõÜñéïò", | |
| 30 | + "ÖåâñïõÜñéïò", | |
| 31 | + "ÌÜñôéïò", | |
| 32 | + "Áðñßëéïò", | |
| 33 | + "ÌÜéïò", | |
| 34 | + "Éïýíéïò", | |
| 35 | + "Éïýëéïò", | |
| 36 | + "Áýãïõóôïò", | |
| 37 | + "ÓåðôÝìâñéïò", | |
| 38 | + "Ïêôþâñéïò", | |
| 39 | + "ÍïÝìâñéïò", | |
| 40 | + "ÄåêÝìâñéïò" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.dayNames = [ | |
| 44 | + "ÊõñéáêÞ", | |
| 45 | + "ÄåõôÝñá", | |
| 46 | + "Ôñßôç", | |
| 47 | + "ÔåôÜñôç", | |
| 48 | + "ÐÝìðôç", | |
| 49 | + "ÐáñáóêåõÞ", | |
| 50 | + "ÓÜââáôï" | |
| 51 | +]; | |
| 52 | + | |
| 53 | +if(Ext.MessageBox){ | |
| 54 | + Ext.MessageBox.buttonText = { | |
| 55 | + ok : "ÅíôÜîåé", | |
| 56 | + cancel : "Áêýñùóç", | |
| 57 | + yes : "Íáé", | |
| 58 | + no : "¼÷é" | |
| 59 | + }; | |
| 60 | +} | |
| 61 | + | |
| 62 | +if(Ext.util.Format){ | |
| 63 | + Ext.util.Format.date = function(v, format){ | |
| 64 | + if(!v) return ""; | |
| 65 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 66 | + return v.dateFormat(format || "ì/ç/Å"); | |
| 67 | + }; | |
| 68 | +} | |
| 69 | + | |
| 70 | +if(Ext.DatePicker){ | |
| 71 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 72 | + todayText : "ÓÞìåñá", | |
| 73 | + minText : "Ç çìåñïìçíßá áõôÞ åßíáé ðñéí ôçí ìéêñüôåñç çìåñïìçíßá", | |
| 74 | + maxText : "Ç çìåñïìçíßá áõôÞ åßíáé ìåôÜ ôçí ìåãáëýôåñç çìåñïìçíßá", | |
| 75 | + disabledDaysText : "", | |
| 76 | + disabledDatesText : "", | |
| 77 | + monthNames : Date.monthNames, | |
| 78 | + dayNames : Date.dayNames, | |
| 79 | + nextText : 'Åðüìåíïò ÌÞíáò (Control+Right)', | |
| 80 | + prevText : 'Ðñïçãïýìåíïò ÌÞíáò (Control+Left)', | |
| 81 | + monthYearText : 'ÅðéëÝîôå ÌÞíá (Control+Up/Down ãéá ìåôáêßíçóç óôá Ýôç)', | |
| 82 | + todayTip : "{0} (Spacebar)", | |
| 83 | + format : "ì/ç/Å" | |
| 84 | + }); | |
| 85 | +} | |
| 86 | + | |
| 87 | +if(Ext.PagingToolbar){ | |
| 88 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 89 | + beforePageText : "Óåëßäá", | |
| 90 | + afterPageText : "áðü {0}", | |
| 91 | + firstText : "Ðñþôç óåëßäá", | |
| 92 | + prevText : "Ðñïçãïýìåíç óåëßäá", | |
| 93 | + nextText : "Åðüìåíç óåëßäá", | |
| 94 | + lastText : "Ôåëåõôáßá óåëßäá", | |
| 95 | + refreshText : "ÁíáíÝùóç", | |
| 96 | + displayMsg : "ÅìöÜíéóç {0} - {1} áðü {2}", | |
| 97 | + emptyMsg : 'Äåí âñÝèçêáí åããñáöÝò ãéá åìöÜíéóç' | |
| 98 | + }); | |
| 99 | +} | |
| 100 | + | |
| 101 | +if(Ext.form.TextField){ | |
| 102 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 103 | + minLengthText : "Ôï åëÜ÷éóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}", | |
| 104 | + maxLengthText : "Ôï ìÝãéóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}", | |
| 105 | + blankText : "Ôï ðåäßï áõôü åßíáé õðï÷ñåùôïêü", | |
| 106 | + regexText : "", | |
| 107 | + emptyText : null | |
| 108 | + }); | |
| 109 | +} | |
| 110 | + | |
| 111 | +if(Ext.form.NumberField){ | |
| 112 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 113 | + minText : "Ç åëÜ÷éóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}", | |
| 114 | + maxText : "Ç ìÝãéóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}", | |
| 115 | + nanText : "{0} äåí åßíáé Ýãêõñïò áñéèìüò" | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.form.DateField){ | |
| 120 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 121 | + disabledDaysText : "ÁðåíåñãïðïéçìÝíï", | |
| 122 | + disabledDatesText : "ÁðåíåñãïðïéçìÝíï", | |
| 123 | + minText : "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìåôÜ áðü {0}", | |
| 124 | + maxText : "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ðñéí áðü {0}", | |
| 125 | + invalidText : "{0} äåí åßíáé Ýãêõñç çìåñïìçíßá - ðñÝðåé íá åßíáé ôçò ìïñöÞò {1}", | |
| 126 | + format : "ì/ç/Å" | |
| 127 | + }); | |
| 128 | +} | |
| 129 | + | |
| 130 | +if(Ext.form.ComboBox){ | |
| 131 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 132 | + loadingText : "Öüñôùóç...", | |
| 133 | + valueNotFoundText : undefined | |
| 134 | + }); | |
| 135 | +} | |
| 136 | + | |
| 137 | +if(Ext.form.VTypes){ | |
| 138 | + Ext.apply(Ext.form.VTypes, { | |
| 139 | + emailText : 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé e-mail address ôçò ìïñöÞò "user@domain.com"', | |
| 140 | + urlText : 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìéá äéåýèõíóç URL ôçò ìïñöÞò "http:/'+'/www.domain.com"', | |
| 141 | + alphaText : 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá êáé _', | |
| 142 | + alphanumText : 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá, áñéèìïýò êáé _' | |
| 143 | + }); | |
| 144 | +} | |
| 145 | + | |
| 146 | +if(Ext.grid.GridView){ | |
| 147 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 148 | + sortAscText : "Áýîïõóá Ôáîéíüìçóç", | |
| 149 | + sortDescText : "Öèßíïõóá Ôáîéíüìçóç", | |
| 150 | + lockText : "Êëåßäùìá óôÞëçò", | |
| 151 | + unlockText : "Îåêëåßäùìá óôÞëçò", | |
| 152 | + columnsText : "ÓôÞëåò" | |
| 153 | + }); | |
| 154 | +} | |
| 155 | + | |
| 156 | +if(Ext.grid.PropertyColumnModel){ | |
| 157 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 158 | + nameText : "¼íïìá", | |
| 159 | + valueText : "ÔéìÞ", | |
| 160 | + dateFormat : "ì/ç/Å" | |
| 161 | + }); | |
| 162 | +} | |
| 163 | + | |
| 164 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 165 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 166 | + splitTip : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò.", | |
| 167 | + collapsibleSplitTip : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò. Double click ãéá áðüêñõøç." | |
| 168 | + }); | |
| 169 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-he.js
0 → 100644
| 1 | +/** | |
| 2 | + * Hebrew Translations | |
| 3 | + * By spartacus (from forums) 06-12-2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">...èåòï</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "ùåøåú ðáçøåú {0}"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "ñâåø ìùåðéú"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "äòøê áùãä æä ùâåé"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "...èåòï"; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "éðåàø", | |
| 30 | + "ôáøåàø", | |
| 31 | + "îøõ", | |
| 32 | + "àôøéì", | |
| 33 | + "îàé", | |
| 34 | + "éåðé", | |
| 35 | + "éåìé", | |
| 36 | + "àåâåñè", | |
| 37 | + "ñôèîáø", | |
| 38 | + "àå÷èåáø", | |
| 39 | + "ðåáîáø", | |
| 40 | + "ãöîáø" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.getShortMonthName = function(month) { | |
| 44 | + return Date.monthNames[month].substring(0, 3); | |
| 45 | +}; | |
| 46 | + | |
| 47 | +Date.monthNumbers = { | |
| 48 | + Jan : 0, | |
| 49 | + Feb : 1, | |
| 50 | + Mar : 2, | |
| 51 | + Apr : 3, | |
| 52 | + May : 4, | |
| 53 | + Jun : 5, | |
| 54 | + Jul : 6, | |
| 55 | + Aug : 7, | |
| 56 | + Sep : 8, | |
| 57 | + Oct : 9, | |
| 58 | + Nov : 10, | |
| 59 | + Dec : 11 | |
| 60 | +}; | |
| 61 | + | |
| 62 | +Date.getMonthNumber = function(name) { | |
| 63 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 64 | +}; | |
| 65 | + | |
| 66 | +Date.dayNames = [ | |
| 67 | + "à", | |
| 68 | + "á", | |
| 69 | + "â", | |
| 70 | + "ã", | |
| 71 | + "ä", | |
| 72 | + "å", | |
| 73 | + "ù" | |
| 74 | +]; | |
| 75 | + | |
| 76 | +Date.getShortDayName = function(day) { | |
| 77 | + return Date.dayNames[day].substring(0, 3); | |
| 78 | +}; | |
| 79 | + | |
| 80 | +if(Ext.MessageBox){ | |
| 81 | + Ext.MessageBox.buttonText = { | |
| 82 | + ok : "àéùåø", | |
| 83 | + cancel : "áéèåì", | |
| 84 | + yes : "ëï", | |
| 85 | + no : "ìà" | |
| 86 | + }; | |
| 87 | +} | |
| 88 | + | |
| 89 | +if(Ext.util.Format){ | |
| 90 | + Ext.util.Format.date = function(v, format){ | |
| 91 | + if(!v) return ""; | |
| 92 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 93 | + return v.dateFormat(format || "d/m/Y"); | |
| 94 | + }; | |
| 95 | +} | |
| 96 | + | |
| 97 | +if(Ext.DatePicker){ | |
| 98 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 99 | + todayText : "äéåí", | |
| 100 | + minText : ".úàøéê æä çì ÷åãí ìúàøéê ääúçìúé ùð÷áò", | |
| 101 | + maxText : ".úàøéê æä çì ìàçø äúàøéê äñåôé ùð÷áò", | |
| 102 | + disabledDaysText : "", | |
| 103 | + disabledDatesText : "", | |
| 104 | + monthNames : Date.monthNames, | |
| 105 | + dayNames : Date.dayNames, | |
| 106 | + nextText : '(Control+Right) äçåãù äáà', | |
| 107 | + prevText : '(Control+Left) äçåãù ä÷åãí', | |
| 108 | + monthYearText : '(ìáçéøú ùðä Control+Up/Down) áçø çåãù', | |
| 109 | + todayTip : "î÷ù øååç) {0})", | |
| 110 | + format : "d/m/Y", | |
| 111 | + okText : " àéùåø ", | |
| 112 | + cancelText : "áéèåì", | |
| 113 | + startDay : 0 | |
| 114 | + }); | |
| 115 | +} | |
| 116 | + | |
| 117 | +if(Ext.PagingToolbar){ | |
| 118 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 119 | + beforePageText : "òîåã", | |
| 120 | + afterPageText : "{0} îúåê", | |
| 121 | + firstText : "òîåã øàùåï", | |
| 122 | + prevText : "òîåã ÷åãí", | |
| 123 | + nextText : "òîåã äáà", | |
| 124 | + lastText : "òîåã àçøåï", | |
| 125 | + refreshText : "øòðï", | |
| 126 | + displayMsg : "îöéâ {0} - {1} îúåê {2}", | |
| 127 | + emptyMsg : 'àéï îéãò ìäöâä' | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.TextField){ | |
| 132 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 133 | + minLengthText : "{0} äàåøê äîéðéîàìé ìùãä æä äåà", | |
| 134 | + maxLengthText : "{0} äàåøê äîéøáé ìùãä æä äåà", | |
| 135 | + blankText : "ùãä æä äëøçé", | |
| 136 | + regexText : "", | |
| 137 | + emptyText : null | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.NumberField){ | |
| 142 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 143 | + minText : "{0} äòøê äîéðéîàìé ìùãä æä äåà", | |
| 144 | + maxText : "{0} äòøê äîéøáé ìùãä æä äåà", | |
| 145 | + nanText : "äåà ìà îñôø {0}" | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.form.DateField){ | |
| 150 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 151 | + disabledDaysText : "îðåèøì", | |
| 152 | + disabledDatesText : "îðåèøì", | |
| 153 | + minText : "{0} äúàøéê áùãä æä çééá ìäéåú ìàçø", | |
| 154 | + maxText : "{0} äúàøéê áùãä æä çééá ìäéåú ìôðé", | |
| 155 | + invalidText : "{1} äåà ìà úàøéê ú÷ðé - çééá ìäéåú áôåøîè {0}", | |
| 156 | + format : "m/d/y", | |
| 157 | + altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 158 | + }); | |
| 159 | +} | |
| 160 | + | |
| 161 | +if(Ext.form.ComboBox){ | |
| 162 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 163 | + loadingText : "...èåòï", | |
| 164 | + valueNotFoundText : undefined | |
| 165 | + }); | |
| 166 | +} | |
| 167 | + | |
| 168 | +if(Ext.form.VTypes){ | |
| 169 | + Ext.apply(Ext.form.VTypes, { | |
| 170 | + emailText : '"user@domain.com" ùãä æä öøéê ìäéåú ëúåáú ãåàø àì÷èøåðé áôåøîè', | |
| 171 | + urlText : '"http:/'+'/www.domain.com" ùãä æä öøéê ìäéåú ëúåáú àéðèøðè áôåøîè', | |
| 172 | + alphaText : '_ùãä æä éëåì ìäëéì ø÷ àåúéåú å', | |
| 173 | + alphanumText : '_ùãä æä éëåì ìäëéì ø÷ àåúéåú, îñôøéí å' | |
| 174 | + }); | |
| 175 | +} | |
| 176 | + | |
| 177 | +if(Ext.form.HtmlEditor){ | |
| 178 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 179 | + createLinkText : ':àðà ä÷ìã àú ëúåáú äàéðèøðè òáåø ä÷éùåø', | |
| 180 | + buttonTips : { | |
| 181 | + bold : { | |
| 182 | + title: '(Ctrl+B) îåãâù', | |
| 183 | + text: '.äãâù àú äè÷ñè äðáçø', | |
| 184 | + cls: 'x-html-editor-tip' | |
| 185 | + }, | |
| 186 | + italic : { | |
| 187 | + title: '(Ctrl+I) ðèåé', | |
| 188 | + text: '.äèä àú äè÷ñè äðáçø', | |
| 189 | + cls: 'x-html-editor-tip' | |
| 190 | + }, | |
| 191 | + underline : { | |
| 192 | + title: '(Ctrl+U) ÷å úçúé', | |
| 193 | + text: '.äåñó ÷ï úçúé òáåø äè÷ñè äðáçø', | |
| 194 | + cls: 'x-html-editor-tip' | |
| 195 | + }, | |
| 196 | + increasefontsize : { | |
| 197 | + title: 'äâãì è÷ñè', | |
| 198 | + text: '.äâãì âåôï òáåø äè÷ñè äðáçø', | |
| 199 | + cls: 'x-html-editor-tip' | |
| 200 | + }, | |
| 201 | + decreasefontsize : { | |
| 202 | + title: 'ä÷èï è÷ñè', | |
| 203 | + text: '.ä÷èï âåôï òáåø äè÷ñè äðáçø', | |
| 204 | + cls: 'x-html-editor-tip' | |
| 205 | + }, | |
| 206 | + backcolor : { | |
| 207 | + title: 'öáò ø÷ò ìè÷ñè', | |
| 208 | + text: '.ùðä àú öáò äø÷ò òáåø äè÷ñè äðáçø', | |
| 209 | + cls: 'x-html-editor-tip' | |
| 210 | + }, | |
| 211 | + forecolor : { | |
| 212 | + title: 'öáò âåôï', | |
| 213 | + text: '.ùðä àú öáò äâåôï òáåø äè÷ñè äðáçø', | |
| 214 | + cls: 'x-html-editor-tip' | |
| 215 | + }, | |
| 216 | + justifyleft : { | |
| 217 | + title: 'éùåø ìùîàì', | |
| 218 | + text: '.éùø ùîàìä àú äè÷ñè äðáçø', | |
| 219 | + cls: 'x-html-editor-tip' | |
| 220 | + }, | |
| 221 | + justifycenter : { | |
| 222 | + title: 'éùåø ìîøëæ', | |
| 223 | + text: '.éùø ìîøëæ àú äè÷ñè äðáçø', | |
| 224 | + cls: 'x-html-editor-tip' | |
| 225 | + }, | |
| 226 | + justifyright : { | |
| 227 | + title: 'éùåø ìéîéï', | |
| 228 | + text: '.éùø éîéðä àú äè÷ñè äðáçø', | |
| 229 | + cls: 'x-html-editor-tip' | |
| 230 | + }, | |
| 231 | + insertunorderedlist : { | |
| 232 | + title: 'øùéîú ð÷åãåú', | |
| 233 | + text: '.äúçì øùéîú ð÷åãåú', | |
| 234 | + cls: 'x-html-editor-tip' | |
| 235 | + }, | |
| 236 | + insertorderedlist : { | |
| 237 | + title: 'øùéîä îîåñôøú', | |
| 238 | + text: '.äúçì øùéîä îîåñôøú', | |
| 239 | + cls: 'x-html-editor-tip' | |
| 240 | + }, | |
| 241 | + createlink : { | |
| 242 | + title: '÷éùåø', | |
| 243 | + text: '.äôåê àú äè÷ñè äðáçø ì÷éùåø', | |
| 244 | + cls: 'x-html-editor-tip' | |
| 245 | + }, | |
| 246 | + sourceedit : { | |
| 247 | + title: 'òøéëú ÷åã î÷åø', | |
| 248 | + text: '.äöâ ÷åã î÷åø', | |
| 249 | + cls: 'x-html-editor-tip' | |
| 250 | + } | |
| 251 | + } | |
| 252 | + }); | |
| 253 | +} | |
| 254 | + | |
| 255 | +if(Ext.grid.GridView){ | |
| 256 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 257 | + sortAscText : "îééï áñãø òåìä", | |
| 258 | + sortDescText : "îééï áñãø éåøã", | |
| 259 | + lockText : "ðòì òîåãä", | |
| 260 | + unlockText : "ùçøø òîåãä", | |
| 261 | + columnsText : "òîåãåú" | |
| 262 | + }); | |
| 263 | +} | |
| 264 | + | |
| 265 | +if(Ext.grid.GroupingView){ | |
| 266 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 267 | + emptyGroupText : '(øé÷)', | |
| 268 | + groupByText : 'äöâ á÷áåöåú ìôé ùãä æä', | |
| 269 | + showGroupsText : 'äöâ á÷áåöåú' | |
| 270 | + }); | |
| 271 | +} | |
| 272 | + | |
| 273 | +if(Ext.grid.PropertyColumnModel){ | |
| 274 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 275 | + nameText : "ùí", | |
| 276 | + valueText : "òøê", | |
| 277 | + dateFormat : "m/j/Y" | |
| 278 | + }); | |
| 279 | +} | |
| 280 | + | |
| 281 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 282 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 283 | + splitTip : ".îùåê ìùéðåé âåãì", | |
| 284 | + collapsibleSplitTip : ".îùåê ìùéðåé âåãì. ìçéöä ëôåìä ìäñúøä" | |
| 285 | + }); | |
| 286 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-hr.js
0 → 100644
| 1 | +/* | |
| 2 | + * Croatian translation | |
| 3 | + * By Ylodi (utf8 encoding) | |
| 4 | + * 8 May 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavanje...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} odabranih redova"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Zatvori ovaj tab"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "Unesena vrijednost u ovom polju je neispravna"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "Učitavanje..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Siječanj", | |
| 31 | + "Veljača", | |
| 32 | + "Ožujak", | |
| 33 | + "Travanj", | |
| 34 | + "Svibanj", | |
| 35 | + "Lipanj", | |
| 36 | + "Srpanj", | |
| 37 | + "Kolovoz", | |
| 38 | + "Rujan", | |
| 39 | + "Listopad", | |
| 40 | + "Studeni", | |
| 41 | + "Prosinac" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "Nedjelja", | |
| 46 | + "Ponedjeljak", | |
| 47 | + "Utorak", | |
| 48 | + "Srijeda", | |
| 49 | + "Četvrtak", | |
| 50 | + "Petak", | |
| 51 | + "Subota" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "U redu", | |
| 57 | + cancel : "Odustani", | |
| 58 | + yes : "Da", | |
| 59 | + no : "Ne" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "d.m.Y"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "Danas", | |
| 74 | + minText : "Taj datum je prije najmanjeg datuma", | |
| 75 | + maxText : "Taj datum je poslije najvećeg datuma", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : 'Slijedeći mjesec (Control+Desno)', | |
| 81 | + prevText : 'Prethodni mjesec (Control+Lijevo)', | |
| 82 | + monthYearText : 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)', | |
| 83 | + todayTip : "{0} (Razmaknica)", | |
| 84 | + format : "d.m.y", | |
| 85 | + startDay : 1 | |
| 86 | + }); | |
| 87 | +} | |
| 88 | + | |
| 89 | +if(Ext.PagingToolbar){ | |
| 90 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 91 | + beforePageText : "Stranica", | |
| 92 | + afterPageText : "od {0}", | |
| 93 | + firstText : "Prva stranica", | |
| 94 | + prevText : "Prethodna stranica", | |
| 95 | + nextText : "Slijedeća stranica", | |
| 96 | + lastText : "Posljednja stranica", | |
| 97 | + refreshText : "Obnovi", | |
| 98 | + displayMsg : "Prikazujem {0} - {1} od {2}", | |
| 99 | + emptyMsg : 'Nema podataka za prikaz' | |
| 100 | + }); | |
| 101 | +} | |
| 102 | + | |
| 103 | +if(Ext.form.TextField){ | |
| 104 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 105 | + minLengthText : "Minimalna dužina za ovo polje je {0}", | |
| 106 | + maxLengthText : "Maksimalna dužina za ovo polje je {0}", | |
| 107 | + blankText : "Ovo polje je obavezno", | |
| 108 | + regexText : "", | |
| 109 | + emptyText : null | |
| 110 | + }); | |
| 111 | +} | |
| 112 | + | |
| 113 | +if(Ext.form.NumberField){ | |
| 114 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 115 | + minText : "Minimalna vrijednost za ovo polje je {0}", | |
| 116 | + maxText : "Maksimalna vrijednost za ovo polje je {0}", | |
| 117 | + nanText : "{0} nije ispravan broj" | |
| 118 | + }); | |
| 119 | +} | |
| 120 | + | |
| 121 | +if(Ext.form.DateField){ | |
| 122 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 123 | + disabledDaysText : "Neaktivno", | |
| 124 | + disabledDatesText : "Neaktivno", | |
| 125 | + minText : "Datum u ovom polje mora biti poslije {0}", | |
| 126 | + maxText : "Datum u ovom polju mora biti prije {0}", | |
| 127 | + invalidText : "{0} nije ispravan datum - mora biti u obliku {1}", | |
| 128 | + format : "d.m.y" | |
| 129 | + }); | |
| 130 | +} | |
| 131 | + | |
| 132 | +if(Ext.form.ComboBox){ | |
| 133 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 134 | + loadingText : "Učitavanje...", | |
| 135 | + valueNotFoundText : undefined | |
| 136 | + }); | |
| 137 | +} | |
| 138 | + | |
| 139 | +if(Ext.form.VTypes){ | |
| 140 | + Ext.apply(Ext.form.VTypes, { | |
| 141 | + emailText : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"', | |
| 142 | + urlText : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"', | |
| 143 | + alphaText : 'Ovo polje može sadržavati samo slova i znak _', | |
| 144 | + alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _' | |
| 145 | + }); | |
| 146 | +} | |
| 147 | + | |
| 148 | +if(Ext.grid.GridView){ | |
| 149 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 150 | + sortAscText : "Sortiraj rastućim redoslijedom", | |
| 151 | + sortDescText : "Sortiraj padajućim redoslijedom", | |
| 152 | + lockText : "Zaključaj stupac", | |
| 153 | + unlockText : "Otključaj stupac", | |
| 154 | + columnsText : "Stupci" | |
| 155 | + }); | |
| 156 | +} | |
| 157 | + | |
| 158 | +if(Ext.grid.PropertyColumnModel){ | |
| 159 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 160 | + nameText : "Naziv", | |
| 161 | + valueText : "Vrijednost", | |
| 162 | + dateFormat : "d.m.Y" | |
| 163 | + }); | |
| 164 | +} | |
| 165 | + | |
| 166 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 167 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 168 | + splitTip : "Povuci za promjenu veličine.", | |
| 169 | + collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje." | |
| 170 | + }); | |
| 171 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-hu.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.1 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * List compiled by mystix on the extjs.com forums. | |
| 11 | + * Thank you Mystix! | |
| 12 | + * | |
| 13 | + * Hungarian Translations (utf-8 encoded) | |
| 14 | + * by Amon <amon@theba.hu> (27 Apr 2008) | |
| 15 | + */ | |
| 16 | + | |
| 17 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Betöltés...</div>'; | |
| 18 | + | |
| 19 | +if(Ext.View){ | |
| 20 | + Ext.View.prototype.emptyText = ""; | |
| 21 | +} | |
| 22 | + | |
| 23 | +if(Ext.grid.GridPanel){ | |
| 24 | + Ext.grid.GridPanel.prototype.ddText = "{0} kiválasztott sor"; | |
| 25 | +} | |
| 26 | + | |
| 27 | +if(Ext.TabPanelItem){ | |
| 28 | + Ext.TabPanelItem.prototype.closeText = "Fül bezárása"; | |
| 29 | +} | |
| 30 | + | |
| 31 | +if(Ext.form.Field){ | |
| 32 | + Ext.form.Field.prototype.invalidText = "Hibás érték!"; | |
| 33 | +} | |
| 34 | + | |
| 35 | +if(Ext.LoadMask){ | |
| 36 | + Ext.LoadMask.prototype.msg = "Betöltés..."; | |
| 37 | +} | |
| 38 | + | |
| 39 | +Date.monthNames = [ | |
| 40 | + "Január", | |
| 41 | + "Február", | |
| 42 | + "Március", | |
| 43 | + "Április", | |
| 44 | + "Május", | |
| 45 | + "Június", | |
| 46 | + "Július", | |
| 47 | + "Augusztus", | |
| 48 | + "Szeptember", | |
| 49 | + "Október", | |
| 50 | + "November", | |
| 51 | + "December" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +Date.getShortMonthName = function(month) { | |
| 55 | + return Date.monthNames[month].substring(0, 3); | |
| 56 | +}; | |
| 57 | + | |
| 58 | +Date.monthNumbers = { | |
| 59 | + 'Jan' : 0, | |
| 60 | + 'Feb' : 1, | |
| 61 | + 'Már' : 2, | |
| 62 | + 'Ãpr' : 3, | |
| 63 | + 'Máj' : 4, | |
| 64 | + 'Jún' : 5, | |
| 65 | + 'Júl' : 6, | |
| 66 | + 'Aug' : 7, | |
| 67 | + 'Sze' : 8, | |
| 68 | + 'Okt' : 9, | |
| 69 | + 'Nov' : 10, | |
| 70 | + 'Dec' : 11 | |
| 71 | +}; | |
| 72 | + | |
| 73 | +Date.getMonthNumber = function(name) { | |
| 74 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 75 | +}; | |
| 76 | + | |
| 77 | +Date.dayNames = [ | |
| 78 | + "Vasárnap", | |
| 79 | + "Hétfő", | |
| 80 | + "Kedd", | |
| 81 | + "Szerda", | |
| 82 | + "Csütörtök", | |
| 83 | + "Péntek", | |
| 84 | + "Szombat" | |
| 85 | +]; | |
| 86 | + | |
| 87 | +Date.getShortDayName = function(day) { | |
| 88 | + return Date.dayNames[day].substring(0, 3); | |
| 89 | +}; | |
| 90 | + | |
| 91 | +if(Ext.MessageBox){ | |
| 92 | + Ext.MessageBox.buttonText = { | |
| 93 | + ok : "OK", | |
| 94 | + cancel : "Mégsem", | |
| 95 | + yes : "Igen", | |
| 96 | + no : "Nem" | |
| 97 | + }; | |
| 98 | +} | |
| 99 | + | |
| 100 | +if(Ext.util.Format){ | |
| 101 | + Ext.util.Format.date = function(v, format){ | |
| 102 | + if(!v) return ""; | |
| 103 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 104 | + return v.dateFormat(format || "Y m d"); | |
| 105 | + }; | |
| 106 | +} | |
| 107 | + | |
| 108 | +if(Ext.DatePicker){ | |
| 109 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 110 | + todayText : "Mai nap", | |
| 111 | + minText : "A dátum korábbi a megengedettnél", | |
| 112 | + maxText : "A dátum későbbi a megengedettnél", | |
| 113 | + disabledDaysText : "", | |
| 114 | + disabledDatesText : "", | |
| 115 | + monthNames : Date.monthNames, | |
| 116 | + dayNames : Date.dayNames, | |
| 117 | + nextText : 'Köv. hónap (CTRL+Jobbra)', | |
| 118 | + prevText : 'Előző hónap (CTRL+Balra)', | |
| 119 | + monthYearText : 'Válassz hónapot (Évválasztás: CTRL+Fel/Le)', | |
| 120 | + todayTip : "{0} (Szóköz)", | |
| 121 | + format : "y-m-d", | |
| 122 | + okText : " OK ", | |
| 123 | + cancelText : "Mégsem", | |
| 124 | + startDay : 0 | |
| 125 | + }); | |
| 126 | +} | |
| 127 | + | |
| 128 | +if(Ext.PagingToolbar){ | |
| 129 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 130 | + beforePageText : "Oldal", | |
| 131 | + afterPageText : "a {0}-ból/ből", | |
| 132 | + firstText : "Első oldal", | |
| 133 | + prevText : "Előző oldal", | |
| 134 | + nextText : "Következő oldal", | |
| 135 | + lastText : "Utolsó oldal", | |
| 136 | + refreshText : "FrissÃtés", | |
| 137 | + displayMsg : "{0} - {1} sorok láthatók a {2}-ból/ből", | |
| 138 | + emptyMsg : 'Nincs megjeleníthető adat' | |
| 139 | + }); | |
| 140 | +} | |
| 141 | + | |
| 142 | +if(Ext.form.TextField){ | |
| 143 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 144 | + minLengthText : "A mező tartalma legalább {0} hosszú kell legyen", | |
| 145 | + maxLengthText : "A mező tartalma legfeljebb {0} hosszú lehet", | |
| 146 | + blankText : "Kötelezően kitöltendő mező", | |
| 147 | + regexText : "", | |
| 148 | + emptyText : null | |
| 149 | + }); | |
| 150 | +} | |
| 151 | + | |
| 152 | +if(Ext.form.NumberField){ | |
| 153 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 154 | + minText : "A mező tartalma nem lehet kissebb, mint {0}", | |
| 155 | + maxText : "A mező tartalma nem lehet nagyobb, mint {0}", | |
| 156 | + nanText : "{0} nem szám" | |
| 157 | + }); | |
| 158 | +} | |
| 159 | + | |
| 160 | +if(Ext.form.DateField){ | |
| 161 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 162 | + disabledDaysText : "Nem választható", | |
| 163 | + disabledDatesText : "Nem választható", | |
| 164 | + minText : "A dátum nem lehet korábbi, mint {0}", | |
| 165 | + maxText : "A dátum nem lehet későbbi, mint {0}", | |
| 166 | + invalidText : "{0} nem megfelelő dátum - a helyes formátum: {1}", | |
| 167 | + format : "Y m d", | |
| 168 | + altFormats : "Y-m-d|y-m-d|y/m/d|m/d|m-d|md|ymd|Ymd|d" | |
| 169 | + }); | |
| 170 | +} | |
| 171 | + | |
| 172 | +if(Ext.form.ComboBox){ | |
| 173 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 174 | + loadingText : "Betöltés...", | |
| 175 | + valueNotFoundText : undefined | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.VTypes){ | |
| 180 | + Ext.apply(Ext.form.VTypes, { | |
| 181 | + emailText : 'A mezÅ‘ email cÃmet tartalmazhat, melynek formátuma "felhasználó@szolgáltató.hu"', | |
| 182 | + urlText : 'A mezÅ‘ webcÃmet tartalmazhat, melynek formátuma "http:/'+'/www.weboldal.hu"', | |
| 183 | + alphaText : 'A mező csak betűket és aláhúzást (_) tartalmazhat', | |
| 184 | + alphanumText : 'A mező csak betűket, számokat és aláhúzást (_) tartalmazhat' | |
| 185 | + }); | |
| 186 | +} | |
| 187 | + | |
| 188 | +if(Ext.form.HtmlEditor){ | |
| 189 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 190 | + createLinkText : 'Add meg a webcÃmet:', | |
| 191 | + buttonTips : { | |
| 192 | + bold : { | |
| 193 | + title: 'Félkövér (Ctrl+B)', | |
| 194 | + text: 'Félkövérré teszi a kijelölt szöveget.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + italic : { | |
| 198 | + title: 'Dőlt (Ctrl+I)', | |
| 199 | + text: 'Dőlté teszi a kijelölt szöveget.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + underline : { | |
| 203 | + title: 'Aláhúzás (Ctrl+U)', | |
| 204 | + text: 'Aláhúzza a kijelölt szöveget.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + increasefontsize : { | |
| 208 | + title: 'Szöveg nagyÃtás', | |
| 209 | + text: 'Növeli a szövegméretet.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + decreasefontsize : { | |
| 213 | + title: 'Szöveg kicsinyÃtés', | |
| 214 | + text: 'Csökkenti a szövegméretet.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + backcolor : { | |
| 218 | + title: 'Háttérszín', | |
| 219 | + text: 'A kijelölt szöveg háttérszÃnét módosÃtja.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + forecolor : { | |
| 223 | + title: 'SzövegszÃn', | |
| 224 | + text: 'A kijelölt szöveg szÃnét módosÃtja.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifyleft : { | |
| 228 | + title: 'Balra zárt', | |
| 229 | + text: 'Balra zárja a szöveget.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + justifycenter : { | |
| 233 | + title: 'Középre zárt', | |
| 234 | + text: 'Középre zárja a szöveget.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + justifyright : { | |
| 238 | + title: 'Jobbra zárt', | |
| 239 | + text: 'Jobbra zárja a szöveget.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + insertunorderedlist : { | |
| 243 | + title: 'Felsorolás', | |
| 244 | + text: 'Felsorolást kezd.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + insertorderedlist : { | |
| 248 | + title: 'Számozás', | |
| 249 | + text: 'Számozott listát kezd.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + }, | |
| 252 | + createlink : { | |
| 253 | + title: 'Hiperlink', | |
| 254 | + text: 'A kijelölt szöveget linkké teszi.', | |
| 255 | + cls: 'x-html-editor-tip' | |
| 256 | + }, | |
| 257 | + sourceedit : { | |
| 258 | + title: 'Forrás nézet', | |
| 259 | + text: 'Forrás nézetbe kapcsol.', | |
| 260 | + cls: 'x-html-editor-tip' | |
| 261 | + } | |
| 262 | + } | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GridView){ | |
| 267 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 268 | + sortAscText : "Növekvő rendezés", | |
| 269 | + sortDescText : "Csökkenő rendezés", | |
| 270 | + lockText : "Oszlop zárolás", | |
| 271 | + unlockText : "Oszlop feloldás", | |
| 272 | + columnsText : "Oszlopok" | |
| 273 | + }); | |
| 274 | +} | |
| 275 | + | |
| 276 | +if(Ext.grid.GroupingView){ | |
| 277 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 278 | + emptyGroupText : '(Nincs)', | |
| 279 | + groupByText : 'Oszlop szerint csoportosÃtás', | |
| 280 | + showGroupsText : 'Csoportos nézet' | |
| 281 | + }); | |
| 282 | +} | |
| 283 | + | |
| 284 | +if(Ext.grid.PropertyColumnModel){ | |
| 285 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 286 | + nameText : "Név", | |
| 287 | + valueText : "Érték", | |
| 288 | + dateFormat : "Y m j" | |
| 289 | + }); | |
| 290 | +} | |
| 291 | + | |
| 292 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 293 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 294 | + splitTip : "Átméretezés húzásra.", | |
| 295 | + collapsibleSplitTip : "Átméretezés húzásra. Eltüntetés duplaklikk." | |
| 296 | + }); | |
| 297 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-id.js
0 → 100644
| 1 | +/** | |
| 2 | + * Pedoman translasi: | |
| 3 | + * http://id.wikisource.org/wiki/Panduan_Pembakuan_Istilah,_Pelaksanaan_Instruksi_Presiden_Nomor_2_Tahun_2001_Tentang_Penggunaan_Komputer_Dengan_Aplikasi_Komputer_Berbahasa_Indonesia | |
| 4 | + *Original source: http://vlsm.org/etc/baku-0.txt | |
| 5 | + * by Farid GS | |
| 6 | + * farid [at] pulen.net | |
| 7 | + * 10:13 04 Desember 2007 | |
| 8 | + * Indonesian Translations | |
| 9 | + */ | |
| 10 | + | |
| 11 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Pemuatan...</div>'; | |
| 12 | + | |
| 13 | +if(Ext.View){ | |
| 14 | + Ext.View.prototype.emptyText = ""; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.grid.GridPanel){ | |
| 18 | + Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; | |
| 19 | + Ext.grid.GridPanel.prototype.ddText = "{0} baris terpilih"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.TabPanelItem){ | |
| 23 | + Ext.TabPanelItem.prototype.closeText = "Close this tab"; | |
| 24 | + Ext.TabPanelItem.prototype.closeText = "Tutup tab ini"; | |
| 25 | +} | |
| 26 | + | |
| 27 | +if(Ext.form.Field){ | |
| 28 | + Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; | |
| 29 | + Ext.form.Field.prototype.invalidText = "Isian belum benar"; | |
| 30 | +} | |
| 31 | + | |
| 32 | +if(Ext.LoadMask){ | |
| 33 | + Ext.LoadMask.prototype.msg = "Loading..."; | |
| 34 | + Ext.LoadMask.prototype.msg = "Pemuatan..."; | |
| 35 | +} | |
| 36 | + | |
| 37 | +Date.monthNames = [ | |
| 38 | + "Januari", | |
| 39 | + "Februari", | |
| 40 | + "Maret", | |
| 41 | + "April", | |
| 42 | + "Mei", | |
| 43 | + "Juni", | |
| 44 | + "Juli", | |
| 45 | + "Agustus", | |
| 46 | + "September", | |
| 47 | + "Oktober", | |
| 48 | + "November", | |
| 49 | + "Desember" | |
| 50 | +]; | |
| 51 | + | |
| 52 | +Date.getShortMonthName = function(month) { | |
| 53 | + return Date.monthNames[month].substring(0, 3); | |
| 54 | +}; | |
| 55 | + | |
| 56 | +Date.monthNumbers = { | |
| 57 | + Jan : 0, | |
| 58 | + Feb : 1, | |
| 59 | + Mar : 2, | |
| 60 | + Apr : 3, | |
| 61 | + Mei : 4, | |
| 62 | + Jun : 5, | |
| 63 | + Jul : 6, | |
| 64 | + Agu : 7, | |
| 65 | + Sep : 8, | |
| 66 | + Okt : 9, | |
| 67 | + Nov : 10, | |
| 68 | + Des : 11 | |
| 69 | +}; | |
| 70 | + | |
| 71 | +Date.getMonthNumber = function(name) { | |
| 72 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 73 | +}; | |
| 74 | + | |
| 75 | +Date.dayNames = [ | |
| 76 | + "Minggu", | |
| 77 | + "Senin", | |
| 78 | + "Selasa", | |
| 79 | + "Rabu", | |
| 80 | + "Kamis", | |
| 81 | + "Jumat", | |
| 82 | + "Sabtu" | |
| 83 | +]; | |
| 84 | + | |
| 85 | +Date.getShortDayName = function(day) { | |
| 86 | + return Date.dayNames[day].substring(0, 3); | |
| 87 | +}; | |
| 88 | + | |
| 89 | +if(Ext.MessageBox){ | |
| 90 | + Ext.MessageBox.buttonText = { | |
| 91 | + ok : "OK", | |
| 92 | + cancel : "Batal", | |
| 93 | + yes : "Ya", | |
| 94 | + no : "Tidak" | |
| 95 | + }; | |
| 96 | +} | |
| 97 | + | |
| 98 | +if(Ext.util.Format){ | |
| 99 | + Ext.util.Format.date = function(v, format){ | |
| 100 | + if(!v) return ""; | |
| 101 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 102 | + return v.dateFormat(format || "d/m/Y"); | |
| 103 | + }; | |
| 104 | +} | |
| 105 | + | |
| 106 | +if(Ext.DatePicker){ | |
| 107 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 108 | + todayText : "Hari ini", | |
| 109 | + minText : "Tanggal ini sebelum batas tanggal minimal", | |
| 110 | + maxText : "Tanggal ini setelah batas tanggal maksimal", | |
| 111 | + disabledDaysText : "", | |
| 112 | + disabledDatesText : "", | |
| 113 | + monthNames : Date.monthNames, | |
| 114 | + dayNames : Date.dayNames, | |
| 115 | + nextText : 'Bulan Berikut (Kontrol+Kanan)', | |
| 116 | + prevText : 'Bulan Sebelum (Kontrol+Kiri)', | |
| 117 | + monthYearText : 'Pilih bulan (Kontrol+Atas/Bawah untuk pindah tahun)', | |
| 118 | + todayTip : "{0} (Spacebar)", | |
| 119 | + format : "d/m/y", | |
| 120 | + okText : " OK ", | |
| 121 | + cancelText : "Batal", | |
| 122 | + startDay : 1 | |
| 123 | + }); | |
| 124 | +} | |
| 125 | + | |
| 126 | +if(Ext.PagingToolbar){ | |
| 127 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 128 | + beforePageText : "Hal", | |
| 129 | + afterPageText : "dari {0}", | |
| 130 | + firstText : "Hal. Pertama", | |
| 131 | + prevText : "Hal. Sebelum", | |
| 132 | + nextText : "Hal. Berikut", | |
| 133 | + lastText : "Hal. Akhir", | |
| 134 | + refreshText : "Segarkan", | |
| 135 | + displayMsg : "Menampilkan {0} - {1} dari {2}", | |
| 136 | + emptyMsg : 'Data tidak ditemukan' | |
| 137 | + }); | |
| 138 | +} | |
| 139 | + | |
| 140 | +if(Ext.form.TextField){ | |
| 141 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 142 | + minLengthText : "Panjang minimal untuk field ini adalah {0}", | |
| 143 | + maxLengthText : "Panjang maksimal untuk field ini adalah {0}", | |
| 144 | + blankText : "Field ini wajib diisi", | |
| 145 | + regexText : "", | |
| 146 | + emptyText : null | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.NumberField){ | |
| 151 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 152 | + minText : "Nilai minimal untuk field ini adalah {0}", | |
| 153 | + maxText : "Nilai maksimal untuk field ini adalah {0}", | |
| 154 | + nanText : "{0} bukan angka" | |
| 155 | + }); | |
| 156 | +} | |
| 157 | + | |
| 158 | +if(Ext.form.DateField){ | |
| 159 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 160 | + disabledDaysText : "Disfungsi", | |
| 161 | + disabledDatesText : "Disfungsi", | |
| 162 | + minText : "Tanggal dalam field ini harus setelah {0}", | |
| 163 | + maxText : "Tanggal dalam field ini harus sebelum {0}", | |
| 164 | + invalidText : "{0} tanggal salah - Harus dalam format {1}", | |
| 165 | + format : "d/m/y", | |
| 166 | + //altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 167 | + altFormats : "d/m/Y|d-m-y|d-m-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 168 | + }); | |
| 169 | +} | |
| 170 | + | |
| 171 | +if(Ext.form.ComboBox){ | |
| 172 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 173 | + loadingText : "Pemuatan...", | |
| 174 | + valueNotFoundText : undefined | |
| 175 | + }); | |
| 176 | +} | |
| 177 | + | |
| 178 | +if(Ext.form.VTypes){ | |
| 179 | + Ext.apply(Ext.form.VTypes, { | |
| 180 | + emailText : 'Field ini harus dalam format email seperti "user@domain.com"', | |
| 181 | + urlText : 'Field ini harus dalam format URL seperti "http:/'+'/www.domain.com"', | |
| 182 | + alphaText : 'Field ini harus terdiri dari huruf dan _', | |
| 183 | + alphanumText : 'Field ini haris terdiri dari huruf, angka dan _' | |
| 184 | + }); | |
| 185 | +} | |
| 186 | + | |
| 187 | +if(Ext.form.HtmlEditor){ | |
| 188 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 189 | + createLinkText : 'Silakan masukkan URL untuk tautan:', | |
| 190 | + buttonTips : { | |
| 191 | + bold : { | |
| 192 | + title: 'Tebal (Ctrl+B)', | |
| 193 | + text: 'Buat tebal teks terpilih', | |
| 194 | + cls: 'x-html-editor-tip' | |
| 195 | + }, | |
| 196 | + italic : { | |
| 197 | + title: 'Miring (CTRL+I)', | |
| 198 | + text: 'Buat miring teks terpilih', | |
| 199 | + cls: 'x-html-editor-tip' | |
| 200 | + }, | |
| 201 | + underline : { | |
| 202 | + title: 'Garisbawah (CTRl+U)', | |
| 203 | + text: 'Garisbawahi teks terpilih', | |
| 204 | + cls: 'x-html-editor-tip' | |
| 205 | + }, | |
| 206 | + increasefontsize : { | |
| 207 | + title: 'Perbesar teks', | |
| 208 | + text: 'Perbesar ukuran fonta', | |
| 209 | + cls: 'x-html-editor-tip' | |
| 210 | + }, | |
| 211 | + decreasefontsize : { | |
| 212 | + title: 'Perkecil teks', | |
| 213 | + text: 'Perkecil ukuran fonta', | |
| 214 | + cls: 'x-html-editor-tip' | |
| 215 | + }, | |
| 216 | + backcolor : { | |
| 217 | + title: 'Sorot Warna Teks', | |
| 218 | + text: 'Ubah warna latar teks terpilih', | |
| 219 | + cls: 'x-html-editor-tip' | |
| 220 | + }, | |
| 221 | + forecolor : { | |
| 222 | + title: 'Warna Fonta', | |
| 223 | + text: 'Ubah warna teks terpilih', | |
| 224 | + cls: 'x-html-editor-tip' | |
| 225 | + }, | |
| 226 | + justifyleft : { | |
| 227 | + title: 'Rata Kiri', | |
| 228 | + text: 'Ratakan teks ke kiri', | |
| 229 | + cls: 'x-html-editor-tip' | |
| 230 | + }, | |
| 231 | + justifycenter : { | |
| 232 | + title: 'Rata Tengah', | |
| 233 | + text: 'Ratakan teks ke tengah editor', | |
| 234 | + cls: 'x-html-editor-tip' | |
| 235 | + }, | |
| 236 | + justifyright : { | |
| 237 | + title: 'Rata Kanan', | |
| 238 | + text: 'Ratakan teks ke kanan', | |
| 239 | + cls: 'x-html-editor-tip' | |
| 240 | + }, | |
| 241 | + insertunorderedlist : { | |
| 242 | + title: 'Daftar Bulet', | |
| 243 | + text: 'Membuat daftar berbasis bulet', | |
| 244 | + cls: 'x-html-editor-tip' | |
| 245 | + }, | |
| 246 | + insertorderedlist : { | |
| 247 | + title: 'Daftar Angka', | |
| 248 | + text: 'Membuat daftar berbasis angka', | |
| 249 | + cls: 'x-html-editor-tip' | |
| 250 | + }, | |
| 251 | + createlink : { | |
| 252 | + title: 'Hipertaut', | |
| 253 | + text: 'Buat teks terpilih sebagai Hipertaut', | |
| 254 | + cls: 'x-html-editor-tip' | |
| 255 | + }, | |
| 256 | + sourceedit : { | |
| 257 | + title: 'Edit Kode Sumber', | |
| 258 | + text: 'Pindah dalam mode kode sumber', | |
| 259 | + cls: 'x-html-editor-tip' | |
| 260 | + } | |
| 261 | + } | |
| 262 | + }); | |
| 263 | +} | |
| 264 | + | |
| 265 | +if(Ext.grid.GridView){ | |
| 266 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 267 | + sortAscText : "Urut Naik", | |
| 268 | + sortDescText : "Urut Turun", | |
| 269 | + lockText : "Kancing Kolom", | |
| 270 | + unlockText : "Lepas Kunci Kolom", | |
| 271 | + columnsText : "Kolom" | |
| 272 | + }); | |
| 273 | +} | |
| 274 | + | |
| 275 | +if(Ext.grid.GroupingView){ | |
| 276 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 277 | + emptyGroupText : '(Kosong)', | |
| 278 | + groupByText : 'Kelompokkan Berdasar Field Ini', | |
| 279 | + showGroupsText : 'Tampil Dalam Kelompok' | |
| 280 | + }); | |
| 281 | +} | |
| 282 | + | |
| 283 | +if(Ext.grid.PropertyColumnModel){ | |
| 284 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 285 | + nameText : "Nama", | |
| 286 | + valueText : "Nilai", | |
| 287 | + dateFormat : "d/m/Y" | |
| 288 | + }); | |
| 289 | +} | |
| 290 | + | |
| 291 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 292 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 293 | + splitTip : "Seret untuk ubah ukuran.", | |
| 294 | + collapsibleSplitTip : "Seret untuk ubah ukuran, Dobel klik untuk sembunyikan." | |
| 295 | + }); | |
| 296 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-it.js
0 → 100644
| 1 | +/* | |
| 2 | + * Italian translation | |
| 3 | + * By eric_void | |
| 4 | + * 04-10-2007, 11:25 AM | |
| 5 | + * Updated by Federico Grilli 21/12/2007 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} righe selezionate"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Chiudi pannello"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Valore non valido"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Caricamento in corso..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Gennaio", | |
| 32 | + "Febbraio", | |
| 33 | + "Marzo", | |
| 34 | + "Aprile", | |
| 35 | + "Maggio", | |
| 36 | + "Giugno", | |
| 37 | + "Luglio", | |
| 38 | + "Agosto", | |
| 39 | + "Settembre", | |
| 40 | + "Ottobre", | |
| 41 | + "Novembre", | |
| 42 | + "Dicembre" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.getShortMonthName = function(month) { | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + Jan : 0, | |
| 51 | + Feb : 1, | |
| 52 | + Mar : 2, | |
| 53 | + Apr : 3, | |
| 54 | + May : 4, | |
| 55 | + Jun : 5, | |
| 56 | + Jul : 6, | |
| 57 | + Aug : 7, | |
| 58 | + Sep : 8, | |
| 59 | + Oct : 9, | |
| 60 | + Nov : 10, | |
| 61 | + Dec : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.dayNames = [ | |
| 69 | + "Domenica", | |
| 70 | + "Luned\u00EC", | |
| 71 | + "Marted\u00EC", | |
| 72 | + "Mercoled\u00EC", | |
| 73 | + "Gioved\u00EC", | |
| 74 | + "Venerd\u00EC", | |
| 75 | + "Sabato" | |
| 76 | +]; | |
| 77 | + | |
| 78 | +Date.getShortDayName = function(day) { | |
| 79 | + return Date.dayNames[day].substring(0, 3); | |
| 80 | +}; | |
| 81 | + | |
| 82 | +if(Ext.MessageBox){ | |
| 83 | + Ext.MessageBox.buttonText = { | |
| 84 | + ok : "OK", | |
| 85 | + cancel : "Annulla", | |
| 86 | + yes : "S\u00EC", | |
| 87 | + no : "No" | |
| 88 | + }; | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.util.Format){ | |
| 92 | + Ext.util.Format.date = function(v, format){ | |
| 93 | + if(!v) return ""; | |
| 94 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 95 | + return v.dateFormat(format || "d/m/Y"); | |
| 96 | + }; | |
| 97 | +} | |
| 98 | + | |
| 99 | +if(Ext.DatePicker){ | |
| 100 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 101 | + todayText : "Oggi", | |
| 102 | + minText : "Data precedente alla data minima", | |
| 103 | + maxText : "Data successiva alla data massima", | |
| 104 | + disabledDaysText : "", | |
| 105 | + disabledDatesText : "", | |
| 106 | + monthNames : Date.monthNames, | |
| 107 | + dayNames : Date.dayNames, | |
| 108 | + nextText : 'Mese successivo (Ctrl+Destra)', | |
| 109 | + prevText : 'Mese precedente (Ctrl+Sinistra)', | |
| 110 | + monthYearText : 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)', | |
| 111 | + todayTip : "{0} (Barra spaziatrice)", | |
| 112 | + format : "d/m/y", | |
| 113 | + cancelText : "Annulla", | |
| 114 | + okText : " OK ", | |
| 115 | + startDay : 1 | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.PagingToolbar){ | |
| 120 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 121 | + beforePageText : "Pagina", | |
| 122 | + afterPageText : "di {0}", | |
| 123 | + firstText : "Prima pagina", | |
| 124 | + prevText : "Pagina precedente", | |
| 125 | + nextText : "Pagina successiva", | |
| 126 | + lastText : "Ultima pagina", | |
| 127 | + refreshText : "Aggiorna", | |
| 128 | + displayMsg : "Record {0} - {1} di {2}", | |
| 129 | + emptyMsg : 'Nessun dato da mostrare' | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.TextField){ | |
| 134 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 135 | + minLengthText : "La lunghezza minima \u00E8 {0}", | |
| 136 | + maxLengthText : "La lunghezza massima \u00E8 {0}", | |
| 137 | + blankText : "Campo obbligatorio", | |
| 138 | + regexText : "", | |
| 139 | + emptyText : null | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.NumberField){ | |
| 144 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 145 | + minText : "Il valore minimo \u00E8 {0}", | |
| 146 | + maxText : "Il valore massimo \u00E8 {0}", | |
| 147 | + nanText : "{0} non \u00E8 un valore numerico corretto" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.DateField){ | |
| 152 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 153 | + disabledDaysText : "Disabilitato", | |
| 154 | + disabledDatesText : "Disabilitato", | |
| 155 | + minText : "La data deve essere successiva al {0}", | |
| 156 | + maxText : "La data deve essere precedente al {0}", | |
| 157 | + invalidText : "{0} non \u00E8 una data valida. Deve essere nel formato {1}", | |
| 158 | + format : "d/m/y", | |
| 159 | + altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.form.ComboBox){ | |
| 164 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 165 | + loadingText : "Caricamento in corso...", | |
| 166 | + valueNotFoundText : undefined | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.form.VTypes){ | |
| 171 | + Ext.apply(Ext.form.VTypes, { | |
| 172 | + emailText : 'Il campo deve essere un indirizzo e-mail nel formato "user@domain.com"', | |
| 173 | + urlText : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.domain.com"', | |
| 174 | + alphaText : 'Il campo deve contenere solo lettere e _', | |
| 175 | + alphanumText : 'Il campo deve contenere solo lettere, numeri e _' | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.HtmlEditor){ | |
| 180 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 181 | + createLinkText : 'Inserire un URL per il link:', | |
| 182 | + buttonTips : { | |
| 183 | + bold : { | |
| 184 | + title: 'Grassetto (Ctrl+B)', | |
| 185 | + text: 'Rende il testo selezionato in grassetto.', | |
| 186 | + cls: 'x-html-editor-tip' | |
| 187 | + }, | |
| 188 | + italic : { | |
| 189 | + title: 'Corsivo (Ctrl+I)', | |
| 190 | + text: 'Rende il testo selezionato in corsivo.', | |
| 191 | + cls: 'x-html-editor-tip' | |
| 192 | + }, | |
| 193 | + underline : { | |
| 194 | + title: 'Sottolinea (Ctrl+U)', | |
| 195 | + text: 'Sottolinea il testo selezionato.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + increasefontsize : { | |
| 199 | + title: 'Ingrandisci testo', | |
| 200 | + text: 'Aumenta la dimensione del carattere.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + decreasefontsize : { | |
| 204 | + title: 'Rimpicciolisci testo', | |
| 205 | + text: 'Diminuisce la dimensione del carattere.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + backcolor : { | |
| 209 | + title: 'Colore evidenziatore testo', | |
| 210 | + text: 'Modifica il colore di sfondo del testo selezionato.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + forecolor : { | |
| 214 | + title: 'Colore carattere', | |
| 215 | + text: 'Modifica il colore del testo selezionato.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + justifyleft : { | |
| 219 | + title: 'Allinea a sinistra', | |
| 220 | + text: 'Allinea il testo a sinistra.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + justifycenter : { | |
| 224 | + title: 'Centra', | |
| 225 | + text: 'Centra il testo.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyright : { | |
| 229 | + title: 'Allinea a destra', | |
| 230 | + text: 'Allinea il testo a destra.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + insertunorderedlist : { | |
| 234 | + title: 'Elenco puntato', | |
| 235 | + text: 'Elenco puntato.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + insertorderedlist : { | |
| 239 | + title: 'Elenco numerato', | |
| 240 | + text: 'Elenco numerato.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + createlink : { | |
| 244 | + title: 'Collegamento', | |
| 245 | + text: 'Trasforma il testo selezionato in un collegamanto.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + sourceedit : { | |
| 249 | + title: 'Sorgente', | |
| 250 | + text: 'Passa alla modalit\u00E0 editing del sorgente.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + } | |
| 253 | + } | |
| 254 | + }); | |
| 255 | +} | |
| 256 | + | |
| 257 | +if(Ext.grid.GridView){ | |
| 258 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 259 | + sortAscText : "Ordinamento crescente", | |
| 260 | + sortDescText : "Ordinamento decrescente", | |
| 261 | + lockText : "Blocca colonna", | |
| 262 | + unlockText : "Sblocca colonna", | |
| 263 | + columnsText : "Colonne" | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.grid.GroupingView){ | |
| 268 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 269 | + emptyGroupText : '(Nessun dato)', | |
| 270 | + groupByText : 'Raggruppa per questo campo', | |
| 271 | + showGroupsText : 'Mostra nei gruppi' | |
| 272 | + }); | |
| 273 | +} | |
| 274 | + | |
| 275 | +if(Ext.grid.PropertyColumnModel){ | |
| 276 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 277 | + nameText : "Nome", | |
| 278 | + valueText : "Valore", | |
| 279 | + dateFormat : "j/m/Y" | |
| 280 | + }); | |
| 281 | +} | |
| 282 | + | |
| 283 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 284 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 285 | + splitTip : "Trascina per cambiare dimensioni.", | |
| 286 | + collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere." | |
| 287 | + }); | |
| 288 | +} | |
| 289 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ja.js
0 → 100644
| 1 | +/* | |
| 2 | + * Japanese translation | |
| 3 | + * By tyama | |
| 4 | + * 04-08-2007, 05:49 AM | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} 行選択"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "このタブを閉じる"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "フィールドの値が不正です。"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "読み込み中..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月','11月','12月']; | |
| 30 | + | |
| 31 | +Date.dayNames = [ | |
| 32 | + "日", | |
| 33 | + "月", | |
| 34 | + "火", | |
| 35 | + "水", | |
| 36 | + "木", | |
| 37 | + "金", | |
| 38 | + "土"]; | |
| 39 | + | |
| 40 | +if(Ext.MessageBox){ | |
| 41 | + Ext.MessageBox.buttonText = { | |
| 42 | + ok : "OK", | |
| 43 | + cancel : "キャンセル", | |
| 44 | + yes : "はい", | |
| 45 | + no : "いいえ" | |
| 46 | + }; | |
| 47 | +} | |
| 48 | + | |
| 49 | +if(Ext.util.Format){ | |
| 50 | + Ext.util.Format.date = function(v, format){ | |
| 51 | + if(!v) return ""; | |
| 52 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 53 | + return v.dateFormat(format || "Y/m/d"); | |
| 54 | + }; | |
| 55 | +} | |
| 56 | + | |
| 57 | +if(Ext.DatePicker){ | |
| 58 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 59 | + todayText : "今日", | |
| 60 | + minText : "選択した日付は最小値以下です。", | |
| 61 | + maxText : "選択した日付は最大値以上です。", | |
| 62 | + disabledDaysText : "", | |
| 63 | + disabledDatesText : "", | |
| 64 | + monthNames : Date.monthNames, | |
| 65 | + dayNames : Date.dayNames, | |
| 66 | + nextText : '次月へ (コントロール+右)', | |
| 67 | + prevText : '前月へ (コントロール+左)', | |
| 68 | + monthYearText : '月選択 (コントロール+上/下で年移動)', | |
| 69 | + todayTip : "{0} (スペースキー)", | |
| 70 | + format : "Y/m/d" | |
| 71 | + }); | |
| 72 | +} | |
| 73 | + | |
| 74 | +if(Ext.PagingToolbar){ | |
| 75 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 76 | + beforePageText : "ページ", | |
| 77 | + afterPageText : "/ {0}", | |
| 78 | + firstText : "最初のページ", | |
| 79 | + prevText : "前のページ", | |
| 80 | + nextText : "次のページ", | |
| 81 | + lastText : "最後のページ", | |
| 82 | + refreshText : "更新", | |
| 83 | + displayMsg : "{2} 件中 {0} - {1} を表示", | |
| 84 | + emptyMsg : '表示するデータがありません。' | |
| 85 | + }); | |
| 86 | +} | |
| 87 | + | |
| 88 | +if(Ext.form.TextField){ | |
| 89 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 90 | + minLengthText : "このフィールドの最小値は {0} です。", | |
| 91 | + maxLengthText : "このフィールドの最大値は {0} です。", | |
| 92 | + blankText : "必須項目です。", | |
| 93 | + regexText : "", | |
| 94 | + emptyText : null | |
| 95 | + }); | |
| 96 | +} | |
| 97 | + | |
| 98 | +if(Ext.form.NumberField){ | |
| 99 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 100 | + minText : "このフィールドの最小値は {0} です。", | |
| 101 | + maxText : "このフィールドの最大値は {0} です。", | |
| 102 | + nanText : "{0} は数値ではありません。" | |
| 103 | + }); | |
| 104 | +} | |
| 105 | + | |
| 106 | +if(Ext.form.DateField){ | |
| 107 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 108 | + disabledDaysText : "無効", | |
| 109 | + disabledDatesText : "無効", | |
| 110 | + minText : "このフィールドの日付は、 {0} 以降の日付に設定してください。", | |
| 111 | + maxText : "このフィールドの日付は、 {0} 以前の日付に設定してください。", | |
| 112 | + invalidText : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。", | |
| 113 | + format : "Y/m/d" | |
| 114 | + }); | |
| 115 | +} | |
| 116 | + | |
| 117 | +if(Ext.form.ComboBox){ | |
| 118 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 119 | + loadingText : "読み込み中...", | |
| 120 | + valueNotFoundText : undefined | |
| 121 | + }); | |
| 122 | +} | |
| 123 | + | |
| 124 | +if(Ext.form.VTypes){ | |
| 125 | + Ext.apply(Ext.form.VTypes, { | |
| 126 | + emailText : 'メールアドレスを"user@domain.com"の形式で入力してください。', | |
| 127 | + urlText : 'URLを"http:/'+'/www.domain.com"の形式で入力してください。', | |
| 128 | + alphaText : '半角英字と"_"のみです。', | |
| 129 | + alphanumText : '半角英数と"_"のみです。' | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.grid.GridView){ | |
| 134 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 135 | + sortAscText : "昇順", | |
| 136 | + sortDescText : "降順", | |
| 137 | + lockText : "カラムロック", | |
| 138 | + unlockText : "カラムロック解除", | |
| 139 | + columnsText : "Columns" | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.grid.PropertyColumnModel){ | |
| 144 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 145 | + nameText : "名称", | |
| 146 | + valueText : "値", | |
| 147 | + dateFormat : "Y/m/d" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 152 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 153 | + splitTip : "ドラッグするとリサイズできます。", | |
| 154 | + collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。" | |
| 155 | + }); | |
| 156 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ko.js
0 → 100644
| 1 | +/** | |
| 2 | + * Korean Translations By nicetip | |
| 3 | + * 05 September 2007 | |
| 4 | + * Modify by techbug / 25 February 2008 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">로딩중...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} 개가 선택되었습니다."; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "닫기"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "올바른 값이 아닙니다."; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "로딩중..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "1월", | |
| 31 | + "2월", | |
| 32 | + "3월", | |
| 33 | + "4월", | |
| 34 | + "5월", | |
| 35 | + "6월", | |
| 36 | + "7월", | |
| 37 | + "8월", | |
| 38 | + "9월", | |
| 39 | + "10월", | |
| 40 | + "11월", | |
| 41 | + "12월" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "일", | |
| 46 | + "월", | |
| 47 | + "화", | |
| 48 | + "수", | |
| 49 | + "목", | |
| 50 | + "금", | |
| 51 | + "토" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "확인", | |
| 57 | + cancel : "취소", | |
| 58 | + yes : "예", | |
| 59 | + no : "아니오" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "m/d/Y"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "오늘", | |
| 74 | + minText : "최소 날짜범위를 넘었습니다.", | |
| 75 | + maxText : "최대 날짜범위를 넘었습니다.", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : '다음달(컨트롤키+오른쪽 화살표)', | |
| 81 | + prevText : '이전달 (컨트롤키+왼족 화살표)', | |
| 82 | + monthYearText : '월을 선택해주세요. (컨트롤키+위/아래 화살표)', | |
| 83 | + todayTip : "{0} (스페이스바)", | |
| 84 | + format : "m/d/y", | |
| 85 | + okText : "확인", | |
| 86 | + cancelText : "취소", | |
| 87 | + startDay : 0 | |
| 88 | + }); | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.PagingToolbar){ | |
| 92 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 93 | + beforePageText : "페이지", | |
| 94 | + afterPageText : "/ {0}", | |
| 95 | + firstText : "첫 페이지", | |
| 96 | + prevText : "이전 페이지", | |
| 97 | + nextText : "다음 페이지", | |
| 98 | + lastText : "마지막 페이지", | |
| 99 | + refreshText : "새로고침", | |
| 100 | + displayMsg : "전체 {2} 중 {0} - {1}", | |
| 101 | + emptyMsg : '표시할 데이터가 없습니다.' | |
| 102 | + }); | |
| 103 | +} | |
| 104 | + | |
| 105 | +if(Ext.form.TextField){ | |
| 106 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 107 | + minLengthText : "최소길이는 {0}입니다.", | |
| 108 | + maxLengthText : "최대길이는 {0}입니다.", | |
| 109 | + blankText : "값을 입력해주세요.", | |
| 110 | + regexText : "", | |
| 111 | + emptyText : null | |
| 112 | + }); | |
| 113 | +} | |
| 114 | + | |
| 115 | +if(Ext.form.NumberField){ | |
| 116 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 117 | + minText : "최소값은 {0}입니다.", | |
| 118 | + maxText : "최대값은 {0}입니다.", | |
| 119 | + nanText : "{0}는 올바른 숫자가 아닙니다." | |
| 120 | + }); | |
| 121 | +} | |
| 122 | + | |
| 123 | +if(Ext.form.DateField){ | |
| 124 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 125 | + disabledDaysText : "비활성", | |
| 126 | + disabledDatesText : "비활성", | |
| 127 | + minText : "{0}일 이후여야 합니다.", | |
| 128 | + maxText : "{0}일 이전이어야 합니다.", | |
| 129 | + invalidText : "{0}는 올바른 날짜형식이 아닙니다. - 다음과 같은 형식이어야 합니다. {1}", | |
| 130 | + format : "m/d/y" | |
| 131 | + }); | |
| 132 | +} | |
| 133 | + | |
| 134 | +if(Ext.form.ComboBox){ | |
| 135 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 136 | + loadingText : "로딩중...", | |
| 137 | + valueNotFoundText : undefined | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.VTypes){ | |
| 142 | + Ext.apply(Ext.form.VTypes, { | |
| 143 | + emailText : '이메일 주소 형식에 맞게 입력해야합니다. (예: "user@domain.com")', | |
| 144 | + urlText : 'URL 형식에 맞게 입력해야합니다. (예: "http:/'+'/www.domain.com")', | |
| 145 | + alphaText : '영문, 밑줄(_)만 입력할 수 있습니다.', | |
| 146 | + alphanumText : '영문, 숫자, 밑줄(_)만 입력할 수 있습니다.' | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.HtmlEditor){ | |
| 151 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 152 | + createLinkText : 'URL을 입력해주세요:', | |
| 153 | + buttonTips : { | |
| 154 | + bold : { | |
| 155 | + title: '굵게 (Ctrl+B)', | |
| 156 | + text: '선택한 텍스트를 굵게 표시합니다.', | |
| 157 | + cls: 'x-html-editor-tip' | |
| 158 | + }, | |
| 159 | + italic : { | |
| 160 | + title: '기울임꼴 (Ctrl+I)', | |
| 161 | + text: '선택한 텍스트를 기울임꼴로 표시합니다.', | |
| 162 | + cls: 'x-html-editor-tip' | |
| 163 | + }, | |
| 164 | + underline : { | |
| 165 | + title: '밑줄 (Ctrl+U)', | |
| 166 | + text: '선택한 텍스트에 밑줄을 표시합니다.', | |
| 167 | + cls: 'x-html-editor-tip' | |
| 168 | + }, | |
| 169 | + increasefontsize : { | |
| 170 | + title: '글꼴크기 늘림', | |
| 171 | + text: '글꼴 크기를 크게 합니다.', | |
| 172 | + cls: 'x-html-editor-tip' | |
| 173 | + }, | |
| 174 | + decreasefontsize : { | |
| 175 | + title: '글꼴크기 줄임', | |
| 176 | + text: '글꼴 크기를 작게 합니다.', | |
| 177 | + cls: 'x-html-editor-tip' | |
| 178 | + }, | |
| 179 | + backcolor : { | |
| 180 | + title: '텍스트 강조 색', | |
| 181 | + text: '선택한 텍스트의 배경색을 변경합니다.', | |
| 182 | + cls: 'x-html-editor-tip' | |
| 183 | + }, | |
| 184 | + forecolor : { | |
| 185 | + title: '글꼴색', | |
| 186 | + text: '선택한 텍스트의 색을 변경합니다.', | |
| 187 | + cls: 'x-html-editor-tip' | |
| 188 | + }, | |
| 189 | + justifyleft : { | |
| 190 | + title: '텍스트 왼쪽 맞춤', | |
| 191 | + text: '왼쪽에 텍스트를 맞춥니다.', | |
| 192 | + cls: 'x-html-editor-tip' | |
| 193 | + }, | |
| 194 | + justifycenter : { | |
| 195 | + title: '가운데 맞춤', | |
| 196 | + text: '가운데에 텍스트를 맞춥니다.', | |
| 197 | + cls: 'x-html-editor-tip' | |
| 198 | + }, | |
| 199 | + justifyright : { | |
| 200 | + title: '텍스트 오른쪽 맞춤', | |
| 201 | + text: '오른쪽에 텍스트를 맞춥니다.', | |
| 202 | + cls: 'x-html-editor-tip' | |
| 203 | + }, | |
| 204 | + insertunorderedlist : { | |
| 205 | + title: '글머리 기호', | |
| 206 | + text: '글머리 기호 목록을 시작합니다.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + insertorderedlist : { | |
| 210 | + title: '번호 매기기', | |
| 211 | + text: '번호 매기기 목록을 시작합니다.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + createlink : { | |
| 215 | + title: '하이퍼링크', | |
| 216 | + text: '선택한 텍스트에 하이퍼링크를 만듭니다.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + sourceedit : { | |
| 220 | + title: '소스편집', | |
| 221 | + text: '소스편집 모드로 변환합니다.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + } | |
| 224 | + } | |
| 225 | + }); | |
| 226 | +} | |
| 227 | + | |
| 228 | +if(Ext.grid.GridView){ | |
| 229 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 230 | + sortAscText : "오름차순 정렬", | |
| 231 | + sortDescText : "내림차순 정렬", | |
| 232 | + lockText : "칼럼 잠금", | |
| 233 | + unlockText : "칼럼 잠금해제", | |
| 234 | + columnsText : "칼럼 목록" | |
| 235 | + }); | |
| 236 | +} | |
| 237 | + | |
| 238 | +if(Ext.grid.GroupingView){ | |
| 239 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 240 | + emptyGroupText : '(None)', | |
| 241 | + groupByText : '현재 필드로 그룹핑합니다.', | |
| 242 | + showGroupsText : '그룹으로 보여주기' | |
| 243 | + | |
| 244 | + }); | |
| 245 | +} | |
| 246 | + | |
| 247 | +if(Ext.grid.PropertyColumnModel){ | |
| 248 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 249 | + nameText : "항목", | |
| 250 | + valueText : "값", | |
| 251 | + dateFormat : "m/j/Y" | |
| 252 | + }); | |
| 253 | +} | |
| 254 | + | |
| 255 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 256 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 257 | + splitTip : "크기변경을 위해 드래그하세요.", | |
| 258 | + collapsibleSplitTip : "크기변경을 위해 드래그, 숨기기 위해 더블클릭 하세요." | |
| 259 | + }); | |
| 260 | +} | |
| 261 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-lt.js
0 → 100644
| 1 | +/** | |
| 2 | + * Lithuanian Translations (UTF-8) | |
| 3 | + * By Vladas Saulis, October 18, 2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Kraunasi...</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} pažymėta"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Uždaryti šią užsklandą"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "Šio lauko reikšmė neteisinga"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Kraunasi..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "Saulis", | |
| 30 | + "Vasaris", | |
| 31 | + "Kovas", | |
| 32 | + "Balandis", | |
| 33 | + "Gegužė", | |
| 34 | + "Birželis", | |
| 35 | + "Liepa", | |
| 36 | + "Rugpjūtis", | |
| 37 | + "Rugsėjis", | |
| 38 | + "Spalis", | |
| 39 | + "Lapkritis", | |
| 40 | + "Gruodis" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.getShortMonthName = function(month) { | |
| 44 | + return [ | |
| 45 | + "Sau", | |
| 46 | + "Vas", | |
| 47 | + "Kov", | |
| 48 | + "Bal", | |
| 49 | + "Geg", | |
| 50 | + "Bir", | |
| 51 | + "Lie", | |
| 52 | + "Rgp", | |
| 53 | + "Rgs", | |
| 54 | + "Spa", | |
| 55 | + "Lap", | |
| 56 | + "Grd" | |
| 57 | + ]; | |
| 58 | +}; | |
| 59 | + | |
| 60 | +Date.monthNumbers = { | |
| 61 | + Jan : 0, | |
| 62 | + Feb : 1, | |
| 63 | + Mar : 2, | |
| 64 | + Apr : 3, | |
| 65 | + May : 4, | |
| 66 | + Jun : 5, | |
| 67 | + Jul : 6, | |
| 68 | + Aug : 7, | |
| 69 | + Sep : 8, | |
| 70 | + Oct : 9, | |
| 71 | + Nov : 10, | |
| 72 | + Dec : 11 | |
| 73 | +}; | |
| 74 | + | |
| 75 | +Date.getMonthNumber = function(name) { | |
| 76 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 77 | +}; | |
| 78 | + | |
| 79 | +Date.dayNames = [ | |
| 80 | + "Pirmadienis", | |
| 81 | + "Antradienis", | |
| 82 | + "Trečiadienis", | |
| 83 | + "Ketvirtadienis", | |
| 84 | + "Penktadienis", | |
| 85 | + "Šeštadienis", | |
| 86 | + "Sekmadienis" | |
| 87 | +]; | |
| 88 | + | |
| 89 | +Date.getShortDayName = function(day) { | |
| 90 | + return Date.dayNames[day].substring(0, 3); | |
| 91 | +}; | |
| 92 | + | |
| 93 | +if(Ext.MessageBox){ | |
| 94 | + Ext.MessageBox.buttonText = { | |
| 95 | + ok : "Gerai", | |
| 96 | + cancel : "Atsisakyti", | |
| 97 | + yes : "Taip", | |
| 98 | + no : "Ne" | |
| 99 | + }; | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.util.Format){ | |
| 103 | + Ext.util.Format.date = function(v, format){ | |
| 104 | + if(!v) return ""; | |
| 105 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 106 | + return v.dateFormat(format || "Y-m-d"); | |
| 107 | + }; | |
| 108 | +} | |
| 109 | + | |
| 110 | +if(Ext.DatePicker){ | |
| 111 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 112 | + todayText : "Šiandien", | |
| 113 | + minText : "Ši data yra mažesnė už leistiną", | |
| 114 | + maxText : "Ši data yra didesnė už leistiną", | |
| 115 | + disabledDaysText : "", | |
| 116 | + disabledDatesText : "", | |
| 117 | + monthNames : Date.monthNames, | |
| 118 | + dayNames : Date.dayNames, | |
| 119 | + nextText : 'Next Month (Control+Right)', | |
| 120 | + prevText : 'Previous Month (Control+Left)', | |
| 121 | + monthYearText : 'Choose a month (Control+Up/Down perėjimui tarp metų)', | |
| 122 | + todayTip : "{0} (Spacebar)", | |
| 123 | + format : "y-m-d", | |
| 124 | + okText : " Gerai ", | |
| 125 | + cancelText : "Atsisaktyi", | |
| 126 | + startDay : 1 | |
| 127 | + }); | |
| 128 | +} | |
| 129 | + | |
| 130 | +if(Ext.PagingToolbar){ | |
| 131 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 132 | + beforePageText : "Puslapis", | |
| 133 | + afterPageText : "iš {0}", | |
| 134 | + firstText : "Pirmas puslapis", | |
| 135 | + prevText : "Ankstesnis pusl.", | |
| 136 | + nextText : "Kitas puslapis", | |
| 137 | + lastText : "Pakutinis pusl.", | |
| 138 | + refreshText : "Atnaujinti", | |
| 139 | + displayMsg : "Rodomi įrašai {0} - {1} iš {2}", | |
| 140 | + emptyMsg : 'Nėra duomenų' | |
| 141 | + }); | |
| 142 | +} | |
| 143 | + | |
| 144 | +if(Ext.form.TextField){ | |
| 145 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 146 | + minLengthText : "Minimalus šio lauko ilgis yra {0}", | |
| 147 | + maxLengthText : "Maksimalus šio lauko ilgis yra {0}", | |
| 148 | + blankText : "Šis laukas yra reikalingas", | |
| 149 | + regexText : "", | |
| 150 | + emptyText : null | |
| 151 | + }); | |
| 152 | +} | |
| 153 | + | |
| 154 | +if(Ext.form.NumberField){ | |
| 155 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 156 | + minText : "Minimalus šio lauko ilgis yra {0}", | |
| 157 | + maxText : "Maksimalus šio lauko ilgis yra {0}", | |
| 158 | + nanText : "{0} yra neleistina reikšmė" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.DateField){ | |
| 163 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 164 | + disabledDaysText : "Neprieinama", | |
| 165 | + disabledDatesText : "Neprieinama", | |
| 166 | + minText : "Šiame lauke data turi būti didesnė už {0}", | |
| 167 | + maxText : "Šiame lauke data turi būti mažesnėė už {0}", | |
| 168 | + invalidText : "{0} yra neteisinga data - ji turi būti įvesta formatu {1}", | |
| 169 | + format : "y-m-d", | |
| 170 | + altFormats : "y-m-d|y/m/d|Y-m-d|m/d|m-d|md|ymd|Ymd|d|Y-m-d" | |
| 171 | + }); | |
| 172 | +} | |
| 173 | + | |
| 174 | +if(Ext.form.ComboBox){ | |
| 175 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 176 | + loadingText : "Kraunasi...", | |
| 177 | + valueNotFoundText : undefined | |
| 178 | + }); | |
| 179 | +} | |
| 180 | + | |
| 181 | +if(Ext.form.VTypes){ | |
| 182 | + Ext.apply(Ext.form.VTypes, { | |
| 183 | + emailText : 'Šiame lauke turi būti el.pašto adresas formatu "user@domain.com"', | |
| 184 | + urlText : 'Šiame lauke turi būti nuoroda (URL) formatu "http:/'+'/www.domain.com"', | |
| 185 | + alphaText : 'Šiame lauke gali būti tik raidės ir ženklas "_"', | |
| 186 | + alphanumText : 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"' | |
| 187 | + }); | |
| 188 | +} | |
| 189 | + | |
| 190 | +if(Ext.form.HtmlEditor){ | |
| 191 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 192 | + createLinkText : 'Įveskite URL šiai nuorodai:', | |
| 193 | + buttonTips : { | |
| 194 | + bold : { | |
| 195 | + title: 'Bold (Ctrl+B)', | |
| 196 | + text: 'Teksto paryškinimas.', | |
| 197 | + cls: 'x-html-editor-tip' | |
| 198 | + }, | |
| 199 | + italic : { | |
| 200 | + title: 'Italic (Ctrl+I)', | |
| 201 | + text: 'Kursyvinis tekstas.', | |
| 202 | + cls: 'x-html-editor-tip' | |
| 203 | + }, | |
| 204 | + underline : { | |
| 205 | + title: 'Underline (Ctrl+U)', | |
| 206 | + text: 'Teksto pabraukimas.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + increasefontsize : { | |
| 210 | + title: 'Padidinti šriftą', | |
| 211 | + text: 'Padidinti šrifto dydį.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + decreasefontsize : { | |
| 215 | + title: 'Sumažinti šriftą', | |
| 216 | + text: 'Sumažinti šrifto dydį.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + backcolor : { | |
| 220 | + title: 'Nuspalvinti teksto foną', | |
| 221 | + text: 'Pakeisti teksto fono spalvą.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + }, | |
| 224 | + forecolor : { | |
| 225 | + title: 'Teksto spalva', | |
| 226 | + text: 'Pakeisti pažymėto teksto spalvą.', | |
| 227 | + cls: 'x-html-editor-tip' | |
| 228 | + }, | |
| 229 | + justifyleft : { | |
| 230 | + title: 'Išlyginti kairen', | |
| 231 | + text: 'Išlyginti tekstą į kairę.', | |
| 232 | + cls: 'x-html-editor-tip' | |
| 233 | + }, | |
| 234 | + justifycenter : { | |
| 235 | + title: 'Centruoti tekstą', | |
| 236 | + text: 'Centruoti tektą redaktoriaus lange.', | |
| 237 | + cls: 'x-html-editor-tip' | |
| 238 | + }, | |
| 239 | + justifyright : { | |
| 240 | + title: 'Išlyginti dešinėn', | |
| 241 | + text: 'Išlyginti tekstą į dešinę.', | |
| 242 | + cls: 'x-html-editor-tip' | |
| 243 | + }, | |
| 244 | + insertunorderedlist : { | |
| 245 | + title: 'Paprastas sąrašas', | |
| 246 | + text: 'Pradėti neorganizuotą sąrašą.', | |
| 247 | + cls: 'x-html-editor-tip' | |
| 248 | + }, | |
| 249 | + insertorderedlist : { | |
| 250 | + title: 'Numeruotas sąrašas', | |
| 251 | + text: 'Pradėti numeruotą sąrašą.', | |
| 252 | + cls: 'x-html-editor-tip' | |
| 253 | + }, | |
| 254 | + createlink : { | |
| 255 | + title: 'Nuoroda', | |
| 256 | + text: 'Padaryti pažymėta tekstą nuoroda.', | |
| 257 | + cls: 'x-html-editor-tip' | |
| 258 | + }, | |
| 259 | + sourceedit : { | |
| 260 | + title: 'Išeities tekstas', | |
| 261 | + text: 'Persijungti į išeities teksto koregavimo režimą.', | |
| 262 | + cls: 'x-html-editor-tip' | |
| 263 | + } | |
| 264 | + } | |
| 265 | + }); | |
| 266 | +} | |
| 267 | + | |
| 268 | +if(Ext.grid.GridView){ | |
| 269 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 270 | + sortAscText : "Rūšiuoti didėjančia tvarka", | |
| 271 | + sortDescText : "Rūšiuoti mažėjančia tvarka", | |
| 272 | + lockText : "Užfiksuoti stulpelį", | |
| 273 | + unlockText : "Atlaisvinti stulpelį", | |
| 274 | + columnsText : "Stulpeliai" | |
| 275 | + }); | |
| 276 | +} | |
| 277 | + | |
| 278 | +if(Ext.grid.GroupingView){ | |
| 279 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 280 | + emptyGroupText : '(Nėra)', | |
| 281 | + groupByText : 'Grupuoti pagal šį lauką', | |
| 282 | + showGroupsText : 'Rodyti grupėse' | |
| 283 | + }); | |
| 284 | +} | |
| 285 | + | |
| 286 | +if(Ext.grid.PropertyColumnModel){ | |
| 287 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 288 | + nameText : "Pavadinimas", | |
| 289 | + valueText : "Reikšmė", | |
| 290 | + dateFormat : "Y-m-d" | |
| 291 | + }); | |
| 292 | +} | |
| 293 | + | |
| 294 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 295 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 296 | + splitTip : "Patraukite juostelę.", | |
| 297 | + collapsibleSplitTip : "Patraukite juostelę arba Paspauskite dvigubai kad paslėpti." | |
| 298 | + }); | |
| 299 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-lv.js
0 → 100644
| 1 | +/** | |
| 2 | + * Latvian Translations | |
| 3 | + * By salix 17 April 2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Notiek ielāde...</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} iezīmētu rindu"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Aizver šo zīmni"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "Vērtība šajā laukā nav pareiza"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Ielādē..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "Janvāris", | |
| 30 | + "Februāris", | |
| 31 | + "Marts", | |
| 32 | + "Aprīlis", | |
| 33 | + "Maijs", | |
| 34 | + "Jūnijs", | |
| 35 | + "Jūlijs", | |
| 36 | + "Augusts", | |
| 37 | + "Septembris", | |
| 38 | + "Oktobris", | |
| 39 | + "Novembris", | |
| 40 | + "Decembris" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.dayNames = [ | |
| 44 | + "Svētdiena", | |
| 45 | + "Pirmdiena", | |
| 46 | + "Otrdiena", | |
| 47 | + "Trešdiena", | |
| 48 | + "Ceturtdiena", | |
| 49 | + "Piektdiena", | |
| 50 | + "Sestdiena" | |
| 51 | +]; | |
| 52 | + | |
| 53 | +if(Ext.MessageBox){ | |
| 54 | + Ext.MessageBox.buttonText = { | |
| 55 | + ok : "Labi", | |
| 56 | + cancel : "Atcelt", | |
| 57 | + yes : "Jā", | |
| 58 | + no : "Nē" | |
| 59 | + }; | |
| 60 | +} | |
| 61 | + | |
| 62 | +if(Ext.util.Format){ | |
| 63 | + Ext.util.Format.date = function(v, format){ | |
| 64 | + if(!v) return ""; | |
| 65 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 66 | + return v.dateFormat(format || "d.m.Y"); | |
| 67 | + }; | |
| 68 | +} | |
| 69 | + | |
| 70 | +if(Ext.DatePicker){ | |
| 71 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 72 | + todayText : "Šodiena", | |
| 73 | + minText : "Norādītais datums ir mazāks par minimālo datumu", | |
| 74 | + maxText : "Norādītais datums ir lielāks par maksimālo datumu", | |
| 75 | + disabledDaysText : "", | |
| 76 | + disabledDatesText : "", | |
| 77 | + monthNames : Date.monthNames, | |
| 78 | + dayNames : Date.dayNames, | |
| 79 | + nextText : 'Nākamais mēnesis (Control+pa labi)', | |
| 80 | + prevText : 'Iepriekšējais mēnesis (Control+pa kreisi)', | |
| 81 | + monthYearText : 'Mēneša izvēle (Control+uz augšu/uz leju lai pārslēgtu gadus)', | |
| 82 | + todayTip : "{0} (Tukšumzīme)", | |
| 83 | + format : "d.m.Y", | |
| 84 | + startDay : 1 | |
| 85 | + }); | |
| 86 | +} | |
| 87 | + | |
| 88 | +if(Ext.PagingToolbar){ | |
| 89 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 90 | + beforePageText : "Lapa", | |
| 91 | + afterPageText : "no {0}", | |
| 92 | + firstText : "Pirmā lapa", | |
| 93 | + prevText : "iepriekšējā lapa", | |
| 94 | + nextText : "Nākamā lapa", | |
| 95 | + lastText : "Pēdējā lapa", | |
| 96 | + refreshText : "Atsvaidzināt", | |
| 97 | + displayMsg : "Rāda no {0} līdz {1} ierakstiem, kopā {2}", | |
| 98 | + emptyMsg : 'Nav datu, ko parādīt' | |
| 99 | + }); | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.form.TextField){ | |
| 103 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 104 | + minLengthText : "Minimālais garums šim laukam ir {0}", | |
| 105 | + maxLengthText : "Maksimālais garums šim laukam ir {0}", | |
| 106 | + blankText : "Šis ir obligāts lauks", | |
| 107 | + regexText : "", | |
| 108 | + emptyText : null | |
| 109 | + }); | |
| 110 | +} | |
| 111 | + | |
| 112 | +if(Ext.form.NumberField){ | |
| 113 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 114 | + minText : "Minimālais garums šim laukam ir {0}", | |
| 115 | + maxText : "Maksimālais garums šim laukam ir {0}", | |
| 116 | + nanText : "{0} nav pareizs skaitlis" | |
| 117 | + }); | |
| 118 | +} | |
| 119 | + | |
| 120 | +if(Ext.form.DateField){ | |
| 121 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 122 | + disabledDaysText : "Atspējots", | |
| 123 | + disabledDatesText : "Atspējots", | |
| 124 | + minText : "Datumam šajā laukā jābūt lielākam kā {0}", | |
| 125 | + maxText : "Datumam šajā laukā jābūt mazākam kā {0}", | |
| 126 | + invalidText : "{0} nav pareizs datums - tam jābūt šādā formātā: {1}", | |
| 127 | + format : "d.m.Y" | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.ComboBox){ | |
| 132 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 133 | + loadingText : "Ielādē...", | |
| 134 | + valueNotFoundText : undefined | |
| 135 | + }); | |
| 136 | +} | |
| 137 | + | |
| 138 | +if(Ext.form.VTypes){ | |
| 139 | + Ext.apply(Ext.form.VTypes, { | |
| 140 | + emailText : 'Šajā laukā jāieraksta e-pasta adrese formātā "lietotās@domēns.lv"', | |
| 141 | + urlText : 'Šajā laukā jāieraksta URL formātā "http:/'+'/www.domēns.lv"', | |
| 142 | + alphaText : 'Šis lauks drīkst saturēt tikai burtus un _ zīmi', | |
| 143 | + alphanumText : 'Šis lauks drīkst saturēt tikai burtus, ciparus un _ zīmi' | |
| 144 | + }); | |
| 145 | +} | |
| 146 | + | |
| 147 | +if(Ext.grid.GridView){ | |
| 148 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 149 | + sortAscText : "Kārtot pieaugošā secībā", | |
| 150 | + sortDescText : "Kārtot dilstošā secībā", | |
| 151 | + lockText : "Noslēgt kolonnu", | |
| 152 | + unlockText : "Atslēgt kolonnu", | |
| 153 | + columnsText : "Kolonnas" | |
| 154 | + }); | |
| 155 | +} | |
| 156 | + | |
| 157 | +if(Ext.grid.PropertyColumnModel){ | |
| 158 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 159 | + nameText : "Nosaukums", | |
| 160 | + valueText : "Vērtība", | |
| 161 | + dateFormat : "j.m.Y" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 166 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 167 | + splitTip : "Velc, lai mainītu izmēru.", | |
| 168 | + collapsibleSplitTip : "Velc, lai mainītu izmēru. Dubultklikšķis noslēpj apgabalu." | |
| 169 | + }); | |
| 170 | +} | |
| 0 | 171 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-mk.js
0 → 100644
| 1 | +/* | |
| 2 | + * Macedonia translation | |
| 3 | + * By PetarD petar.dimitrijevic@vorteksed.com.mk (utf8 encoding) | |
| 4 | + * 23 April 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Вчитувам...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} избрани редици"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Затвори tab"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "Вредноста во ова поле е невалидна"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "Вчитувам..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Јануари", | |
| 31 | + "Февруари", | |
| 32 | + "Март", | |
| 33 | + "Април", | |
| 34 | + "Мај", | |
| 35 | + "Јуни", | |
| 36 | + "Јули", | |
| 37 | + "Август", | |
| 38 | + "Септември", | |
| 39 | + "Октомври", | |
| 40 | + "Ноември", | |
| 41 | + "Декември" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "Недела", | |
| 46 | + "Понеделник", | |
| 47 | + "Вторник", | |
| 48 | + "Среда", | |
| 49 | + "Четврток", | |
| 50 | + "Петок", | |
| 51 | + "Сабота" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "Потврди", | |
| 57 | + cancel : "Поништи", | |
| 58 | + yes : "Да", | |
| 59 | + no : "Не" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "d.m.y"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "Денеска", | |
| 74 | + minText : "Овој датум е пред најмалиот датум", | |
| 75 | + maxText : "Овој датум е пред најголемиот датум", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : 'Следен месец (Control+Стрелка десно)', | |
| 81 | + prevText : 'Претходен месец (Control+Стрелка лево)', | |
| 82 | + monthYearText : 'Изберете месец (Control+Стрелка горе/Стрелка десно за менување година)', | |
| 83 | + todayTip : "{0} (Spacebar)", | |
| 84 | + format : "d.m.y" | |
| 85 | + }); | |
| 86 | +} | |
| 87 | + | |
| 88 | +if(Ext.PagingToolbar){ | |
| 89 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 90 | + beforePageText : "Страница", | |
| 91 | + afterPageText : "од {0}", | |
| 92 | + firstText : "Прва Страница", | |
| 93 | + prevText : "Претходна Страница", | |
| 94 | + nextText : "Следна Страница", | |
| 95 | + lastText : "Последна Страница", | |
| 96 | + refreshText : "Освежи", | |
| 97 | + displayMsg : "Прикажувам {0} - {1} од {2}", | |
| 98 | + emptyMsg : 'Нема податоци за приказ' | |
| 99 | + }); | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.form.TextField){ | |
| 103 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 104 | + minLengthText : "Минималната должина за ова поле е {0}", | |
| 105 | + maxLengthText : "Максималната должина за ова поле е {0}", | |
| 106 | + blankText : "Податоците во ова поле се потребни", | |
| 107 | + regexText : "", | |
| 108 | + emptyText : null | |
| 109 | + }); | |
| 110 | +} | |
| 111 | + | |
| 112 | +if(Ext.form.NumberField){ | |
| 113 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 114 | + minText : "Минималната вредност за ова поле е {0}", | |
| 115 | + maxText : "Максималната вредност за ова поле е {0}", | |
| 116 | + nanText : "{0} не е валиден број" | |
| 117 | + }); | |
| 118 | +} | |
| 119 | + | |
| 120 | +if(Ext.form.DateField){ | |
| 121 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 122 | + disabledDaysText : "Неактивно", | |
| 123 | + disabledDatesText : "Неактивно", | |
| 124 | + minText : "Датумот во ова поле мора да биде пред {0}", | |
| 125 | + maxText : "Датумот во ова поле мора да биде по {0}", | |
| 126 | + invalidText : "{0} не е валиден датум - мора да биде во формат {1}", | |
| 127 | + format : "d.m.y" | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.ComboBox){ | |
| 132 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 133 | + loadingText : "Вчитувам...", | |
| 134 | + valueNotFoundText : undefined | |
| 135 | + }); | |
| 136 | +} | |
| 137 | + | |
| 138 | +if(Ext.form.VTypes){ | |
| 139 | + Ext.apply(Ext.form.VTypes, { | |
| 140 | + emailText : 'Ова поле треба да биде e-mail адреса во формат "user@domain.com"', | |
| 141 | + urlText : 'Ова поле треба да биде URL во формат "http:/'+'/www.domain.com"', | |
| 142 | + alphaText : 'Ова поле треба да содржи само букви и _', | |
| 143 | + alphanumText : 'Ова поле треба да содржи само букви, бројки и _' | |
| 144 | + }); | |
| 145 | +} | |
| 146 | + | |
| 147 | +if(Ext.grid.GridView){ | |
| 148 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 149 | + sortAscText : "Сортирај Растечки", | |
| 150 | + sortDescText : "Сортирај Опаѓачки", | |
| 151 | + lockText : "Заклучи Колона", | |
| 152 | + unlockText : "Отклучи колона", | |
| 153 | + columnsText : "Колони" | |
| 154 | + }); | |
| 155 | +} | |
| 156 | + | |
| 157 | +if(Ext.grid.PropertyColumnModel){ | |
| 158 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 159 | + nameText : "Име", | |
| 160 | + valueText : "Вредност", | |
| 161 | + dateFormat : "m.d.Y" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 166 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 167 | + splitTip : "Повлечете за менување на големината.", | |
| 168 | + collapsibleSplitTip : "Повлечете за менување на големината. Дупли клик за криење." | |
| 169 | + }); | |
| 170 | +} | |
| 0 | 171 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-nl.js
0 → 100644
| 1 | +/* | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + * | |
| 5 | + * Dutch Translations | |
| 6 | + * by Ido Sebastiaan Bas van Oostveen (12 Oct 2007) | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Bezig met laden...</div>'; | |
| 10 | + | |
| 11 | +if(Ext.View){ | |
| 12 | + Ext.View.prototype.emptyText = ''; | |
| 13 | +} | |
| 14 | + | |
| 15 | +if(Ext.grid.GridPanel){ | |
| 16 | + Ext.grid.GridPanel.prototype.ddText = '{0} geselecteerde rij(en)'; | |
| 17 | +} | |
| 18 | + | |
| 19 | +if(Ext.TabPanelItem){ | |
| 20 | + Ext.TabPanelItem.prototype.closeText = 'Sluit dit tabblad'; | |
| 21 | +} | |
| 22 | + | |
| 23 | +if(Ext.LoadMask){ | |
| 24 | + Ext.LoadMask.prototype.msg = 'Bezig met laden...'; | |
| 25 | +} | |
| 26 | + | |
| 27 | +Date.monthNames = [ | |
| 28 | + 'januari', | |
| 29 | + 'februari', | |
| 30 | + 'maart', | |
| 31 | + 'april', | |
| 32 | + 'mei', | |
| 33 | + 'juni', | |
| 34 | + 'juli', | |
| 35 | + 'augustus', | |
| 36 | + 'september', | |
| 37 | + 'oktober', | |
| 38 | + 'november', | |
| 39 | + 'december' | |
| 40 | +]; | |
| 41 | + | |
| 42 | +Date.getShortMonthName = function(month) { | |
| 43 | + if (month == 2) { | |
| 44 | + return 'mrt'; | |
| 45 | + } | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + jan: 0, | |
| 51 | + feb: 1, | |
| 52 | + maa: 2, | |
| 53 | + apr: 3, | |
| 54 | + mei: 4, | |
| 55 | + jun: 5, | |
| 56 | + jul: 6, | |
| 57 | + aug: 7, | |
| 58 | + sep: 8, | |
| 59 | + okt: 9, | |
| 60 | + nov: 10, | |
| 61 | + dec: 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + var sname = name.substring(0, 3).toLowerCase(); | |
| 66 | + if (sname == 'mrt') { | |
| 67 | + return 2; | |
| 68 | + } | |
| 69 | + return Date.monthNumbers[sname]; | |
| 70 | +}; | |
| 71 | + | |
| 72 | +Date.dayNames = [ | |
| 73 | + 'zondag', | |
| 74 | + 'maandag', | |
| 75 | + 'dinsdag', | |
| 76 | + 'woensdag', | |
| 77 | + 'donderdag', | |
| 78 | + 'vrijdag', | |
| 79 | + 'zaterdag' | |
| 80 | +]; | |
| 81 | + | |
| 82 | +Date.getShortDayName = function(day) { | |
| 83 | + return Date.dayNames[day].substring(0, 3); | |
| 84 | +}; | |
| 85 | + | |
| 86 | +if(Ext.MessageBox){ | |
| 87 | + Ext.MessageBox.buttonText = { | |
| 88 | + ok: 'OK', | |
| 89 | + cancel: 'Annuleren', | |
| 90 | + yes: 'Ja', | |
| 91 | + no: 'Nee' | |
| 92 | + }; | |
| 93 | +} | |
| 94 | + | |
| 95 | +if(Ext.util.Format){ | |
| 96 | + Ext.util.Format.date = function(v, format){ | |
| 97 | + if (!v) return ''; | |
| 98 | + if (!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 99 | + return v.dateFormat(format || 'j-m-y'); | |
| 100 | + }; | |
| 101 | +} | |
| 102 | + | |
| 103 | +if(Ext.DatePicker){ | |
| 104 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 105 | + todayText: 'Vandaag', | |
| 106 | + minText: 'Deze datum is eerder dan de minimale datum', | |
| 107 | + maxText: 'Deze datum is later dan de maximale datum', | |
| 108 | + disabledDaysText: '', | |
| 109 | + disabledDatesText: '', | |
| 110 | + monthNames: Date.monthNames, | |
| 111 | + dayNames: Date.dayNames, | |
| 112 | + nextText: 'Volgende maand (Ctrl+rechts)', | |
| 113 | + prevText: 'Vorige maand (Ctrl+links)', | |
| 114 | + monthYearText: 'Kies een maand (Ctrl+omhoog/omlaag volgend/vorig jaar)', | |
| 115 | + todayTip: '{0} (spatie)', | |
| 116 | + format: 'j-m-y', | |
| 117 | + okText: ' OK ', | |
| 118 | + cancelText: 'Annuleren', | |
| 119 | + startDay: 1 | |
| 120 | + }); | |
| 121 | +} | |
| 122 | + | |
| 123 | +if(Ext.PagingToolbar){ | |
| 124 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 125 | + beforePageText: 'Pagina', | |
| 126 | + afterPageText: 'van {0}', | |
| 127 | + firstText: 'Eerste pagina', | |
| 128 | + prevText: 'Vorige pagina', | |
| 129 | + nextText: 'Volgende pagina', | |
| 130 | + lastText: 'Laatste pagina', | |
| 131 | + refreshText: 'Ververs', | |
| 132 | + displayMsg: 'Getoond {0} - {1} van {2}', | |
| 133 | + emptyMsg: 'Geen gegevens om weer te geven' | |
| 134 | + }); | |
| 135 | +} | |
| 136 | + | |
| 137 | +if(Ext.form.Field){ | |
| 138 | + Ext.form.Field.prototype.invalidText = 'De waarde van dit veld is ongeldig'; | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.TextField){ | |
| 142 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 143 | + minLengthText: 'De minimale lengte van dit veld is {0}', | |
| 144 | + maxLengthText: 'De maximale lengte van dit veld is {0}', | |
| 145 | + blankText: 'Dit veld is verplicht', | |
| 146 | + regexText: '', | |
| 147 | + emptyText: null | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.NumberField){ | |
| 152 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 153 | + minText: 'De minimale waarde van dit veld is {0}', | |
| 154 | + maxText: 'De maximale waarde van dit veld is {0}', | |
| 155 | + nanText: '{0} is geen geldig getal' | |
| 156 | + }); | |
| 157 | +} | |
| 158 | + | |
| 159 | +if(Ext.form.DateField){ | |
| 160 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 161 | + disabledDaysText: 'Uitgeschakeld', | |
| 162 | + disabledDatesText: 'Uitgeschakeld', | |
| 163 | + minText: 'De datum in dit veld moet na {0} liggen', | |
| 164 | + maxText: 'De datum in dit veld moet voor {0} liggen', | |
| 165 | + invalidText: '{0} is geen geldige datum - formaat voor datum is {1}', | |
| 166 | + format: 'j-m-y', | |
| 167 | + altFormats: 'd/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d' | |
| 168 | + }); | |
| 169 | +} | |
| 170 | + | |
| 171 | +if(Ext.form.ComboBox){ | |
| 172 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 173 | + loadingText: 'Bezig met laden...', | |
| 174 | + valueNotFoundText: undefined | |
| 175 | + }); | |
| 176 | +} | |
| 177 | + | |
| 178 | +if(Ext.form.VTypes){ | |
| 179 | + Ext.apply(Ext.form.VTypes, { | |
| 180 | + emailText: 'Dit veld moet een e-mail adres bevatten in het formaat "gebruiker@domein.nl"', | |
| 181 | + urlText: 'Dit veld moet een URL bevatten in het formaat "http:/'+'/www.domein.nl"', | |
| 182 | + alphaText: 'Dit veld mag alleen letters en _ bevatten', | |
| 183 | + alphanumText: 'Dit veld mag alleen letters, cijfers en _ bevatten' | |
| 184 | + }); | |
| 185 | +} | |
| 186 | + | |
| 187 | +if(Ext.form.HtmlEditor){ | |
| 188 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 189 | + createLinkText: 'Vul hier de URL voor de hyperlink in:', | |
| 190 | + buttonTips: { | |
| 191 | + bold: { | |
| 192 | + title: 'Vet (Ctrl+B)', | |
| 193 | + text: 'Maak de geselecteerde tekst vet.', | |
| 194 | + cls: 'x-html-editor-tip' | |
| 195 | + }, | |
| 196 | + italic: { | |
| 197 | + title: 'Cursief (Ctrl+I)', | |
| 198 | + text: 'Maak de geselecteerde tekst cursief.', | |
| 199 | + cls: 'x-html-editor-tip' | |
| 200 | + }, | |
| 201 | + underline: { | |
| 202 | + title: 'Onderstrepen (Ctrl+U)', | |
| 203 | + text: 'Onderstreep de geselecteerde tekst.', | |
| 204 | + cls: 'x-html-editor-tip' | |
| 205 | + }, | |
| 206 | + increasefontsize: { | |
| 207 | + title: 'Tekst vergroten', | |
| 208 | + text: 'Vergroot het lettertype.', | |
| 209 | + cls: 'x-html-editor-tip' | |
| 210 | + }, | |
| 211 | + decreasefontsize: { | |
| 212 | + title: 'Tekst verkleinen', | |
| 213 | + text: 'Verklein het lettertype.', | |
| 214 | + cls: 'x-html-editor-tip' | |
| 215 | + }, | |
| 216 | + backcolor: { | |
| 217 | + title: 'Tekst achtergrondkleur', | |
| 218 | + text: 'Verander de achtergrondkleur van de geselecteerde tekst.', | |
| 219 | + cls: 'x-html-editor-tip' | |
| 220 | + }, | |
| 221 | + forecolor: { | |
| 222 | + title: 'Tekst kleur', | |
| 223 | + text: 'Verander de kleur van de geselecteerde tekst.', | |
| 224 | + cls: 'x-html-editor-tip' | |
| 225 | + }, | |
| 226 | + justifyleft: { | |
| 227 | + title: 'Tekst links uitlijnen', | |
| 228 | + text: 'Lijn de tekst links uit.', | |
| 229 | + cls: 'x-html-editor-tip' | |
| 230 | + }, | |
| 231 | + justifycenter: { | |
| 232 | + title: 'Tekst centreren', | |
| 233 | + text: 'Centreer de tekst.', | |
| 234 | + cls: 'x-html-editor-tip' | |
| 235 | + }, | |
| 236 | + justifyright: { | |
| 237 | + title: 'Tekst rechts uitlijnen', | |
| 238 | + text: 'Lijn de tekst rechts uit.', | |
| 239 | + cls: 'x-html-editor-tip' | |
| 240 | + }, | |
| 241 | + insertunorderedlist: { | |
| 242 | + title: 'Opsommingstekens', | |
| 243 | + text: 'Begin een ongenummerde lijst.', | |
| 244 | + cls: 'x-html-editor-tip' | |
| 245 | + }, | |
| 246 | + insertorderedlist: { | |
| 247 | + title: 'Genummerde lijst', | |
| 248 | + text: 'Begin een genummerde lijst.', | |
| 249 | + cls: 'x-html-editor-tip' | |
| 250 | + }, | |
| 251 | + createlink: { | |
| 252 | + title: 'Hyperlink', | |
| 253 | + text: 'Maak van de geselecteerde tekst een hyperlink.', | |
| 254 | + cls: 'x-html-editor-tip' | |
| 255 | + }, | |
| 256 | + sourceedit: { | |
| 257 | + title: 'Bron aanpassen', | |
| 258 | + text: 'Schakel modus over naar bron aanpassen.', | |
| 259 | + cls: 'x-html-editor-tip' | |
| 260 | + } | |
| 261 | + } | |
| 262 | + }); | |
| 263 | +} | |
| 264 | + | |
| 265 | +if(Ext.form.BasicForm){ | |
| 266 | + Ext.form.BasicForm.prototype.waitTitle = "Even wachten a.u.b..."; | |
| 267 | +} | |
| 268 | + | |
| 269 | +if(Ext.grid.GridView){ | |
| 270 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 271 | + sortAscText: 'Sorteer oplopend', | |
| 272 | + sortDescText: 'Sorteer aflopend', | |
| 273 | + lockText: 'Kolom vastzetten', | |
| 274 | + unlockText: 'Kolom vrijgeven', | |
| 275 | + columnsText: 'Kolommen' | |
| 276 | + }); | |
| 277 | +} | |
| 278 | + | |
| 279 | +if(Ext.grid.GroupingView){ | |
| 280 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 281 | + emptyGroupText: '(Geen)', | |
| 282 | + groupByText: 'Dit veld groeperen', | |
| 283 | + showGroupsText: 'Toon in groepen' | |
| 284 | + }); | |
| 285 | +} | |
| 286 | + | |
| 287 | +if(Ext.grid.PropertyColumnModel){ | |
| 288 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 289 | + nameText: 'Naam', | |
| 290 | + valueText: 'Waarde', | |
| 291 | + dateFormat: 'j-m-Y' | |
| 292 | + }); | |
| 293 | +} | |
| 294 | + | |
| 295 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 296 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 297 | + splitTip: 'Sleep om grootte aan te passen.', | |
| 298 | + collapsibleSplitTip: 'Sleep om grootte aan te passen. Dubbel klikken om te verbergen.' | |
| 299 | + }); | |
| 300 | +} | |
| 301 | + | |
| 302 | +if(Ext.form.TimeField){ | |
| 303 | + Ext.apply(Ext.form.TimeField.prototype, { | |
| 304 | + minText: 'De tijd in dit veld moet op of na {0} liggen', | |
| 305 | + maxText: 'De tijd in dit veld moet op of voor {0} liggen', | |
| 306 | + invalidText: '{0} is geen geldig tijdstip', | |
| 307 | + format: 'G:i', | |
| 308 | + altFormats: 'g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H' | |
| 309 | + }); | |
| 310 | +} | |
| 0 | 311 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-no_NB.js
0 → 100644
| 1 | +/** | |
| 2 | + * | |
| 3 | + * Norwegian translation (Bokmål: no-NB) | |
| 4 | + * By Tore Kjørsvik 21-January-2008 | |
| 5 | + * | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Laster...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} markert(e) rad(er)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Lukk denne fanen"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Verdien i dette feltet er ugyldig"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Laster..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Januar", | |
| 32 | + "Februar", | |
| 33 | + "Mars", | |
| 34 | + "April", | |
| 35 | + "Mai", | |
| 36 | + "Juni", | |
| 37 | + "Juli", | |
| 38 | + "August", | |
| 39 | + "September", | |
| 40 | + "Oktober", | |
| 41 | + "November", | |
| 42 | + "Desember" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.getShortMonthName = function(month) { | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + Jan : 0, | |
| 51 | + Feb : 1, | |
| 52 | + Mar : 2, | |
| 53 | + Apr : 3, | |
| 54 | + Mai : 4, | |
| 55 | + Jun : 5, | |
| 56 | + Jul : 6, | |
| 57 | + Aug : 7, | |
| 58 | + Sep : 8, | |
| 59 | + Okt : 9, | |
| 60 | + Nov : 10, | |
| 61 | + Des : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.dayNames = [ | |
| 69 | + "Søndag", | |
| 70 | + "Mandag", | |
| 71 | + "Tirsdag", | |
| 72 | + "Onsdag", | |
| 73 | + "Torsdag", | |
| 74 | + "Fredag", | |
| 75 | + "Lørdag" | |
| 76 | +]; | |
| 77 | + | |
| 78 | +Date.getShortDayName = function(day) { | |
| 79 | + return Date.dayNames[day].substring(0, 3); | |
| 80 | +}; | |
| 81 | + | |
| 82 | +if(Ext.MessageBox){ | |
| 83 | + Ext.MessageBox.buttonText = { | |
| 84 | + ok : "OK", | |
| 85 | + cancel : "Avbryt", | |
| 86 | + yes : "Ja", | |
| 87 | + no : "Nei" | |
| 88 | + }; | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.util.Format){ | |
| 92 | + Ext.util.Format.date = function(v, format){ | |
| 93 | + if(!v) return ""; | |
| 94 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 95 | + return v.dateFormat(format || "d.m.Y"); | |
| 96 | + }; | |
| 97 | +} | |
| 98 | + | |
| 99 | +if(Ext.DatePicker){ | |
| 100 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 101 | + todayText : "I dag", | |
| 102 | + minText : "Denne datoen er før tidligste tillatte dato", | |
| 103 | + maxText : "Denne datoen er etter seneste tillatte dato", | |
| 104 | + disabledDaysText : "", | |
| 105 | + disabledDatesText : "", | |
| 106 | + monthNames : Date.monthNames, | |
| 107 | + dayNames : Date.dayNames, | |
| 108 | + nextText : 'Neste måned (Control+Pil Høyre)', | |
| 109 | + prevText : 'Forrige måned (Control+Pil Venstre)', | |
| 110 | + monthYearText : 'Velg en måned (Control+Pil Opp/Ned for å skifte år)', | |
| 111 | + todayTip : "{0} (Mellomrom)", | |
| 112 | + format : "d.m.y", | |
| 113 | + okText : " OK ", | |
| 114 | + cancelText : "Avbryt", | |
| 115 | + startDay : 1 | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.PagingToolbar){ | |
| 120 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 121 | + beforePageText : "Side", | |
| 122 | + afterPageText : "av {0}", | |
| 123 | + firstText : "Første side", | |
| 124 | + prevText : "Forrige side", | |
| 125 | + nextText : "Neste side", | |
| 126 | + lastText : "Siste side", | |
| 127 | + refreshText : "Oppdater", | |
| 128 | + displayMsg : "Viser {0} - {1} av {2}", | |
| 129 | + emptyMsg : 'Ingen data å vise' | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.TextField){ | |
| 134 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 135 | + minLengthText : "Den minste lengden for dette feltet er {0}", | |
| 136 | + maxLengthText : "Den største lengden for dette feltet er {0}", | |
| 137 | + blankText : "Dette feltet er påkrevd", | |
| 138 | + regexText : "", | |
| 139 | + emptyText : null | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.NumberField){ | |
| 144 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 145 | + minText : "Den minste verdien for dette feltet er {0}", | |
| 146 | + maxText : "Den største verdien for dette feltet er {0}", | |
| 147 | + nanText : "{0} er ikke et gyldig nummer" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.DateField){ | |
| 152 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 153 | + disabledDaysText : "Deaktivert", | |
| 154 | + disabledDatesText : "Deaktivert", | |
| 155 | + minText : "Datoen i dette feltet må være etter {0}", | |
| 156 | + maxText : "Datoen i dette feltet må være før {0}", | |
| 157 | + invalidText : "{0} er ikke en gyldig dato - den må være på formatet {1}", | |
| 158 | + format : "d.m.y", | |
| 159 | + altFormats : "d.m.Y|d/m/y|d/m/Y|d-m-y|d-m-Y|d.m|d/m|d-m|dm|dmy|dmY|Y-m-d|d" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.form.ComboBox){ | |
| 164 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 165 | + loadingText : "Laster...", | |
| 166 | + valueNotFoundText : undefined | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.form.VTypes){ | |
| 171 | + Ext.apply(Ext.form.VTypes, { | |
| 172 | + emailText : 'Dette feltet skal være en epost adresse på formatet "bruker@domene.no"', | |
| 173 | + urlText : 'Dette feltet skal være en link (URL) på formatet "http:/'+'/www.domene.no"', | |
| 174 | + alphaText : 'Dette feltet skal kun inneholde bokstaver og _', | |
| 175 | + alphanumText : 'Dette feltet skal kun inneholde bokstaver, tall og _' | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.HtmlEditor){ | |
| 180 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 181 | + createLinkText : 'Vennligst skriv inn URL for lenken:', | |
| 182 | + buttonTips : { | |
| 183 | + bold : { | |
| 184 | + title: 'Fet (Ctrl+B)', | |
| 185 | + text: 'Gjør den valgte teksten fet.', | |
| 186 | + cls: 'x-html-editor-tip' | |
| 187 | + }, | |
| 188 | + italic : { | |
| 189 | + title: 'Kursiv (Ctrl+I)', | |
| 190 | + text: 'Gjør den valgte teksten kursiv.', | |
| 191 | + cls: 'x-html-editor-tip' | |
| 192 | + }, | |
| 193 | + underline : { | |
| 194 | + title: 'Understrek (Ctrl+U)', | |
| 195 | + text: 'Understrek den valgte teksten.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + increasefontsize : { | |
| 199 | + title: 'Forstørr tekst', | |
| 200 | + text: 'Gjør fontstørrelse større.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + decreasefontsize : { | |
| 204 | + title: 'Forminsk tekst', | |
| 205 | + text: 'Gjør fontstørrelse mindre.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + backcolor : { | |
| 209 | + title: 'Tekst markeringsfarge', | |
| 210 | + text: 'Endre bakgrunnsfarge til den valgte teksten.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + forecolor : { | |
| 214 | + title: 'Font farge', | |
| 215 | + text: 'Endre farge på den valgte teksten.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + justifyleft : { | |
| 219 | + title: 'Venstrejuster tekst', | |
| 220 | + text: 'Venstrejuster teksten.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + justifycenter : { | |
| 224 | + title: 'Sentrer tekst', | |
| 225 | + text: 'Sentrer teksten.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyright : { | |
| 229 | + title: 'Høyrejuster tekst', | |
| 230 | + text: 'Høyrejuster teksten.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + insertunorderedlist : { | |
| 234 | + title: 'Punktliste', | |
| 235 | + text: 'Start en punktliste.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + insertorderedlist : { | |
| 239 | + title: 'Nummerert liste', | |
| 240 | + text: 'Start en nummerert liste.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + createlink : { | |
| 244 | + title: 'Lenke', | |
| 245 | + text: 'Gjør den valgte teksten til en lenke.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + sourceedit : { | |
| 249 | + title: 'Rediger kilde', | |
| 250 | + text: 'Bytt til kilderedigeringsvisning.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + } | |
| 253 | + } | |
| 254 | + }); | |
| 255 | +} | |
| 256 | + | |
| 257 | +if(Ext.grid.GridView){ | |
| 258 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 259 | + sortAscText : "Sorter stigende", | |
| 260 | + sortDescText : "Sorter synkende", | |
| 261 | + lockText : "Lås kolonne", | |
| 262 | + unlockText : "Lås opp kolonne", | |
| 263 | + columnsText : "Kolonner" | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.grid.GroupingView){ | |
| 268 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 269 | + emptyGroupText : '(Ingen)', | |
| 270 | + groupByText : 'Grupper etter dette feltet', | |
| 271 | + showGroupsText : 'Vis i grupper' | |
| 272 | + }); | |
| 273 | +} | |
| 274 | + | |
| 275 | +if(Ext.grid.PropertyColumnModel){ | |
| 276 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 277 | + nameText : "Navn", | |
| 278 | + valueText : "Verdi", | |
| 279 | + dateFormat : "d.m.Y" | |
| 280 | + }); | |
| 281 | +} | |
| 282 | + | |
| 283 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 284 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 285 | + splitTip : "Dra for å endre størrelse.", | |
| 286 | + collapsibleSplitTip : "Dra for å endre størrelse. Dobbelklikk for å skjule." | |
| 287 | + }); | |
| 288 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-no_NN.js
0 → 100644
| 1 | +/** | |
| 2 | + * | |
| 3 | + * Norwegian translation (Nynorsk: no-NN) | |
| 4 | + * By Tore Kjørsvik 21-January-2008 | |
| 5 | + * | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Lastar...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} markert(e) rad(er)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Lukk denne fana"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Verdien i dette feltet er ugyldig"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Lastar..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Januar", | |
| 32 | + "Februar", | |
| 33 | + "Mars", | |
| 34 | + "April", | |
| 35 | + "Mai", | |
| 36 | + "Juni", | |
| 37 | + "Juli", | |
| 38 | + "August", | |
| 39 | + "September", | |
| 40 | + "Oktober", | |
| 41 | + "November", | |
| 42 | + "Desember" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.getShortMonthName = function(month) { | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + Jan : 0, | |
| 51 | + Feb : 1, | |
| 52 | + Mar : 2, | |
| 53 | + Apr : 3, | |
| 54 | + Mai : 4, | |
| 55 | + Jun : 5, | |
| 56 | + Jul : 6, | |
| 57 | + Aug : 7, | |
| 58 | + Sep : 8, | |
| 59 | + Okt : 9, | |
| 60 | + Nov : 10, | |
| 61 | + Des : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.dayNames = [ | |
| 69 | + "Søndag", | |
| 70 | + "Måndag", | |
| 71 | + "Tysdag", | |
| 72 | + "Onsdag", | |
| 73 | + "Torsdag", | |
| 74 | + "Fredag", | |
| 75 | + "Laurdag" | |
| 76 | +]; | |
| 77 | + | |
| 78 | +Date.getShortDayName = function(day) { | |
| 79 | + return Date.dayNames[day].substring(0, 3); | |
| 80 | +}; | |
| 81 | + | |
| 82 | +if(Ext.MessageBox){ | |
| 83 | + Ext.MessageBox.buttonText = { | |
| 84 | + ok : "OK", | |
| 85 | + cancel : "Avbryt", | |
| 86 | + yes : "Ja", | |
| 87 | + no : "Nei" | |
| 88 | + }; | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.util.Format){ | |
| 92 | + Ext.util.Format.date = function(v, format){ | |
| 93 | + if(!v) return ""; | |
| 94 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 95 | + return v.dateFormat(format || "d.m.Y"); | |
| 96 | + }; | |
| 97 | +} | |
| 98 | + | |
| 99 | +if(Ext.DatePicker){ | |
| 100 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 101 | + todayText : "I dag", | |
| 102 | + minText : "Denne datoen er før tidlegaste tillatne dato", | |
| 103 | + maxText : "Denne datoen er etter seinaste tillatne dato", | |
| 104 | + disabledDaysText : "", | |
| 105 | + disabledDatesText : "", | |
| 106 | + monthNames : Date.monthNames, | |
| 107 | + dayNames : Date.dayNames, | |
| 108 | + nextText : 'Neste månad (Control+Pil Høgre)', | |
| 109 | + prevText : 'Førre månad (Control+Pil Venstre)', | |
| 110 | + monthYearText : 'Velj ein månad (Control+Pil Opp/Ned for å skifte år)', | |
| 111 | + todayTip : "{0} (Mellomrom)", | |
| 112 | + format : "d.m.y", | |
| 113 | + okText : " OK ", | |
| 114 | + cancelText : "Avbryt", | |
| 115 | + startDay : 1 | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.PagingToolbar){ | |
| 120 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 121 | + beforePageText : "Side", | |
| 122 | + afterPageText : "av {0}", | |
| 123 | + firstText : "Første sida", | |
| 124 | + prevText : "Førre sida", | |
| 125 | + nextText : "Neste sida", | |
| 126 | + lastText : "Siste sida", | |
| 127 | + refreshText : "Oppdater", | |
| 128 | + displayMsg : "Viser {0} - {1} av {2}", | |
| 129 | + emptyMsg : 'Ingen data å vise' | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.TextField){ | |
| 134 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 135 | + minLengthText : "Den minste lengda for dette feltet er {0}", | |
| 136 | + maxLengthText : "Den største lengda for dette feltet er {0}", | |
| 137 | + blankText : "Dette feltet er påkravd", | |
| 138 | + regexText : "", | |
| 139 | + emptyText : null | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.NumberField){ | |
| 144 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 145 | + minText : "Den minste verdien for dette feltet er {0}", | |
| 146 | + maxText : "Den største verdien for dette feltet er {0}", | |
| 147 | + nanText : "{0} er ikkje eit gyldig nummer" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.DateField){ | |
| 152 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 153 | + disabledDaysText : "Deaktivert", | |
| 154 | + disabledDatesText : "Deaktivert", | |
| 155 | + minText : "Datoen i dette feltet må vere etter {0}", | |
| 156 | + maxText : "Datoen i dette feltet må vere før {0}", | |
| 157 | + invalidText : "{0} er ikkje ein gyldig dato - han må vere på formatet {1}", | |
| 158 | + format : "d.m.y", | |
| 159 | + altFormats : "d.m.Y|d/m/y|d/m/Y|d-m-y|d-m-Y|d.m|d/m|d-m|dm|dmy|dmY|Y-m-d|d" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.form.ComboBox){ | |
| 164 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 165 | + loadingText : "Lastar...", | |
| 166 | + valueNotFoundText : undefined | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.form.VTypes){ | |
| 171 | + Ext.apply(Ext.form.VTypes, { | |
| 172 | + emailText : 'Dette feltet skal vere ei epost adresse på formatet "bruker@domene.no"', | |
| 173 | + urlText : 'Dette feltet skal vere ein link (URL) på formatet "http:/'+'/www.domene.no"', | |
| 174 | + alphaText : 'Dette feltet skal berre innehalde bokstavar og _', | |
| 175 | + alphanumText : 'Dette feltet skal berre innehalde bokstavar, tal og _' | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.HtmlEditor){ | |
| 180 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 181 | + createLinkText : 'Ver venleg og skriv inn URL for lenken:', | |
| 182 | + buttonTips : { | |
| 183 | + bold : { | |
| 184 | + title: 'Feit (Ctrl+B)', | |
| 185 | + text: 'Gjer den valde teksten feit.', | |
| 186 | + cls: 'x-html-editor-tip' | |
| 187 | + }, | |
| 188 | + italic : { | |
| 189 | + title: 'Kursiv (Ctrl+I)', | |
| 190 | + text: 'Gjer den valde teksten kursiv.', | |
| 191 | + cls: 'x-html-editor-tip' | |
| 192 | + }, | |
| 193 | + underline : { | |
| 194 | + title: 'Understrek (Ctrl+U)', | |
| 195 | + text: 'Understrek den valde teksten.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + increasefontsize : { | |
| 199 | + title: 'Forstørr tekst', | |
| 200 | + text: 'Gjer fontstorleik større.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + decreasefontsize : { | |
| 204 | + title: 'Forminsk tekst', | |
| 205 | + text: 'Gjer fontstorleik mindre.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + backcolor : { | |
| 209 | + title: 'Tekst markeringsfarge', | |
| 210 | + text: 'Endre bakgrunnsfarge til den valde teksten.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + forecolor : { | |
| 214 | + title: 'Font farge', | |
| 215 | + text: 'Endre farge på den valde teksten.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + justifyleft : { | |
| 219 | + title: 'Venstrejuster tekst', | |
| 220 | + text: 'Venstrejuster teksten.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + justifycenter : { | |
| 224 | + title: 'Sentrer tekst', | |
| 225 | + text: 'Sentrer teksten.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyright : { | |
| 229 | + title: 'Høgrejuster tekst', | |
| 230 | + text: 'Høgrejuster teksten.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + insertunorderedlist : { | |
| 234 | + title: 'Punktliste', | |
| 235 | + text: 'Start ei punktliste.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + insertorderedlist : { | |
| 239 | + title: 'Nummerert liste', | |
| 240 | + text: 'Start ei nummerert liste.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + createlink : { | |
| 244 | + title: 'Lenke', | |
| 245 | + text: 'Gjer den valde teksten til ei lenke.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + sourceedit : { | |
| 249 | + title: 'Rediger kjelde', | |
| 250 | + text: 'Bytt til kjelderedigeringsvising.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + } | |
| 253 | + } | |
| 254 | + }); | |
| 255 | +} | |
| 256 | + | |
| 257 | +if(Ext.grid.GridView){ | |
| 258 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 259 | + sortAscText : "Sorter stigande", | |
| 260 | + sortDescText : "Sorter fallande", | |
| 261 | + lockText : "Lås kolonne", | |
| 262 | + unlockText : "Lås opp kolonne", | |
| 263 | + columnsText : "Kolonner" | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.grid.GroupingView){ | |
| 268 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 269 | + emptyGroupText : '(Ingen)', | |
| 270 | + groupByText : 'Grupper etter dette feltet', | |
| 271 | + showGroupsText : 'Vis i grupper' | |
| 272 | + }); | |
| 273 | +} | |
| 274 | + | |
| 275 | +if(Ext.grid.PropertyColumnModel){ | |
| 276 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 277 | + nameText : "Namn", | |
| 278 | + valueText : "Verdi", | |
| 279 | + dateFormat : "d.m.Y" | |
| 280 | + }); | |
| 281 | +} | |
| 282 | + | |
| 283 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 284 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 285 | + splitTip : "Dra for å endre storleik.", | |
| 286 | + collapsibleSplitTip : "Dra for å endre storleik. Dobbelklikk for å skjule." | |
| 287 | + }); | |
| 288 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-pl.js
0 → 100644
| 1 | +/** | |
| 2 | + * Polish Translations | |
| 3 | + * By vbert 17-April-2007 | |
| 4 | + * Updated by mmar 16-November-2007 | |
| 5 | + * Encoding: utf-8 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Wczytywanie danych...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} wybrano wiersze(y)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Zamknij zakładkę"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Wartość tego pola jest niewłaściwa"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Wczytywanie danych..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Styczeń", | |
| 32 | + "Luty", | |
| 33 | + "Marzec", | |
| 34 | + "Kwiecień", | |
| 35 | + "Maj", | |
| 36 | + "Czerwiec", | |
| 37 | + "Lipiec", | |
| 38 | + "Sierpień", | |
| 39 | + "Wrzesień", | |
| 40 | + "Październik", | |
| 41 | + "Listopad", | |
| 42 | + "Grudzień" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.getShortMonthName = function(month) { | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + Sty : 0, | |
| 51 | + Lut : 1, | |
| 52 | + Mar : 2, | |
| 53 | + Kwi : 3, | |
| 54 | + Maj : 4, | |
| 55 | + Cze : 5, | |
| 56 | + Lip : 6, | |
| 57 | + Sie : 7, | |
| 58 | + Wrz : 8, | |
| 59 | + Paź : 9, | |
| 60 | + Lis : 10, | |
| 61 | + Gru : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.dayNames = [ | |
| 69 | + "Niedziela", | |
| 70 | + "Poniedziałek", | |
| 71 | + "Wtorek", | |
| 72 | + "Środa", | |
| 73 | + "Czwartek", | |
| 74 | + "Piątek", | |
| 75 | + "Sobota" | |
| 76 | +]; | |
| 77 | + | |
| 78 | +Date.getShortDayName = function(day) { | |
| 79 | + switch(day) { | |
| 80 | + case 0: return 'ndz'; | |
| 81 | + case 1: return 'pon'; | |
| 82 | + case 2: return 'wt'; | |
| 83 | + case 3: return 'śr'; | |
| 84 | + case 4: return 'czw'; | |
| 85 | + case 5: return 'pt'; | |
| 86 | + case 6: return 'sob'; | |
| 87 | + default: return ''; | |
| 88 | + } | |
| 89 | +}; | |
| 90 | + | |
| 91 | +if(Ext.MessageBox){ | |
| 92 | + Ext.MessageBox.buttonText = { | |
| 93 | + ok : "OK", | |
| 94 | + cancel : "Anuluj", | |
| 95 | + yes : "Tak", | |
| 96 | + no : "Nie" | |
| 97 | + }; | |
| 98 | +} | |
| 99 | + | |
| 100 | +if(Ext.util.Format){ | |
| 101 | + Ext.util.Format.date = function(v, format){ | |
| 102 | + if(!v) return ""; | |
| 103 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 104 | + return v.dateFormat(format || "Y-m-d"); | |
| 105 | + }; | |
| 106 | +} | |
| 107 | + | |
| 108 | +if(Ext.DatePicker){ | |
| 109 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 110 | + startDay : 1, | |
| 111 | + todayText : "Dzisiaj", | |
| 112 | + minText : "Data jest wcześniejsza od daty minimalnej", | |
| 113 | + maxText : "Data jest późniejsza od daty maksymalnej", | |
| 114 | + disabledDaysText : "", | |
| 115 | + disabledDatesText : "", | |
| 116 | + monthNames : Date.monthNames, | |
| 117 | + dayNames : Date.dayNames, | |
| 118 | + nextText : "Następny miesiąc (Control+StrzałkaWPrawo)", | |
| 119 | + prevText : "Poprzedni miesiąc (Control+StrzałkaWLewo)", | |
| 120 | + monthYearText : "Wybierz miesiąc (Control+Up/Down aby zmienić rok)", | |
| 121 | + todayTip : "{0} (Spacja)", | |
| 122 | + format : "Y-m-d", | |
| 123 | + okText : " OK ", | |
| 124 | + cancelText : "Anuluj", | |
| 125 | + startDay : 1 | |
| 126 | + }); | |
| 127 | +} | |
| 128 | + | |
| 129 | +if(Ext.PagingToolbar){ | |
| 130 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 131 | + beforePageText : "Strona", | |
| 132 | + afterPageText : "z {0}", | |
| 133 | + firstText : "Pierwsza strona", | |
| 134 | + prevText : "Poprzednia strona", | |
| 135 | + nextText : "Następna strona", | |
| 136 | + lastText : "Ostatnia strona", | |
| 137 | + refreshText : "Odśwież", | |
| 138 | + displayMsg : "Wyświetlono {0} - {1} z {2}", | |
| 139 | + emptyMsg : "Brak danych do wyświetlenia" | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.TextField){ | |
| 144 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 145 | + minLengthText : "Minimalna ilość znaków dla tego pola to {0}", | |
| 146 | + maxLengthText : "Maksymalna ilość znaków dla tego pola to {0}", | |
| 147 | + blankText : "To pole jest wymagane", | |
| 148 | + regexText : "", | |
| 149 | + emptyText : null | |
| 150 | + }); | |
| 151 | +} | |
| 152 | + | |
| 153 | +if(Ext.form.NumberField){ | |
| 154 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 155 | + minText : "Minimalna wartość dla tego pola to {0}", | |
| 156 | + maxText : "Maksymalna wartość dla tego pola to {0}", | |
| 157 | + nanText : "{0} to nie jest właściwa wartość" | |
| 158 | + }); | |
| 159 | +} | |
| 160 | + | |
| 161 | +if(Ext.form.DateField){ | |
| 162 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 163 | + disabledDaysText : "Wyłączony", | |
| 164 | + disabledDatesText : "Wyłączony", | |
| 165 | + minText : "Data w tym polu musi być późniejsza od {0}", | |
| 166 | + maxText : "Data w tym polu musi być wcześniejsza od {0}", | |
| 167 | + invalidText : "{0} to nie jest prawidłowa data - prawidłowy format daty {1}", | |
| 168 | + format : "Y-m-d", | |
| 169 | + altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 170 | + }); | |
| 171 | +} | |
| 172 | + | |
| 173 | +if(Ext.form.ComboBox){ | |
| 174 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 175 | + loadingText : "Wczytuję...", | |
| 176 | + valueNotFoundText : undefined | |
| 177 | + }); | |
| 178 | +} | |
| 179 | + | |
| 180 | +if(Ext.form.VTypes){ | |
| 181 | + Ext.apply(Ext.form.VTypes, { | |
| 182 | + emailText : 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"', | |
| 183 | + urlText : 'To pole wymaga podania adresu strony www w formacie: "http:/'+'/www.domena.pl"', | |
| 184 | + alphaText : 'To pole wymaga podania tylko liter i _', | |
| 185 | + alphanumText : 'To pole wymaga podania tylko liter, cyfr i _' | |
| 186 | + }); | |
| 187 | +} | |
| 188 | + | |
| 189 | +if(Ext.form.HtmlEditor){ | |
| 190 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 191 | + createLinkText : 'Wprowadź adres URL strony:', | |
| 192 | + buttonTips : { | |
| 193 | + bold : { | |
| 194 | + title: 'Pogrubienie (Ctrl+B)', | |
| 195 | + text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + italic : { | |
| 199 | + title: 'Kursywa (Ctrl+I)', | |
| 200 | + text: 'Ustaw styl zaznaczonego tekstu na kursywę.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + underline : { | |
| 204 | + title: 'Podkreślenie (Ctrl+U)', | |
| 205 | + text: 'Podkreśl zaznaczony tekst.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + increasefontsize : { | |
| 209 | + title: 'Zwiększ czcionkę', | |
| 210 | + text: 'Zwiększ rozmiar czcionki.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + decreasefontsize : { | |
| 214 | + title: 'Zmniejsz czcionkę', | |
| 215 | + text: 'Zmniejsz rozmiar czcionki.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + backcolor : { | |
| 219 | + title: 'Wyróżnienie', | |
| 220 | + text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + forecolor : { | |
| 224 | + title: 'Kolor czcionki', | |
| 225 | + text: 'Zmień kolor zaznaczonego tekstu.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyleft : { | |
| 229 | + title: 'Do lewej', | |
| 230 | + text: 'Wyrównaj tekst do lewej.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + justifycenter : { | |
| 234 | + title: 'Wyśrodkuj', | |
| 235 | + text: 'Wyrównaj tekst do środka.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + justifyright : { | |
| 239 | + title: 'Do prawej', | |
| 240 | + text: 'Wyrównaj tekst do prawej.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + insertunorderedlist : { | |
| 244 | + title: 'Lista wypunktowana', | |
| 245 | + text: 'Rozpocznij listę wypunktowaną.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + insertorderedlist : { | |
| 249 | + title: 'Lista numerowana', | |
| 250 | + text: 'Rozpocznij listę numerowaną.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + }, | |
| 253 | + createlink : { | |
| 254 | + title: 'Hiperłącze', | |
| 255 | + text: 'Przekształć zaznaczony tekst w hiperłącze.', | |
| 256 | + cls: 'x-html-editor-tip' | |
| 257 | + }, | |
| 258 | + sourceedit : { | |
| 259 | + title: 'Edycja źródła', | |
| 260 | + text: 'Przełącz w tryb edycji źródła.', | |
| 261 | + cls: 'x-html-editor-tip' | |
| 262 | + } | |
| 263 | + } | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.grid.GridView){ | |
| 268 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 269 | + sortAscText : "Sortuj rosnąco", | |
| 270 | + sortDescText : "Sortuj malejąco", | |
| 271 | + lockText : "Zablokuj kolumnę", | |
| 272 | + unlockText : "Odblokuj kolumnę", | |
| 273 | + columnsText : "Kolumny" | |
| 274 | + }); | |
| 275 | +} | |
| 276 | + | |
| 277 | +if(Ext.grid.GroupingView){ | |
| 278 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 279 | + emptyGroupText : '(None)', | |
| 280 | + groupByText : 'Grupuj po tym polu', | |
| 281 | + showGroupsText : 'Pokaż w grupach' | |
| 282 | + }); | |
| 283 | +} | |
| 284 | + | |
| 285 | +if(Ext.grid.PropertyColumnModel){ | |
| 286 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 287 | + nameText : "Nazwa", | |
| 288 | + valueText : "Wartość", | |
| 289 | + dateFormat : "Y-m-d" | |
| 290 | + }); | |
| 291 | +} | |
| 292 | + | |
| 293 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 294 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 295 | + splitTip : "Przeciągnij aby zmienić rozmiar.", | |
| 296 | + collapsibleSplitTip : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć." | |
| 297 | + }); | |
| 298 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-pt.js
0 → 100644
| 1 | +/* | |
| 2 | + * Portuguese/Brazil Translation by Weber Souza | |
| 3 | + * 08 April 2007 | |
| 4 | + * Updated by Allan Brazute Alves (EthraZa) | |
| 5 | + * 06 September 2007 | |
| 6 | + * Adapted to European Portuguese by Helder Batista (hbatista) | |
| 7 | + * 31 January 2008 | |
| 8 | + */ | |
| 9 | + | |
| 10 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>'; | |
| 11 | + | |
| 12 | +if(Ext.View){ | |
| 13 | + Ext.View.prototype.emptyText = ""; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.grid.GridPanel){ | |
| 17 | + Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.TabPanelItem){ | |
| 21 | + Ext.TabPanelItem.prototype.closeText = "Fechar"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.form.Field){ | |
| 25 | + Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido"; | |
| 26 | +} | |
| 27 | + | |
| 28 | +if(Ext.LoadMask){ | |
| 29 | + Ext.LoadMask.prototype.msg = "Carregando..."; | |
| 30 | +} | |
| 31 | + | |
| 32 | +Date.monthNames = [ | |
| 33 | + "Janeiro", | |
| 34 | + "Fevereiro", | |
| 35 | + "Março", | |
| 36 | + "Abril", | |
| 37 | + "Maio", | |
| 38 | + "Junho", | |
| 39 | + "Julho", | |
| 40 | + "Agosto", | |
| 41 | + "Setembro", | |
| 42 | + "Outubro", | |
| 43 | + "Novembro", | |
| 44 | + "Dezembro" | |
| 45 | +]; | |
| 46 | + | |
| 47 | +Date.dayNames = [ | |
| 48 | + "Domingo", | |
| 49 | + "Segunda", | |
| 50 | + "Terça", | |
| 51 | + "Quarta", | |
| 52 | + "Quinta", | |
| 53 | + "Sexta", | |
| 54 | + "Sábado" | |
| 55 | +]; | |
| 56 | + | |
| 57 | +if(Ext.MessageBox){ | |
| 58 | + Ext.MessageBox.buttonText = { | |
| 59 | + ok : "OK", | |
| 60 | + cancel : "Cancelar", | |
| 61 | + yes : "Sim", | |
| 62 | + no : "Não" | |
| 63 | + }; | |
| 64 | +} | |
| 65 | + | |
| 66 | +if(Ext.util.Format){ | |
| 67 | + Ext.util.Format.date = function(v, format){ | |
| 68 | + if(!v) return ""; | |
| 69 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 70 | + return v.dateFormat(format || "d/m/Y"); | |
| 71 | + }; | |
| 72 | +} | |
| 73 | + | |
| 74 | +if(Ext.DatePicker){ | |
| 75 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 76 | + todayText : "Hoje", | |
| 77 | + minText : "Esta data é anterior à menor data", | |
| 78 | + maxText : "Esta data é posterior à maior data", | |
| 79 | + disabledDaysText : "", | |
| 80 | + disabledDatesText : "", | |
| 81 | + monthNames : Date.monthNames, | |
| 82 | + dayNames : Date.dayNames, | |
| 83 | + nextText : 'Próximo Mês (Control+Direita)', | |
| 84 | + prevText : 'Mês Anterior (Control+Esquerda)', | |
| 85 | + monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)', | |
| 86 | + todayTip : "{0} (Espaço)", | |
| 87 | + format : "d/m/Y", | |
| 88 | + okText : " OK ", | |
| 89 | + cancelText : "Cancelar", | |
| 90 | + startDay : 0 | |
| 91 | + }); | |
| 92 | +} | |
| 93 | + | |
| 94 | +if(Ext.PagingToolbar){ | |
| 95 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 96 | + beforePageText : "Página", | |
| 97 | + afterPageText : "de {0}", | |
| 98 | + firstText : "Primeira Página", | |
| 99 | + prevText : "Página Anterior", | |
| 100 | + nextText : "Próxima Página", | |
| 101 | + lastText : "Última Página", | |
| 102 | + refreshText : "Atualizar", | |
| 103 | + displayMsg : "<b>{0} à {1} de {2} registo(s)</b>", | |
| 104 | + emptyMsg : 'Sem registos para exibir' | |
| 105 | + }); | |
| 106 | +} | |
| 107 | + | |
| 108 | +if(Ext.form.TextField){ | |
| 109 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 110 | + minLengthText : "O tamanho mínimo para este campo é {0}", | |
| 111 | + maxLengthText : "O tamanho máximo para este campo é {0}", | |
| 112 | + blankText : "Este campo é obrigatório.", | |
| 113 | + regexText : "", | |
| 114 | + emptyText : null | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.form.NumberField){ | |
| 119 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 120 | + minText : "O valor mínimo para este campo é {0}", | |
| 121 | + maxText : "O valor máximo para este campo é {0}", | |
| 122 | + nanText : "{0} não é um número válido" | |
| 123 | + }); | |
| 124 | +} | |
| 125 | + | |
| 126 | +if(Ext.form.DateField){ | |
| 127 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 128 | + disabledDaysText : "Desabilitado", | |
| 129 | + disabledDatesText : "Desabilitado", | |
| 130 | + minText : "A data deste campo deve ser posterior a {0}", | |
| 131 | + maxText : "A data deste campo deve ser anterior a {0}", | |
| 132 | + invalidText : "{0} não é uma data válida - deve ser usado o formato {1}", | |
| 133 | + format : "d/m/Y" | |
| 134 | + }); | |
| 135 | +} | |
| 136 | + | |
| 137 | +if(Ext.form.ComboBox){ | |
| 138 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 139 | + loadingText : "Carregando...", | |
| 140 | + valueNotFoundText : undefined | |
| 141 | + }); | |
| 142 | +} | |
| 143 | + | |
| 144 | +if(Ext.form.VTypes){ | |
| 145 | + Ext.apply(Ext.form.VTypes, { | |
| 146 | + emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"', | |
| 147 | + urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"', | |
| 148 | + alphaText : 'Este campo deve conter apenas letras e _', | |
| 149 | + alphanumText : 'Este campo deve conter apenas letras, números e _' | |
| 150 | + }); | |
| 151 | +} | |
| 152 | + | |
| 153 | +if(Ext.form.HtmlEditor){ | |
| 154 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 155 | + createLinkText : 'Por favor, entre com o URL do link:', | |
| 156 | + buttonTips : { | |
| 157 | + bold : { | |
| 158 | + title: 'Negrito (Ctrl+B)', | |
| 159 | + text: 'Deixa o texto seleccionado em negrito.', | |
| 160 | + cls: 'x-html-editor-tip' | |
| 161 | + }, | |
| 162 | + italic : { | |
| 163 | + title: 'Italico (Ctrl+I)', | |
| 164 | + text: 'Deixa o texto seleccionado em italico.', | |
| 165 | + cls: 'x-html-editor-tip' | |
| 166 | + }, | |
| 167 | + underline : { | |
| 168 | + title: 'Sublinhado (Ctrl+U)', | |
| 169 | + text: 'Sublinha o texto seleccionado.', | |
| 170 | + cls: 'x-html-editor-tip' | |
| 171 | + }, | |
| 172 | + increasefontsize : { | |
| 173 | + title: 'Aumentar Texto', | |
| 174 | + text: 'Aumenta o tamanho da fonte.', | |
| 175 | + cls: 'x-html-editor-tip' | |
| 176 | + }, | |
| 177 | + decreasefontsize : { | |
| 178 | + title: 'Diminuir Texto', | |
| 179 | + text: 'Diminui o tamanho da fonte.', | |
| 180 | + cls: 'x-html-editor-tip' | |
| 181 | + }, | |
| 182 | + backcolor : { | |
| 183 | + title: 'Cor de Fundo', | |
| 184 | + text: 'Muda a cor do fundo do texto seleccionado.', | |
| 185 | + cls: 'x-html-editor-tip' | |
| 186 | + }, | |
| 187 | + forecolor : { | |
| 188 | + title: 'Cor da Fonte', | |
| 189 | + text: 'Muda a cor do texto seleccionado.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + justifyleft : { | |
| 193 | + title: 'Alinhar à Esquerda', | |
| 194 | + text: 'Alinha o texto à esquerda.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + justifycenter : { | |
| 198 | + title: 'Centrar Texto', | |
| 199 | + text: 'Centra o texto no editor.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + justifyright : { | |
| 203 | + title: 'Alinhar à Direita', | |
| 204 | + text: 'Alinha o texto à direita.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + insertunorderedlist : { | |
| 208 | + title: 'Lista com Marcadores', | |
| 209 | + text: 'Inicia uma lista com marcadores.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + insertorderedlist : { | |
| 213 | + title: 'Lista Numerada', | |
| 214 | + text: 'Inicia uma lista numerada.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + createlink : { | |
| 218 | + title: 'Hyperligação', | |
| 219 | + text: 'Transforma o texto selecionado num hyperlink.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + sourceedit : { | |
| 223 | + title: 'Editar Fonte', | |
| 224 | + text: 'Troca para o modo de edição de código fonte.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + } | |
| 227 | + } | |
| 228 | + }); | |
| 229 | +} | |
| 230 | + | |
| 231 | +if(Ext.grid.GridView){ | |
| 232 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 233 | + sortAscText : "Ordem Ascendente", | |
| 234 | + sortDescText : "Ordem Descendente", | |
| 235 | + lockText : "Bloquear Coluna", | |
| 236 | + unlockText : "Desbloquear Coluna", | |
| 237 | + columnsText : "Colunas" | |
| 238 | + }); | |
| 239 | +} | |
| 240 | + | |
| 241 | +if(Ext.grid.PropertyColumnModel){ | |
| 242 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 243 | + nameText : "Nome", | |
| 244 | + valueText : "Valor", | |
| 245 | + dateFormat : "d/m/Y" | |
| 246 | + }); | |
| 247 | +} | |
| 248 | + | |
| 249 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 250 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 251 | + splitTip : "Arraste para redimensionar.", | |
| 252 | + collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder." | |
| 253 | + }); | |
| 254 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-pt_BR.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.1 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * Portuguese/Brazil Translation by Weber Souza | |
| 11 | + * 08 April 2007 | |
| 12 | + * Updated by Allan Brazute Alves (EthraZa) | |
| 13 | + * 06 September 2007 | |
| 14 | + * Updated by Leonardo Lima | |
| 15 | + * 05 March 2008 | |
| 16 | + * Updated by Juliano Tarini (jtarini) | |
| 17 | + * 22 April 2008 | |
| 18 | + */ | |
| 19 | + | |
| 20 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>'; | |
| 21 | + | |
| 22 | +if(Ext.View){ | |
| 23 | + Ext.View.prototype.emptyText = ""; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.grid.GridPanel){ | |
| 27 | + Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) selecionada(s)"; | |
| 28 | +} | |
| 29 | + | |
| 30 | +if(Ext.TabPanelItem){ | |
| 31 | + Ext.TabPanelItem.prototype.closeText = "Fechar"; | |
| 32 | +} | |
| 33 | + | |
| 34 | +if(Ext.form.Field){ | |
| 35 | + Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido"; | |
| 36 | +} | |
| 37 | + | |
| 38 | +if(Ext.LoadMask){ | |
| 39 | + Ext.LoadMask.prototype.msg = "Carregando..."; | |
| 40 | +} | |
| 41 | + | |
| 42 | +Date.monthNames = [ | |
| 43 | + "Janeiro", | |
| 44 | + "Fevereiro", | |
| 45 | + "Março", | |
| 46 | + "Abril", | |
| 47 | + "Maio", | |
| 48 | + "Junho", | |
| 49 | + "Julho", | |
| 50 | + "Agosto", | |
| 51 | + "Setembro", | |
| 52 | + "Outubro", | |
| 53 | + "Novembro", | |
| 54 | + "Dezembro" | |
| 55 | +]; | |
| 56 | + | |
| 57 | +Date.getShortMonthName = function(month) { | |
| 58 | + return Date.monthNames[month].substring(0, 3); | |
| 59 | +}; | |
| 60 | + | |
| 61 | +Date.monthNumbers = { | |
| 62 | + Jan : 0, | |
| 63 | + Fev : 1, | |
| 64 | + Mar : 2, | |
| 65 | + Abr : 3, | |
| 66 | + Mai : 4, | |
| 67 | + Jun : 5, | |
| 68 | + Jul : 6, | |
| 69 | + Ago : 7, | |
| 70 | + Set : 8, | |
| 71 | + Out : 9, | |
| 72 | + Nov : 10, | |
| 73 | + Dez : 11 | |
| 74 | +}; | |
| 75 | + | |
| 76 | +Date.getMonthNumber = function(name) { | |
| 77 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 78 | +}; | |
| 79 | + | |
| 80 | +Date.dayNames = [ | |
| 81 | + "Domingo", | |
| 82 | + "Segunda", | |
| 83 | + "Terça", | |
| 84 | + "Quarta", | |
| 85 | + "Quinta", | |
| 86 | + "Sexta", | |
| 87 | + "Sábado" | |
| 88 | +]; | |
| 89 | + | |
| 90 | +if(Ext.MessageBox){ | |
| 91 | + Ext.MessageBox.buttonText = { | |
| 92 | + ok : "OK", | |
| 93 | + cancel : "Cancelar", | |
| 94 | + yes : "Sim", | |
| 95 | + no : "Não" | |
| 96 | + }; | |
| 97 | +} | |
| 98 | + | |
| 99 | +if (Ext.util.Format) { | |
| 100 | + Ext.util.Format.date = function(v, format){ | |
| 101 | + if (!v) return ""; | |
| 102 | + if (!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 103 | + return v.dateFormat(format || "d/m/Y"); | |
| 104 | + }; | |
| 105 | + Ext.util.Format.brMoney = function(v){ | |
| 106 | + v = (Math.round((v - 0) * 100)) / 100; | |
| 107 | + v = (v == Math.floor(v)) ? v + ".00" : ((v * 10 == Math.floor(v * 10)) ? v + "0" : v); | |
| 108 | + v = String(v); | |
| 109 | + var ps = v.split('.'); | |
| 110 | + var whole = ps[0]; | |
| 111 | + var sub = ps[1] ? '.' + ps[1] : '.00'; | |
| 112 | + var r = /(\d+)(\d{3})/; | |
| 113 | + while (r.test(whole)) { | |
| 114 | + whole = whole.replace(r, '$1' + '.' + '$2'); | |
| 115 | + } | |
| 116 | + v = whole + sub; | |
| 117 | + if (v.charAt(0) == '-') { | |
| 118 | + return '- R$ ' + v.substr(1); | |
| 119 | + } | |
| 120 | + return "R$ " + v; | |
| 121 | + } | |
| 122 | +} | |
| 123 | + | |
| 124 | +if(Ext.DatePicker){ | |
| 125 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 126 | + todayText : "Hoje", | |
| 127 | + minText : "Esta data é anterior a menor data", | |
| 128 | + maxText : "Esta data é posterior a maior data", | |
| 129 | + disabledDaysText : "", | |
| 130 | + disabledDatesText : "", | |
| 131 | + monthNames : Date.monthNames, | |
| 132 | + dayNames : Date.dayNames, | |
| 133 | + nextText : 'Próximo Mês (Control+Direita)', | |
| 134 | + prevText : 'Mês Anterior (Control+Esquerda)', | |
| 135 | + monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)', | |
| 136 | + todayTip : "{0} (Espaço)", | |
| 137 | + format : "d/m/Y", | |
| 138 | + okText : " OK ", | |
| 139 | + cancelText : "Cancelar", | |
| 140 | + startDay : 0 | |
| 141 | + }); | |
| 142 | +} | |
| 143 | + | |
| 144 | +if(Ext.PagingToolbar){ | |
| 145 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 146 | + beforePageText : "Página", | |
| 147 | + afterPageText : "de {0}", | |
| 148 | + firstText : "Primeira Página", | |
| 149 | + prevText : "Página Anterior", | |
| 150 | + nextText : "Próxima Página", | |
| 151 | + lastText : "Última Página", | |
| 152 | + refreshText : "Atualizar", | |
| 153 | + displayMsg : "<b>{0} à {1} de {2} registro(s)</b>", | |
| 154 | + emptyMsg : 'Sem registros para exibir' | |
| 155 | + }); | |
| 156 | +} | |
| 157 | + | |
| 158 | +if(Ext.form.TextField){ | |
| 159 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 160 | + minLengthText : "O tamanho mínimo para este campo é {0}", | |
| 161 | + maxLengthText : "O tamanho máximo para este campo é {0}", | |
| 162 | + blankText : "Este campo é obrigatório.", | |
| 163 | + regexText : "", | |
| 164 | + emptyText : null | |
| 165 | + }); | |
| 166 | +} | |
| 167 | + | |
| 168 | +if(Ext.form.NumberField){ | |
| 169 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 170 | + minText : "O valor mínimo para este campo é {0}", | |
| 171 | + maxText : "O valor máximo para este campo é {0}", | |
| 172 | + nanText : "{0} não é um número válido" | |
| 173 | + }); | |
| 174 | +} | |
| 175 | + | |
| 176 | +if(Ext.form.DateField){ | |
| 177 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 178 | + disabledDaysText : "Desabilitado", | |
| 179 | + disabledDatesText : "Desabilitado", | |
| 180 | + minText : "A data deste campo deve ser posterior a {0}", | |
| 181 | + maxText : "A data deste campo deve ser anterior a {0}", | |
| 182 | + invalidText : "{0} não é uma data válida - deve ser informado no formato {1}", | |
| 183 | + format : "d/m/Y" | |
| 184 | + }); | |
| 185 | +} | |
| 186 | + | |
| 187 | +if(Ext.form.ComboBox){ | |
| 188 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 189 | + loadingText : "Carregando...", | |
| 190 | + valueNotFoundText : undefined | |
| 191 | + }); | |
| 192 | +} | |
| 193 | + | |
| 194 | +if(Ext.form.VTypes){ | |
| 195 | + Ext.apply(Ext.form.VTypes, { | |
| 196 | + emailText : 'Este campo deve ser um endereço de e-mail válido, no formado "usuario@dominio.com.br"', | |
| 197 | + urlText : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com.br"', | |
| 198 | + alphaText : 'Este campo deve conter apenas letras e _', | |
| 199 | + alphanumText : 'Este campo deve conter apenas letras, números e _' | |
| 200 | + }); | |
| 201 | +} | |
| 202 | + | |
| 203 | +if(Ext.form.HtmlEditor){ | |
| 204 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 205 | + createLinkText : 'Porfavor, entre com a URL do link:', | |
| 206 | + buttonTips : { | |
| 207 | + bold : { | |
| 208 | + title: 'Negrito (Ctrl+B)', | |
| 209 | + text: 'Deixa o texto selecionado em negrito.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + italic : { | |
| 213 | + title: 'Italico (Ctrl+I)', | |
| 214 | + text: 'Deixa o texto selecionado em italico.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + underline : { | |
| 218 | + title: 'Sublinhado (Ctrl+U)', | |
| 219 | + text: 'Sublinha o texto selecionado.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + increasefontsize : { | |
| 223 | + title: 'Aumentar Texto', | |
| 224 | + text: 'Aumenta o tamanho da fonte.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + decreasefontsize : { | |
| 228 | + title: 'Diminuir Texto', | |
| 229 | + text: 'Diminui o tamanho da fonte.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + backcolor : { | |
| 233 | + title: 'Cor de Fundo', | |
| 234 | + text: 'Muda a cor do fundo do texto selecionado.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + forecolor : { | |
| 238 | + title: 'Cor da Fonte', | |
| 239 | + text: 'Muda a cor do texto selecionado.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + justifyleft : { | |
| 243 | + title: 'Alinhar à Esquerda', | |
| 244 | + text: 'Alinha o texto à esquerda.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + justifycenter : { | |
| 248 | + title: 'Centralizar Texto', | |
| 249 | + text: 'Centraliza o texto no editor.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + }, | |
| 252 | + justifyright : { | |
| 253 | + title: 'Alinhar à Direita', | |
| 254 | + text: 'Alinha o texto à direita.', | |
| 255 | + cls: 'x-html-editor-tip' | |
| 256 | + }, | |
| 257 | + insertunorderedlist : { | |
| 258 | + title: 'Lista com Marcadores', | |
| 259 | + text: 'Inicia uma lista com marcadores.', | |
| 260 | + cls: 'x-html-editor-tip' | |
| 261 | + }, | |
| 262 | + insertorderedlist : { | |
| 263 | + title: 'Lista Numerada', | |
| 264 | + text: 'Inicia uma lista numerada.', | |
| 265 | + cls: 'x-html-editor-tip' | |
| 266 | + }, | |
| 267 | + createlink : { | |
| 268 | + title: 'Hyperligação', | |
| 269 | + text: 'Transforma o texto selecionado em um hyperlink.', | |
| 270 | + cls: 'x-html-editor-tip' | |
| 271 | + }, | |
| 272 | + sourceedit : { | |
| 273 | + title: 'Editar Fonte', | |
| 274 | + text: 'Troca para o modo de edição de código fonte.', | |
| 275 | + cls: 'x-html-editor-tip' | |
| 276 | + } | |
| 277 | + } | |
| 278 | + }); | |
| 279 | +} | |
| 280 | + | |
| 281 | +if(Ext.grid.GridView){ | |
| 282 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 283 | + sortAscText : "Ordem Ascendente", | |
| 284 | + sortDescText : "Ordem Descendente", | |
| 285 | + lockText : "Bloquear Coluna", | |
| 286 | + unlockText : "Desbloquear Coluna", | |
| 287 | + columnsText : "Colunas" | |
| 288 | + }); | |
| 289 | +} | |
| 290 | + | |
| 291 | +if(Ext.grid.PropertyColumnModel){ | |
| 292 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 293 | + nameText : "Nome", | |
| 294 | + valueText : "Valor", | |
| 295 | + dateFormat : "d/m/Y" | |
| 296 | + }); | |
| 297 | +} | |
| 298 | + | |
| 299 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 300 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 301 | + splitTip : "Arraste para redimensionar.", | |
| 302 | + collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder." | |
| 303 | + }); | |
| 304 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ro.js
0 → 100644
| 1 | +/** | |
| 2 | + * Romanian translations for ExtJS 2.1 | |
| 3 | + * First released by Lucian Lature on 2007-04-24 | |
| 4 | + * Changed locale for Romania (date formats) as suggested by keypoint | |
| 5 | + * on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524 | |
| 6 | + * Removed some useless parts | |
| 7 | + * Changed by: Emil Cazamir, 2008-04-24 | |
| 8 | + */ | |
| 9 | + | |
| 10 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>'; | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Închide acest tab"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Încărcare..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "Ianuarie", | |
| 30 | + "Februarie", | |
| 31 | + "Martie", | |
| 32 | + "Aprilie", | |
| 33 | + "Mai", | |
| 34 | + "Iunie", | |
| 35 | + "Iulie", | |
| 36 | + "August", | |
| 37 | + "Septembrie", | |
| 38 | + "Octombrie", | |
| 39 | + "Noiembrie", | |
| 40 | + "Decembrie" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.getShortMonthName = function(month) { | |
| 44 | + return Date.monthNames[month].substring(0, 3); | |
| 45 | +}; | |
| 46 | + | |
| 47 | +Date.monthNumbers = { | |
| 48 | + Ian : 0, | |
| 49 | + Feb : 1, | |
| 50 | + Mar : 2, | |
| 51 | + Apr : 3, | |
| 52 | + Mai : 4, | |
| 53 | + Iun : 5, | |
| 54 | + Iul : 6, | |
| 55 | + Aug : 7, | |
| 56 | + Sep : 8, | |
| 57 | + Oct : 9, | |
| 58 | + Nov : 10, | |
| 59 | + Dec : 11 | |
| 60 | +}; | |
| 61 | + | |
| 62 | +Date.getMonthNumber = function(name) { | |
| 63 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 64 | +}; | |
| 65 | + | |
| 66 | +Date.dayNames = [ | |
| 67 | + "Duminică", | |
| 68 | + "Luni", | |
| 69 | + "Marţi", | |
| 70 | + "Miercuri", | |
| 71 | + "Joi", | |
| 72 | + "Vineri", | |
| 73 | + "Sâmbătă" | |
| 74 | +]; | |
| 75 | + | |
| 76 | +Date.getShortDayName = function(day) { | |
| 77 | + return Date.dayNames[day].substring(0, 3); | |
| 78 | +}; | |
| 79 | + | |
| 80 | +if(Ext.MessageBox){ | |
| 81 | + Ext.MessageBox.buttonText = { | |
| 82 | + ok : "OK", | |
| 83 | + cancel : "Renunţă", | |
| 84 | + yes : "Da", | |
| 85 | + no : "Nu" | |
| 86 | + }; | |
| 87 | +} | |
| 88 | + | |
| 89 | +if(Ext.util.Format){ | |
| 90 | + Ext.util.Format.date = function(v, format){ | |
| 91 | + if(!v) return ""; | |
| 92 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 93 | + return v.dateFormat(format || "d.m.Y"); | |
| 94 | + }; | |
| 95 | +} | |
| 96 | + | |
| 97 | +if(Ext.DatePicker){ | |
| 98 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 99 | + todayText : "Astăzi", | |
| 100 | + minText : "Această dată este anterioară datei minime", | |
| 101 | + maxText : "Această dată este ulterioară datei maxime", | |
| 102 | + disabledDaysText : "", | |
| 103 | + disabledDatesText : "", | |
| 104 | + monthNames : Date.monthNames, | |
| 105 | + dayNames : Date.dayNames, | |
| 106 | + nextText : 'Luna următoare (Control+Dreapta)', | |
| 107 | + prevText : 'Luna precedentă (Control+Stânga)', | |
| 108 | + monthYearText : 'Alege o lună (Control+Sus/Jos pentru a parcurge anii)', | |
| 109 | + todayTip : "{0} (Bara spațiu)", | |
| 110 | + format : "d.m.Y", | |
| 111 | + okText : " OK ", | |
| 112 | + cancelText : "Renunță", | |
| 113 | + startDay : 0 | |
| 114 | + }); | |
| 115 | +} | |
| 116 | + | |
| 117 | +if(Ext.PagingToolbar){ | |
| 118 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 119 | + beforePageText : "Pagina", | |
| 120 | + afterPageText : "din {0}", | |
| 121 | + firstText : "Prima pagină", | |
| 122 | + prevText : "Pagina anterioară", | |
| 123 | + nextText : "Pagina următoare", | |
| 124 | + lastText : "Ultima pagină", | |
| 125 | + refreshText : "Împrospătează", | |
| 126 | + displayMsg : "Afișare înregistrări {0} - {1} din {2}", | |
| 127 | + emptyMsg : 'Nu sunt date de afișat' | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.TextField){ | |
| 132 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 133 | + minLengthText : "Lungimea minimă pentru acest câmp este de {0}", | |
| 134 | + maxLengthText : "Lungimea maximă pentru acest câmp este {0}", | |
| 135 | + blankText : "Acest câmp este obligatoriu", | |
| 136 | + regexText : "", | |
| 137 | + emptyText : null | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.NumberField){ | |
| 142 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 143 | + minText : "Valoarea minimă permisă a acestui câmp este {0}", | |
| 144 | + maxText : "Valaorea maximă permisă a acestui câmp este {0}", | |
| 145 | + nanText : "{0} nu este un număr valid" | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.form.DateField){ | |
| 150 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 151 | + disabledDaysText : "Indisponibil", | |
| 152 | + disabledDatesText : "Indisponibil", | |
| 153 | + minText : "Data din această casetă trebuie să fie după {0}", | |
| 154 | + maxText : "Data din această casetă trebuie să fie inainte de {0}", | |
| 155 | + invalidText : "{0} nu este o dată validă, trebuie să fie în formatul {1}", | |
| 156 | + format : "d.m.Y", | |
| 157 | + altFormats : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d" | |
| 158 | + }); | |
| 159 | +} | |
| 160 | + | |
| 161 | +if(Ext.form.ComboBox){ | |
| 162 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 163 | + loadingText : "Încărcare...", | |
| 164 | + valueNotFoundText : undefined | |
| 165 | + }); | |
| 166 | +} | |
| 167 | + | |
| 168 | +if(Ext.form.VTypes){ | |
| 169 | + Ext.apply(Ext.form.VTypes, { | |
| 170 | + emailText : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"', | |
| 171 | + urlText : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"', | |
| 172 | + alphaText : 'Acest câmp trebuie să conţină doar litere şi _', | |
| 173 | + alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _' | |
| 174 | + }); | |
| 175 | +} | |
| 176 | + | |
| 177 | +if(Ext.form.HtmlEditor){ | |
| 178 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 179 | + createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:', | |
| 180 | + buttonTips : { | |
| 181 | + bold : { | |
| 182 | + title: 'Îngroşat (Ctrl+B)', | |
| 183 | + text: 'Îngroşati caracterele textului selectat.', | |
| 184 | + cls: 'x-html-editor-tip' | |
| 185 | + }, | |
| 186 | + italic : { | |
| 187 | + title: 'Înclinat (Ctrl+I)', | |
| 188 | + text: 'Înclinaţi caracterele textului selectat.', | |
| 189 | + cls: 'x-html-editor-tip' | |
| 190 | + }, | |
| 191 | + underline : { | |
| 192 | + title: 'Subliniat (Ctrl+U)', | |
| 193 | + text: 'Subliniaţi caracterele textului selectat.', | |
| 194 | + cls: 'x-html-editor-tip' | |
| 195 | + }, | |
| 196 | + increasefontsize : { | |
| 197 | + title: 'Mărit', | |
| 198 | + text: 'Măreşte dimensiunea fontului.', | |
| 199 | + cls: 'x-html-editor-tip' | |
| 200 | + }, | |
| 201 | + decreasefontsize : { | |
| 202 | + title: 'Micşorat', | |
| 203 | + text: 'Micşorează dimensiunea textului.', | |
| 204 | + cls: 'x-html-editor-tip' | |
| 205 | + }, | |
| 206 | + backcolor : { | |
| 207 | + title: 'Culoarea fundalului', | |
| 208 | + text: 'Schimbă culoarea fundalului pentru textul selectat.', | |
| 209 | + cls: 'x-html-editor-tip' | |
| 210 | + }, | |
| 211 | + forecolor : { | |
| 212 | + title: 'Culoarea textului', | |
| 213 | + text: 'Schimbă culoarea textului selectat.', | |
| 214 | + cls: 'x-html-editor-tip' | |
| 215 | + }, | |
| 216 | + justifyleft : { | |
| 217 | + title: 'Aliniat la stânga', | |
| 218 | + text: 'Aliniază textul la stânga.', | |
| 219 | + cls: 'x-html-editor-tip' | |
| 220 | + }, | |
| 221 | + justifycenter : { | |
| 222 | + title: 'Centrat', | |
| 223 | + text: 'Centrează textul în editor.', | |
| 224 | + cls: 'x-html-editor-tip' | |
| 225 | + }, | |
| 226 | + justifyright : { | |
| 227 | + title: 'Aliniat la dreapta', | |
| 228 | + text: 'Aliniază textul la dreapta.', | |
| 229 | + cls: 'x-html-editor-tip' | |
| 230 | + }, | |
| 231 | + insertunorderedlist : { | |
| 232 | + title: 'Listă cu puncte', | |
| 233 | + text: 'Inserează listă cu puncte.', | |
| 234 | + cls: 'x-html-editor-tip' | |
| 235 | + }, | |
| 236 | + insertorderedlist : { | |
| 237 | + title: 'Listă numerotată', | |
| 238 | + text: 'Inserează o listă numerotată.', | |
| 239 | + cls: 'x-html-editor-tip' | |
| 240 | + }, | |
| 241 | + createlink : { | |
| 242 | + title: 'Legătură web', | |
| 243 | + text: 'Transformă textul selectat în legătură web.', | |
| 244 | + cls: 'x-html-editor-tip' | |
| 245 | + }, | |
| 246 | + sourceedit : { | |
| 247 | + title: 'Editare sursă', | |
| 248 | + text: 'Schimbă pe modul de editare al codului HTML.', | |
| 249 | + cls: 'x-html-editor-tip' | |
| 250 | + } | |
| 251 | + } | |
| 252 | + }); | |
| 253 | +} | |
| 254 | + | |
| 255 | + | |
| 256 | +if(Ext.grid.GridView){ | |
| 257 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 258 | + sortAscText : "Sortare ascendentă", | |
| 259 | + sortDescText : "Sortare descendentă", | |
| 260 | + lockText : "Blochează coloana", | |
| 261 | + unlockText : "Deblochează coloana", | |
| 262 | + columnsText : "Coloane" | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GroupingView){ | |
| 267 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 268 | + emptyGroupText : '(Fără)', | |
| 269 | + groupByText : 'Grupează după această coloană', | |
| 270 | + showGroupsText : 'Afișează grupat' | |
| 271 | + }); | |
| 272 | +} | |
| 273 | + | |
| 274 | +if(Ext.grid.PropertyColumnModel){ | |
| 275 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 276 | + nameText : "Nume", | |
| 277 | + valueText : "Valoare", | |
| 278 | + dateFormat : "d.m.Y" | |
| 279 | + }); | |
| 280 | +} | |
| 281 | + | |
| 282 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 283 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 284 | + splitTip : "Trage pentru redimensionare.", | |
| 285 | + collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere." | |
| 286 | + }); | |
| 287 | +} | |
| 0 | 288 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ru.js
0 → 100644
| 1 | +/* | |
| 2 | + * Russian translation | |
| 3 | + * By ZooKeeper (utf-8 encoding) | |
| 4 | + * 6 November 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Идет загрузка...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} выбранных строк"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Закрыть эту вкладку"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "Значение в этом поле неверное"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "Загрузка..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Январь", | |
| 31 | + "Февраль", | |
| 32 | + "Март", | |
| 33 | + "Апрель", | |
| 34 | + "Май", | |
| 35 | + "Июнь", | |
| 36 | + "Июль", | |
| 37 | + "Август", | |
| 38 | + "Сентябрь", | |
| 39 | + "Октябрь", | |
| 40 | + "Ноябрь", | |
| 41 | + "Декабрь" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.getShortMonthName = function(month) { | |
| 45 | + return Date.monthNames[month].substring(0, 3); | |
| 46 | +}; | |
| 47 | + | |
| 48 | +Date.monthNumbers = { | |
| 49 | + Jan : 0, | |
| 50 | + Feb : 1, | |
| 51 | + Mar : 2, | |
| 52 | + Apr : 3, | |
| 53 | + May : 4, | |
| 54 | + Jun : 5, | |
| 55 | + Jul : 6, | |
| 56 | + Aug : 7, | |
| 57 | + Sep : 8, | |
| 58 | + Oct : 9, | |
| 59 | + Nov : 10, | |
| 60 | + Dec : 11 | |
| 61 | +}; | |
| 62 | + | |
| 63 | +Date.getMonthNumber = function(name) { | |
| 64 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 65 | +}; | |
| 66 | + | |
| 67 | +Date.dayNames = [ | |
| 68 | + "Воскресенье", | |
| 69 | + "Понедельник", | |
| 70 | + "Вторник", | |
| 71 | + "Среда", | |
| 72 | + "Четверг", | |
| 73 | + "Пятница", | |
| 74 | + "Суббота" | |
| 75 | +]; | |
| 76 | + | |
| 77 | +Date.getShortDayName = function(day) { | |
| 78 | + return Date.dayNames[day].substring(0, 3); | |
| 79 | +}; | |
| 80 | + | |
| 81 | +if(Ext.MessageBox){ | |
| 82 | + Ext.MessageBox.buttonText = { | |
| 83 | + ok : "OK", | |
| 84 | + cancel : "Отмена", | |
| 85 | + yes : "Да", | |
| 86 | + no : "Нет" | |
| 87 | + }; | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.util.Format){ | |
| 91 | + Ext.util.Format.date = function(v, format){ | |
| 92 | + if(!v) return ""; | |
| 93 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 94 | + return v.dateFormat(format || "d.m.Y"); | |
| 95 | + }; | |
| 96 | +} | |
| 97 | + | |
| 98 | +if(Ext.DatePicker){ | |
| 99 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 100 | + todayText : "Сегодня", | |
| 101 | + minText : "Эта дата раньше минимальной даты", | |
| 102 | + maxText : "Эта дата позже максимальной даты", | |
| 103 | + disabledDaysText : "", | |
| 104 | + disabledDatesText : "", | |
| 105 | + monthNames : Date.monthNames, | |
| 106 | + dayNames : Date.dayNames, | |
| 107 | + nextText : 'Следующий месяц (Control+Вправо)', | |
| 108 | + prevText : 'Предыдущий месяц (Control+Влево)', | |
| 109 | + monthYearText : 'Выбор месяца (Control+Вверх/Вниз для выбора года)', | |
| 110 | + todayTip : "{0} (Пробел)", | |
| 111 | + format : "d.m.y", | |
| 112 | + okText : " OK ", | |
| 113 | + cancelText : "Отмена", | |
| 114 | + startDay : 1 | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.PagingToolbar){ | |
| 119 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 120 | + beforePageText : "Страница", | |
| 121 | + afterPageText : "из {0}", | |
| 122 | + firstText : "Первая страница", | |
| 123 | + prevText : "Предыдущая страница", | |
| 124 | + nextText : "Следующая страница", | |
| 125 | + lastText : "Последняя страница", | |
| 126 | + refreshText : "Обновить", | |
| 127 | + displayMsg : "Отображаются записи с {0} по {1}, всего {2}", | |
| 128 | + emptyMsg : 'Нет данных для отображения' | |
| 129 | + }); | |
| 130 | +} | |
| 131 | + | |
| 132 | +if(Ext.form.TextField){ | |
| 133 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 134 | + minLengthText : "Минимальная длина этого поля {0}", | |
| 135 | + maxLengthText : "Максимальная длина этого поля {0}", | |
| 136 | + blankText : "Это поле обязательно для заполнения", | |
| 137 | + regexText : "", | |
| 138 | + emptyText : null | |
| 139 | + }); | |
| 140 | +} | |
| 141 | + | |
| 142 | +if(Ext.form.NumberField){ | |
| 143 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 144 | + minText : "Значение этого поля не может быть меньше {0}", | |
| 145 | + maxText : "Значение этого поля не может быть больше {0}", | |
| 146 | + nanText : "{0} не является числом" | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.DateField){ | |
| 151 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 152 | + disabledDaysText : "Не доступно", | |
| 153 | + disabledDatesText : "Не доступно", | |
| 154 | + minText : "Дата в этом поле должна быть позде {0}", | |
| 155 | + maxText : "Дата в этом поле должна быть раньше {0}", | |
| 156 | + invalidText : "{0} не является правильной датой - дата должна быть указана в формате {1}", | |
| 157 | + format : "d.m.y", | |
| 158 | + altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.ComboBox){ | |
| 163 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 164 | + loadingText : "Загрузка...", | |
| 165 | + valueNotFoundText : undefined | |
| 166 | + }); | |
| 167 | +} | |
| 168 | + | |
| 169 | +if(Ext.form.VTypes){ | |
| 170 | + Ext.apply(Ext.form.VTypes, { | |
| 171 | + emailText : 'Это поле должно содержать адрес электронной почты в формате "user@domain.com"', | |
| 172 | + urlText : 'Это поле должно содержать URL в формате "http:/'+'/www.domain.com"', | |
| 173 | + alphaText : 'Это поле должно содержать только латинские буквы и символ подчеркивания "_"', | |
| 174 | + alphanumText : 'Это поле должно содержать только латинские буквы, цифры и символ подчеркивания "_"' | |
| 175 | + }); | |
| 176 | +} | |
| 177 | + | |
| 178 | +if(Ext.form.HtmlEditor){ | |
| 179 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 180 | + createLinkText : 'Пожалуйста введите адрес:', | |
| 181 | + buttonTips : { | |
| 182 | + bold : { | |
| 183 | + title: 'Полужирный (Ctrl+B)', | |
| 184 | + text: 'Применение полужирного начертания к выделенному тексту.', | |
| 185 | + cls: 'x-html-editor-tip' | |
| 186 | + }, | |
| 187 | + italic : { | |
| 188 | + title: 'Курсив (Ctrl+I)', | |
| 189 | + text: 'Применение курсивного начертания к выделенному тексту.', | |
| 190 | + cls: 'x-html-editor-tip' | |
| 191 | + }, | |
| 192 | + underline : { | |
| 193 | + title: 'Подчёркнутый (Ctrl+U)', | |
| 194 | + text: 'Подчёркивание выделенного текста.', | |
| 195 | + cls: 'x-html-editor-tip' | |
| 196 | + }, | |
| 197 | + increasefontsize : { | |
| 198 | + title: 'Увеличить размер', | |
| 199 | + text: 'Увеличение размера шрифта.', | |
| 200 | + cls: 'x-html-editor-tip' | |
| 201 | + }, | |
| 202 | + decreasefontsize : { | |
| 203 | + title: 'Уменьшить размер', | |
| 204 | + text: 'Уменьшение размера шрифта.', | |
| 205 | + cls: 'x-html-editor-tip' | |
| 206 | + }, | |
| 207 | + backcolor : { | |
| 208 | + title: 'Заливка', | |
| 209 | + text: 'Изменение цвета фона для выделенного текста или абзаца.', | |
| 210 | + cls: 'x-html-editor-tip' | |
| 211 | + }, | |
| 212 | + forecolor : { | |
| 213 | + title: 'Цвет текста', | |
| 214 | + text: 'Измение цвета текста.', | |
| 215 | + cls: 'x-html-editor-tip' | |
| 216 | + }, | |
| 217 | + justifyleft : { | |
| 218 | + title: 'Выровнять текст по левому краю', | |
| 219 | + text: 'Выровнивание текста по левому краю.', | |
| 220 | + cls: 'x-html-editor-tip' | |
| 221 | + }, | |
| 222 | + justifycenter : { | |
| 223 | + title: 'По центру', | |
| 224 | + text: 'Выровнивание текста по центру.', | |
| 225 | + cls: 'x-html-editor-tip' | |
| 226 | + }, | |
| 227 | + justifyright : { | |
| 228 | + title: 'Выровнять текст по правому краю', | |
| 229 | + text: 'Выровнивание текста по правому краю.', | |
| 230 | + cls: 'x-html-editor-tip' | |
| 231 | + }, | |
| 232 | + insertunorderedlist : { | |
| 233 | + title: 'Маркеры', | |
| 234 | + text: 'Начать маркированный список.', | |
| 235 | + cls: 'x-html-editor-tip' | |
| 236 | + }, | |
| 237 | + insertorderedlist : { | |
| 238 | + title: 'Нумерация', | |
| 239 | + text: 'Начать нумернованный список.', | |
| 240 | + cls: 'x-html-editor-tip' | |
| 241 | + }, | |
| 242 | + createlink : { | |
| 243 | + title: 'Вставить гиперссылку', | |
| 244 | + text: 'Создание ссылки из выделенного текста.', | |
| 245 | + cls: 'x-html-editor-tip' | |
| 246 | + }, | |
| 247 | + sourceedit : { | |
| 248 | + title: 'Исходный код', | |
| 249 | + text: 'Переключиться на исходный код.', | |
| 250 | + cls: 'x-html-editor-tip' | |
| 251 | + } | |
| 252 | + } | |
| 253 | + }); | |
| 254 | +} | |
| 255 | + | |
| 256 | +if(Ext.grid.GridView){ | |
| 257 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 258 | + sortAscText : "Сортировать по возрастанию", | |
| 259 | + sortDescText : "Сортировать по убыванию", | |
| 260 | + lockText : "Закрепить столбец", | |
| 261 | + unlockText : "Снять закрепление столбца", | |
| 262 | + columnsText : "Столбцы" | |
| 263 | + }); | |
| 264 | +} | |
| 265 | + | |
| 266 | +if(Ext.grid.GroupingView){ | |
| 267 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 268 | + emptyGroupText : '(Пусто)', | |
| 269 | + groupByText : 'Группировать по этому полю', | |
| 270 | + showGroupsText : 'Отображать по группам' | |
| 271 | + }); | |
| 272 | +} | |
| 273 | + | |
| 274 | +if(Ext.grid.PropertyColumnModel){ | |
| 275 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 276 | + nameText : "Название", | |
| 277 | + valueText : "Значение", | |
| 278 | + dateFormat : "d.m.Y" | |
| 279 | + }); | |
| 280 | +} | |
| 281 | + | |
| 282 | +if(Ext.SplitLayoutRegion){ | |
| 283 | + Ext.apply(Ext.SplitLayoutRegion.prototype, { | |
| 284 | + splitTip : "Тяните для изменения размера.", | |
| 285 | + collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель." | |
| 286 | + }); | |
| 287 | +} | |
| 288 | + | |
| 289 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 290 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 291 | + splitTip : "Тяните для изменения размера.", | |
| 292 | + collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель." | |
| 293 | + }); | |
| 294 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-sk.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + */ | |
| 5 | + | |
| 6 | + /* Slovak Translation by Michal Thomka | |
| 7 | + * 14 April 2007 | |
| 8 | + */ | |
| 9 | + | |
| 10 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Nahrávam...</div>'; | |
| 11 | + | |
| 12 | +if(Ext.View){ | |
| 13 | + Ext.View.prototype.emptyText = ""; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.grid.GridPanel){ | |
| 17 | + Ext.grid.GridPanel.prototype.ddText = "{0} označených riadkov"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.TabPanelItem){ | |
| 21 | + Ext.TabPanelItem.prototype.closeText = "Zavrieť túto záložku"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.form.Field){ | |
| 25 | + Ext.form.Field.prototype.invalidText = "Hodnota v tomto poli je nesprávna"; | |
| 26 | +} | |
| 27 | + | |
| 28 | +if(Ext.LoadMask){ | |
| 29 | + Ext.LoadMask.prototype.msg = "Nahrávam..."; | |
| 30 | +} | |
| 31 | + | |
| 32 | +Date.monthNames = [ | |
| 33 | + "Január", | |
| 34 | + "Február", | |
| 35 | + "Marec", | |
| 36 | + "Apríl", | |
| 37 | + "Máj", | |
| 38 | + "Jún", | |
| 39 | + "Júl", | |
| 40 | + "August", | |
| 41 | + "September", | |
| 42 | + "Október", | |
| 43 | + "November", | |
| 44 | + "December" | |
| 45 | +]; | |
| 46 | + | |
| 47 | +Date.dayNames = [ | |
| 48 | + "Nedeľa", | |
| 49 | + "Pondelok", | |
| 50 | + "Utorok", | |
| 51 | + "Streda", | |
| 52 | + "Štvrtok", | |
| 53 | + "Piatok", | |
| 54 | + "Sobota" | |
| 55 | +]; | |
| 56 | + | |
| 57 | +if(Ext.MessageBox){ | |
| 58 | + Ext.MessageBox.buttonText = { | |
| 59 | + ok : "OK", | |
| 60 | + cancel : "Zrušiť", | |
| 61 | + yes : "Áno", | |
| 62 | + no : "Nie" | |
| 63 | + }; | |
| 64 | +} | |
| 65 | + | |
| 66 | +if(Ext.util.Format){ | |
| 67 | + Ext.util.Format.date = function(v, format){ | |
| 68 | + if(!v) return ""; | |
| 69 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 70 | + return v.dateFormat(format || "d.m.Y"); | |
| 71 | + }; | |
| 72 | +} | |
| 73 | + | |
| 74 | + | |
| 75 | +if(Ext.DatePicker){ | |
| 76 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 77 | + todayText : "Dnes", | |
| 78 | + minText : "Tento dátum je menší ako minimálny možný dátum", | |
| 79 | + maxText : "Tento dátum je väčší ako maximálny možný dátum", | |
| 80 | + disabledDaysText : "", | |
| 81 | + disabledDatesText : "", | |
| 82 | + monthNames : Date.monthNames, | |
| 83 | + dayNames : Date.dayNames, | |
| 84 | + nextText : 'Ďalší Mesiac (Control+Doprava)', | |
| 85 | + prevText : 'Predch. Mesiac (Control+Doľava)', | |
| 86 | + monthYearText : 'Vyberte Mesiac (Control+Hore/Dole pre posun rokov)', | |
| 87 | + todayTip : "{0} (Medzerník)", | |
| 88 | + format : "d.m.Y" | |
| 89 | + }); | |
| 90 | +} | |
| 91 | + | |
| 92 | + | |
| 93 | +if(Ext.PagingToolbar){ | |
| 94 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 95 | + beforePageText : "Strana", | |
| 96 | + afterPageText : "z {0}", | |
| 97 | + firstText : "Prvá Strana", | |
| 98 | + prevText : "Predch. Strana", | |
| 99 | + nextText : "Ďalšia Strana", | |
| 100 | + lastText : "Posledná strana", | |
| 101 | + refreshText : "Obnoviť", | |
| 102 | + displayMsg : "Zobrazujem {0} - {1} z {2}", | |
| 103 | + emptyMsg : 'iadne dáta' | |
| 104 | + }); | |
| 105 | +} | |
| 106 | + | |
| 107 | + | |
| 108 | +if(Ext.form.TextField){ | |
| 109 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 110 | + minLengthText : "Minimálna dĺžka pre toto pole je {0}", | |
| 111 | + maxLengthText : "Maximálna dĺžka pre toto pole je {0}", | |
| 112 | + blankText : "Toto pole je povinné", | |
| 113 | + regexText : "", | |
| 114 | + emptyText : null | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.form.NumberField){ | |
| 119 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 120 | + minText : "Minimálna hodnota pre toto pole je {0}", | |
| 121 | + maxText : "Maximálna hodnota pre toto pole je {0}", | |
| 122 | + nanText : "{0} je nesprávne číslo" | |
| 123 | + }); | |
| 124 | +} | |
| 125 | + | |
| 126 | +if(Ext.form.DateField){ | |
| 127 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 128 | + disabledDaysText : "Zablokované", | |
| 129 | + disabledDatesText : "Zablokované", | |
| 130 | + minText : "Dátum v tomto poli musí byť až po {0}", | |
| 131 | + maxText : "Dátum v tomto poli musí byť pred {0}", | |
| 132 | + invalidText : "{0} nie je správny dátum - musí byť vo formáte {1}", | |
| 133 | + format : "d.m.Y" | |
| 134 | + }); | |
| 135 | +} | |
| 136 | + | |
| 137 | +if(Ext.form.ComboBox){ | |
| 138 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 139 | + loadingText : "Nahrávam...", | |
| 140 | + valueNotFoundText : undefined | |
| 141 | + }); | |
| 142 | +} | |
| 143 | + | |
| 144 | +if(Ext.form.VTypes){ | |
| 145 | + Ext.apply(Ext.form.VTypes, { | |
| 146 | + emailText : 'Toto pole musí byť e-mailová adresa vo formáte "user@domain.com"', | |
| 147 | + urlText : 'Toto pole musí byť URL vo formáte "http:/'+'/www.domain.com"', | |
| 148 | + alphaText : 'Toto pole može obsahovať iba písmená a znak _', | |
| 149 | + alphanumText : 'Toto pole može obsahovať iba písmená, čísla a znak _' | |
| 150 | + }); | |
| 151 | +} | |
| 152 | + | |
| 153 | +if(Ext.grid.GridView){ | |
| 154 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 155 | + sortAscText : "Zoradiť vzostupne", | |
| 156 | + sortDescText : "Zoradiť zostupne", | |
| 157 | + lockText : "Zamknúť stľpec", | |
| 158 | + unlockText : "Odomknúť stľpec", | |
| 159 | + columnsText : "Stľpce" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.grid.PropertyColumnModel){ | |
| 164 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 165 | + nameText : "Názov", | |
| 166 | + valueText : "Hodnota", | |
| 167 | + dateFormat : "d.m.Y" | |
| 168 | + }); | |
| 169 | +} | |
| 170 | + | |
| 171 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 172 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 173 | + splitTip : "Potiahnite pre zmenu rozmeru", | |
| 174 | + collapsibleSplitTip : "Potiahnite pre zmenu rozmeru. Dvojklikom schováte." | |
| 175 | + }); | |
| 176 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-sl.js
0 → 100644
| 1 | +/** | |
| 2 | + * Slovenian translation by Matjaž (UTF-8 encoding) | |
| 3 | + * 25 April 2007 | |
| 4 | + */ | |
| 5 | + | |
| 6 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Nalagam...</div>'; | |
| 7 | + | |
| 8 | +if(Ext.View){ | |
| 9 | + Ext.View.prototype.emptyText = ""; | |
| 10 | +} | |
| 11 | + | |
| 12 | +if(Ext.grid.GridPanel){ | |
| 13 | + Ext.grid.GridPanel.prototype.ddText = "{0} izbranih vrstic"; | |
| 14 | +} | |
| 15 | + | |
| 16 | +if(Ext.TabPanelItem){ | |
| 17 | + Ext.TabPanelItem.prototype.closeText = "Zapri zavihek"; | |
| 18 | +} | |
| 19 | + | |
| 20 | +if(Ext.form.Field){ | |
| 21 | + Ext.form.Field.prototype.invalidText = "Neveljavna vrednost"; | |
| 22 | +} | |
| 23 | + | |
| 24 | +if(Ext.LoadMask){ | |
| 25 | + Ext.LoadMask.prototype.msg = "Nalagam..."; | |
| 26 | +} | |
| 27 | + | |
| 28 | +Date.monthNames = [ | |
| 29 | + "Januar", | |
| 30 | + "Februar", | |
| 31 | + "Marec", | |
| 32 | + "April", | |
| 33 | + "Maj", | |
| 34 | + "Junij", | |
| 35 | + "Julij", | |
| 36 | + "Avgust", | |
| 37 | + "September", | |
| 38 | + "Oktober", | |
| 39 | + "November", | |
| 40 | + "December" | |
| 41 | +]; | |
| 42 | + | |
| 43 | +Date.dayNames = [ | |
| 44 | + "Nedelja", | |
| 45 | + "Ponedeljek", | |
| 46 | + "Torek", | |
| 47 | + "Sreda", | |
| 48 | + "Četrtek", | |
| 49 | + "Petek", | |
| 50 | + "Sobota" | |
| 51 | +]; | |
| 52 | + | |
| 53 | +if(Ext.MessageBox){ | |
| 54 | + Ext.MessageBox.buttonText = { | |
| 55 | + ok : "V redu", | |
| 56 | + cancel : "Prekliči", | |
| 57 | + yes : "Da", | |
| 58 | + no : "Ne" | |
| 59 | + }; | |
| 60 | +} | |
| 61 | + | |
| 62 | +if(Ext.util.Format){ | |
| 63 | + Ext.util.Format.date = function(v, format){ | |
| 64 | + if(!v) return ""; | |
| 65 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 66 | + return v.dateFormat(format || "d.m.Y"); | |
| 67 | + }; | |
| 68 | +} | |
| 69 | + | |
| 70 | +if(Ext.DatePicker){ | |
| 71 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 72 | + todayText : "Danes", | |
| 73 | + minText : "Navedeni datum je pred spodnjim datumom", | |
| 74 | + maxText : "Navedeni datum je za zgornjim datumom", | |
| 75 | + disabledDaysText : "", | |
| 76 | + disabledDatesText : "", | |
| 77 | + monthNames : Date.monthNames, | |
| 78 | + dayNames : Date.dayNames, | |
| 79 | + nextText : 'Naslednji mesec (Control+Desno)', | |
| 80 | + prevText : 'Prejšnji mesec (Control+Levo)', | |
| 81 | + monthYearText : 'Izberite mesec (Control+Gor/Dol za premik let)', | |
| 82 | + todayTip : "{0} (Preslednica)", | |
| 83 | + format : "d.m.y", | |
| 84 | + startDay : 1 | |
| 85 | + }); | |
| 86 | +} | |
| 87 | + | |
| 88 | +if(Ext.PagingToolbar){ | |
| 89 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 90 | + beforePageText : "Stran", | |
| 91 | + afterPageText : "od {0}", | |
| 92 | + firstText : "Prva stran", | |
| 93 | + prevText : "Prejšnja stran", | |
| 94 | + nextText : "Naslednja stran", | |
| 95 | + lastText : "Zadnja stran", | |
| 96 | + refreshText : "Osveži", | |
| 97 | + displayMsg : "Prikazujem {0} - {1} od {2}", | |
| 98 | + emptyMsg : 'Ni podatkov za prikaz' | |
| 99 | + }); | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.form.TextField){ | |
| 103 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 104 | + minLengthText : "Minimalna dolžina tega polja je {0}", | |
| 105 | + maxLengthText : "Maksimalna dolžina tega polja je {0}", | |
| 106 | + blankText : "To polje je obvezno", | |
| 107 | + regexText : "", | |
| 108 | + emptyText : null | |
| 109 | + }); | |
| 110 | +} | |
| 111 | + | |
| 112 | +if(Ext.form.NumberField){ | |
| 113 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 114 | + minText : "Minimalna vrednost tega polja je {0}", | |
| 115 | + maxText : "Maksimalna vrednost tega polja je {0}", | |
| 116 | + nanText : "{0} ni veljavna številka" | |
| 117 | + }); | |
| 118 | +} | |
| 119 | + | |
| 120 | +if(Ext.form.DateField){ | |
| 121 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 122 | + disabledDaysText : "Onemogočen", | |
| 123 | + disabledDatesText : "Onemogočen", | |
| 124 | + minText : "Datum mora biti po {0}", | |
| 125 | + maxText : "Datum mora biti pred {0}", | |
| 126 | + invalidText : "{0} ni veljaven datum - mora biti v tem formatu {1}", | |
| 127 | + format : "d.m.y" | |
| 128 | + }); | |
| 129 | +} | |
| 130 | + | |
| 131 | +if(Ext.form.ComboBox){ | |
| 132 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 133 | + loadingText : "Nalagam...", | |
| 134 | + valueNotFoundText : undefined | |
| 135 | + }); | |
| 136 | +} | |
| 137 | + | |
| 138 | +if(Ext.form.VTypes){ | |
| 139 | + Ext.apply(Ext.form.VTypes, { | |
| 140 | + emailText : 'To polje je e-mail naslov formata "ime@domena.si"', | |
| 141 | + urlText : 'To polje je URL naslov formata "http:/'+'/www.domena.si"', | |
| 142 | + alphaText : 'To polje lahko vsebuje samo črke in _', | |
| 143 | + alphanumText : 'To polje lahko vsebuje samo črke, številke in _' | |
| 144 | + }); | |
| 145 | +} | |
| 146 | + | |
| 147 | +if(Ext.grid.GridView){ | |
| 148 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 149 | + sortAscText : "Sortiraj naraščajoče", | |
| 150 | + sortDescText : "Sortiraj padajoče", | |
| 151 | + lockText : "Zakleni stolpec", | |
| 152 | + unlockText : "Odkleni stolpec", | |
| 153 | + columnsText : "Stolpci" | |
| 154 | + }); | |
| 155 | +} | |
| 156 | + | |
| 157 | +if(Ext.grid.PropertyColumnModel){ | |
| 158 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 159 | + nameText : "Ime", | |
| 160 | + valueText : "Vrednost", | |
| 161 | + dateFormat : "j.m.Y" | |
| 162 | + }); | |
| 163 | +} | |
| 164 | + | |
| 165 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 166 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 167 | + splitTip : "Potegni za razširitev.", | |
| 168 | + collapsibleSplitTip : "Potegni za razširitev. Dvojni klik, če želite skriti." | |
| 169 | + }); | |
| 170 | +} | |
| 0 | 171 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-sr.js
0 → 100644
| 1 | +/* | |
| 2 | + * Serbian Latin Translation | |
| 3 | + * by Atila Hajnal (latin, utf8 encoding) | |
| 4 | + * sr | |
| 5 | + * 14 Sep 2007 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavam...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = "Ne postoji ni jedan slog"; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} izabranih redova"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Zatvori оvu »karticu«"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Unešena vrednost nije pravilna"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Učitavam..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Januar", | |
| 32 | + "Februar", | |
| 33 | + "Mart", | |
| 34 | + "April", | |
| 35 | + "Мај", | |
| 36 | + "Jun", | |
| 37 | + "Јul", | |
| 38 | + "Avgust", | |
| 39 | + "Septembar", | |
| 40 | + "Oktobar", | |
| 41 | + "Novembar", | |
| 42 | + "Decembar" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.dayNames = [ | |
| 46 | + "Nedelja", | |
| 47 | + "Ponedeljak", | |
| 48 | + "Utorak", | |
| 49 | + "Sreda", | |
| 50 | + "Četvrtak", | |
| 51 | + "Petak", | |
| 52 | + "Subota" | |
| 53 | +]; | |
| 54 | + | |
| 55 | +if(Ext.MessageBox){ | |
| 56 | + Ext.MessageBox.buttonText = { | |
| 57 | + ok : "U redu", | |
| 58 | + cancel : "Odustani", | |
| 59 | + yes : "Da", | |
| 60 | + no : "Ne" | |
| 61 | + }; | |
| 62 | +} | |
| 63 | + | |
| 64 | +if(Ext.util.Format){ | |
| 65 | + Ext.util.Format.date = function(v, format){ | |
| 66 | + if(!v) return ""; | |
| 67 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 68 | + return v.dateFormat(format || "d.m.Y"); | |
| 69 | + }; | |
| 70 | +} | |
| 71 | + | |
| 72 | +if(Ext.DatePicker){ | |
| 73 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 74 | + todayText : "Danas", | |
| 75 | + minText : "Datum је ispred najmanjeg dozvoljenog datuma", | |
| 76 | + maxText : "Datum је nakon najvećeg dozvoljenog datuma", | |
| 77 | + disabledDaysText : "", | |
| 78 | + disabledDatesText : "", | |
| 79 | + monthNames : Date.monthNames, | |
| 80 | + dayNames : Date.dayNames, | |
| 81 | + nextText : 'Sledeći mesec (Control+Desno)', | |
| 82 | + prevText : 'Prethodni mesec (Control+Levo)', | |
| 83 | + monthYearText : 'Izaberite mesec (Control+Gore/Dole za izbor godine)', | |
| 84 | + todayTip : "{0} (Razmaknica)", | |
| 85 | + format : "d.m.y", | |
| 86 | + startDay : 1 | |
| 87 | + }); | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.PagingToolbar){ | |
| 91 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 92 | + beforePageText : "Strana", | |
| 93 | + afterPageText : "od {0}", | |
| 94 | + firstText : "Prva strana", | |
| 95 | + prevText : "Prethodna strana", | |
| 96 | + nextText : "Sledeća strana", | |
| 97 | + lastText : "Poslednja strana", | |
| 98 | + refreshText : "Osveži", | |
| 99 | + displayMsg : "Prikazana {0} - {1} od {2}", | |
| 100 | + emptyMsg : 'Nemam šta prikazati' | |
| 101 | + }); | |
| 102 | +} | |
| 103 | + | |
| 104 | +if(Ext.form.TextField){ | |
| 105 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 106 | + minLengthText : "Minimalna dužina ovog polja је {0}", | |
| 107 | + maxLengthText : "Maksimalna dužina ovog polja је {0}", | |
| 108 | + blankText : "Polje је obavezno", | |
| 109 | + regexText : "", | |
| 110 | + emptyText : null | |
| 111 | + }); | |
| 112 | +} | |
| 113 | + | |
| 114 | +if(Ext.form.NumberField){ | |
| 115 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 116 | + minText : "Minimalna vrednost u polju је {0}", | |
| 117 | + maxText : "Maksimalna vrednost u polju је {0}", | |
| 118 | + nanText : "{0} nije pravilan broj" | |
| 119 | + }); | |
| 120 | +} | |
| 121 | + | |
| 122 | +if(Ext.form.DateField){ | |
| 123 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 124 | + disabledDaysText : "Pasivno", | |
| 125 | + disabledDatesText : "Pasivno", | |
| 126 | + minText : "Datum u ovom polju mora biti nakon {0}", | |
| 127 | + maxText : "Datum u ovom polju mora biti pre {0}", | |
| 128 | + invalidText : "{0} nije pravilan datum - zahtevani oblik je {1}", | |
| 129 | + format : "d.m.y", | |
| 130 | + altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" | |
| 131 | + }); | |
| 132 | +} | |
| 133 | + | |
| 134 | +if(Ext.form.ComboBox){ | |
| 135 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 136 | + loadingText : "Učitavam...", | |
| 137 | + valueNotFoundText : undefined | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.VTypes){ | |
| 142 | + Ext.apply(Ext.form.VTypes, { | |
| 143 | + emailText : 'Ovo polje prihavata e-mail adresu isključivo u obliku "korisnik@domen.com"', | |
| 144 | + urlText : 'Ovo polje prihavata URL adresu isključivo u obliku "http:/'+'/www.domen.com"', | |
| 145 | + alphaText : 'Ovo polje može sadržati isključivo slova i znak _', | |
| 146 | + alphanumText : 'Ovo polje može sadržati само slova, brojeve i znak _' | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.grid.GridView){ | |
| 151 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 152 | + sortAscText : "Rastući redosled", | |
| 153 | + sortDescText : "Opadajući redosled", | |
| 154 | + lockText : "Zaključaj kolonu", | |
| 155 | + unlockText : "Otključaj kolonu", | |
| 156 | + columnsText : "Kolone" | |
| 157 | + }); | |
| 158 | +} | |
| 159 | + | |
| 160 | +if(Ext.grid.PropertyColumnModel){ | |
| 161 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 162 | + nameText : "Naziv", | |
| 163 | + valueText : "Vrednost", | |
| 164 | + dateFormat : "d.m.Y" | |
| 165 | + }); | |
| 166 | +} | |
| 167 | + | |
| 168 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 169 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 170 | + splitTip : "Povući za izmenu veličine.", | |
| 171 | + collapsibleSplitTip : "Povući za izmenu veličine. Dvostruku klik za sakrivanje." | |
| 172 | + }); | |
| 173 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-sr_RS.js
0 → 100644
| 1 | +/* | |
| 2 | + * Serbian Cyrillic Translation | |
| 3 | + * by Čolovic Vladan (cyrillic, utf8 encoding) | |
| 4 | + * sr_RS (ex: sr_CS, sr_YU) | |
| 5 | + * 12 May 2007 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Учитавам...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} изабраних редова"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Затвори ову »картицу«"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Унешена вредност није правилна"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Учитавам..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Јануар", | |
| 32 | + "Фебруар", | |
| 33 | + "Март", | |
| 34 | + "Април", | |
| 35 | + "Мај", | |
| 36 | + "Јун", | |
| 37 | + "Јул", | |
| 38 | + "Август", | |
| 39 | + "Септембар", | |
| 40 | + "Октобар", | |
| 41 | + "Новембар", | |
| 42 | + "Децембар" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.dayNames = [ | |
| 46 | + "Недеља", | |
| 47 | + "Понедељак", | |
| 48 | + "Уторак", | |
| 49 | + "Среда", | |
| 50 | + "Четвртак", | |
| 51 | + "Петак", | |
| 52 | + "Субота" | |
| 53 | +]; | |
| 54 | + | |
| 55 | +if(Ext.MessageBox){ | |
| 56 | + Ext.MessageBox.buttonText = { | |
| 57 | + ok : "У реду", | |
| 58 | + cancel : "Одустани", | |
| 59 | + yes : "Да", | |
| 60 | + no : "Не" | |
| 61 | + }; | |
| 62 | +} | |
| 63 | + | |
| 64 | +if(Ext.util.Format){ | |
| 65 | + Ext.util.Format.date = function(v, format){ | |
| 66 | + if(!v) return ""; | |
| 67 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 68 | + return v.dateFormat(format || "d.m.Y"); | |
| 69 | + }; | |
| 70 | +} | |
| 71 | + | |
| 72 | +if(Ext.DatePicker){ | |
| 73 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 74 | + todayText : "Данас", | |
| 75 | + minText : "Датум је испред најмањег дозвољеног датума", | |
| 76 | + maxText : "Датум је након највећег дозвољеног датума", | |
| 77 | + disabledDaysText : "", | |
| 78 | + disabledDatesText : "", | |
| 79 | + monthNames : Date.monthNames, | |
| 80 | + dayNames : Date.dayNames, | |
| 81 | + nextText : 'Следећи месец (Control+Десно)', | |
| 82 | + prevText : 'Претходни месец (Control+Лево)', | |
| 83 | + monthYearText : 'Изаберите месец (Control+Горе/Доле за избор године)', | |
| 84 | + todayTip : "{0} (Размакница)", | |
| 85 | + format : "d.m.y", | |
| 86 | + startDay : 1 | |
| 87 | + }); | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.PagingToolbar){ | |
| 91 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 92 | + beforePageText : "Страна", | |
| 93 | + afterPageText : "од {0}", | |
| 94 | + firstText : "Прва страна", | |
| 95 | + prevText : "Претходна страна", | |
| 96 | + nextText : "Следећа страна", | |
| 97 | + lastText : "Последња страна", | |
| 98 | + refreshText : "Освежи", | |
| 99 | + displayMsg : "Приказана {0} - {1} од {2}", | |
| 100 | + emptyMsg : 'Немам шта приказати' | |
| 101 | + }); | |
| 102 | +} | |
| 103 | + | |
| 104 | +if(Ext.form.TextField){ | |
| 105 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 106 | + minLengthText : "Минимална дужина овог поља је {0}", | |
| 107 | + maxLengthText : "Максимална дужина овог поља је {0}", | |
| 108 | + blankText : "Поље је обавезно", | |
| 109 | + regexText : "", | |
| 110 | + emptyText : null | |
| 111 | + }); | |
| 112 | +} | |
| 113 | + | |
| 114 | +if(Ext.form.NumberField){ | |
| 115 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 116 | + minText : "Минимална вредност у пољу је {0}", | |
| 117 | + maxText : "Максимална вредност у пољу је {0}", | |
| 118 | + nanText : "{0} није правилан број" | |
| 119 | + }); | |
| 120 | +} | |
| 121 | + | |
| 122 | +if(Ext.form.DateField){ | |
| 123 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 124 | + disabledDaysText : "Пасивно", | |
| 125 | + disabledDatesText : "Пасивно", | |
| 126 | + minText : "Датум у овом пољу мора бити након {0}", | |
| 127 | + maxText : "Датум у овом пољу мора бити пре {0}", | |
| 128 | + invalidText : "{0} није правилан датум - захтевани облик је {1}", | |
| 129 | + format : "d.m.y" | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.ComboBox){ | |
| 134 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 135 | + loadingText : "Учитавам...", | |
| 136 | + valueNotFoundText : undefined | |
| 137 | + }); | |
| 138 | +} | |
| 139 | + | |
| 140 | +if(Ext.form.VTypes){ | |
| 141 | + Ext.apply(Ext.form.VTypes, { | |
| 142 | + emailText : 'Ово поље прихвата e-mail адресу искључиво у облику "korisnik@domen.com"', | |
| 143 | + urlText : 'Ово поље прихвата URL адресу искључиво у облику "http:/'+'/www.domen.com"', | |
| 144 | + alphaText : 'Ово поље може садржати искључиво слова и знак _', | |
| 145 | + alphanumText : 'Ово поље може садржати само слова, бројеве и знак _' | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.grid.GridView){ | |
| 150 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 151 | + sortAscText : "Растући редослед", | |
| 152 | + sortDescText : "Опадајући редослед", | |
| 153 | + lockText : "Закључај колону", | |
| 154 | + unlockText : "Откључај колону", | |
| 155 | + columnsText : "Колоне" | |
| 156 | + }); | |
| 157 | +} | |
| 158 | + | |
| 159 | +if(Ext.grid.PropertyColumnModel){ | |
| 160 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 161 | + nameText : "Назив", | |
| 162 | + valueText : "Вредност", | |
| 163 | + dateFormat : "d.m.Y" | |
| 164 | + }); | |
| 165 | +} | |
| 166 | + | |
| 167 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 168 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 169 | + splitTip : "Повући за измену величине.", | |
| 170 | + collapsibleSplitTip : "Повући за измену величине. Двоструки клик за сакривање." | |
| 171 | + }); | |
| 172 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-sv_SE.js
0 → 100644
| 1 | +/** | |
| 2 | + * Swedish translation (utf8-encoding) | |
| 3 | + * By Erik Andersson, Monator Technologies | |
| 4 | + * 24 April 2007 | |
| 5 | + * Changed by Cariad, 29 July 2007 | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Laddar...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} markerade rad(er)"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "Stäng denna flik"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "Värdet i detta fält är inte tillåtet"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "Laddar..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "januari", | |
| 32 | + "februari", | |
| 33 | + "mars", | |
| 34 | + "april", | |
| 35 | + "maj", | |
| 36 | + "juni", | |
| 37 | + "juli", | |
| 38 | + "augusti", | |
| 39 | + "september", | |
| 40 | + "oktober", | |
| 41 | + "november", | |
| 42 | + "december" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.dayNames = [ | |
| 46 | + "söndag", | |
| 47 | + "måndag", | |
| 48 | + "tisdag", | |
| 49 | + "onsdag", | |
| 50 | + "torsdag", | |
| 51 | + "fredag", | |
| 52 | + "lördag" | |
| 53 | +]; | |
| 54 | + | |
| 55 | +if(Ext.MessageBox){ | |
| 56 | + Ext.MessageBox.buttonText = { | |
| 57 | + ok : "OK", | |
| 58 | + cancel : "Avbryt", | |
| 59 | + yes : "Ja", | |
| 60 | + no : "Nej" | |
| 61 | + }; | |
| 62 | +} | |
| 63 | + | |
| 64 | +if(Ext.util.Format){ | |
| 65 | + Ext.util.Format.date = function(v, format){ | |
| 66 | + if(!v) return ""; | |
| 67 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 68 | + return v.dateFormat(format || "Y-m-d"); | |
| 69 | + }; | |
| 70 | +} | |
| 71 | + | |
| 72 | +if(Ext.DatePicker){ | |
| 73 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 74 | + todayText : "Idag", | |
| 75 | + minText : "Detta datum inträffar före det tidigast tillåtna", | |
| 76 | + maxText : "Detta datum inträffar efter det senast tillåtna", | |
| 77 | + disabledDaysText : "", | |
| 78 | + disabledDatesText : "", | |
| 79 | + monthNames : Date.monthNames, | |
| 80 | + dayNames : Date.dayNames, | |
| 81 | + nextText : 'Nästa månad (Ctrl + högerpil)', | |
| 82 | + prevText : 'Föregående månad (Ctrl + vänsterpil)', | |
| 83 | + monthYearText : 'Välj en månad (Ctrl + uppåtpil/neråtpil för att ändra årtal)', | |
| 84 | + todayTip : "{0} (mellanslag)", | |
| 85 | + format : "Y-m-d", | |
| 86 | + startDay : 1 | |
| 87 | + }); | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.PagingToolbar){ | |
| 91 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 92 | + beforePageText : "Sida", | |
| 93 | + afterPageText : "av {0}", | |
| 94 | + firstText : "Första sidan", | |
| 95 | + prevText : "Föregående sida", | |
| 96 | + nextText : "Nästa sida", | |
| 97 | + lastText : "Sista sidan", | |
| 98 | + refreshText : "Uppdatera", | |
| 99 | + displayMsg : "Visar {0} - {1} av {2}", | |
| 100 | + emptyMsg : 'Det finns ingen data att visa' | |
| 101 | + }); | |
| 102 | +} | |
| 103 | + | |
| 104 | +if(Ext.form.TextField){ | |
| 105 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 106 | + minLengthText : "Minsta tillåtna längd för detta fält är {0}", | |
| 107 | + maxLengthText : "Största tillåtna längd för detta fält är {0}", | |
| 108 | + blankText : "Detta fält är obligatoriskt", | |
| 109 | + regexText : "", | |
| 110 | + emptyText : null | |
| 111 | + }); | |
| 112 | +} | |
| 113 | + | |
| 114 | +if(Ext.form.NumberField){ | |
| 115 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 116 | + minText : "Minsta tillåtna värde för detta fält är {0}", | |
| 117 | + maxText : "Största tillåtna värde för detta fält är {0}", | |
| 118 | + nanText : "{0} är inte ett tillåtet nummer" | |
| 119 | + }); | |
| 120 | +} | |
| 121 | + | |
| 122 | +if(Ext.form.DateField){ | |
| 123 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 124 | + disabledDaysText : "Inaktiverad", | |
| 125 | + disabledDatesText : "Inaktiverad", | |
| 126 | + minText : "Datumet i detta fält måste inträffa efter {0}", | |
| 127 | + maxText : "Datumet i detta fält måste inträffa före {0}", | |
| 128 | + invalidText : "{0} är inte ett tillåtet datum - datum ska anges i formatet {1}", | |
| 129 | + format : "Y-m-d" | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.ComboBox){ | |
| 134 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 135 | + loadingText : "Laddar...", | |
| 136 | + valueNotFoundText : undefined | |
| 137 | + }); | |
| 138 | +} | |
| 139 | + | |
| 140 | +if(Ext.form.VTypes){ | |
| 141 | + Ext.apply(Ext.form.VTypes, { | |
| 142 | + emailText : 'Detta fält ska innehålla en e-post adress i formatet "användare@domän.se"', | |
| 143 | + urlText : 'Detta fält ska innehålla en länk (URL) i formatet "http:/'+'/www.domän.se"', | |
| 144 | + alphaText : 'Detta fält får bara innehålla bokstäver och "_"', | |
| 145 | + alphanumText : 'Detta fält får bara innehålla bokstäver, nummer och "_"' | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.grid.GridView){ | |
| 150 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 151 | + sortAscText : "Sortera stigande", | |
| 152 | + sortDescText : "Sortera fallande", | |
| 153 | + lockText : "Lås kolumn", | |
| 154 | + unlockText : "Lås upp kolumn", | |
| 155 | + columnsText : "Kolumner" | |
| 156 | + }); | |
| 157 | +} | |
| 158 | + | |
| 159 | +if(Ext.grid.PropertyColumnModel){ | |
| 160 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 161 | + nameText : "Namn", | |
| 162 | + valueText : "Värde", | |
| 163 | + dateFormat : "Y-m-d" | |
| 164 | + }); | |
| 165 | +} | |
| 166 | + | |
| 167 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 168 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 169 | + splitTip : "Dra för att ändra storleken.", | |
| 170 | + collapsibleSplitTip : "Dra för att ändra storleken. Dubbelklicka för att gömma." | |
| 171 | + }); | |
| 172 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-th.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by KillerNay on the extjs.com forums. | |
| 3 | + * Thank you KillerNay! | |
| 4 | + * | |
| 5 | + * Thailand Translations | |
| 6 | + */ | |
| 7 | + | |
| 8 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>'; | |
| 9 | + | |
| 10 | +if(Ext.View){ | |
| 11 | + Ext.View.prototype.emptyText = ""; | |
| 12 | +} | |
| 13 | + | |
| 14 | +if(Ext.grid.GridPanel){ | |
| 15 | + Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç"; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.TabPanelItem){ | |
| 19 | + Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.form.Field){ | |
| 23 | + Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.LoadMask){ | |
| 27 | + Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ..."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +Date.monthNames = [ | |
| 31 | + "Á¡ÃÒ€Á", | |
| 32 | + "¡ØÁŸÒӟѹžì", | |
| 33 | + "ÁÕ¹Ò€Á", | |
| 34 | + "àÁÉÒ¹", | |
| 35 | + "ŸÄÉÀÒ€Á", | |
| 36 | + "ÁԶعÒ¹", | |
| 37 | + "¡Ä¡¯Ò€Á", | |
| 38 | + "ÊÔ§ËÒ€Á", | |
| 39 | + "¡Ñ¹ÂÒ¹", | |
| 40 | + "µØÅÒ€Á", | |
| 41 | + "ŸÄÈšÔ¡Ò¹", | |
| 42 | + "žÑ¹ÇÒ€Á" | |
| 43 | +]; | |
| 44 | + | |
| 45 | +Date.getShortMonthName = function(month) { | |
| 46 | + return Date.monthNames[month].substring(0, 3); | |
| 47 | +}; | |
| 48 | + | |
| 49 | +Date.monthNumbers = { | |
| 50 | + "Á€" : 0, | |
| 51 | + "¡Ÿ" : 1, | |
| 52 | + "ÁÕ€" : 2, | |
| 53 | + "àÁÂ" : 3, | |
| 54 | + "Ÿ€" : 4, | |
| 55 | + "ÁÔÂ" : 5, | |
| 56 | + "¡€" : 6, | |
| 57 | + "Ê€" : 7, | |
| 58 | + "¡Â" : 8, | |
| 59 | + "µ€" : 9, | |
| 60 | + "ŸÂ" : 10, | |
| 61 | + "ž€" : 11 | |
| 62 | +}; | |
| 63 | + | |
| 64 | +Date.getMonthNumber = function(name) { | |
| 65 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 66 | +}; | |
| 67 | + | |
| 68 | +Date.dayNames = [ | |
| 69 | + "ÍÒ·ÔµÂì", | |
| 70 | + "šÑ¹·Ãì", | |
| 71 | + "Íѧ€ÒÃ", | |
| 72 | + "ŸØ×ž", | |
| 73 | + "ŸÄËÑʺŽÕ", | |
| 74 | + "ÈØ¡Ãì", | |
| 75 | + "àÊÒÃì" | |
| 76 | +]; | |
| 77 | + | |
| 78 | +Date.getShortDayName = function(day) { | |
| 79 | + return Date.dayNames[day].substring(0, 3); | |
| 80 | +}; | |
| 81 | + | |
| 82 | +if(Ext.MessageBox){ | |
| 83 | + Ext.MessageBox.buttonText = { | |
| 84 | + ok : "µ¡Å§", | |
| 85 | + cancel : "¡àÅÔ¡", | |
| 86 | + yes : "ãªè", | |
| 87 | + no : "äÁèãªè" | |
| 88 | + }; | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.util.Format){ | |
| 92 | + Ext.util.Format.date = function(v, format){ | |
| 93 | + if(!v) return ""; | |
| 94 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 95 | + return v.dateFormat(format || "m/d/Y"); | |
| 96 | + }; | |
| 97 | +} | |
| 98 | + | |
| 99 | +if(Ext.DatePicker){ | |
| 100 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 101 | + todayText : "Çѹ¹Õé", | |
| 102 | + minText : "This date is before the minimum date", | |
| 103 | + maxText : "This date is after the maximum date", | |
| 104 | + disabledDaysText : "", | |
| 105 | + disabledDatesText : "", | |
| 106 | + monthNames : Date.monthNames, | |
| 107 | + dayNames : Date.dayNames, | |
| 108 | + nextText : 'àŽ×͹¶ÑŽä» (Control+Right)', | |
| 109 | + prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)', | |
| 110 | + monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)', | |
| 111 | + todayTip : "{0} (Spacebar)", | |
| 112 | + format : "m/d/y", | |
| 113 | + okText : " µ¡Å§ ", | |
| 114 | + cancelText : "¡àÅÔ¡", | |
| 115 | + startDay : 0 | |
| 116 | + }); | |
| 117 | +} | |
| 118 | + | |
| 119 | +if(Ext.PagingToolbar){ | |
| 120 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 121 | + beforePageText : "˹éÒ", | |
| 122 | + afterPageText : "of {0}", | |
| 123 | + firstText : "˹éÒáá", | |
| 124 | + prevText : "¡è͹˹éÒ", | |
| 125 | + nextText : "¶ÑŽä»", | |
| 126 | + lastText : "˹éÒÊØŽ·éÒÂ", | |
| 127 | + refreshText : "ÃÕà¿Ãª", | |
| 128 | + displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}", | |
| 129 | + emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§' | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.TextField){ | |
| 134 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 135 | + minLengthText : "The minimum length for this field is {0}", | |
| 136 | + maxLengthText : "The maximum length for this field is {0}", | |
| 137 | + blankText : "This field is required", | |
| 138 | + regexText : "", | |
| 139 | + emptyText : null | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.NumberField){ | |
| 144 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 145 | + minText : "The minimum value for this field is {0}", | |
| 146 | + maxText : "The maximum value for this field is {0}", | |
| 147 | + nanText : "{0} is not a valid number" | |
| 148 | + }); | |
| 149 | +} | |
| 150 | + | |
| 151 | +if(Ext.form.DateField){ | |
| 152 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 153 | + disabledDaysText : "»ÔŽ", | |
| 154 | + disabledDatesText : "»ÔŽ", | |
| 155 | + minText : "The date in this field must be after {0}", | |
| 156 | + maxText : "The date in this field must be before {0}", | |
| 157 | + invalidText : "{0} is not a valid date - it must be in the format {1}", | |
| 158 | + format : "m/d/y", | |
| 159 | + altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.form.ComboBox){ | |
| 164 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 165 | + loadingText : "¡ÓÅѧâËÅŽ...", | |
| 166 | + valueNotFoundText : undefined | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.form.VTypes){ | |
| 171 | + Ext.apply(Ext.form.VTypes, { | |
| 172 | + emailText : 'This field should be an e-mail address in the format "user@domain.com"', | |
| 173 | + urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', | |
| 174 | + alphaText : 'This field should only contain letters and _', | |
| 175 | + alphanumText : 'This field should only contain letters, numbers and _' | |
| 176 | + }); | |
| 177 | +} | |
| 178 | + | |
| 179 | +if(Ext.form.HtmlEditor){ | |
| 180 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 181 | + createLinkText : 'Please enter the URL for the link:', | |
| 182 | + buttonTips : { | |
| 183 | + bold : { | |
| 184 | + title: 'Bold (Ctrl+B)', | |
| 185 | + text: 'Make the selected text bold.', | |
| 186 | + cls: 'x-html-editor-tip' | |
| 187 | + }, | |
| 188 | + italic : { | |
| 189 | + title: 'Italic (Ctrl+I)', | |
| 190 | + text: 'Make the selected text italic.', | |
| 191 | + cls: 'x-html-editor-tip' | |
| 192 | + }, | |
| 193 | + underline : { | |
| 194 | + title: 'Underline (Ctrl+U)', | |
| 195 | + text: 'Underline the selected text.', | |
| 196 | + cls: 'x-html-editor-tip' | |
| 197 | + }, | |
| 198 | + increasefontsize : { | |
| 199 | + title: 'Grow Text', | |
| 200 | + text: 'Increase the font size.', | |
| 201 | + cls: 'x-html-editor-tip' | |
| 202 | + }, | |
| 203 | + decreasefontsize : { | |
| 204 | + title: 'Shrink Text', | |
| 205 | + text: 'Decrease the font size.', | |
| 206 | + cls: 'x-html-editor-tip' | |
| 207 | + }, | |
| 208 | + backcolor : { | |
| 209 | + title: 'Text Highlight Color', | |
| 210 | + text: 'Change the background color of the selected text.', | |
| 211 | + cls: 'x-html-editor-tip' | |
| 212 | + }, | |
| 213 | + forecolor : { | |
| 214 | + title: 'Font Color', | |
| 215 | + text: 'Change the color of the selected text.', | |
| 216 | + cls: 'x-html-editor-tip' | |
| 217 | + }, | |
| 218 | + justifyleft : { | |
| 219 | + title: 'Align Text Left', | |
| 220 | + text: 'Align text to the left.', | |
| 221 | + cls: 'x-html-editor-tip' | |
| 222 | + }, | |
| 223 | + justifycenter : { | |
| 224 | + title: 'Center Text', | |
| 225 | + text: 'Center text in the editor.', | |
| 226 | + cls: 'x-html-editor-tip' | |
| 227 | + }, | |
| 228 | + justifyright : { | |
| 229 | + title: 'Align Text Right', | |
| 230 | + text: 'Align text to the right.', | |
| 231 | + cls: 'x-html-editor-tip' | |
| 232 | + }, | |
| 233 | + insertunorderedlist : { | |
| 234 | + title: 'Bullet List', | |
| 235 | + text: 'Start a bulleted list.', | |
| 236 | + cls: 'x-html-editor-tip' | |
| 237 | + }, | |
| 238 | + insertorderedlist : { | |
| 239 | + title: 'Numbered List', | |
| 240 | + text: 'Start a numbered list.', | |
| 241 | + cls: 'x-html-editor-tip' | |
| 242 | + }, | |
| 243 | + createlink : { | |
| 244 | + title: 'Hyperlink', | |
| 245 | + text: 'Make the selected text a hyperlink.', | |
| 246 | + cls: 'x-html-editor-tip' | |
| 247 | + }, | |
| 248 | + sourceedit : { | |
| 249 | + title: 'Source Edit', | |
| 250 | + text: 'Switch to source editing mode.', | |
| 251 | + cls: 'x-html-editor-tip' | |
| 252 | + } | |
| 253 | + } | |
| 254 | + }); | |
| 255 | +} | |
| 256 | + | |
| 257 | +if(Ext.grid.GridView){ | |
| 258 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 259 | + sortAscText : "Sort Ascending", | |
| 260 | + sortDescText : "Sort Descending", | |
| 261 | + lockText : "Lock Column", | |
| 262 | + unlockText : "Unlock Column", | |
| 263 | + columnsText : "Columns" | |
| 264 | + }); | |
| 265 | +} | |
| 266 | + | |
| 267 | +if(Ext.grid.GroupingView){ | |
| 268 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 269 | + emptyGroupText : '(None)', | |
| 270 | + groupByText : 'Group By This Field', | |
| 271 | + showGroupsText : 'Show in Groups' | |
| 272 | + }); | |
| 273 | +} | |
| 274 | + | |
| 275 | +if(Ext.grid.PropertyColumnModel){ | |
| 276 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 277 | + nameText : "Name", | |
| 278 | + valueText : "Value", | |
| 279 | + dateFormat : "m/j/Y" | |
| 280 | + }); | |
| 281 | +} | |
| 282 | + | |
| 283 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 284 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 285 | + splitTip : "Drag to resize.", | |
| 286 | + collapsibleSplitTip : "Drag to resize. Double click to hide." | |
| 287 | + }); | |
| 288 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-tr.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + * | |
| 5 | + * Turkish translation by Alper YAZGAN | |
| 6 | + * 2008-01-24 , 10:29 AM | |
| 7 | +*/ | |
| 8 | + | |
| 9 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Yükleniyor ...</div>'; | |
| 10 | + | |
| 11 | +if(Ext.View){ | |
| 12 | + Ext.View.prototype.emptyText = ""; | |
| 13 | +} | |
| 14 | + | |
| 15 | +if(Ext.grid.GridPanel){ | |
| 16 | + Ext.grid.GridPanel.prototype.ddText = "Şeçili satır sayısı : {0}"; | |
| 17 | +} | |
| 18 | + | |
| 19 | +if(Ext.TabPanelItem){ | |
| 20 | + Ext.TabPanelItem.prototype.closeText = "Sekmeyi kapat"; | |
| 21 | +} | |
| 22 | + | |
| 23 | +if(Ext.form.Field){ | |
| 24 | + Ext.form.Field.prototype.invalidText = "Bu alandaki değer geçersiz"; | |
| 25 | +} | |
| 26 | + | |
| 27 | +if(Ext.LoadMask){ | |
| 28 | + Ext.LoadMask.prototype.msg = "Yükleniyor ..."; | |
| 29 | +} | |
| 30 | + | |
| 31 | +Date.monthNames = [ | |
| 32 | + "Ocak", | |
| 33 | + "Şubat", | |
| 34 | + "Mart", | |
| 35 | + "Nisan", | |
| 36 | + "Mayıs", | |
| 37 | + "Haziran", | |
| 38 | + "Temmuz", | |
| 39 | + "Ağustos", | |
| 40 | + "Eylül", | |
| 41 | + "Ekim", | |
| 42 | + "Kasım", | |
| 43 | + "Aralık" | |
| 44 | +]; | |
| 45 | + | |
| 46 | +Date.getShortMonthName = function(month) { | |
| 47 | + return Date.monthNames[month].substring(0, 3); | |
| 48 | +}; | |
| 49 | + | |
| 50 | +Date.monthNumbers = { | |
| 51 | + Jan : 0, | |
| 52 | + Feb : 1, | |
| 53 | + Mar : 2, | |
| 54 | + Apr : 3, | |
| 55 | + May : 4, | |
| 56 | + Jun : 5, | |
| 57 | + Jul : 6, | |
| 58 | + Aug : 7, | |
| 59 | + Sep : 8, | |
| 60 | + Oct : 9, | |
| 61 | + Nov : 10, | |
| 62 | + Dec : 11 | |
| 63 | +}; | |
| 64 | + | |
| 65 | +Date.getMonthNumber = function(name) { | |
| 66 | + return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; | |
| 67 | +}; | |
| 68 | + | |
| 69 | +Date.dayNames = [ | |
| 70 | + "Pazar", | |
| 71 | + "Pazartesi", | |
| 72 | + "Salı", | |
| 73 | + "Çarşamba", | |
| 74 | + "Perşembe", | |
| 75 | + "Cuma", | |
| 76 | + "Cumartesi" | |
| 77 | +]; | |
| 78 | + | |
| 79 | +Date.shortDayNames = [ | |
| 80 | + "Paz", | |
| 81 | + "Pzt", | |
| 82 | + "Sal", | |
| 83 | + "Çrş", | |
| 84 | + "Prş", | |
| 85 | + "Cum", | |
| 86 | + "Cmt" | |
| 87 | +]; | |
| 88 | + | |
| 89 | +Date.getShortDayName = function(day) { | |
| 90 | + return Date.shortDayNames[day]; | |
| 91 | +}; | |
| 92 | + | |
| 93 | +if(Ext.MessageBox){ | |
| 94 | + Ext.MessageBox.buttonText = { | |
| 95 | + ok : "Tamam", | |
| 96 | + cancel : "İptal", | |
| 97 | + yes : "Evet", | |
| 98 | + no : "Hayır" | |
| 99 | + }; | |
| 100 | +} | |
| 101 | + | |
| 102 | +if(Ext.util.Format){ | |
| 103 | + Ext.util.Format.date = function(v, format){ | |
| 104 | + if(!v) return ""; | |
| 105 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 106 | + return v.dateFormat(format || "d/m/Y"); | |
| 107 | + }; | |
| 108 | +} | |
| 109 | + | |
| 110 | +if(Ext.DatePicker){ | |
| 111 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 112 | + todayText : "Bugün", | |
| 113 | + minText : "Bu tarih izin verilen en küçük tarihten daha önce", | |
| 114 | + maxText : "Bu tarih izin verilen en büyük tarihten daha sonra", | |
| 115 | + disabledDaysText : "", | |
| 116 | + disabledDatesText : "", | |
| 117 | + monthNames : Date.monthNames, | |
| 118 | + dayNames : Date.dayNames, | |
| 119 | + nextText : 'Gelecek Ay (Control+Right)', | |
| 120 | + prevText : 'Önceki Ay (Control+Left)', | |
| 121 | + monthYearText : 'Bir ay şeçiniz (Yılı artırmak/azaltmak için Control+Up/Down)', | |
| 122 | + todayTip : "{0} (Boşluk Tuşu - Spacebar)", | |
| 123 | + format : "d/m/Y", | |
| 124 | + okText : " Tamam ", | |
| 125 | + cancelText : "İptal", | |
| 126 | + startDay : 1 | |
| 127 | + }); | |
| 128 | +} | |
| 129 | + | |
| 130 | +if(Ext.PagingToolbar){ | |
| 131 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 132 | + beforePageText : "Sayfa", | |
| 133 | + afterPageText : " / {0}", | |
| 134 | + firstText : "İlk Sayfa", | |
| 135 | + prevText : "Önceki Sayfa", | |
| 136 | + nextText : "Sonraki Sayfa", | |
| 137 | + lastText : "Son Sayfa", | |
| 138 | + refreshText : "Yenile", | |
| 139 | + displayMsg : "Gösterilen {0} - {1} / {2}", | |
| 140 | + emptyMsg : 'Gösterilebilecek veri yok' | |
| 141 | + }); | |
| 142 | +} | |
| 143 | + | |
| 144 | +if(Ext.form.TextField){ | |
| 145 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 146 | + minLengthText : "Girilen verinin uzunluğu en az {0} olabilir", | |
| 147 | + maxLengthText : "Girilen verinin uzunluğu en fazla {0} olabilir", | |
| 148 | + blankText : "Bu alan boş bırakılamaz", | |
| 149 | + regexText : "", | |
| 150 | + emptyText : null | |
| 151 | + }); | |
| 152 | +} | |
| 153 | + | |
| 154 | +if(Ext.form.NumberField){ | |
| 155 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 156 | + minText : "En az {0} girilebilir", | |
| 157 | + maxText : "En çok {0} girilebilir", | |
| 158 | + nanText : "{0} geçersiz bir sayıdır" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.form.DateField){ | |
| 163 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 164 | + disabledDaysText : "Disabled", | |
| 165 | + disabledDatesText : "Disabled", | |
| 166 | + minText : "Bu tarih, {0} tarihinden daha sonra olmalıdır", | |
| 167 | + maxText : "Bu tarih, {0} tarihinden daha önce olmalıdır", | |
| 168 | + invalidText : "{0} geçersiz bir tarihdir - tarih formatı {1} şeklinde olmalıdır", | |
| 169 | + format : "d/m/Y", | |
| 170 | + altFormats : "d.m.y|d.m.Y|d/m/y|d-m-Y|d-m-y|d.m|d/m|d-m|dm|dmY|dmy|d|Y.m.d|Y-m-d|Y/m/d" | |
| 171 | + }); | |
| 172 | +} | |
| 173 | + | |
| 174 | +if(Ext.form.ComboBox){ | |
| 175 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 176 | + loadingText : "Yükleniyor ...", | |
| 177 | + valueNotFoundText : undefined | |
| 178 | + }); | |
| 179 | +} | |
| 180 | + | |
| 181 | +if(Ext.form.VTypes){ | |
| 182 | + Ext.apply(Ext.form.VTypes, { | |
| 183 | + emailText : 'Bu alan "user@domain.com" şeklinde elektronik posta formatında olmalıdır', | |
| 184 | + urlText : 'Bu alan "http://www.domain.com" şeklinde URL adres formatında olmalıdır', | |
| 185 | + alphaText : 'Bu alan sadece harf ve _ içermeli', | |
| 186 | + alphanumText : 'Bu alan sadece harf, sayı ve _ içermeli' | |
| 187 | + }); | |
| 188 | +} | |
| 189 | + | |
| 190 | +if(Ext.form.HtmlEditor){ | |
| 191 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 192 | + createLinkText : 'Lütfen bu bağlantı için gerekli URL adresini giriniz:', | |
| 193 | + buttonTips : { | |
| 194 | + bold : { | |
| 195 | + title: 'Kalın(Bold) (Ctrl+B)', | |
| 196 | + text: 'Şeçili yazıyı kalın yapar.', | |
| 197 | + cls: 'x-html-editor-tip' | |
| 198 | + }, | |
| 199 | + italic : { | |
| 200 | + title: 'İtalik(Italic) (Ctrl+I)', | |
| 201 | + text: 'Şeçili yazıyı italik yapar.', | |
| 202 | + cls: 'x-html-editor-tip' | |
| 203 | + }, | |
| 204 | + underline : { | |
| 205 | + title: 'Alt Çizgi(Underline) (Ctrl+U)', | |
| 206 | + text: 'Şeçili yazının altını çizer.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + increasefontsize : { | |
| 210 | + title: 'Fontu büyült', | |
| 211 | + text: 'Yazı fontunu büyütür.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + decreasefontsize : { | |
| 215 | + title: 'Fontu küçült', | |
| 216 | + text: 'Yazı fontunu küçültür.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + backcolor : { | |
| 220 | + title: 'Arka Plan Rengi', | |
| 221 | + text: 'Seçili yazının arka plan rengini değiştir.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + }, | |
| 224 | + forecolor : { | |
| 225 | + title: 'Yazı Rengi', | |
| 226 | + text: 'Seçili yazının rengini değiştir.', | |
| 227 | + cls: 'x-html-editor-tip' | |
| 228 | + }, | |
| 229 | + justifyleft : { | |
| 230 | + title: 'Sola Daya', | |
| 231 | + text: 'Yazıyı sola daya.', | |
| 232 | + cls: 'x-html-editor-tip' | |
| 233 | + }, | |
| 234 | + justifycenter : { | |
| 235 | + title: 'Ortala', | |
| 236 | + text: 'Yazıyı editörde ortala.', | |
| 237 | + cls: 'x-html-editor-tip' | |
| 238 | + }, | |
| 239 | + justifyright : { | |
| 240 | + title: 'Sağa daya', | |
| 241 | + text: 'Yazıyı sağa daya.', | |
| 242 | + cls: 'x-html-editor-tip' | |
| 243 | + }, | |
| 244 | + insertunorderedlist : { | |
| 245 | + title: 'Noktalı Liste', | |
| 246 | + text: 'Noktalı listeye başla.', | |
| 247 | + cls: 'x-html-editor-tip' | |
| 248 | + }, | |
| 249 | + insertorderedlist : { | |
| 250 | + title: 'Numaralı Liste', | |
| 251 | + text: 'Numaralı lisyeye başla.', | |
| 252 | + cls: 'x-html-editor-tip' | |
| 253 | + }, | |
| 254 | + createlink : { | |
| 255 | + title: 'Web Adresi(Hyperlink)', | |
| 256 | + text: 'Seçili yazıyı web adresi(hyperlink) yap.', | |
| 257 | + cls: 'x-html-editor-tip' | |
| 258 | + }, | |
| 259 | + sourceedit : { | |
| 260 | + title: 'Kaynak kodu Düzenleme', | |
| 261 | + text: 'Kaynak kodu düzenleme moduna geç.', | |
| 262 | + cls: 'x-html-editor-tip' | |
| 263 | + } | |
| 264 | + } | |
| 265 | + }); | |
| 266 | +} | |
| 267 | + | |
| 268 | +if(Ext.grid.GridView){ | |
| 269 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 270 | + sortAscText : "Artan sırada sırala", | |
| 271 | + sortDescText : "Azalan sırada sırala", | |
| 272 | + lockText : "Kolonu kilitle", | |
| 273 | + unlockText : "Kolon kilidini kaldır", | |
| 274 | + columnsText : "Kolonlar" | |
| 275 | + }); | |
| 276 | +} | |
| 277 | + | |
| 278 | +if(Ext.grid.GroupingView){ | |
| 279 | + Ext.apply(Ext.grid.GroupingView.prototype, { | |
| 280 | + emptyGroupText : '(Yok)', | |
| 281 | + groupByText : 'Bu Alana Göre Grupla', | |
| 282 | + showGroupsText : 'Gruplar Halinde Göster' | |
| 283 | + }); | |
| 284 | +} | |
| 285 | + | |
| 286 | +if(Ext.grid.PropertyColumnModel){ | |
| 287 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 288 | + nameText : "Ad", | |
| 289 | + valueText : "Değer", | |
| 290 | + dateFormat : "d/m/Y" | |
| 291 | + }); | |
| 292 | +} | |
| 293 | + | |
| 294 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 295 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 296 | + splitTip : "Yeniden boyutlandırmak için sürükle.", | |
| 297 | + collapsibleSplitTip : "Yeniden boyutlandırmak için sürükle. Saklamak için çift tıkla." | |
| 298 | + }); | |
| 299 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-ukr.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ukrainian translation | |
| 3 | + * By zlatko (utf-8 encoding) | |
| 4 | + * 3 October 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Триває завантаження...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} вибраних стрічок"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "Закрити цю вкладку"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "Значення у цьому полі невірне"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "Завантаження..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "Січень", | |
| 31 | + "Лютий", | |
| 32 | + "Березень", | |
| 33 | + "Квітень", | |
| 34 | + "Травень", | |
| 35 | + "Червень", | |
| 36 | + "Липень", | |
| 37 | + "Серпень", | |
| 38 | + "Вересень", | |
| 39 | + "Жовтень", | |
| 40 | + "Листопад", | |
| 41 | + "Грудень" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "Неділя", | |
| 46 | + "Понеділок", | |
| 47 | + "Вівторок", | |
| 48 | + "Середа", | |
| 49 | + "Четвер", | |
| 50 | + "Пятниця", | |
| 51 | + "Субота" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "OK", | |
| 57 | + cancel : "Відміна", | |
| 58 | + yes : "Так", | |
| 59 | + no : "Ні" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "d.m.Y"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "Сьогодні", | |
| 74 | + minText : "Ця дата менше мінімальної дати", | |
| 75 | + maxText : "Ця дата більше максимальної дати", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : 'Наступний місяць (Control+Вправо)', | |
| 81 | + prevText : 'Попередній місяць (Control+Вліво)', | |
| 82 | + monthYearText : 'Вибір місяця (Control+Вверх/Вниз для вибору року)', | |
| 83 | + todayTip : "{0} (Пробіл)", | |
| 84 | + format : "d.m.y", | |
| 85 | + okText : " OK ", | |
| 86 | + cancelText : "Відміна", | |
| 87 | + startDay : 1 | |
| 88 | + }); | |
| 89 | +} | |
| 90 | + | |
| 91 | +if(Ext.PagingToolbar){ | |
| 92 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 93 | + beforePageText : "Сторінка", | |
| 94 | + afterPageText : "з {0}", | |
| 95 | + firstText : "Перша сторінка", | |
| 96 | + prevText : "Попередня сторінка", | |
| 97 | + nextText : "Наступна сторінка", | |
| 98 | + lastText : "Остання сторінка", | |
| 99 | + refreshText : "Обновити", | |
| 100 | + displayMsg : "Відображаються записи з {0} по {1}, всього {2}", | |
| 101 | + emptyMsg : 'Дані для відображення відсутні' | |
| 102 | + }); | |
| 103 | +} | |
| 104 | + | |
| 105 | +if(Ext.form.TextField){ | |
| 106 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 107 | + minLengthText : "Мінімальна довжина цього поля {0}", | |
| 108 | + maxLengthText : "Максимальна довжина цього поля {0}", | |
| 109 | + blankText : "Це поле є обов’язковим для заповнення", | |
| 110 | + regexText : "", | |
| 111 | + emptyText : null | |
| 112 | + }); | |
| 113 | +} | |
| 114 | + | |
| 115 | +if(Ext.form.NumberField){ | |
| 116 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 117 | + minText : "Значення цього поля не може бути менше {0}", | |
| 118 | + maxText : "Значення цього поля не може бути більше {0}", | |
| 119 | + nanText : "{0} не являється числом" | |
| 120 | + }); | |
| 121 | +} | |
| 122 | + | |
| 123 | +if(Ext.form.DateField){ | |
| 124 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 125 | + disabledDaysText : "Не доступно", | |
| 126 | + disabledDatesText : "Не доступно", | |
| 127 | + minText : "Дата в цьому полі повинна бути більше {0}", | |
| 128 | + maxText : "Дата в цьому полі повинна бути менше {0}", | |
| 129 | + invalidText : "{0} неправильна дата - дата повинна бути вказана у форматі {1}", | |
| 130 | + format : "d.m.y" | |
| 131 | + }); | |
| 132 | +} | |
| 133 | + | |
| 134 | +if(Ext.form.ComboBox){ | |
| 135 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 136 | + loadingText : "Завантаження...", | |
| 137 | + valueNotFoundText : undefined | |
| 138 | + }); | |
| 139 | +} | |
| 140 | + | |
| 141 | +if(Ext.form.VTypes){ | |
| 142 | + Ext.apply(Ext.form.VTypes, { | |
| 143 | + emailText : 'Це поле повинно містити адресу електронної почти у форматі "user@domain.com"', | |
| 144 | + urlText : 'Це поле повинно містити URL у форматі "http:/'+'/www.domain.com"', | |
| 145 | + alphaText : 'Це поле повинно містити виключно латинські літери та символ підкреслення "_"', | |
| 146 | + alphanumText : 'Це поле повинно містити виключно латинські літери, цифри та символ підкреслення "_"' | |
| 147 | + }); | |
| 148 | +} | |
| 149 | + | |
| 150 | +if(Ext.form.HtmlEditor){ | |
| 151 | + Ext.apply(Ext.form.HtmlEditor.prototype, { | |
| 152 | + createLinkText : 'Будь-ласка введіть адресу:', | |
| 153 | + buttonTips : { | |
| 154 | + bold : { | |
| 155 | + title: 'Напівжирний (Ctrl+B)', | |
| 156 | + text: 'Застосування напівжирного до виділеного тексту.', | |
| 157 | + cls: 'x-html-editor-tip' | |
| 158 | + }, | |
| 159 | + italic : { | |
| 160 | + title: 'Курсив (Ctrl+I)', | |
| 161 | + text: ' Застосування курсиву до виділеного тексту.', | |
| 162 | + cls: 'x-html-editor-tip' | |
| 163 | + }, | |
| 164 | + underline : { | |
| 165 | + title: 'Підкреслений (Ctrl+U)', | |
| 166 | + text: ' Застосування підкреслення до виділенного тексту.', | |
| 167 | + cls: 'x-html-editor-tip' | |
| 168 | + }, | |
| 169 | + increasefontsize : { | |
| 170 | + title: 'Збільшити розмір', | |
| 171 | + text: 'Збільшення розміру шрифта.', | |
| 172 | + cls: 'x-html-editor-tip' | |
| 173 | + }, | |
| 174 | + decreasefontsize : { | |
| 175 | + title: 'Зменшити розмір', | |
| 176 | + text: 'Зменшення розміру шрифта.', | |
| 177 | + cls: 'x-html-editor-tip' | |
| 178 | + }, | |
| 179 | + backcolor : { | |
| 180 | + title: 'Заливка', | |
| 181 | + text: 'Зміна кольору фону для виділеного тексту або абзацу.', | |
| 182 | + cls: 'x-html-editor-tip' | |
| 183 | + }, | |
| 184 | + forecolor : { | |
| 185 | + title: 'Колір тексту', | |
| 186 | + text: 'Зміна кольору тексту.', | |
| 187 | + cls: 'x-html-editor-tip' | |
| 188 | + }, | |
| 189 | + justifyleft : { | |
| 190 | + title: 'Вирівняти текст по лівій границі', | |
| 191 | + text: 'Вирівнювання тексту по лівій границі.', | |
| 192 | + cls: 'x-html-editor-tip' | |
| 193 | + }, | |
| 194 | + justifycenter : { | |
| 195 | + title: 'Вирівняти текст по центру', | |
| 196 | + text: 'Вирівнювання тексту по центру.', | |
| 197 | + cls: 'x-html-editor-tip' | |
| 198 | + }, | |
| 199 | + justifyright : { | |
| 200 | + title: 'Вирівняти текст по правій границі', | |
| 201 | + text: 'Вирівнювання тексту по правій границі.', | |
| 202 | + cls: 'x-html-editor-tip' | |
| 203 | + }, | |
| 204 | + insertunorderedlist : { | |
| 205 | + title: 'Маркери', | |
| 206 | + text: 'Почати маркований список.', | |
| 207 | + cls: 'x-html-editor-tip' | |
| 208 | + }, | |
| 209 | + insertorderedlist : { | |
| 210 | + title: 'Нумерація', | |
| 211 | + text: 'Почати нумернований список.', | |
| 212 | + cls: 'x-html-editor-tip' | |
| 213 | + }, | |
| 214 | + createlink : { | |
| 215 | + title: 'Вставити гіперпосилання', | |
| 216 | + text: 'Створення посилання із виділеного тексту.', | |
| 217 | + cls: 'x-html-editor-tip' | |
| 218 | + }, | |
| 219 | + sourceedit : { | |
| 220 | + title: 'Вихідний код', | |
| 221 | + text: 'Переключитись на вихідний код.', | |
| 222 | + cls: 'x-html-editor-tip' | |
| 223 | + } | |
| 224 | + } | |
| 225 | + }); | |
| 226 | +} | |
| 227 | + | |
| 228 | +if(Ext.grid.GridView){ | |
| 229 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 230 | + sortAscText : "Сортувати по зростанню", | |
| 231 | + sortDescText : "Сортувати по спаданню", | |
| 232 | + lockText : "Закріпити колонку", | |
| 233 | + unlockText : "Зняти закріплення колонки", | |
| 234 | + columnsText : "Колонки" | |
| 235 | + }); | |
| 236 | +} | |
| 237 | + | |
| 238 | +if(Ext.grid.PropertyColumnModel){ | |
| 239 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 240 | + nameText : "Назва", | |
| 241 | + valueText : "Значення", | |
| 242 | + dateFormat : "j.m.Y" | |
| 243 | + }); | |
| 244 | +} | |
| 245 | + | |
| 246 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 247 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 248 | + splitTip : "Тягніть для зміни розміру.", | |
| 249 | + collapsibleSplitTip : "Тягніть для зміни розміру. Подвійний клік сховає панель." | |
| 250 | + }); | |
| 251 | +} | |
| 252 | + | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-vn.js
0 → 100644
| 1 | +/** | |
| 2 | + * List compiled by mystix on the extjs.com forums. | |
| 3 | + * Thank you Mystix! | |
| 4 | + */ | |
| 5 | + | |
| 6 | +/** | |
| 7 | + * Vietnamese translation | |
| 8 | + * By bpmtri | |
| 9 | + * 12-April-2007 04:06PM | |
| 10 | + */ | |
| 11 | + | |
| 12 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Đang tải...</div>'; | |
| 13 | + | |
| 14 | +if(Ext.View){ | |
| 15 | + Ext.View.prototype.emptyText = ""; | |
| 16 | +} | |
| 17 | + | |
| 18 | +if(Ext.grid.GridPanel){ | |
| 19 | + Ext.grid.GridPanel.prototype.ddText = "{0} dòng được chọn"; | |
| 20 | +} | |
| 21 | + | |
| 22 | +if(Ext.TabPanelItem){ | |
| 23 | + Ext.TabPanelItem.prototype.closeText = "Đóng thẻ này"; | |
| 24 | +} | |
| 25 | + | |
| 26 | +if(Ext.form.Field){ | |
| 27 | + Ext.form.Field.prototype.invalidText = "Giá trị của ô này không hợp lệ."; | |
| 28 | +} | |
| 29 | + | |
| 30 | +if(Ext.LoadMask){ | |
| 31 | + Ext.LoadMask.prototype.msg = "Đang tải..."; | |
| 32 | +} | |
| 33 | + | |
| 34 | +Date.monthNames = [ | |
| 35 | + "Tháng 1", | |
| 36 | + "Tháng 2", | |
| 37 | + "Tháng 3", | |
| 38 | + "Tháng 4", | |
| 39 | + "Tháng 5", | |
| 40 | + "Tháng 6", | |
| 41 | + "Tháng 7", | |
| 42 | + "Tháng 8", | |
| 43 | + "Tháng 9", | |
| 44 | + "Tháng 10", | |
| 45 | + "Tháng 11", | |
| 46 | + "Tháng 12" | |
| 47 | +]; | |
| 48 | + | |
| 49 | +Date.dayNames = [ | |
| 50 | + "Chủ nhật", | |
| 51 | + "Thứ hai", | |
| 52 | + "Thứ ba", | |
| 53 | + "Thứ tư", | |
| 54 | + "Thứ năm", | |
| 55 | + "Thứ sáu", | |
| 56 | + "Thứ bảy" | |
| 57 | +]; | |
| 58 | + | |
| 59 | +if(Ext.MessageBox){ | |
| 60 | + Ext.MessageBox.buttonText = { | |
| 61 | + ok : "Đồng ý", | |
| 62 | + cancel : "Hủy bỏ", | |
| 63 | + yes : "Có", | |
| 64 | + no : "Không" | |
| 65 | + }; | |
| 66 | +} | |
| 67 | + | |
| 68 | +if(Ext.util.Format){ | |
| 69 | + Ext.util.Format.date = function(v, format){ | |
| 70 | + if(!v) return ""; | |
| 71 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 72 | + return v.dateFormat(format || "d/m/Y"); | |
| 73 | + }; | |
| 74 | +} | |
| 75 | + | |
| 76 | +if(Ext.DatePicker){ | |
| 77 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 78 | + todayText : "Hôm nay", | |
| 79 | + minText : "Ngày này nhỏ hơn ngày nhỏ nhất", | |
| 80 | + maxText : "Ngày này lớn hơn ngày lớn nhất", | |
| 81 | + disabledDaysText : "", | |
| 82 | + disabledDatesText : "", | |
| 83 | + monthNames : Date.monthNames, | |
| 84 | + dayNames : Date.dayNames, | |
| 85 | + nextText : 'Tháng sau (Control+Right)', | |
| 86 | + prevText : 'Tháng trước (Control+Left)', | |
| 87 | + monthYearText : 'Chọn một tháng (Control+Up/Down để thay đổi năm)', | |
| 88 | + todayTip : "{0} (Spacebar - Phím trắng)", | |
| 89 | + format : "d/m/y" | |
| 90 | + }); | |
| 91 | +} | |
| 92 | + | |
| 93 | +if(Ext.PagingToolbar){ | |
| 94 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 95 | + beforePageText : "Trang", | |
| 96 | + afterPageText : "of {0}", | |
| 97 | + firstText : "Trang đầu", | |
| 98 | + prevText : "Trang trước", | |
| 99 | + nextText : "Trang sau", | |
| 100 | + lastText : "Trang cuối", | |
| 101 | + refreshText : "Tải lại", | |
| 102 | + displayMsg : "Hiển thị {0} - {1} của {2}", | |
| 103 | + emptyMsg : 'Không có dữ liệu để hiển thị' | |
| 104 | + }); | |
| 105 | +} | |
| 106 | + | |
| 107 | +if(Ext.form.TextField){ | |
| 108 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 109 | + minLengthText : "Chiều dài tối thiểu của ô này là {0}", | |
| 110 | + maxLengthText : "Chiều dài tối đa của ô này là {0}", | |
| 111 | + blankText : "Ô này cần phải nhập giá trị", | |
| 112 | + regexText : "", | |
| 113 | + emptyText : null | |
| 114 | + }); | |
| 115 | +} | |
| 116 | + | |
| 117 | +if(Ext.form.NumberField){ | |
| 118 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 119 | + minText : "Giá trị nhỏ nhất của ô này là {0}", | |
| 120 | + maxText : "Giá trị lớn nhất của ô này là {0}", | |
| 121 | + nanText : "{0} hông phải là một số hợp lệ" | |
| 122 | + }); | |
| 123 | +} | |
| 124 | + | |
| 125 | +if(Ext.form.DateField){ | |
| 126 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 127 | + disabledDaysText : "Vô hiệu", | |
| 128 | + disabledDatesText : "Vô hiệu", | |
| 129 | + minText : "Ngày nhập trong ô này phải sau ngày {0}", | |
| 130 | + maxText : "Ngày nhập trong ô này phải trước ngày {0}", | |
| 131 | + invalidText : "{0} không phải là một ngày hợp lệ - phải có dạng {1}", | |
| 132 | + format : "d/m/y" | |
| 133 | + }); | |
| 134 | +} | |
| 135 | + | |
| 136 | +if(Ext.form.ComboBox){ | |
| 137 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 138 | + loadingText : "Đang tải...", | |
| 139 | + valueNotFoundText : undefined | |
| 140 | + }); | |
| 141 | +} | |
| 142 | + | |
| 143 | +if(Ext.form.VTypes){ | |
| 144 | + Ext.apply(Ext.form.VTypes, { | |
| 145 | + emailText : 'Giá trị của ô này phải là một địa chỉ email có dạng như "ten@abc.com"', | |
| 146 | + urlText : 'Giá trị của ô này phải là một địa chỉ web(URL) hợp lệ, có dạng như "http:/'+'/www.domain.com"', | |
| 147 | + alphaText : 'Ô này chỉ được nhập các kí tự và gạch dưới(_)', | |
| 148 | + alphanumText : 'Ô này chỉ được nhập các kí tự, số và gạch dưới(_)' | |
| 149 | + }); | |
| 150 | +} | |
| 151 | + | |
| 152 | +if(Ext.grid.GridView){ | |
| 153 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 154 | + sortAscText : "Tăng dần", | |
| 155 | + sortDescText : "Giảm dần", | |
| 156 | + lockText : "Khóa cột", | |
| 157 | + unlockText : "Bỏ khóa cột", | |
| 158 | + columnsText : "Các cột" | |
| 159 | + }); | |
| 160 | +} | |
| 161 | + | |
| 162 | +if(Ext.grid.PropertyColumnModel){ | |
| 163 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 164 | + nameText : "Tên", | |
| 165 | + valueText : "Giá trị", | |
| 166 | + dateFormat : "j/m/Y" | |
| 167 | + }); | |
| 168 | +} | |
| 169 | + | |
| 170 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 171 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 172 | + splitTip : "Kéo giữ chuột để thay đổi kích thước.", | |
| 173 | + collapsibleSplitTip : "Kéo giữ chuột để thay đổi kích thước. Nhấp đúp để ẩn đi." | |
| 174 | + }); | |
| 175 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-zh_CN.js
0 → 100644
| 1 | +/* | |
| 2 | + * Simplified Chinese translation | |
| 3 | + * By DavidHu | |
| 4 | + * 09 April 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "{0} 选择行"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "关闭"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "输入值非法"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +Date.monthNames = [ | |
| 26 | + "一月", | |
| 27 | + "二月", | |
| 28 | + "三月", | |
| 29 | + "四月", | |
| 30 | + "五月", | |
| 31 | + "六月", | |
| 32 | + "七月", | |
| 33 | + "八月", | |
| 34 | + "九月", | |
| 35 | + "十月", | |
| 36 | + "十一月", | |
| 37 | + "十二月" | |
| 38 | +]; | |
| 39 | + | |
| 40 | +Date.dayNames = [ | |
| 41 | + "日", | |
| 42 | + "一", | |
| 43 | + "二", | |
| 44 | + "三", | |
| 45 | + "四", | |
| 46 | + "五", | |
| 47 | + "六" | |
| 48 | +]; | |
| 49 | + | |
| 50 | +if(Ext.MessageBox){ | |
| 51 | + Ext.MessageBox.buttonText = { | |
| 52 | + ok : "确定", | |
| 53 | + cancel : "取消", | |
| 54 | + yes : "是", | |
| 55 | + no : "否" | |
| 56 | + }; | |
| 57 | +} | |
| 58 | + | |
| 59 | +if(Ext.util.Format){ | |
| 60 | + Ext.util.Format.date = function(v, format){ | |
| 61 | + if(!v) return ""; | |
| 62 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 63 | + return v.dateFormat(format || "y年m月d日"); | |
| 64 | + }; | |
| 65 | +} | |
| 66 | + | |
| 67 | +if(Ext.DatePicker){ | |
| 68 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 69 | + todayText : "今天", | |
| 70 | + minText : "日期在最小日期之前", | |
| 71 | + maxText : "日期在最大日期之后", | |
| 72 | + disabledDaysText : "", | |
| 73 | + disabledDatesText : "", | |
| 74 | + monthNames : Date.monthNames, | |
| 75 | + dayNames : Date.dayNames, | |
| 76 | + nextText : '下月 (Control+Right)', | |
| 77 | + prevText : '上月 (Control+Left)', | |
| 78 | + monthYearText : '选择一个月 (Control+Up/Down 来改变年)', | |
| 79 | + todayTip : "{0} (空格键选择)", | |
| 80 | + format : "y年m月d日", | |
| 81 | + okText : "确定", | |
| 82 | + cancelText : "取消" | |
| 83 | + }); | |
| 84 | +} | |
| 85 | + | |
| 86 | +if(Ext.PagingToolbar){ | |
| 87 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 88 | + beforePageText : "页", | |
| 89 | + afterPageText : "页共 {0} 页", | |
| 90 | + firstText : "第一页", | |
| 91 | + prevText : "前一页", | |
| 92 | + nextText : "下一页", | |
| 93 | + lastText : "最后页", | |
| 94 | + refreshText : "刷新", | |
| 95 | + displayMsg : "显示 {0} - {1},共 {2} 条", | |
| 96 | + emptyMsg : '没有数据需要显示' | |
| 97 | + }); | |
| 98 | +} | |
| 99 | + | |
| 100 | +if(Ext.form.TextField){ | |
| 101 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 102 | + minLengthText : "该输入项的最小长度是 {0}", | |
| 103 | + maxLengthText : "该输入项的最大长度是 {0}", | |
| 104 | + blankText : "该输入项为必输项", | |
| 105 | + regexText : "", | |
| 106 | + emptyText : null | |
| 107 | + }); | |
| 108 | +} | |
| 109 | + | |
| 110 | +if(Ext.form.NumberField){ | |
| 111 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 112 | + minText : "该输入项的最小值是 {0}", | |
| 113 | + maxText : "该输入项的最大值是 {0}", | |
| 114 | + nanText : "{0} 不是有效数值" | |
| 115 | + }); | |
| 116 | +} | |
| 117 | + | |
| 118 | +if(Ext.form.DateField){ | |
| 119 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 120 | + disabledDaysText : "禁用", | |
| 121 | + disabledDatesText : "禁用", | |
| 122 | + minText : "该输入项的日期必须在 {0} 之后", | |
| 123 | + maxText : "该输入项的日期必须在 {0} 之前", | |
| 124 | + invalidText : "{0} 是无效的日期 - 必须符合格式: {1}", | |
| 125 | + format : "y年m月d日" | |
| 126 | + }); | |
| 127 | +} | |
| 128 | + | |
| 129 | +if(Ext.form.ComboBox){ | |
| 130 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 131 | + loadingText : "加载...", | |
| 132 | + valueNotFoundText : undefined | |
| 133 | + }); | |
| 134 | +} | |
| 135 | + | |
| 136 | +if(Ext.form.VTypes){ | |
| 137 | + Ext.apply(Ext.form.VTypes, { | |
| 138 | + emailText : '该输入项必须是电子邮件地址,格式如: "user@domain.com"', | |
| 139 | + urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.domain.com"', | |
| 140 | + alphaText : '该输入项只能包含字符和_', | |
| 141 | + alphanumText : '该输入项只能包含字符,数字和_' | |
| 142 | + }); | |
| 143 | +} | |
| 144 | + | |
| 145 | +if(Ext.grid.GridView){ | |
| 146 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 147 | + sortAscText : "正序", | |
| 148 | + sortDescText : "逆序", | |
| 149 | + lockText : "锁列", | |
| 150 | + unlockText : "解锁列", | |
| 151 | + columnsText : "列" | |
| 152 | + }); | |
| 153 | +} | |
| 154 | + | |
| 155 | +if(Ext.grid.PropertyColumnModel){ | |
| 156 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 157 | + nameText : "名称", | |
| 158 | + valueText : "值", | |
| 159 | + dateFormat : "y年m月d日" | |
| 160 | + }); | |
| 161 | +} | |
| 162 | + | |
| 163 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 164 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 165 | + splitTip : "拖动来改变尺寸.", | |
| 166 | + collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏." | |
| 167 | + }); | |
| 168 | +} | ... | ... |
thirdpartyjs/extjs/build/locale/ext-lang-zh_TW.js
0 → 100644
| 1 | +/* | |
| 2 | + * Traditional Chinese translation | |
| 3 | + * By hata1234 | |
| 4 | + * 09 April 2007 | |
| 5 | + */ | |
| 6 | + | |
| 7 | +Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">讀取中...</div>'; | |
| 8 | + | |
| 9 | +if(Ext.View){ | |
| 10 | + Ext.View.prototype.emptyText = ""; | |
| 11 | +} | |
| 12 | + | |
| 13 | +if(Ext.grid.GridPanel){ | |
| 14 | + Ext.grid.GridPanel.prototype.ddText = "選擇了 {0} 行"; | |
| 15 | +} | |
| 16 | + | |
| 17 | +if(Ext.TabPanelItem){ | |
| 18 | + Ext.TabPanelItem.prototype.closeText = "關閉此標籤"; | |
| 19 | +} | |
| 20 | + | |
| 21 | +if(Ext.form.Field){ | |
| 22 | + Ext.form.Field.prototype.invalidText = "數值不符合欄位規定"; | |
| 23 | +} | |
| 24 | + | |
| 25 | +if(Ext.LoadMask){ | |
| 26 | + Ext.LoadMask.prototype.msg = "讀取中..."; | |
| 27 | +} | |
| 28 | + | |
| 29 | +Date.monthNames = [ | |
| 30 | + "一月", | |
| 31 | + "二月", | |
| 32 | + "三月", | |
| 33 | + "四月", | |
| 34 | + "五月", | |
| 35 | + "六月", | |
| 36 | + "七月", | |
| 37 | + "八月", | |
| 38 | + "九月", | |
| 39 | + "十月", | |
| 40 | + "十一月", | |
| 41 | + "十二月" | |
| 42 | +]; | |
| 43 | + | |
| 44 | +Date.dayNames = [ | |
| 45 | + "日", | |
| 46 | + "一", | |
| 47 | + "二", | |
| 48 | + "三", | |
| 49 | + "四", | |
| 50 | + "五", | |
| 51 | + "六" | |
| 52 | +]; | |
| 53 | + | |
| 54 | +if(Ext.MessageBox){ | |
| 55 | + Ext.MessageBox.buttonText = { | |
| 56 | + ok : "確定", | |
| 57 | + cancel : "取消", | |
| 58 | + yes : "是", | |
| 59 | + no : "否" | |
| 60 | + }; | |
| 61 | +} | |
| 62 | + | |
| 63 | +if(Ext.util.Format){ | |
| 64 | + Ext.util.Format.date = function(v, format){ | |
| 65 | + if(!v) return ""; | |
| 66 | + if(!(v instanceof Date)) v = new Date(Date.parse(v)); | |
| 67 | + return v.dateFormat(format || "Y/m/d"); | |
| 68 | + }; | |
| 69 | +} | |
| 70 | + | |
| 71 | +if(Ext.DatePicker){ | |
| 72 | + Ext.apply(Ext.DatePicker.prototype, { | |
| 73 | + todayText : "今天", | |
| 74 | + minText : "日期必須大於最小容許日期", | |
| 75 | + maxText : "日期必須小於最大容許日期", | |
| 76 | + disabledDaysText : "", | |
| 77 | + disabledDatesText : "", | |
| 78 | + monthNames : Date.monthNames, | |
| 79 | + dayNames : Date.dayNames, | |
| 80 | + nextText : "下個月 (Ctrl+右方向鍵)", | |
| 81 | + prevText : "上個月 (Ctrl+左方向鍵)", | |
| 82 | + monthYearText : "選擇月份 (Ctrl+上/下方向鍵選擇年份)", | |
| 83 | + todayTip : "{0} (空白鍵)", | |
| 84 | + format : "y/m/d", | |
| 85 | + okText : "确定", | |
| 86 | + cancelText : "取消" | |
| 87 | + }); | |
| 88 | +} | |
| 89 | + | |
| 90 | +if(Ext.PagingToolbar){ | |
| 91 | + Ext.apply(Ext.PagingToolbar.prototype, { | |
| 92 | + beforePageText : "第", | |
| 93 | + afterPageText : "頁,共{0}頁", | |
| 94 | + firstText : "第一頁", | |
| 95 | + prevText : "上一頁", | |
| 96 | + nextText : "下一頁", | |
| 97 | + lastText : "最後頁", | |
| 98 | + refreshText : "重新整理", | |
| 99 | + displayMsg : "顯示{0} - {1}頁,共{2}頁", | |
| 100 | + emptyMsg : '沒有任何資料' | |
| 101 | + }); | |
| 102 | +} | |
| 103 | + | |
| 104 | +if(Ext.form.TextField){ | |
| 105 | + Ext.apply(Ext.form.TextField.prototype, { | |
| 106 | + minLengthText : "此欄位最少要輸入 {0} 個字", | |
| 107 | + maxLengthText : "此欄位最多輸入 {0} 個字", | |
| 108 | + blankText : "此欄位為必填", | |
| 109 | + regexText : "", | |
| 110 | + emptyText : null | |
| 111 | + }); | |
| 112 | +} | |
| 113 | + | |
| 114 | +if(Ext.form.NumberField){ | |
| 115 | + Ext.apply(Ext.form.NumberField.prototype, { | |
| 116 | + minText : "此欄位之數值必須大於 {0}", | |
| 117 | + maxText : "此欄位之數值必須小於 {0}", | |
| 118 | + nanText : "{0} 不是合法的數字" | |
| 119 | + }); | |
| 120 | +} | |
| 121 | + | |
| 122 | +if(Ext.form.DateField){ | |
| 123 | + Ext.apply(Ext.form.DateField.prototype, { | |
| 124 | + disabledDaysText : "無法使用", | |
| 125 | + disabledDatesText : "無法使用", | |
| 126 | + minText : "此欄位之日期必須在 {0} 之後", | |
| 127 | + maxText : "此欄位之日期必須在 {0} 之前", | |
| 128 | + invalidText : "{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式", | |
| 129 | + format : "Y/m/d" | |
| 130 | + }); | |
| 131 | +} | |
| 132 | + | |
| 133 | +if(Ext.form.ComboBox){ | |
| 134 | + Ext.apply(Ext.form.ComboBox.prototype, { | |
| 135 | + loadingText : "讀取中 ...", | |
| 136 | + valueNotFoundText : undefined | |
| 137 | + }); | |
| 138 | +} | |
| 139 | + | |
| 140 | +if(Ext.form.VTypes){ | |
| 141 | + Ext.apply(Ext.form.VTypes, { | |
| 142 | + emailText : '此欄位必須輸入像 "user@domain.com" 之E-Mail格式', | |
| 143 | + urlText : '此欄位必須輸入像 "http:/'+'/www.domain.com" 之網址格式', | |
| 144 | + alphaText : '此欄位僅能輸入半形英文字母及底線( _ )符號', | |
| 145 | + alphanumText : '此欄位僅能輸入半形英文字母、數字及底線( _ )符號' | |
| 146 | + }); | |
| 147 | +} | |
| 148 | + | |
| 149 | +if(Ext.grid.GridView){ | |
| 150 | + Ext.apply(Ext.grid.GridView.prototype, { | |
| 151 | + sortAscText : "正向排序", | |
| 152 | + sortDescText : "反向排序", | |
| 153 | + lockText : "鎖定欄位", | |
| 154 | + unlockText : "解開欄位鎖定", | |
| 155 | + columnsText : "欄位" | |
| 156 | + }); | |
| 157 | +} | |
| 158 | + | |
| 159 | +if(Ext.grid.PropertyColumnModel){ | |
| 160 | + Ext.apply(Ext.grid.PropertyColumnModel.prototype, { | |
| 161 | + nameText : "名稱", | |
| 162 | + valueText : "數值", | |
| 163 | + dateFormat : "Y/m/d" | |
| 164 | + }); | |
| 165 | +} | |
| 166 | + | |
| 167 | +if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ | |
| 168 | + Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { | |
| 169 | + splitTip : "拖曳縮放大小.", | |
| 170 | + collapsibleSplitTip : "拖曳縮放大小. 滑鼠雙擊隱藏." | |
| 171 | + }); | |
| 172 | +} | ... | ... |
thirdpartyjs/extjs/build/state/CookieProvider-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.state.CookieProvider=function(A){Ext.state.CookieProvider.superclass.constructor.call(this);this.path="/";this.expires=new Date(new Date().getTime()+(1000*60*60*24*7));this.domain=null;this.secure=false;Ext.apply(this,A);this.state=this.readCookies()};Ext.extend(Ext.state.CookieProvider,Ext.state.Provider,{set:function(A,B){if(typeof B=="undefined"||B===null){this.clear(A);return }this.setCookie(A,B);Ext.state.CookieProvider.superclass.set.call(this,A,B)},clear:function(A){this.clearCookie(A);Ext.state.CookieProvider.superclass.clear.call(this,A)},readCookies:function(){var C={};var F=document.cookie+";";var B=/\s?(.*?)=(.*?);/g;var E;while((E=B.exec(F))!=null){var A=E[1];var D=E[2];if(A&&A.substring(0,3)=="ys-"){C[A.substr(3)]=this.decodeValue(D)}}return C},setCookie:function(A,B){document.cookie="ys-"+A+"="+this.encodeValue(B)+((this.expires==null)?"":("; expires="+this.expires.toGMTString()))+((this.path==null)?"":("; path="+this.path))+((this.domain==null)?"":("; domain="+this.domain))+((this.secure==true)?"; secure":"")},clearCookie:function(A){document.cookie="ys-"+A+"=null; expires=Thu, 01-Jan-70 00:00:01 GMT"+((this.path==null)?"":("; path="+this.path))+((this.domain==null)?"":("; domain="+this.domain))+((this.secure==true)?"; secure":"")}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/state/Provider-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.state.Provider=function(){this.addEvents("statechange");this.state={};Ext.state.Provider.superclass.constructor.call(this)};Ext.extend(Ext.state.Provider,Ext.util.Observable,{get:function(B,A){return typeof this.state[B]=="undefined"?A:this.state[B]},clear:function(A){delete this.state[A];this.fireEvent("statechange",this,A,null)},set:function(A,B){this.state[A]=B;this.fireEvent("statechange",this,A,B)},decodeValue:function(A){var J=/^(a|n|d|b|s|o)\:(.*)$/;var C=J.exec(unescape(A));if(!C||!C[1]){return }var F=C[1];var H=C[2];switch(F){case"n":return parseFloat(H);case"d":return new Date(Date.parse(H));case"b":return(H=="1");case"a":var G=[];var I=H.split("^");for(var B=0,D=I.length;B<D;B++){G.push(this.decodeValue(I[B]))}return G;case"o":var G={};var I=H.split("^");for(var B=0,D=I.length;B<D;B++){var E=I[B].split("=");G[E[0]]=this.decodeValue(E[1])}return G;default:return H}},encodeValue:function(C){var B;if(typeof C=="number"){B="n:"+C}else{if(typeof C=="boolean"){B="b:"+(C?"1":"0")}else{if(Ext.isDate(C)){B="d:"+C.toGMTString()}else{if(Ext.isArray(C)){var F="";for(var E=0,A=C.length;E<A;E++){F+=this.encodeValue(C[E]);if(E!=A-1){F+="^"}}B="a:"+F}else{if(typeof C=="object"){var F="";for(var D in C){if(typeof C[D]!="function"&&C[D]!==undefined){F+=D+"="+this.encodeValue(C[D])+"^"}}B="o:"+F.substring(0,F.length-1)}else{B="s:"+C}}}}}return escape(B)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/state/StateManager-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.state.Manager=function(){var A=new Ext.state.Provider();return{setProvider:function(B){A=B},get:function(C,B){return A.get(C,B)},set:function(B,C){A.set(B,C)},clear:function(B){A.clear(B)},getProvider:function(){return A}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/CSS-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.CSS=function(){var D=null;var C=document;var B=/(-[a-z])/gi;var A=function(E,F){return F.charAt(1).toUpperCase()};return{createStyleSheet:function(G,J){var F;var E=C.getElementsByTagName("head")[0];var I=C.createElement("style");I.setAttribute("type","text/css");if(J){I.setAttribute("id",J)}if(Ext.isIE){E.appendChild(I);F=I.styleSheet;F.cssText=G}else{try{I.appendChild(C.createTextNode(G))}catch(H){I.cssText=G}E.appendChild(I);F=I.styleSheet?I.styleSheet:(I.sheet||C.styleSheets[C.styleSheets.length-1])}this.cacheStyleSheet(F);return F},removeStyleSheet:function(F){var E=C.getElementById(F);if(E){E.parentNode.removeChild(E)}},swapStyleSheet:function(G,E){this.removeStyleSheet(G);var F=C.createElement("link");F.setAttribute("rel","stylesheet");F.setAttribute("type","text/css");F.setAttribute("id",G);F.setAttribute("href",E);C.getElementsByTagName("head")[0].appendChild(F)},refreshCache:function(){return this.getRules(true)},cacheStyleSheet:function(F){if(!D){D={}}try{var H=F.cssRules||F.rules;for(var E=H.length-1;E>=0;--E){D[H[E].selectorText]=H[E]}}catch(G){}},getRules:function(F){if(D==null||F){D={};var H=C.styleSheets;for(var G=0,E=H.length;G<E;G++){try{this.cacheStyleSheet(H[G])}catch(I){}}}return D},getRule:function(E,G){var F=this.getRules(G);if(!Ext.isArray(E)){return F[E]}for(var H=0;H<E.length;H++){if(F[E[H]]){return F[E[H]]}}return null},updateRule:function(E,H,G){if(!Ext.isArray(E)){var I=this.getRule(E);if(I){I.style[H.replace(B,A)]=G;return true}}else{for(var F=0;F<E.length;F++){if(this.updateRule(E[F],H,G)){return true}}}return false}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/ClickRepeater-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.ClickRepeater=function(B,A){this.el=Ext.get(B);this.el.unselectable();Ext.apply(this,A);this.addEvents("mousedown","click","mouseup");this.el.on("mousedown",this.handleMouseDown,this);if(this.preventDefault||this.stopDefault){this.el.on("click",function(C){if(this.preventDefault){C.preventDefault()}if(this.stopDefault){C.stopEvent()}},this)}if(this.handler){this.on("click",this.handler,this.scope||this)}Ext.util.ClickRepeater.superclass.constructor.call(this)};Ext.extend(Ext.util.ClickRepeater,Ext.util.Observable,{interval:20,delay:250,preventDefault:true,stopDefault:false,timer:0,handleMouseDown:function(){clearTimeout(this.timer);this.el.blur();if(this.pressClass){this.el.addClass(this.pressClass)}this.mousedownTime=new Date();Ext.getDoc().on("mouseup",this.handleMouseUp,this);this.el.on("mouseout",this.handleMouseOut,this);this.fireEvent("mousedown",this);this.fireEvent("click",this);if(this.accelerate){this.delay=400}this.timer=this.click.defer(this.delay||this.interval,this)},click:function(){this.fireEvent("click",this);this.timer=this.click.defer(this.accelerate?this.easeOutExpo(this.mousedownTime.getElapsed(),400,-390,12000):this.interval,this)},easeOutExpo:function(B,A,D,C){return(B==C)?A+D:D*(-Math.pow(2,-10*B/C)+1)+A},handleMouseOut:function(){clearTimeout(this.timer);if(this.pressClass){this.el.removeClass(this.pressClass)}this.el.on("mouseover",this.handleMouseReturn,this)},handleMouseReturn:function(){this.el.un("mouseover",this.handleMouseReturn,this);if(this.pressClass){this.el.addClass(this.pressClass)}this.click()},handleMouseUp:function(){clearTimeout(this.timer);this.el.un("mouseover",this.handleMouseReturn,this);this.el.un("mouseout",this.handleMouseOut,this);Ext.getDoc().un("mouseup",this.handleMouseUp,this);this.el.removeClass(this.pressClass);this.fireEvent("mouseup",this)}}); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/Date-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +(function(){Date.formatCodeToRegex=function(character,currentGroup){var p=Date.parseCodes[character];if(p){p=Ext.type(p)=="function"?p():p;Date.parseCodes[character]=p}return p?Ext.applyIf({c:p.c?String.format(p.c,currentGroup||"{0}"):p.c},p):{g:0,c:null,s:Ext.escapeRe(character)}};var $f=Date.formatCodeToRegex;Ext.apply(Date,{parseFunctions:{count:0},parseRegexes:[],formatFunctions:{count:0},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],y2kYear:50,MILLI:"ms",SECOND:"s",MINUTE:"mi",HOUR:"h",DAY:"d",MONTH:"mo",YEAR:"y",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNumbers:{Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},getShortMonthName:function(month){return Date.monthNames[month].substring(0,3)},getShortDayName:function(day){return Date.dayNames[day].substring(0,3)},getMonthNumber:function(name){return Date.monthNumbers[name.substring(0,1).toUpperCase()+name.substring(1,3).toLowerCase()]},formatCodes:{d:"String.leftPad(this.getDate(), 2, '0')",D:"Date.getShortDayName(this.getDay())",j:"this.getDate()",l:"Date.dayNames[this.getDay()]",N:"(this.getDay() ? this.getDay() : 7)",S:"this.getSuffix()",w:"this.getDay()",z:"this.getDayOfYear()",W:"String.leftPad(this.getWeekOfYear(), 2, '0')",F:"Date.monthNames[this.getMonth()]",m:"String.leftPad(this.getMonth() + 1, 2, '0')",M:"Date.getShortMonthName(this.getMonth())",n:"(this.getMonth() + 1)",t:"this.getDaysInMonth()",L:"(this.isLeapYear() ? 1 : 0)",o:"(this.getFullYear() + (this.getWeekOfYear() == 1 && this.getMonth() > 0 ? +1 : (this.getWeekOfYear() >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"this.getFullYear()",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"String.leftPad(this.getHours(), 2, '0')",i:"String.leftPad(this.getMinutes(), 2, '0')",s:"String.leftPad(this.getSeconds(), 2, '0')",u:"String.leftPad(this.getMilliseconds(), 3, '0')",O:"this.getGMTOffset()",P:"this.getGMTOffset(true)",T:"this.getTimezone()",Z:"(this.getTimezoneOffset() * -60)",c:function(){for(var c="Y-m-dTH:i:sP",code=[],i=0,l=c.length;i<l;++i){var e=c.charAt(i);code.push(e=="T"?"'T'":Date.getFormatCode(e))}return code.join(" + ")},U:"Math.round(this.getTime() / 1000)"},parseDate:function(input,format){var p=Date.parseFunctions;if(p[format]==null){Date.createParser(format)}var func=p[format];return Date[func](input)},getFormatCode:function(character){var f=Date.formatCodes[character];if(f){f=Ext.type(f)=="function"?f():f;Date.formatCodes[character]=f}return f||("'"+String.escape(character)+"'")},createNewFormat:function(format){var funcName="format"+Date.formatFunctions.count++;Date.formatFunctions[format]=funcName;var code="Date.prototype."+funcName+" = function(){return ";var special=false;var ch="";for(var i=0;i<format.length;++i){ch=format.charAt(i);if(!special&&ch=="\\"){special=true}else{if(special){special=false;code+="'"+String.escape(ch)+"' + "}else{code+=Date.getFormatCode(ch)+" + "}}}eval(code.substring(0,code.length-3)+";}")},createParser:function(format){var funcName="parse"+Date.parseFunctions.count++;var regexNum=Date.parseRegexes.length;var currentGroup=1;Date.parseFunctions[format]=funcName;var code="Date."+funcName+" = function(input){\n"+"var y, m, d, h = 0, i = 0, s = 0, ms = 0, o, z, u, v;\n"+"input = String(input);\n"+"d = new Date();\n"+"y = d.getFullYear();\n"+"m = d.getMonth();\n"+"d = d.getDate();\n"+"var results = input.match(Date.parseRegexes["+regexNum+"]);\n"+"if (results && results.length > 0) {";var regex="";var special=false;var ch="";for(var i=0;i<format.length;++i){ch=format.charAt(i);if(!special&&ch=="\\"){special=true}else{if(special){special=false;regex+=String.escape(ch)}else{var obj=Date.formatCodeToRegex(ch,currentGroup);currentGroup+=obj.g;regex+=obj.s;if(obj.g&&obj.c){code+=obj.c}}}}code+="if (u){\n"+"v = new Date(u * 1000);\n"+"}else if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0 && ms >= 0){\n"+"v = new Date(y, m, d, h, i, s, ms);\n"+"}else if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0){\n"+"v = new Date(y, m, d, h, i, s);\n"+"}else if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0){\n"+"v = new Date(y, m, d, h, i);\n"+"}else if (y >= 0 && m >= 0 && d > 0 && h >= 0){\n"+"v = new Date(y, m, d, h);\n"+"}else if (y >= 0 && m >= 0 && d > 0){\n"+"v = new Date(y, m, d);\n"+"}else if (y >= 0 && m >= 0){\n"+"v = new Date(y, m);\n"+"}else if (y >= 0){\n"+"v = new Date(y);\n"+"}\n}\nreturn (v && (z || o))?"+" (Ext.type(z) == 'number' ? v.add(Date.SECOND, -v.getTimezoneOffset() * 60 - z) :"+" v.add(Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn))) : v;\n"+"}";Date.parseRegexes[regexNum]=new RegExp("^"+regex+"$","i");eval(code)},parseCodes:{d:{g:1,c:"d = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},j:{g:1,c:"d = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},D:function(){for(var a=[],i=0;i<7;a.push(Date.getShortDayName(i)),++i){}return{g:0,c:null,s:"(?:"+a.join("|")+")"}},l:function(){return{g:0,c:null,s:"(?:"+Date.dayNames.join("|")+")"}},N:{g:0,c:null,s:"[1-7]"},S:{g:0,c:null,s:"(?:st|nd|rd|th)"},w:{g:0,c:null,s:"[0-6]"},z:{g:0,c:null,s:"(?:\\d{1,3}"},W:{g:0,c:null,s:"(?:\\d{2})"},F:function(){return{g:1,c:"m = parseInt(Date.getMonthNumber(results[{0}]), 10);\n",s:"("+Date.monthNames.join("|")+")"}},M:function(){for(var a=[],i=0;i<12;a.push(Date.getShortMonthName(i)),++i){}return Ext.applyIf({s:"("+a.join("|")+")"},$f("F"))},m:{g:1,c:"m = parseInt(results[{0}], 10) - 1;\n",s:"(\\d{2})"},n:{g:1,c:"m = parseInt(results[{0}], 10) - 1;\n",s:"(\\d{1,2})"},t:{g:0,c:null,s:"(?:\\d{2})"},L:{g:0,c:null,s:"(?:1|0)"},o:function(){return $f("Y")},Y:{g:1,c:"y = parseInt(results[{0}], 10);\n",s:"(\\d{4})"},y:{g:1,c:"var ty = parseInt(results[{0}], 10);\n"+"y = ty > Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (results[{0}] == 'am') {\n"+"if (h == 12) { h = 0; }\n"+"} else { if (h < 12) { h += 12; }}",s:"(am|pm)"},A:{g:1,c:"if (results[{0}] == 'AM') {\n"+"if (h == 12) { h = 0; }\n"+"} else { if (h < 12) { h += 12; }}",s:"(AM|PM)"},g:function(){return $f("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return $f("H")},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1);","var hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60);","var mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + String.leftPad(hr, 2, '0') + String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1);","var hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60);","var mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + String.leftPad(hr, 2, '0') + String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,4}"},Z:{g:1,c:"z = results[{0}] * 1;\n"+"z = (-43200 <= z && z <= 50400)? z : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var calc=[];var arr=[$f("Y",1),$f("m",2),$f("d",3),$f("h",4),$f("i",5),$f("s",6),{c:"ms = (results[7] || '.0').substring(1); ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:"if(results[9] == 'Z'){\no = 0;\n}else{\n"+$f("P",9).c+"\n}"}];for(var i=0,l=arr.length;i<l;++i){calc.push(arr[i].c)}return{g:1,c:calc.join(""),s:arr[0].s+"-"+arr[1].s+"-"+arr[2].s+"T"+arr[3].s+":"+arr[4].s+":"+arr[5].s+"((.|,)\\d+)?"+"("+$f("P",null).s+"|Z)"}},U:{g:1,c:"u = parseInt(results[{0}], 10);\n",s:"(-?\\d+)"}}})}());Ext.override(Date,{dateFormat:function(B){if(Date.formatFunctions[B]==null){Date.createNewFormat(B)}var A=Date.formatFunctions[B];return this[A]()},getTimezone:function(){return this.toString().replace(/^.* (?:\((.*)\)|([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?)$/,"$1$2").replace(/[^A-Z]/g,"")},getGMTOffset:function(A){return(this.getTimezoneOffset()>0?"-":"+")+String.leftPad(Math.abs(Math.floor(this.getTimezoneOffset()/60)),2,"0")+(A?":":"")+String.leftPad(Math.abs(this.getTimezoneOffset()%60),2,"0")},getDayOfYear:function(){var A=0;Date.daysInMonth[1]=this.isLeapYear()?29:28;for(var B=0;B<this.getMonth();++B){A+=Date.daysInMonth[B]}return A+this.getDate()-1},getWeekOfYear:function(){var B=86400000;var C=7*B;var D=Date.UTC(this.getFullYear(),this.getMonth(),this.getDate()+3)/B;var A=Math.floor(D/7);var E=new Date(A*C).getUTCFullYear();return A-Math.floor(Date.UTC(E,0,7)/C)+1},isLeapYear:function(){var A=this.getFullYear();return !!((A&3)==0&&(A%100||(A%400==0&&A)))},getFirstDayOfMonth:function(){var A=(this.getDay()-(this.getDate()-1))%7;return(A<0)?(A+7):A},getLastDayOfMonth:function(){var A=(this.getDay()+(Date.daysInMonth[this.getMonth()]-this.getDate()))%7;return(A<0)?(A+7):A},getFirstDateOfMonth:function(){return new Date(this.getFullYear(),this.getMonth(),1)},getLastDateOfMonth:function(){return new Date(this.getFullYear(),this.getMonth(),this.getDaysInMonth())},getDaysInMonth:function(){Date.daysInMonth[1]=this.isLeapYear()?29:28;return Date.daysInMonth[this.getMonth()]},getSuffix:function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},clone:function(){return new Date(this.getTime())},clearTime:function(A){if(A){return this.clone().clearTime()}this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this},add:function(B,C){var D=this.clone();if(!B||C===0){return D}switch(B.toLowerCase()){case Date.MILLI:D.setMilliseconds(this.getMilliseconds()+C);break;case Date.SECOND:D.setSeconds(this.getSeconds()+C);break;case Date.MINUTE:D.setMinutes(this.getMinutes()+C);break;case Date.HOUR:D.setHours(this.getHours()+C);break;case Date.DAY:D.setDate(this.getDate()+C);break;case Date.MONTH:var A=this.getDate();if(A>28){A=Math.min(A,this.getFirstDateOfMonth().add("mo",C).getLastDateOfMonth().getDate())}D.setDate(A);D.setMonth(this.getMonth()+C);break;case Date.YEAR:D.setFullYear(this.getFullYear()+C);break}return D},between:function(C,A){var B=this.getTime();return C.getTime()<=B&&B<=A.getTime()}});Date.prototype.format=Date.prototype.dateFormat;if(Ext.isSafari){Date.brokenSetMonth=Date.prototype.setMonth;Date.prototype.setMonth=function(A){if(A<=-1){var D=Math.ceil(-A);var C=Math.ceil(D/12);var B=(D%12)?12-D%12:0;this.setFullYear(this.getFullYear()-C);return Date.brokenSetMonth.call(this,B)}else{return Date.brokenSetMonth.apply(this,arguments)}}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/DelayedTask-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.DelayedTask=function(E,D,A){var G=null,F,B;var C=function(){var H=new Date().getTime();if(H-B>=F){clearInterval(G);G=null;E.apply(D,A||[])}};this.delay=function(I,K,J,H){if(G&&I!=F){this.cancel()}F=I;B=new Date().getTime();E=K||E;D=J||D;A=H||A;if(!G){G=setInterval(C,F)}};this.cancel=function(){if(G){clearInterval(G);G=null}}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/Format-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.Format=function(){var trimRe=/^\s+|\s+$/g;return{ellipsis:function(value,len){if(value&&value.length>len){return value.substr(0,len-3)+"..."}return value},undef:function(value){return value!==undefined?value:""},defaultValue:function(value,defaultValue){return value!==undefined&&value!==""?value:defaultValue},htmlEncode:function(value){return !value?value:String(value).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""")},htmlDecode:function(value){return !value?value:String(value).replace(/>/g,">").replace(/</g,"<").replace(/"/g,"\"").replace(/&/g,"&")},trim:function(value){return String(value).replace(trimRe,"")},substr:function(value,start,length){return String(value).substr(start,length)},lowercase:function(value){return String(value).toLowerCase()},uppercase:function(value){return String(value).toUpperCase()},capitalize:function(value){return !value?value:value.charAt(0).toUpperCase()+value.substr(1).toLowerCase()},call:function(value,fn){if(arguments.length>2){var args=Array.prototype.slice.call(arguments,2);args.unshift(value);return eval(fn).apply(window,args)}else{return eval(fn).call(window,value)}},usMoney:function(v){v=(Math.round((v-0)*100))/100;v=(v==Math.floor(v))?v+".00":((v*10==Math.floor(v*10))?v+"0":v);v=String(v);var ps=v.split(".");var whole=ps[0];var sub=ps[1]?"."+ps[1]:".00";var r=/(\d+)(\d{3})/;while(r.test(whole)){whole=whole.replace(r,"$1"+","+"$2")}v=whole+sub;if(v.charAt(0)=="-"){return"-$"+v.substr(1)}return"$"+v},date:function(v,format){if(!v){return""}if(!Ext.isDate(v)){v=new Date(Date.parse(v))}return v.dateFormat(format||"m/d/Y")},dateRenderer:function(format){return function(v){return Ext.util.Format.date(v,format)}},stripTagsRE:/<\/?[^>]+>/gi,stripTags:function(v){return !v?v:String(v).replace(this.stripTagsRE,"")},stripScriptsRe:/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/ig,stripScripts:function(v){return !v?v:String(v).replace(this.stripScriptsRe,"")},fileSize:function(size){if(size<1024){return size+" bytes"}else{if(size<1048576){return(Math.round(((size*10)/1024))/10)+" KB"}else{return(Math.round(((size*10)/1048576))/10)+" MB"}}},math:function(){var fns={};return function(v,a){if(!fns[a]){fns[a]=new Function("v","return v "+a+";")}return fns[a](v)}}(),nl2br:function(v){return v===undefined||v===null?"":v.replace(/\n/g,"<br/>")}}}(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/History-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.History=(function(){var E,C;var J=false;var D;function F(){var K=top.location.href,L=K.indexOf("#");return L>=0?K.substr(L+1):null}function A(){C.value=D}function G(K){D=K;Ext.History.fireEvent("change",K)}function H(L){var K=["<html><body><div id=\"state\">",L,"</div></body></html>"].join("");try{var N=E.contentWindow.document;N.open();N.write(K);N.close();return true}catch(M){return false}}function B(){if(!E.contentWindow||!E.contentWindow.document){setTimeout(B,10);return }var N=E.contentWindow.document;var L=N.getElementById("state");var K=L?L.innerText:null;var M=F();setInterval(function(){N=E.contentWindow.document;L=N.getElementById("state");var P=L?L.innerText:null;var O=F();if(P!==K){K=P;G(K);top.location.hash=K;M=K;A()}else{if(O!==M){M=O;H(O)}}},50);J=true;Ext.History.fireEvent("ready",Ext.History)}function I(){D=C.value;if(Ext.isIE){B()}else{var K=F();setInterval(function(){var L=F();if(L!==K){K=L;G(K);A()}},50);J=true;Ext.History.fireEvent("ready",Ext.History)}}return{fieldId:"x-history-field",iframeId:"x-history-frame",events:{},init:function(L,K){if(J){Ext.callback(L,K,[this]);return }if(!Ext.isReady){Ext.onReady(function(){Ext.History.init(L,K)});return }C=Ext.getDom(Ext.History.fieldId);if(Ext.isIE){E=Ext.getDom(Ext.History.iframeId)}this.addEvents("ready","change");if(L){this.on("ready",L,K,{single:true})}I()},add:function(K,L){if(L!==false){if(this.getToken()==K){return true}}if(Ext.isIE){return H(K)}else{top.location.hash=K;return true}},back:function(){history.go(-1)},forward:function(){history.go(1)},getToken:function(){return J?D:F()}}})();Ext.apply(Ext.History,new Ext.util.Observable()); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/JSON-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.JSON=new (function(){var useHasOwn=!!{}.hasOwnProperty;var pad=function(n){return n<10?"0"+n:n};var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"};var encodeString=function(s){if(/["\\\x00-\x1f]/.test(s)){return"\""+s.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+"\""}return"\""+s+"\""};var encodeArray=function(o){var a=["["],b,i,l=o.length,v;for(i=0;i<l;i+=1){v=o[i];switch(typeof v){case"undefined":case"function":case"unknown":break;default:if(b){a.push(",")}a.push(v===null?"null":Ext.util.JSON.encode(v));b=true}}a.push("]");return a.join("")};this.encodeDate=function(o){return"\""+o.getFullYear()+"-"+pad(o.getMonth()+1)+"-"+pad(o.getDate())+"T"+pad(o.getHours())+":"+pad(o.getMinutes())+":"+pad(o.getSeconds())+"\""};this.encode=function(o){if(typeof o=="undefined"||o===null){return"null"}else{if(Ext.isArray(o)){return encodeArray(o)}else{if(Ext.isDate(o)){return Ext.util.JSON.encodeDate(o)}else{if(typeof o=="string"){return encodeString(o)}else{if(typeof o=="number"){return isFinite(o)?String(o):"null"}else{if(typeof o=="boolean"){return String(o)}else{var a=["{"],b,i,v;for(i in o){if(!useHasOwn||o.hasOwnProperty(i)){v=o[i];switch(typeof v){case"undefined":case"function":case"unknown":break;default:if(b){a.push(",")}a.push(this.encode(i),":",v===null?"null":this.encode(v));b=true}}}a.push("}");return a.join("")}}}}}}};this.decode=function(json){return eval("("+json+")")}})();Ext.encode=Ext.util.JSON.encode;Ext.decode=Ext.util.JSON.decode; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/KeyMap-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.KeyMap=function(C,B,A){this.el=Ext.get(C);this.eventName=A||"keydown";this.bindings=[];if(B){this.addBinding(B)}this.enable()};Ext.KeyMap.prototype={stopEvent:false,addBinding:function(D){if(Ext.isArray(D)){for(var F=0,H=D.length;F<H;F++){this.addBinding(D[F])}return }var N=D.key,C=D.shift,A=D.ctrl,G=D.alt,J=D.fn||D.handler,M=D.scope;if(D.stopEvent){this.stopEvent=D.stopEvent}if(typeof N=="string"){var K=[];var I=N.toUpperCase();for(var E=0,H=I.length;E<H;E++){K.push(I.charCodeAt(E))}N=K}var B=Ext.isArray(N);var L=function(R){if((!C||R.shiftKey)&&(!A||R.ctrlKey)&&(!G||R.altKey)){var P=R.getKey();if(B){for(var Q=0,O=N.length;Q<O;Q++){if(N[Q]==P){if(this.stopEvent){R.stopEvent()}J.call(M||window,P,R);return }}}else{if(P==N){if(this.stopEvent){R.stopEvent()}J.call(M||window,P,R)}}}};this.bindings.push(L)},on:function(B,D,C){var G,A,E,F;if(typeof B=="object"&&!Ext.isArray(B)){G=B.key;A=B.shift;E=B.ctrl;F=B.alt}else{G=B}this.addBinding({key:G,shift:A,ctrl:E,alt:F,fn:D,scope:C})},handleKeyDown:function(D){if(this.enabled){var B=this.bindings;for(var C=0,A=B.length;C<A;C++){B[C].call(this,D)}}},isEnabled:function(){return this.enabled},enable:function(){if(!this.enabled){this.el.on(this.eventName,this.handleKeyDown,this);this.enabled=true}},disable:function(){if(this.enabled){this.el.removeListener(this.eventName,this.handleKeyDown,this);this.enabled=false}}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/KeyNav-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.KeyNav=function(B,A){this.el=Ext.get(B);Ext.apply(this,A);if(!this.disabled){this.disabled=true;this.enable()}};Ext.KeyNav.prototype={disabled:false,defaultEventAction:"stopEvent",forceKeyDown:false,prepareEvent:function(C){var A=C.getKey();var B=this.keyToHandler[A];if(Ext.isSafari2&&B&&A>=37&&A<=40){C.stopEvent()}},relay:function(C){var A=C.getKey();var B=this.keyToHandler[A];if(B&&this[B]){if(this.doRelay(C,this[B],B)!==true){C[this.defaultEventAction]()}}},doRelay:function(C,B,A){return B.call(this.scope||this,C)},enter:false,left:false,right:false,up:false,down:false,tab:false,esc:false,pageUp:false,pageDown:false,del:false,home:false,end:false,keyToHandler:{37:"left",39:"right",38:"up",40:"down",33:"pageUp",34:"pageDown",46:"del",36:"home",35:"end",13:"enter",27:"esc",9:"tab"},enable:function(){if(this.disabled){if(this.forceKeyDown||Ext.isIE||Ext.isSafari3||Ext.isAir){this.el.on("keydown",this.relay,this)}else{this.el.on("keydown",this.prepareEvent,this);this.el.on("keypress",this.relay,this)}this.disabled=false}},disable:function(){if(!this.disabled){if(this.forceKeyDown||Ext.isIE||Ext.isSafari3||Ext.isAir){this.el.un("keydown",this.relay)}else{this.el.un("keydown",this.prepareEvent);this.el.un("keypress",this.relay)}this.disabled=true}}}; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/MixedCollection-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.MixedCollection=function(B,A){this.items=[];this.map={};this.keys=[];this.length=0;this.addEvents("clear","add","replace","remove","sort");this.allowFunctions=B===true;if(A){this.getKey=A}Ext.util.MixedCollection.superclass.constructor.call(this)};Ext.extend(Ext.util.MixedCollection,Ext.util.Observable,{allowFunctions:false,add:function(B,C){if(arguments.length==1){C=arguments[0];B=this.getKey(C)}if(typeof B=="undefined"||B===null){this.length++;this.items.push(C);this.keys.push(null)}else{var A=this.map[B];if(A){return this.replace(B,C)}this.length++;this.items.push(C);this.map[B]=C;this.keys.push(B)}this.fireEvent("add",this.length-1,C,B);return C},getKey:function(A){return A.id},replace:function(C,D){if(arguments.length==1){D=arguments[0];C=this.getKey(D)}var A=this.item(C);if(typeof C=="undefined"||C===null||typeof A=="undefined"){return this.add(C,D)}var B=this.indexOfKey(C);this.items[B]=D;this.map[C]=D;this.fireEvent("replace",C,A,D);return D},addAll:function(E){if(arguments.length>1||Ext.isArray(E)){var B=arguments.length>1?arguments:E;for(var D=0,A=B.length;D<A;D++){this.add(B[D])}}else{for(var C in E){if(this.allowFunctions||typeof E[C]!="function"){this.add(C,E[C])}}}},each:function(E,D){var B=[].concat(this.items);for(var C=0,A=B.length;C<A;C++){if(E.call(D||B[C],B[C],C,A)===false){break}}},eachKey:function(D,C){for(var B=0,A=this.keys.length;B<A;B++){D.call(C||window,this.keys[B],this.items[B],B,A)}},find:function(D,C){for(var B=0,A=this.items.length;B<A;B++){if(D.call(C||window,this.items[B],this.keys[B])){return this.items[B]}}return null},insert:function(A,B,C){if(arguments.length==2){C=arguments[1];B=this.getKey(C)}if(A>=this.length){return this.add(B,C)}this.length++;this.items.splice(A,0,C);if(typeof B!="undefined"&&B!=null){this.map[B]=C}this.keys.splice(A,0,B);this.fireEvent("add",A,C,B);return C},remove:function(A){return this.removeAt(this.indexOf(A))},removeAt:function(A){if(A<this.length&&A>=0){this.length--;var C=this.items[A];this.items.splice(A,1);var B=this.keys[A];if(typeof B!="undefined"){delete this.map[B]}this.keys.splice(A,1);this.fireEvent("remove",C,B);return C}return false},removeKey:function(A){return this.removeAt(this.indexOfKey(A))},getCount:function(){return this.length},indexOf:function(A){return this.items.indexOf(A)},indexOfKey:function(A){return this.keys.indexOf(A)},item:function(A){var B=typeof this.map[A]!="undefined"?this.map[A]:this.items[A];return typeof B!="function"||this.allowFunctions?B:null},itemAt:function(A){return this.items[A]},key:function(A){return this.map[A]},contains:function(A){return this.indexOf(A)!=-1},containsKey:function(A){return typeof this.map[A]!="undefined"},clear:function(){this.length=0;this.items=[];this.keys=[];this.map={};this.fireEvent("clear")},first:function(){return this.items[0]},last:function(){return this.items[this.length-1]},_sort:function(I,A,H){var C=String(A).toUpperCase()=="DESC"?-1:1;H=H||function(K,J){return K-J};var G=[],B=this.keys,F=this.items;for(var D=0,E=F.length;D<E;D++){G[G.length]={key:B[D],value:F[D],index:D}}G.sort(function(K,J){var L=H(K[I],J[I])*C;if(L==0){L=(K.index<J.index?-1:1)}return L});for(var D=0,E=G.length;D<E;D++){F[D]=G[D].value;B[D]=G[D].key}this.fireEvent("sort",this)},sort:function(A,B){this._sort("value",A,B)},keySort:function(A,B){this._sort("key",A,B||function(D,C){return String(D).toUpperCase()-String(C).toUpperCase()})},getRange:function(E,A){var B=this.items;if(B.length<1){return[]}E=E||0;A=Math.min(typeof A=="undefined"?this.length-1:A,this.length-1);var D=[];if(E<=A){for(var C=E;C<=A;C++){D[D.length]=B[C]}}else{for(var C=E;C>=A;C--){D[D.length]=B[C]}}return D},filter:function(C,B,D,A){if(Ext.isEmpty(B,false)){return this.clone()}B=this.createValueMatcher(B,D,A);return this.filterBy(function(E){return E&&B.test(E[C])})},filterBy:function(F,E){var G=new Ext.util.MixedCollection();G.getKey=this.getKey;var B=this.keys,D=this.items;for(var C=0,A=D.length;C<A;C++){if(F.call(E||this,D[C],B[C])){G.add(B[C],D[C])}}return G},findIndex:function(C,B,E,D,A){if(Ext.isEmpty(B,false)){return -1}B=this.createValueMatcher(B,D,A);return this.findIndexBy(function(F){return F&&B.test(F[C])},null,E)},findIndexBy:function(F,E,G){var B=this.keys,D=this.items;for(var C=(G||0),A=D.length;C<A;C++){if(F.call(E||this,D[C],B[C])){return C}}if(typeof G=="number"&&G>0){for(var C=0;C<G;C++){if(F.call(E||this,D[C],B[C])){return C}}}return -1},createValueMatcher:function(B,C,A){if(!B.exec){B=String(B);B=new RegExp((C===true?"":"^")+Ext.escapeRe(B),A?"":"i")}return B},clone:function(){var E=new Ext.util.MixedCollection();var B=this.keys,D=this.items;for(var C=0,A=D.length;C<A;C++){E.add(B[C],D[C])}E.getKey=this.getKey;return E}});Ext.util.MixedCollection.prototype.get=Ext.util.MixedCollection.prototype.item; | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/Observable-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.Observable=function(){if(this.listeners){this.on(this.listeners);delete this.listeners}};Ext.util.Observable.prototype={fireEvent:function(){if(this.eventsSuspended!==true){var A=this.events[arguments[0].toLowerCase()];if(typeof A=="object"){return A.fire.apply(A,Array.prototype.slice.call(arguments,1))}}return true},filterOptRe:/^(?:scope|delay|buffer|single)$/,addListener:function(A,C,B,F){if(typeof A=="object"){F=A;for(var E in F){if(this.filterOptRe.test(E)){continue}if(typeof F[E]=="function"){this.addListener(E,F[E],F.scope,F)}else{this.addListener(E,F[E].fn,F[E].scope,F[E])}}return }F=(!F||typeof F=="boolean")?{}:F;A=A.toLowerCase();var D=this.events[A]||true;if(typeof D=="boolean"){D=new Ext.util.Event(this,A);this.events[A]=D}D.addListener(C,B,F)},removeListener:function(A,C,B){var D=this.events[A.toLowerCase()];if(typeof D=="object"){D.removeListener(C,B)}},purgeListeners:function(){for(var A in this.events){if(typeof this.events[A]=="object"){this.events[A].clearListeners()}}},relayEvents:function(F,D){var E=function(G){return function(){return this.fireEvent.apply(this,Ext.combine(G,Array.prototype.slice.call(arguments,0)))}};for(var C=0,A=D.length;C<A;C++){var B=D[C];if(!this.events[B]){this.events[B]=true}F.on(B,E(B),this)}},addEvents:function(D){if(!this.events){this.events={}}if(typeof D=="string"){for(var C=0,A=arguments,B;B=A[C];C++){if(!this.events[A[C]]){this.events[A[C]]=true}}}else{Ext.applyIf(this.events,D)}},hasListener:function(A){var B=this.events[A];return typeof B=="object"&&B.listeners.length>0},suspendEvents:function(){this.eventsSuspended=true},resumeEvents:function(){this.eventsSuspended=false},getMethodEvent:function(G){if(!this.methodEvents){this.methodEvents={}}var F=this.methodEvents[G];if(!F){F={};this.methodEvents[G]=F;F.originalFn=this[G];F.methodName=G;F.before=[];F.after=[];var C,B,D;var E=this;var A=function(J,I,H){if((B=J.apply(I||E,H))!==undefined){if(typeof B==="object"){if(B.returnValue!==undefined){C=B.returnValue}else{C=B}if(B.cancel===true){D=true}}else{if(B===false){D=true}else{C=B}}}};this[G]=function(){C=B=undefined;D=false;var I=Array.prototype.slice.call(arguments,0);for(var J=0,H=F.before.length;J<H;J++){A(F.before[J].fn,F.before[J].scope,I);if(D){return C}}if((B=F.originalFn.apply(E,I))!==undefined){C=B}for(var J=0,H=F.after.length;J<H;J++){A(F.after[J].fn,F.after[J].scope,I);if(D){return C}}return C}}return F},beforeMethod:function(D,B,A){var C=this.getMethodEvent(D);C.before.push({fn:B,scope:A})},afterMethod:function(D,B,A){var C=this.getMethodEvent(D);C.after.push({fn:B,scope:A})},removeMethodListener:function(F,D,C){var E=this.getMethodEvent(F);for(var B=0,A=E.before.length;B<A;B++){if(E.before[B].fn==D&&E.before[B].scope==C){E.before.splice(B,1);return }}for(var B=0,A=E.after.length;B<A;B++){if(E.after[B].fn==D&&E.after[B].scope==C){E.after.splice(B,1);return }}}};Ext.util.Observable.prototype.on=Ext.util.Observable.prototype.addListener;Ext.util.Observable.prototype.un=Ext.util.Observable.prototype.removeListener;Ext.util.Observable.capture=function(C,B,A){C.fireEvent=C.fireEvent.createInterceptor(B,A)};Ext.util.Observable.releaseCapture=function(A){A.fireEvent=Ext.util.Observable.prototype.fireEvent};(function(){var B=function(F,G,E){var D=new Ext.util.DelayedTask();return function(){D.delay(G.buffer,F,E,Array.prototype.slice.call(arguments,0))}};var C=function(F,G,E,D){return function(){G.removeListener(E,D);return F.apply(D,arguments)}};var A=function(E,F,D){return function(){var G=Array.prototype.slice.call(arguments,0);setTimeout(function(){E.apply(D,G)},F.delay||10)}};Ext.util.Event=function(E,D){this.name=D;this.obj=E;this.listeners=[]};Ext.util.Event.prototype={addListener:function(G,F,E){F=F||this.obj;if(!this.isListening(G,F)){var D=this.createListener(G,F,E);if(!this.firing){this.listeners.push(D)}else{this.listeners=this.listeners.slice(0);this.listeners.push(D)}}},createListener:function(G,F,H){H=H||{};F=F||this.obj;var D={fn:G,scope:F,options:H};var E=G;if(H.delay){E=A(E,H,F)}if(H.single){E=C(E,this,G,F)}if(H.buffer){E=B(E,H,F)}D.fireFn=E;return D},findListener:function(I,H){H=H||this.obj;var F=this.listeners;for(var G=0,D=F.length;G<D;G++){var E=F[G];if(E.fn==I&&E.scope==H){return G}}return -1},isListening:function(E,D){return this.findListener(E,D)!=-1},removeListener:function(F,E){var D;if((D=this.findListener(F,E))!=-1){if(!this.firing){this.listeners.splice(D,1)}else{this.listeners=this.listeners.slice(0);this.listeners.splice(D,1)}return true}return false},clearListeners:function(){this.listeners=[]},fire:function(){var F=this.listeners,I,D=F.length;if(D>0){this.firing=true;var G=Array.prototype.slice.call(arguments,0);for(var H=0;H<D;H++){var E=F[H];if(E.fireFn.apply(E.scope||this.obj||window,arguments)===false){this.firing=false;return false}}this.firing=false}return true}}})(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/TaskMgr-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.TaskRunner=function(E){E=E||10;var F=[],A=[];var B=0;var G=false;var D=function(){G=false;clearInterval(B);B=0};var H=function(){if(!G){G=true;B=setInterval(I,E)}};var C=function(J){A.push(J);if(J.onStop){J.onStop.apply(J.scope||J)}};var I=function(){if(A.length>0){for(var O=0,K=A.length;O<K;O++){F.remove(A[O])}A=[];if(F.length<1){D();return }}var M=new Date().getTime();for(var O=0,K=F.length;O<K;++O){var N=F[O];var J=M-N.taskRunTime;if(N.interval<=J){var L=N.run.apply(N.scope||N,N.args||[++N.taskRunCount]);N.taskRunTime=M;if(L===false||N.taskRunCount===N.repeat){C(N);return }}if(N.duration&&N.duration<=(M-N.taskStartTime)){C(N)}}};this.start=function(J){F.push(J);J.taskStartTime=new Date().getTime();J.taskRunTime=0;J.taskRunCount=0;H();return J};this.stop=function(J){C(J);return J};this.stopAll=function(){D();for(var K=0,J=F.length;K<J;K++){if(F[K].onStop){F[K].onStop()}}F=[];A=[]}};Ext.TaskMgr=new Ext.util.TaskRunner(); | |
| 0 | 10 | \ No newline at end of file | ... | ... |
thirdpartyjs/extjs/build/util/TextMetrics-min.js
0 → 100644
| 1 | +/* | |
| 2 | + * Ext JS Library 2.2 | |
| 3 | + * Copyright(c) 2006-2008, Ext JS, LLC. | |
| 4 | + * licensing@extjs.com | |
| 5 | + * | |
| 6 | + * http://extjs.com/license | |
| 7 | + */ | |
| 8 | + | |
| 9 | +Ext.util.TextMetrics=function(){var A;return{measure:function(B,C,D){if(!A){A=Ext.util.TextMetrics.Instance(B,D)}A.bind(B);A.setFixedWidth(D||"auto");return A.getSize(C)},createInstance:function(B,C){return Ext.util.TextMetrics.Instance(B,C)}}}();Ext.util.TextMetrics.Instance=function(B,D){var C=new Ext.Element(document.createElement("div"));document.body.appendChild(C.dom);C.position("absolute");C.setLeftTop(-1000,-1000);C.hide();if(D){C.setWidth(D)}var A={getSize:function(F){C.update(F);var E=C.getSize();C.update("");return E},bind:function(E){C.setStyle(Ext.fly(E).getStyles("font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"))},setFixedWidth:function(E){C.setWidth(E)},getWidth:function(E){C.dom.style.width="auto";return this.getSize(E).width},getHeight:function(E){return this.getSize(E).height}};A.bind(B);return A};Ext.Element.measureText=Ext.util.TextMetrics.measure; | |
| 0 | 10 | \ No newline at end of file | ... | ... |