Browse Source
built a few nice interface features using ExtJS (JavaScript is not and will not be _required_ to use this website, the basics will work without it)
Natenom/support-murmur-13-1446181288462
built a few nice interface features using ExtJS (JavaScript is not and will not be _required_ to use this website, the basics will work without it)
Natenom/support-murmur-13-1446181288462
Michael Ziegler
16 years ago
546 changed files with 18926 additions and 198 deletions
-
5htdocs/css/screen/content.css
-
10htdocs/ext-2.2/adapter/ext/ext-base.js
-
9htdocs/ext-2.2/build/adapter/ext-base-min.js
-
9htdocs/ext-2.2/build/adapter/jquery-bridge-min.js
-
9htdocs/ext-2.2/build/adapter/prototype-bridge-min.js
-
9htdocs/ext-2.2/build/adapter/yui-bridge-min.js
-
9htdocs/ext-2.2/build/core/CompositeElement-min.js
-
9htdocs/ext-2.2/build/core/DomHelper-min.js
-
9htdocs/ext-2.2/build/core/DomQuery-min.js
-
9htdocs/ext-2.2/build/core/Element-min.js
-
9htdocs/ext-2.2/build/core/EventManager-min.js
-
9htdocs/ext-2.2/build/core/Ext-min.js
-
9htdocs/ext-2.2/build/core/Fx-min.js
-
9htdocs/ext-2.2/build/core/Template-min.js
-
9htdocs/ext-2.2/build/core/UpdateManager-min.js
-
9htdocs/ext-2.2/build/data/ArrayReader-min.js
-
9htdocs/ext-2.2/build/data/Connection-min.js
-
9htdocs/ext-2.2/build/data/DataField-min.js
-
9htdocs/ext-2.2/build/data/DataProxy-min.js
-
9htdocs/ext-2.2/build/data/DataReader-min.js
-
9htdocs/ext-2.2/build/data/GroupingStore-min.js
-
9htdocs/ext-2.2/build/data/HttpProxy-min.js
-
9htdocs/ext-2.2/build/data/JsonReader-min.js
-
9htdocs/ext-2.2/build/data/JsonStore-min.js
-
9htdocs/ext-2.2/build/data/MemoryProxy-min.js
-
9htdocs/ext-2.2/build/data/Record-min.js
-
9htdocs/ext-2.2/build/data/ScriptTagProxy-min.js
-
9htdocs/ext-2.2/build/data/SimpleStore-min.js
-
9htdocs/ext-2.2/build/data/SortTypes-min.js
-
9htdocs/ext-2.2/build/data/Store-min.js
-
9htdocs/ext-2.2/build/data/StoreMgr-min.js
-
9htdocs/ext-2.2/build/data/Tree-min.js
-
9htdocs/ext-2.2/build/data/XmlReader-min.js
-
9htdocs/ext-2.2/build/dd/DDCore-min.js
-
9htdocs/ext-2.2/build/dd/DragSource-min.js
-
9htdocs/ext-2.2/build/dd/DragTracker-min.js
-
9htdocs/ext-2.2/build/dd/DragZone-min.js
-
9htdocs/ext-2.2/build/dd/DropTarget-min.js
-
9htdocs/ext-2.2/build/dd/DropZone-min.js
-
9htdocs/ext-2.2/build/dd/Registry-min.js
-
9htdocs/ext-2.2/build/dd/ScrollManager-min.js
-
9htdocs/ext-2.2/build/dd/StatusProxy-min.js
-
9htdocs/ext-2.2/build/debug-min.js
-
178htdocs/ext-2.2/build/locale/ext-lang-af.js
-
272htdocs/ext-2.2/build/locale/ext-lang-bg.js
-
286htdocs/ext-2.2/build/locale/ext-lang-ca.js
-
287htdocs/ext-2.2/build/locale/ext-lang-cs.js
-
290htdocs/ext-2.2/build/locale/ext-lang-da.js
-
301htdocs/ext-2.2/build/locale/ext-lang-de.js
-
311htdocs/ext-2.2/build/locale/ext-lang-el_GR.js
-
292htdocs/ext-2.2/build/locale/ext-lang-en.js
-
173htdocs/ext-2.2/build/locale/ext-lang-en_UK.js
-
299htdocs/ext-2.2/build/locale/ext-lang-es.js
-
266htdocs/ext-2.2/build/locale/ext-lang-fa.js
-
297htdocs/ext-2.2/build/locale/ext-lang-fr.js
-
170htdocs/ext-2.2/build/locale/ext-lang-fr_CA.js
-
169htdocs/ext-2.2/build/locale/ext-lang-gr.js
-
286htdocs/ext-2.2/build/locale/ext-lang-he.js
-
171htdocs/ext-2.2/build/locale/ext-lang-hr.js
-
297htdocs/ext-2.2/build/locale/ext-lang-hu.js
-
296htdocs/ext-2.2/build/locale/ext-lang-id.js
-
289htdocs/ext-2.2/build/locale/ext-lang-it.js
-
156htdocs/ext-2.2/build/locale/ext-lang-ja.js
-
261htdocs/ext-2.2/build/locale/ext-lang-ko.js
-
299htdocs/ext-2.2/build/locale/ext-lang-lt.js
-
170htdocs/ext-2.2/build/locale/ext-lang-lv.js
-
170htdocs/ext-2.2/build/locale/ext-lang-mk.js
-
310htdocs/ext-2.2/build/locale/ext-lang-nl.js
-
288htdocs/ext-2.2/build/locale/ext-lang-no_NB.js
-
288htdocs/ext-2.2/build/locale/ext-lang-no_NN.js
-
298htdocs/ext-2.2/build/locale/ext-lang-pl.js
-
254htdocs/ext-2.2/build/locale/ext-lang-pt.js
-
304htdocs/ext-2.2/build/locale/ext-lang-pt_BR.js
-
287htdocs/ext-2.2/build/locale/ext-lang-ro.js
-
294htdocs/ext-2.2/build/locale/ext-lang-ru.js
-
176htdocs/ext-2.2/build/locale/ext-lang-sk.js
-
170htdocs/ext-2.2/build/locale/ext-lang-sl.js
-
173htdocs/ext-2.2/build/locale/ext-lang-sr.js
-
172htdocs/ext-2.2/build/locale/ext-lang-sr_RS.js
-
172htdocs/ext-2.2/build/locale/ext-lang-sv_SE.js
-
288htdocs/ext-2.2/build/locale/ext-lang-th.js
-
299htdocs/ext-2.2/build/locale/ext-lang-tr.js
-
252htdocs/ext-2.2/build/locale/ext-lang-ukr.js
-
175htdocs/ext-2.2/build/locale/ext-lang-vn.js
-
168htdocs/ext-2.2/build/locale/ext-lang-zh_CN.js
-
172htdocs/ext-2.2/build/locale/ext-lang-zh_TW.js
-
9htdocs/ext-2.2/build/state/CookieProvider-min.js
-
9htdocs/ext-2.2/build/state/Provider-min.js
-
9htdocs/ext-2.2/build/state/StateManager-min.js
-
9htdocs/ext-2.2/build/util/CSS-min.js
-
9htdocs/ext-2.2/build/util/ClickRepeater-min.js
-
9htdocs/ext-2.2/build/util/Date-min.js
-
9htdocs/ext-2.2/build/util/DelayedTask-min.js
-
9htdocs/ext-2.2/build/util/Format-min.js
-
9htdocs/ext-2.2/build/util/History-min.js
-
9htdocs/ext-2.2/build/util/JSON-min.js
-
9htdocs/ext-2.2/build/util/KeyMap-min.js
-
9htdocs/ext-2.2/build/util/KeyNav-min.js
-
9htdocs/ext-2.2/build/util/MixedCollection-min.js
-
9htdocs/ext-2.2/build/util/Observable-min.js
10
htdocs/ext-2.2/adapter/ext/ext-base.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/adapter/ext-base-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/adapter/jquery-bridge-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/adapter/prototype-bridge-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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)}}}(); |
9
htdocs/ext-2.2/build/core/DomQuery-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/core/Element-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/core/EventManager-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/core/Ext-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
9
htdocs/ext-2.2/build/core/Fx-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
Ext.data.DataProxy=function(){this.addEvents("beforeload","load");Ext.data.DataProxy.superclass.constructor.call(this)};Ext.extend(Ext.data.DataProxy,Ext.util.Observable); |
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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}}; |
9
htdocs/ext-2.2/build/data/Store-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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}}); |
9
htdocs/ext-2.2/build/data/Tree-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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}}}); |
9
htdocs/ext-2.2/build/dd/DDCore-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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}}; |
9
htdocs/ext-2.2/build/debug-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,178 @@ |
|||
/* |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* Afrikaans Translations |
|||
* by Thys Meintjes (20 July 2007) |
|||
*/ |
|||
|
|||
/* Ext Core translations */ |
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Besig om te laai...</div>'; |
|||
|
|||
/* Ext single string translations */ |
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} geselekteerde ry(e)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Maak die oortjie toe"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Die waarde in hierdie veld is foutief"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Besig om te laai..."; |
|||
} |
|||
|
|||
/* Javascript month and days translations */ |
|||
Date.monthNames = [ |
|||
"Januarie", |
|||
"Februarie", |
|||
"Maart", |
|||
"April", |
|||
"Mei", |
|||
"Junie", |
|||
"Julie", |
|||
"Augustus", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"Desember" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Sondag", |
|||
"Maandag", |
|||
"Dinsdag", |
|||
"Woensdag", |
|||
"Donderdag", |
|||
"Vrydag", |
|||
"Saterdag" |
|||
]; |
|||
|
|||
/* Ext components translations */ |
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Kanselleer", |
|||
yes : "Ja", |
|||
no : "Nee" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d-m-y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Vandag", |
|||
minText : "Hierdie datum is vroër as die minimum datum", |
|||
maxText : "Hierdie dataum is later as die maximum datum", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Volgende Maand (Beheer+Regs)', |
|||
prevText : 'Vorige Maand (Beheer+Links)', |
|||
monthYearText : "Kies 'n maand (Beheer+Op/Af volgende/vorige jaar)", |
|||
todayTip : "{0} (Spasie)", |
|||
format : "d-m-y", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Bladsy", |
|||
afterPageText : "van {0}", |
|||
firstText : "Eerste Bladsy", |
|||
prevText : "Vorige Bladsy", |
|||
nextText : "Volgende Bladsy", |
|||
lastText : "Laatste Bladsy", |
|||
refreshText : "Verfris", |
|||
displayMsg : "Wys {0} - {1} van {2}", |
|||
emptyMsg : 'Geen data om te wys nie' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Die minimum lengte van die veld is {0}", |
|||
maxLengthText : "Die maximum lengte van die veld is {0}", |
|||
blankText : "Die veld is verpligtend", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Die minimum waarde vir die veld is {0}", |
|||
maxText : "Die maximum waarde vir die veld is {0}", |
|||
nanText : "{0} is nie 'n geldige waarde nie" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Afgeskakel", |
|||
disabledDatesText : "Afgeskakel", |
|||
minText : "Die datum in hierdie veld moet na {0} wees", |
|||
maxText : "Die datum in hierdie veld moet voor {0} wees", |
|||
invalidText : "{0} is nie 'n geldige datum nie - datumformaat is {1}", |
|||
format : "d/m/y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Besig om te laai...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : "Hierdie veld moet 'n e-pos adres wees met die formaat 'gebruiker@domein.za'", |
|||
urlText : "Hierdie veld moet 'n URL wees me die formaat 'http:/'+'/www.domein.za'", |
|||
alphaText : 'Die veld mag alleenlik letters en _ bevat', |
|||
alphanumText : 'Die veld mag alleenlik letters, syfers en _ bevat' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sorteer Oplopend", |
|||
sortDescText : "Sorteer Aflopend", |
|||
lockText : "Vries Kolom", |
|||
unlockText : "Ontvries Kolom", |
|||
columnsText : "Kolomme" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Naam", |
|||
valueText : "Waarde", |
|||
dateFormat : "Y-m-j" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Trek om grootte aan te pas.", |
|||
collapsibleSplitTip : "Trek om grootte aan te pas. Dubbel-klik om weg te steek." |
|||
}); |
|||
} |
@ -0,0 +1,272 @@ |
|||
/** |
|||
* Bulgarian Translation |
|||
* |
|||
* By Георги Костадинов, Калгари, Канада |
|||
* 10 October 2007 |
|||
* By Nedko Penev |
|||
* 26 October 2007 |
|||
* |
|||
* (utf-8 encoding) |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Зареждане...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} избрани колони"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Затвори таб"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Невалидна стойност на полето"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Зареждане..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Януари", |
|||
"Февруари", |
|||
"Март", |
|||
"Април", |
|||
"Май", |
|||
"Юни", |
|||
"Юли", |
|||
"Август", |
|||
"Септември", |
|||
"Октомври", |
|||
"Ноември", |
|||
"Декември" |
|||
]; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Неделя", |
|||
"Понеделник", |
|||
"Вторник", |
|||
"Сряда", |
|||
"Четвъртък", |
|||
"Петък", |
|||
"Събота" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Отмени", |
|||
yes : "Да", |
|||
no : "Не" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Днес", |
|||
minText : "Тази дата е преди минималната", |
|||
maxText : "Тази дата е след максималната", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Следващ месец (Control+Right)', |
|||
prevText : 'Предишен месец (Control+Left)', |
|||
monthYearText : 'Избери месец (Control+Up/Down за преместване по години)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "d.m.y", |
|||
okText : " OK ", |
|||
cancelText : "Отмени", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Страница", |
|||
afterPageText : "от {0}", |
|||
firstText : "Първа страница", |
|||
prevText : "Предишна страница", |
|||
nextText : "Следваща страница", |
|||
lastText : "Последна страница", |
|||
refreshText : "Презареди", |
|||
displayMsg : "Показвайки {0} - {1} от {2}", |
|||
emptyMsg : 'Няма данни за показване' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Минималната дължина на това поле е {0}", |
|||
maxLengthText : "Максималната дължина на това поле е {0}", |
|||
blankText : "Това поле е задължително", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Минималната стойност за това поле е {0}", |
|||
maxText : "Максималната стойност за това поле е {0}", |
|||
nanText : "{0} не е валидно число" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Недостъпен", |
|||
disabledDatesText : "Недостъпен", |
|||
minText : "Датата в това поле трябва да е след {0}", |
|||
maxText : "Датата в това поле трябва да е преди {0}", |
|||
invalidText : "{0} не е валидна дата - трябва да бъде във формат {1}", |
|||
format : "d.m.y", |
|||
altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Зареждане...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Това поле трябва да бъде емейл във формат "user@domain.com"', |
|||
urlText : 'Това поле трябва да бъде URL във формат "http:/'+'/www.domain.com"', |
|||
alphaText : 'Това поле трябва да съдържа само букви и _', |
|||
alphanumText : 'Това поле трябва да съдържа само букви, цифри и _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Моля, въведете URL за връзката:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Bold (Ctrl+B)', |
|||
text: 'Удебелява избрания текст.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italic (Ctrl+I)', |
|||
text: 'Прави избрания текст курсив.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Underline (Ctrl+U)', |
|||
text: 'Подчертава избрания текст.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Уголеми текста', |
|||
text: 'Уголемява размера на шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Намали текста', |
|||
text: 'Намалява размера на шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Цвят на маркирания текст', |
|||
text: 'Променя фоновия цвят на избрания текст.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Цвят на шрифта', |
|||
text: 'Променя цвета на избрания текст.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Ляво подравняване', |
|||
text: 'Подравнява текста на ляво.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Центриране', |
|||
text: 'Центрира текста.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Дясно подравняване', |
|||
text: 'Подравнява текста на дясно.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Неномериран списък', |
|||
text: 'Започва неномериран списък.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Номериран списък', |
|||
text: 'Започва номериран списък.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Хипервръзка', |
|||
text: 'Превръща избрания текст в хипервръзка.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Редактиране на кода', |
|||
text: 'Преминаване в режим на редактиране на кода.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Подреди в нарастващ ред", |
|||
sortDescText : "Подреди в намаляващ ред", |
|||
lockText : "Заключи колона", |
|||
unlockText : "Отключи колона", |
|||
columnsText : "Колони" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Име", |
|||
valueText : "Стойност", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Влачете с мишката за да промените размера.", |
|||
collapsibleSplitTip : "Влачете с мишката за да промените размера. Чукнете два пъти за да скриете." |
|||
}); |
|||
} |
@ -0,0 +1,286 @@ |
|||
/** |
|||
* Catalonian Translation by halkon_polako 6-12-2007 |
|||
* December correction halkon_polako 11-12-2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Tancar aquesta pestanya"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "El valor d'aquest camp és invàlid"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Carregant..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Gener", |
|||
"Febrer", |
|||
"Març", |
|||
"Abril", |
|||
"Maig", |
|||
"Juny", |
|||
"Juliol", |
|||
"Agost", |
|||
"Setembre", |
|||
"Octubre", |
|||
"Novembre", |
|||
"Desembre" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Gen : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Abr : 3, |
|||
Mai : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Ago : 7, |
|||
Set : 8, |
|||
Oct : 9, |
|||
Nov : 10, |
|||
Dec : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Diumenge", |
|||
"Dilluns", |
|||
"Dimarts", |
|||
"Dimecres", |
|||
"Dijous", |
|||
"Divendres", |
|||
"Dissabte" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Acceptar", |
|||
cancel : "Cancel·lar", |
|||
yes : "Sí", |
|||
no : "No" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Avui", |
|||
minText : "Aquesta data és anterior a la data mínima", |
|||
maxText : "Aquesta data és posterior a la data màxima", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Mes Següent (Control+Fletxa Dreta)', |
|||
prevText : 'Mes Anterior (Control+Fletxa Esquerra)', |
|||
monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)', |
|||
todayTip : "{0} (Barra d'espai)", |
|||
format : "d/m/Y", |
|||
okText : " Acceptar ", |
|||
cancelText : "Cancel·lar", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Pàgina", |
|||
afterPageText : "de {0}", |
|||
firstText : "Primera Pàgina", |
|||
prevText : "Pàgina Anterior", |
|||
nextText : "Pàgina Següent", |
|||
lastText : "Darrera Pàgina", |
|||
refreshText : "Refrescar", |
|||
displayMsg : "Mostrant {0} - {1} de {2}", |
|||
emptyMsg : 'Sense dades per mostrar' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "El tamany mínim per aquest camp és {0}", |
|||
maxLengthText : "El tamany màxim per aquest camp és {0}", |
|||
blankText : "Aquest camp és obligatori", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "El valor mínim per aquest camp és {0}", |
|||
maxText : "El valor màxim per aquest camp és {0}", |
|||
nanText : "{0} no és un nombre vàlid" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Deshabilitat", |
|||
disabledDatesText : "Deshabilitat", |
|||
minText : "La data en aquest camp ha de ser posterior a {0}", |
|||
maxText : "La data en aquest camp ha de ser inferior a {0}", |
|||
invalidText : "{0} no és una data vàlida - ha de tenir el format {1}", |
|||
format : "d/m/Y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Carregant...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@domain.com"', |
|||
urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.domain.com"', |
|||
alphaText : 'Aquest camp només pot contenir lletres i _', |
|||
alphanumText : 'Aquest camp només por contenir lletres, nombres i _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Negreta (Ctrl+B)', |
|||
text: 'Posa el text seleccionat en negreta.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Itàlica (Ctrl+I)', |
|||
text: 'Posa el text seleccionat en itàlica.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Subratllat (Ctrl+U)', |
|||
text: 'Subratlla el text seleccionat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Augmentar Text', |
|||
text: 'Augmenta el tamany de la font de text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Disminuir Text', |
|||
text: 'Disminueix el tamany de la font de text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Color de fons', |
|||
text: 'Canvia el color de fons del text seleccionat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Color de la font de text', |
|||
text: 'Canvia el color del text seleccionat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Alinear a la esquerra', |
|||
text: 'Alinea el text a la esquerra.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centrar el text', |
|||
text: 'Centra el text a l\'editor', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Alinear a la dreta', |
|||
text: 'Alinea el text a la dreta.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Llista amb vinyetes', |
|||
text: 'Comença una llista amb vinyetes.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Llista numerada', |
|||
text: 'Comença una llista numerada.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Enllaç', |
|||
text: 'Transforma el text seleccionat en un enllaç.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Editar Codi', |
|||
text: 'Canvia al mode d\'edició de codi.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Ordenació Ascendent", |
|||
sortDescText : "Ordenació Descendent", |
|||
lockText : "Bloquejar Columna", |
|||
unlockText : "Desbloquejar Columna", |
|||
columnsText : "Columnes" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Buit)', |
|||
groupByText : 'Agrupar Per Aquest Camp', |
|||
showGroupsText : 'Mostrar en Grups' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nom", |
|||
valueText : "Valor", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.", |
|||
collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho." |
|||
}); |
|||
} |
@ -0,0 +1,287 @@ |
|||
/** |
|||
* Czech Translations |
|||
* Translated by Tomáš Korčák (72) |
|||
* 2008/02/08 18:02, Ext-2.0.1 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Prosím čekejte...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} vybraných řádků"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zavřít záložku"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Hodnota v tomto poli je neplatná"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Prosím čekejte..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Leden", |
|||
"Únor", |
|||
"Březen", |
|||
"Duben", |
|||
"Květen", |
|||
"Červen", |
|||
"Červenec", |
|||
"Srpen", |
|||
"Září", |
|||
"Říjen", |
|||
"Listopad", |
|||
"Prosinec" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Neděle", |
|||
"Pondělí", |
|||
"Úterý", |
|||
"Středa", |
|||
"Čtvrtek", |
|||
"Pátek", |
|||
"Sobota" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Storno", |
|||
yes : "Ano", |
|||
no : "Ne" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Dnes", |
|||
minText : "Datum nesmí být starší než je minimální", |
|||
maxText : "Datum nesmí být dřívější než je maximální", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Následující měsíc (Control+Right)', |
|||
prevText : 'Předcházející měsíc (Control+Left)', |
|||
monthYearText : 'Zvolte měsíc (ke změně let použijte Control+Up/Down)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "d.m.Y", |
|||
okText : " OK ", |
|||
cancelText : "Storno", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Strana", |
|||
afterPageText : "z {0}", |
|||
firstText : "První strana", |
|||
prevText : "Přecházející strana", |
|||
nextText : "Následující strana", |
|||
lastText : "Poslední strana", |
|||
refreshText : "Aktualizovat", |
|||
displayMsg : "Zobrazeno {0} - {1} z celkových {2}", |
|||
emptyMsg : 'Žádné záznamy nebyly nalezeny' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Pole nesmí mít méně {0} znaků", |
|||
maxLengthText : "Pole nesmí být delší než {0} znaků", |
|||
blankText : "This field is required", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Hodnota v tomto poli nesmí být menší než {0}", |
|||
maxText : "Hodnota v tomto poli nesmí být větší než {0}", |
|||
nanText : "{0} není platné číslo" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Neaktivní", |
|||
disabledDatesText : "Neaktivní", |
|||
minText : "Datum v tomto poli nesmí být starší než {0}", |
|||
maxText : "Datum v tomto poli nesmí být novější než {0}", |
|||
invalidText : "{0} není platným datem - zkontrolujte zda-li je ve formátu {1}", |
|||
format : "d.m.Y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Prosím čekejte...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'V tomto poli může být vyplněna pouze emailová adresa ve formátu "uživatel@doména.cz"', |
|||
urlText : 'V tomto poli může být vyplněna pouze URL (adresa internetové stránky) ve formátu "http:/'+'/www.doména.cz"', |
|||
alphaText : 'Toto pole může obsahovat pouze písmena abecedy a znak _', |
|||
alphanumText : 'Toto pole může obsahovat pouze písmena abecedy, čísla a znak _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Zadejte URL adresu odkazu:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Tučné (Ctrl+B)', |
|||
text: 'Označí vybraný text tučně.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kurzíva (Ctrl+I)', |
|||
text: 'Označí vybraný text kurzívou.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Podtržení (Ctrl+U)', |
|||
text: 'Podtrhne vybraný text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Zvětšit písmo', |
|||
text: 'Zvětší velikost písma.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Zúžit písmo', |
|||
text: 'Zmenší velikost písma.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Barva zvýraznění textu', |
|||
text: 'Označí vybraný text tak, aby vypadal jako označený zvýrazňovačem.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Barva písma', |
|||
text: 'Změní barvu textu.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Zarovnat text vlevo', |
|||
text: 'Zarovná text doleva.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Zarovnat na střed', |
|||
text: 'Zarovná text na střed.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Zarovnat text vpravo', |
|||
text: 'Zarovná text doprava.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Odrážky', |
|||
text: 'Začne seznam s odrážkami.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Číslování', |
|||
text: 'Začne číslovaný seznam.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Internetový odkaz', |
|||
text: 'Z vybraného textu vytvoří internetový odkaz.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Zdrojový kód', |
|||
text: 'Přepne do módu úpravy zdrojového kódu.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Řadit vzestupně", |
|||
sortDescText : "Řadit sestupně", |
|||
lockText : "Ukotvit sloupec", |
|||
unlockText : "Uvolnit sloupec", |
|||
columnsText : "Sloupce" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Žádná data)', |
|||
groupByText : 'Seskupit dle tohoto pole', |
|||
showGroupsText : 'Zobrazit ve skupině' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Název", |
|||
valueText : "Hodnota", |
|||
dateFormat : "j.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Tahem změnit velikost.", |
|||
collapsibleSplitTip : "Tahem změnit velikost. Dvojklikem skrýt." |
|||
}); |
|||
} |
@ -0,0 +1,290 @@ |
|||
/* |
|||
* Danish translation |
|||
* By JohnF |
|||
* 04-09-2007, 05:28 AM |
|||
* |
|||
* Extended and modified by Karl Krukow, |
|||
* December, 2007. |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Henter...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} markerede rækker"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Luk denne fane"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Værdien i dette felt er ugyldig"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Henter..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"januar", |
|||
"februar", |
|||
"marts", |
|||
"april", |
|||
"maj", |
|||
"juni", |
|||
"juli", |
|||
"august", |
|||
"september", |
|||
"oktober", |
|||
"november", |
|||
"december" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"søndag", |
|||
"mandag", |
|||
"tirsdag", |
|||
"onsdag", |
|||
"torsdag", |
|||
"fredag", |
|||
"lørdag" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Fortryd", |
|||
yes : "Ja", |
|||
no : "Nej" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "I dag", |
|||
minText : "Denne dato er før den tidligst tilladte", |
|||
maxText : "Denne dato er senere end den senest tilladte", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Næste måned (Ctrl + højre piltast)', |
|||
prevText : 'Forrige måned (Ctrl + venstre piltast)', |
|||
monthYearText : 'Vælg en måned (Ctrl + op/ned pil for at ændre årstal)', |
|||
todayTip : "{0} (mellemrum)", |
|||
format : "d/m/y", |
|||
okText : " OK ", |
|||
cancelText : "Cancel", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Side", |
|||
afterPageText : "af {0}", |
|||
firstText : "Første side", |
|||
prevText : "Forrige side", |
|||
nextText : "Næste side", |
|||
lastText : "Sidste side", |
|||
refreshText : "Opfrisk", |
|||
displayMsg : "Viser {0} - {1} af {2}", |
|||
emptyMsg : 'Der er ingen data at vise' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimum længden for dette felt er {0}", |
|||
maxLengthText : "Maksimum længden for dette felt er {0}", |
|||
blankText : "Dette felt skal udfyldes", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Mindste-værdien for dette felt er {0}", |
|||
maxText : "Maksimum-værdien for dette felt er {0}", |
|||
nanText : "{0} er ikke et tilladt nummer" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Inaktiveret", |
|||
disabledDatesText : "Inaktiveret", |
|||
minText : "Datoen i dette felt skal være efter {0}", |
|||
maxText : "Datoen i dette felt skal være før {0}", |
|||
invalidText : "{0} er ikke en tilladt dato - datoer skal angives i formatet {1}", |
|||
format : "d/m/y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Henter...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Dette felt skal være en email adresse i formatet "xxx@yyy.zzz"', |
|||
urlText : 'Dette felt skal være en URL i formatet "http:/'+'/xxx.yyy"', |
|||
alphaText : 'Dette felt kan kun indeholde bogstaver og "_" (understregning)', |
|||
alphanumText : 'Dette felt kan kun indeholde bogstaver, tal og "_" (understregning)' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Indtast URL:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Fed (Ctrl+B)', //Can I change this to Ctrl+F?
|
|||
text: 'Formater det markerede tekst med fed.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kursiv (Ctrl+I)',//Ctrl+K
|
|||
text: 'Formater det markerede tekst med kursiv.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Understreg (Ctrl+U)', |
|||
text: 'Understreg det markerede tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Forstør tekst', |
|||
text: 'Forøg fontstørrelsen.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Formindsk tekst', |
|||
text: 'Formindsk fontstørrelsen.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Farve for tekstfremhævelse', |
|||
text: 'Skift baggrundsfarve for det markerede tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Skriftfarve', |
|||
text: 'Skift skriftfarve for det markerede tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Juster venstre', |
|||
text: 'Venstrestil tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centreret', |
|||
text: 'Centrer tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Juster højre', |
|||
text: 'Højrestil tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Punktopstilling', |
|||
text: 'Påbegynd punktopstilling.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Nummereret opstilling', |
|||
text: 'Påbegynd nummereret opstilling.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperlink', |
|||
text: 'Lav det markerede test til et hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Kildetekstredigering', |
|||
text: 'Skift til redigering af kildetekst.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortér stigende", |
|||
sortDescText : "Sortér faldende", |
|||
lockText : "Lås kolonne", |
|||
unlockText : "Fjern lås fra kolonne", |
|||
columnsText : "Kolonner" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Ingen)', |
|||
groupByText : 'Gruppér efter dette felt', |
|||
showGroupsText : 'Vis i grupper' //should this be sort in groups?
|
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Navn", |
|||
valueText : "Værdi", |
|||
dateFormat : "j/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Træk for at ændre størrelsen.", |
|||
collapsibleSplitTip : "Træk for at ændre størrelsen. Dobbelt-klik for at skjule." |
|||
}); |
|||
} |
@ -0,0 +1,301 @@ |
|||
/* |
|||
* German translation |
|||
* By schmidetzki and humpdi |
|||
* 04-07-2007 |
|||
* Updated by wm003 10-31-2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Übertrage Daten ...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} Zeile(n) ausgewählt"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Diesen Tab schließen"; |
|||
} |
|||
|
|||
if(Ext.form.BasicForm){ |
|||
Ext.form.BasicForm.prototype.waitTitle = "Bitte warten..."; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Der Wert des Feldes ist nicht korrekt"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Übertrage Daten..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januar", |
|||
"Februar", |
|||
"März", |
|||
"April", |
|||
"Mai", |
|||
"Juni", |
|||
"Juli", |
|||
"August", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"Dezember" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Sonntag", |
|||
"Montag", |
|||
"Dienstag", |
|||
"Mittwoch", |
|||
"Donnerstag", |
|||
"Freitag", |
|||
"Samstag" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Abbrechen", |
|||
yes : "Ja", |
|||
no : "Nein" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Heute", |
|||
minText : "Dieses Datum liegt von dem erstmöglichen Datum", |
|||
maxText : "Dieses Datum liegt nach dem letztmöglichen Datum", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : "Nächster Monat (Strg/Control + Rechts)", |
|||
prevText : "Vorheriger Monat (Strg/Control + Links)", |
|||
monthYearText : "Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)", |
|||
todayTip : "Heute ({0}) (Leertaste)", |
|||
format : "d.m.Y", |
|||
okText : " OK ", |
|||
cancelText : "Abbrechen", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Seite", |
|||
afterPageText : "von {0}", |
|||
firstText : "Erste Seite", |
|||
prevText : "vorherige Seite", |
|||
nextText : "nächste Seite", |
|||
lastText : "letzte Seite", |
|||
refreshText : "Aktualisieren", |
|||
displayMsg : "Anzeige Eintrag {0} - {1} von {2}", |
|||
emptyMsg : "Keine Daten vorhanden" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Bitte geben Sie mindestens {0} Zeichen ein", |
|||
maxLengthText : "Bitte geben Sie maximal {0} Zeichen ein", |
|||
blankText : "Dieses Feld darf nicht leer sein", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Der Mindestwert für dieses Feld ist {0}", |
|||
maxText : "Der Maximalwert für dieses Feld ist {0}", |
|||
nanText : "{0} ist keine Zahl" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "nicht erlaubt", |
|||
disabledDatesText : "nicht erlaubt", |
|||
minText : "Das Datum in diesem Feld muß nach dem {0} liegen", |
|||
maxText : "Das Datum in diesem Feld muß vor dem {0} liegen", |
|||
invalidText : "{0} ist kein valides Datum - es muß im Format {1} eingegeben werden", |
|||
format : "d.m.Y", |
|||
altFormats : "d.m.Y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Lade Daten ...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@domain.com"', |
|||
urlText : 'Dieses Feld sollte eine URL enthalten. Format: "http:/'+'/www.domain.com"', |
|||
alphaText : 'Dieses Feld darf nur Buchstaben enthalten und _', |
|||
alphanumText : 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Bitte geben Sie die URL für den Link ein:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Fett (Ctrl+B)', |
|||
text: 'Erstellt den ausgewählten Text in Fettschrift.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kursiv (Ctrl+I)', |
|||
text: 'Erstellt den ausgewählten Text in Schrägschrift.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Unterstrichen (Ctrl+U)', |
|||
text: 'Unterstreicht den ausgewählten Text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Text vergößern', |
|||
text: 'Erhöht die Schriftgröße.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Text verkleinern', |
|||
text: 'Verringert die Schriftgröße.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Text farblich hervorheben', |
|||
text: 'Hintergrundfarbe des ausgewählten Textes ändern.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Schriftfarbe', |
|||
text: 'Farbe des ausgewählten Textes ändern.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Linksbündig', |
|||
text: 'Setzt den Text linksbündig.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Zentrieren', |
|||
text: 'Zentriert den Text in Editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Rechtsbündig', |
|||
text: 'Setzt den Text rechtsbündig.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Aufzählungsliste', |
|||
text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Numerierte Liste', |
|||
text: 'Beginnt eine numerierte Liste.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperlink', |
|||
text: 'Erstellt einen Hyperlink aus dem ausgewählten text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Source bearbeiten', |
|||
text: 'Zur Bearbeitung des Quelltextes wechseln.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Aufsteigend sortieren", |
|||
sortDescText : "Absteigend sortieren", |
|||
lockText : "Spalte sperren", |
|||
unlockText : "Spalte freigeben (entsperren)", |
|||
columnsText : "Spalten" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Keine)', |
|||
groupByText : 'Dieses Feld gruppieren', |
|||
showGroupsText : 'In Gruppen anzeigen' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Name", |
|||
valueText : "Wert", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Ziehen, um Größe zu ändern.", |
|||
collapsibleSplitTip : "Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden." |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TimeField){ |
|||
Ext.apply(Ext.form.TimeField.prototype, { |
|||
minText : "Die Zeit muss gleich oder nach {0} liegen", |
|||
maxText : "Die Zeit muss gleich oder vor {0} liegen", |
|||
invalidText : "{0} ist keine gültige Zeit", |
|||
format : "H:i" |
|||
}); |
|||
} |
@ -0,0 +1,311 @@ |
|||
/* |
|||
* Ext JS Library 2.1 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
/** |
|||
* Greek translation |
|||
* By thesilentman (utf8 encoding) |
|||
* 27 Apr 2008 |
|||
* |
|||
* Changes since previous (second) Version: |
|||
* + added Date.shortMonthNames |
|||
* + added Date.getShortMonthName |
|||
* + added Date.monthNumbers |
|||
* + added Ext.grid.GroupingView |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Μεταφόρτωση δεδομένων...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} Επιλεγμένες σειρές"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Κλείστε το tab"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Το περιεχόμενο του πεδίου δεν είναι αποδεκτό"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Μεταφόρτωση δεδομένων..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Ιανουάριος", |
|||
"Φεβρουάριος", |
|||
"Μάρτιος", |
|||
"Απρίλιος", |
|||
"Μάιος", |
|||
"Ιούνιος", |
|||
"Ιούλιος", |
|||
"Αύγουστος", |
|||
"Σεπτέμβριος", |
|||
"Οκτώβριος", |
|||
"Νοέμβριος", |
|||
"Δεκέμβριος" |
|||
]; |
|||
|
|||
Date.shortMonthNames = [ |
|||
"Ιαν", |
|||
"Φεβ", |
|||
"Μάρ", |
|||
"Απρ", |
|||
"Μάι", |
|||
"Ιού", |
|||
"Ιού", |
|||
"Αύγ", |
|||
"Σεπ", |
|||
"Οκτ", |
|||
"Νοέ", |
|||
"Δεκ" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
|
|||
Date.dayNames = [ |
|||
"Κυριακή", |
|||
"Δευτέρα", |
|||
"Τρίτη", |
|||
"Τετάρτη", |
|||
"Πέμπτη", |
|||
"Παρασκευή", |
|||
"Σάββατο" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Άκυρο", |
|||
yes : "Ναι", |
|||
no : "Όχι" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Σήμερα", |
|||
minText : "Η Ημερομηνία είναι προγενέστερη από την παλαιότερη αποδεκτή", |
|||
maxText : "Η Ημερομηνία είναι μεταγενέστερη από την νεότερη αποδεκτή", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Επόμενος Μήνας (Control+Δεξί Βέλος)', |
|||
prevText : 'Προηγούμενος Μήνας (Control + Αριστερό Βέλος)', |
|||
monthYearText : 'Επιλογή Μηνός (Control + Επάνω/Κάτω Βέλος για μεταβολή ετών)', |
|||
todayTip : "{0} (ΠΛήκτρο Διαστήματος)", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Σελίδα", |
|||
afterPageText : "από {0}", |
|||
firstText : "Πρώτη Σελίδα", |
|||
prevText : "Προηγούμενη Σελίδα", |
|||
nextText : "Επόμενη Σελίδα", |
|||
lastText : "Τελευταία Σελίδα", |
|||
refreshText : "Ανανέωση", |
|||
displayMsg : "Εμφάνιση {0} - {1} από {2}", |
|||
emptyMsg : 'Δεν υπάρχουν δεδομένα' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Το μικρότερο αποδεκτό μήκος για το πεδίο είναι {0}", |
|||
maxLengthText : "Το μεγαλύτερο αποδεκτό μήκος για το πεδίο είναι {0}", |
|||
blankText : "Το πεδίο είναι υποχρεωτικό", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Η μικρότερη τιμή του πεδίου είναι {0}", |
|||
maxText : "Η μεγαλύτερη τιμή του πεδίου είναι {0}", |
|||
nanText : "{0} δεν είναι αποδεκτός αριθμός" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Ανενεργό", |
|||
disabledDatesText : "Ανενεργό", |
|||
minText : "Η ημερομηνία αυτού του πεδίου πρέπει να είναι μετά την {0}", |
|||
maxText : "Η ημερομηνία αυτού του πεδίου πρέπει να είναι πριν την {0}", |
|||
invalidText : "{0} δεν είναι έγκυρη ημερομηνία - πρέπει να είναι στη μορφή {1}", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Μεταφόρτωση δεδομένων...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Το πεδίο δέχεται μόνο διευθύνσεις Email σε μορφή "user@domain.com"', |
|||
urlText : 'Το πεδίο δέχεται μόνο URL σε μορφή "http:/'+'/www.domain.com"', |
|||
alphaText : 'Το πεδίο δέχεται μόνο χαρακτήρες και _', |
|||
alphanumText : 'Το πεδίο δέχεται μόνο χαρακτήρες, αριθμούς και _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Δώστε τη διεύθυνση (URL) για το σύνδεσμο (link):', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Έντονα (Ctrl+B)', |
|||
text: 'Κάνετε το προεπιλεγμένο κείμενο έντονο.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Πλάγια (Ctrl+I)', |
|||
text: 'Κάνετε το προεπιλεγμένο κείμενο πλάγιο.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Υπογράμμιση (Ctrl+U)', |
|||
text: 'Υπογραμμίζετε το προεπιλεγμένο κείμενο.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Μεγέθυνση κειμένου', |
|||
text: 'Μεγαλώνετε τη γραμματοσειρά.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Σμίκρυνση κειμένου', |
|||
text: 'Μικραίνετε τη γραμματοσειρά.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Χρώμα Φόντου Κειμένου', |
|||
text: 'Αλλάζετε το χρώμα στο φόντο του προεπιλεγμένου κειμένου.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Χρώμα Γραμματοσειράς', |
|||
text: 'Αλλάζετε το χρώμα στη γραμματοσειρά του προεπιλεγμένου κειμένου.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Αριστερή Στοίχιση Κειμένου', |
|||
text: 'Στοιχίζετε το κείμενο στα αριστερά.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Κεντράρισμα Κειμένου', |
|||
text: 'Στοιχίζετε το κείμενο στο κέντρο.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Δεξιά Στοίχιση Κειμένου', |
|||
text: 'Στοιχίζετε το κείμενο στα δεξιά.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Εισαγωγή Λίστας Κουκίδων', |
|||
text: 'Ξεκινήστε μια λίστα με κουκίδες.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Εισαγωγή Λίστας Αρίθμησης', |
|||
text: 'Ξεκινήστε μια λίστα με αρίθμηση.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperlink', |
|||
text: 'Μετατρέπετε το προεπιλεγμένο κείμενο σε Link.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Επεξεργασία Κώδικα', |
|||
text: 'Μεταβαίνετε στη λειτουργία επεξεργασίας κώδικα.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Αύξουσα ταξινόμηση", |
|||
sortDescText : "Φθίνουσα ταξινόμηση", |
|||
lockText : "Κλείδωμα στήλης", |
|||
unlockText : "Ξεκλείδωμα στήλης", |
|||
columnsText : "Στήλες" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Καμμία)', |
|||
groupByText : 'Ομαδοποίηση βάσει αυτού του πεδίου', |
|||
showGroupsText : 'Να εμφανίζεται στις ομάδες' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Όνομα", |
|||
valueText : "Περιεχόμενο", |
|||
dateFormat : "m/d/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Σύρετε για αλλαγή μεγέθους.", |
|||
collapsibleSplitTip : "Σύρετε για αλλαγή μεγέθους. Διπλό κλικ για απόκρυψη." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,292 @@ |
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* English Translations |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Close this tab"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Loading..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"January", |
|||
"February", |
|||
"March", |
|||
"April", |
|||
"May", |
|||
"June", |
|||
"July", |
|||
"August", |
|||
"September", |
|||
"October", |
|||
"November", |
|||
"December" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Sunday", |
|||
"Monday", |
|||
"Tuesday", |
|||
"Wednesday", |
|||
"Thursday", |
|||
"Friday", |
|||
"Saturday" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Cancel", |
|||
yes : "Yes", |
|||
no : "No" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "m/d/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Today", |
|||
minText : "This date is before the minimum date", |
|||
maxText : "This date is after the maximum date", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Next Month (Control+Right)', |
|||
prevText : 'Previous Month (Control+Left)', |
|||
monthYearText : 'Choose a month (Control+Up/Down to move years)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "m/d/y", |
|||
okText : " OK ", |
|||
cancelText : "Cancel", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Page", |
|||
afterPageText : "of {0}", |
|||
firstText : "First Page", |
|||
prevText : "Previous Page", |
|||
nextText : "Next Page", |
|||
lastText : "Last Page", |
|||
refreshText : "Refresh", |
|||
displayMsg : "Displaying {0} - {1} of {2}", |
|||
emptyMsg : 'No data to display' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "The minimum length for this field is {0}", |
|||
maxLengthText : "The maximum length for this field is {0}", |
|||
blankText : "This field is required", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "The minimum value for this field is {0}", |
|||
maxText : "The maximum value for this field is {0}", |
|||
nanText : "{0} is not a valid number" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Disabled", |
|||
disabledDatesText : "Disabled", |
|||
minText : "The date in this field must be after {0}", |
|||
maxText : "The date in this field must be before {0}", |
|||
invalidText : "{0} is not a valid date - it must be in the format {1}", |
|||
format : "m/d/y", |
|||
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Loading...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'This field should be an e-mail address in the format "user@domain.com"', |
|||
urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', |
|||
alphaText : 'This field should only contain letters and _', |
|||
alphanumText : 'This field should only contain letters, numbers and _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Please enter the URL for the link:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Bold (Ctrl+B)', |
|||
text: 'Make the selected text bold.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italic (Ctrl+I)', |
|||
text: 'Make the selected text italic.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Underline (Ctrl+U)', |
|||
text: 'Underline the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Grow Text', |
|||
text: 'Increase the font size.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Shrink Text', |
|||
text: 'Decrease the font size.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Text Highlight Color', |
|||
text: 'Change the background color of the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Font Color', |
|||
text: 'Change the color of the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Align Text Left', |
|||
text: 'Align text to the left.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Center Text', |
|||
text: 'Center text in the editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Align Text Right', |
|||
text: 'Align text to the right.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Bullet List', |
|||
text: 'Start a bulleted list.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Numbered List', |
|||
text: 'Start a numbered list.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperlink', |
|||
text: 'Make the selected text a hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Source Edit', |
|||
text: 'Switch to source editing mode.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.BasicForm){ |
|||
Ext.form.BasicForm.prototype.waitTitle = "Please wait..."; |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sort Ascending", |
|||
sortDescText : "Sort Descending", |
|||
lockText : "Lock Column", |
|||
unlockText : "Unlock Column", |
|||
columnsText : "Columns" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(None)', |
|||
groupByText : 'Group By This Field', |
|||
showGroupsText : 'Show in Groups' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Name", |
|||
valueText : "Value", |
|||
dateFormat : "m/j/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Drag to resize.", |
|||
collapsibleSplitTip : "Drag to resize. Double click to hide." |
|||
}); |
|||
} |
@ -0,0 +1,173 @@ |
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* English (UK) Translations |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Close this tab"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Loading..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"January", |
|||
"February", |
|||
"March", |
|||
"April", |
|||
"May", |
|||
"June", |
|||
"July", |
|||
"August", |
|||
"September", |
|||
"October", |
|||
"November", |
|||
"December" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Sunday", |
|||
"Monday", |
|||
"Tuesday", |
|||
"Wednesday", |
|||
"Thursday", |
|||
"Friday", |
|||
"Saturday" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Cancel", |
|||
yes : "Yes", |
|||
no : "No" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Today", |
|||
minText : "This date is before the minimum date", |
|||
maxText : "This date is after the maximum date", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Next Month (Control+Right)', |
|||
prevText : 'Previous Month (Control+Left)', |
|||
monthYearText : 'Choose a month (Control+Up/Down to move years)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Page", |
|||
afterPageText : "of {0}", |
|||
firstText : "First Page", |
|||
prevText : "Previous Page", |
|||
nextText : "Next Page", |
|||
lastText : "Last Page", |
|||
refreshText : "Refresh", |
|||
displayMsg : "Displaying {0} - {1} of {2}", |
|||
emptyMsg : 'No data to display' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "The minimum length for this field is {0}", |
|||
maxLengthText : "The maximum length for this field is {0}", |
|||
blankText : "This field is required", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "The minimum value for this field is {0}", |
|||
maxText : "The maximum value for this field is {0}", |
|||
nanText : "{0} is not a valid number" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Disabled", |
|||
disabledDatesText : "Disabled", |
|||
minText : "The date in this field must be after {0}", |
|||
maxText : "The date in this field must be before {0}", |
|||
invalidText : "{0} is not a valid date - it must be in the format {1}", |
|||
format : "d/m/y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Loading...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'This field should be an e-mail address in the format "user@domain.com"', |
|||
urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', |
|||
alphaText : 'This field should only contain letters and _', |
|||
alphanumText : 'This field should only contain letters, numbers and _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sort Ascending", |
|||
sortDescText : "Sort Descending", |
|||
lockText : "Lock Column", |
|||
unlockText : "Unlock Column", |
|||
columnsText : "Columns" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Name", |
|||
valueText : "Value", |
|||
dateFormat : "j/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Drag to resize.", |
|||
collapsibleSplitTip : "Drag to resize. Double click to hide." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,299 @@ |
|||
/* |
|||
* Spanish/Latin American Translation by genius551v 04-08-2007 |
|||
* Revised by efege, 2007-04-15. |
|||
* Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy) |
|||
* Revised by FeDe 12-13-2007 (mm/dd/yyyy) |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Cerrar esta pestaña"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "El valor en este campo es inválido"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Cargando..."; |
|||
} |
|||
|
|||
|
|||
Date.monthNames = [ |
|||
"Enero", |
|||
"Febrero", |
|||
"Marzo", |
|||
"Abril", |
|||
"Mayo", |
|||
"Junio", |
|||
"Julio", |
|||
"Agosto", |
|||
"Septiembre", |
|||
"Octubre", |
|||
"Noviembre", |
|||
"Diciembre" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Ene : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Abr : 3, |
|||
May : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Ago : 7, |
|||
Sep : 8, |
|||
Oct : 9, |
|||
Nov : 10, |
|||
Dic : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Domingo", |
|||
"Lunes", |
|||
"Martes", |
|||
"Miércoles", |
|||
"Jueves", |
|||
"Viernes", |
|||
"Sábado" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
if (day==3) return "Mié"; |
|||
if (day==6) return "Sáb"; |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Aceptar", |
|||
cancel : "Cancelar", |
|||
yes : "Sí", |
|||
no : "No" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Hoy", |
|||
minText : "Esta fecha es anterior a la fecha mínima", |
|||
maxText : "Esta fecha es posterior a la fecha máxima", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Mes Siguiente (Control+Right)', |
|||
prevText : 'Mes Anterior (Control+Left)', |
|||
monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)', |
|||
todayTip : "{0} (Barra espaciadora)", |
|||
format : "d/m/Y", |
|||
okText : " Ok ", |
|||
cancelText : "Cancelar", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Página", |
|||
afterPageText : "de {0}", |
|||
firstText : "Primera página", |
|||
prevText : "Página anterior", |
|||
nextText : "Página siguiente", |
|||
lastText : "Última página", |
|||
refreshText : "Actualizar", |
|||
displayMsg : "Mostrando {0} - {1} de {2}", |
|||
emptyMsg : 'Sin datos para mostrar' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "El tamaño mínimo para este campo es de {0}", |
|||
maxLengthText : "El tamaño máximo para este campo es de {0}", |
|||
blankText : "Este campo es obligatorio", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "El valor mínimo para este campo es de {0}", |
|||
maxText : "El valor máximo para este campo es de {0}", |
|||
nanText : "{0} no es un número válido" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Deshabilitado", |
|||
disabledDatesText : "Deshabilitado", |
|||
minText : "La fecha para este campo debe ser posterior a {0}", |
|||
maxText : "La fecha para este campo debe ser anterior a {0}", |
|||
invalidText : "{0} no es una fecha válida - debe tener el formato {1}", |
|||
format : "d/m/Y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Cargando...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : "Por favor proporcione la URL para el enlace:", |
|||
buttonTips : { |
|||
insertimage:{ |
|||
title:'Imagen', |
|||
text:'Inserta una imagen en la posición actual', |
|||
cls:'x-html-editor-tip' |
|||
}, |
|||
bold : { |
|||
title: 'Negritas (Ctrl+B)', |
|||
text: 'Transforma el texto seleccionado en Negritas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Itálica (Ctrl+I)', |
|||
text: 'Transforma el texto seleccionado en Itálicas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Subrayado (Ctrl+U)', |
|||
text: 'Subraya el texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Aumentar la fuente', |
|||
text: 'Aumenta el tamaño de la fuente', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Reducir la fuente', |
|||
text: 'Reduce el tamaño de la fuente.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Color de fondo', |
|||
text: 'Modifica el color de fondo del texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Color de la fuente', |
|||
text: 'Modifica el color del texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Alinear a la izquierda', |
|||
text: 'Alinea el texto a la izquierda.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centrar', |
|||
text: 'Centrar el texto.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Alinear a la derecha', |
|||
text: 'Alinea el texto a la derecha.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Lista de viñetas', |
|||
text: 'Inicia una lista con viñetas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Lista numerada', |
|||
text: 'Inicia una lista numerada.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Enlace', |
|||
text: 'Inserta un enlace de hipertexto.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Código Fuente', |
|||
text: 'Pasar al modo de edición de código fuente.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"', |
|||
urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"', |
|||
alphaText : 'Este campo sólo debe contener letras y _', |
|||
alphanumText : 'Este campo sólo debe contener letras, números y _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Ordenar en forma ascendente", |
|||
sortDescText : "Ordenar en forma descendente", |
|||
lockText : "Bloquear Columna", |
|||
unlockText : "Desbloquear Columna", |
|||
columnsText : "Columnas" |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Ninguno)', |
|||
groupByText : 'Agrupar por este campo', |
|||
showGroupsText : 'Mostrar en grupos' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nombre", |
|||
valueText : "Valor", |
|||
dateFormat : "j/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Arrastre para redimensionar.", |
|||
collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,266 @@ |
|||
/* |
|||
* Farsi (Persian) translation |
|||
* By Mohaqa |
|||
* 03-10-2007, 06:23 PM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} رکورد انتخاب شده"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "بستن"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "مقدار فیلد صحیح نیست"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "در حال بارگذاری ..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"ژانویه", |
|||
"فوریه", |
|||
"مارس", |
|||
"آپریل", |
|||
"می", |
|||
"ژوئن", |
|||
"جولای", |
|||
"آگوست", |
|||
"سپتامبر", |
|||
"اکتبر", |
|||
"نوامبر", |
|||
"دسامبر" |
|||
]; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"یکشنبه", |
|||
"دوشنبه", |
|||
"سه شنبه", |
|||
"چهارشنبه", |
|||
"پنجشنبه", |
|||
"جمعه", |
|||
"شنبه" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "تایید", |
|||
cancel : "بازگشت", |
|||
yes : "بله", |
|||
no : "خیر" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y/m/d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "امروز", |
|||
minText : "این تاریخ قبل از محدوده مجاز است", |
|||
maxText : "این تاریخ پس از محدوده مجاز است", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'ماه بعد (Control + Right)', |
|||
prevText : 'ماه قبل (Control+Left)', |
|||
monthYearText : 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "y/m/d", |
|||
okText : " OK ", |
|||
cancelText : "Cancel", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "صفحه", |
|||
afterPageText : "از {0}", |
|||
firstText : "صفحه اول", |
|||
prevText : "صفحه قبل", |
|||
nextText : "صفحه بعد", |
|||
lastText : "صفحه آخر", |
|||
refreshText : "بازخوانی", |
|||
displayMsg : "نمایش {0} - {1} of {2}", |
|||
emptyMsg : 'داده ای برای نمایش وجود ندارد' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "حداقل طول این فیلد برابر است با {0}", |
|||
maxLengthText : "حداکثر طول این فیلد برابر است با {0}", |
|||
blankText : "این فیلد باید مقداری داشته باشد", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "حداقل مقدار این فیلد برابر است با {0}", |
|||
maxText : "حداکثر مقدار این فیلد برابر است با {0}", |
|||
nanText : "{0} یک عدد نیست" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "غیرفعال", |
|||
disabledDatesText : "غیرفعال", |
|||
minText : "تاریخ باید پس از {0} باشد", |
|||
maxText : "تاریخ باید پس از {0} باشد", |
|||
invalidText : "{0} تاریخ صحیحی نیست - فرمت صحیح {1}", |
|||
format : "y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "در حال بارگذاری ...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@domain.com"', |
|||
urlText : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.domain.com"', |
|||
alphaText : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ', |
|||
alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'لطفا آدرس لینک را وارد کنید:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'تیره (Ctrl+B)', |
|||
text: 'متن انتخاب شده را تیره می کند.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'ایتالیک (Ctrl+I)', |
|||
text: 'متن انتخاب شده را ایتالیک می کند.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'زیرخط (Ctrl+U)', |
|||
text: 'زیر هر نوشته یک خط نمایش می دهد.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'افزایش اندازه', |
|||
text: 'اندازه فونت را افزایش می دهد.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'کاهش اندازه', |
|||
text: 'اندازه متن را کاهش می دهد.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'رنگ زمینه متن', |
|||
text: 'برای تغییر رنگ زمینه متن استفاده می شود.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'رنگ قلم', |
|||
text: 'رنگ قلم متن را تغییر می دهد.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'چیدن متن از سمت چپ', |
|||
text: 'متن از سمت چپ چیده شده می شود.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'متن در وسط ', |
|||
text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'چیدن متن از سمت راست', |
|||
text: 'متن از سمت راست پیده خواهد شد.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'لیست همراه با علامت', |
|||
text: 'یک لیست جدید ایجاد می کند.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'لیست عددی', |
|||
text: 'یک لیست عددی ایجاد می کند. ', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'لینک', |
|||
text: 'متن انتخاب شده را به لینک تبدیل کنید.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'ویرایش سورس', |
|||
text: 'رفتن به حالت ویرایش سورس.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "مرتب سازی افزایشی", |
|||
sortDescText : "مرتب سازی کاهشی", |
|||
lockText : "قفل ستون ها", |
|||
unlockText : "بازکردن ستون ها", |
|||
columnsText : "ستون ها" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "نام", |
|||
valueText : "مقدار", |
|||
dateFormat : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "درگ برای تغییر اندازه.", |
|||
collapsibleSplitTip : "برای تغییر اندازه درگ کنید." |
|||
}); |
|||
} |
@ -0,0 +1,297 @@ |
|||
/* |
|||
* France (France) translation |
|||
* By Thylia |
|||
* 09-11-2007, 02:22 PM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} ligne(s) sélectionnée(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Fermer cet onglet"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "En cours de chargement..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Janvier", |
|||
"Février", |
|||
"Mars", |
|||
"Avril", |
|||
"Mai", |
|||
"Juin", |
|||
"Juillet", |
|||
"Août", |
|||
"Septembre", |
|||
"Octobre", |
|||
"Novembre", |
|||
"Décembre" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Dimanche", |
|||
"Lundi", |
|||
"Mardi", |
|||
"Mercredi", |
|||
"Jeudi", |
|||
"Vendredi", |
|||
"Samedi" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Annuler", |
|||
yes : "Oui", |
|||
no : "Non" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Aujourd'hui", |
|||
minText : "Cette date est antérieure à la date minimum", |
|||
maxText : "Cette date est postérieure à la date maximum", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Mois suivant (CTRL+Flèche droite)', |
|||
prevText : "Mois précédent (CTRL+Flèche gauche)", |
|||
monthYearText : "Choisissez un mois (CTRL+Flèche haut ou bas pour changer d'année.)", |
|||
todayTip : "{0} (Barre d'espace)", |
|||
okText : " OK ", |
|||
cancelText : "Annuler", |
|||
format : "d/m/y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Page", |
|||
afterPageText : "sur {0}", |
|||
firstText : "Première page", |
|||
prevText : "Page précédente", |
|||
nextText : "Page suivante", |
|||
lastText : "Dernière page", |
|||
refreshText : "Actualiser la page", |
|||
displayMsg : "Page courante {0} - {1} sur {2}", |
|||
emptyMsg : 'Aucune donnée à afficher' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "La longueur minimum de ce champ est de {0} caractères", |
|||
maxLengthText : "La longueur maximum de ce champ est de {0} caractères", |
|||
blankText : "Ce champ est obligatoire", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "La valeur minimum de ce champ doit être de {0}", |
|||
maxText : "La valeur maximum de ce champ doit être de {0}", |
|||
nanText : "{0} n'est pas un nombre valide" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Désactivé", |
|||
disabledDatesText : "Désactivé", |
|||
minText : "La date de ce champ ne peut être antérieure au {0}", |
|||
maxText : "La date de ce champ ne peut être postérieure au {0}", |
|||
invalidText : "{0} n'est pas une date valide - elle doit être au format suivant: {1}", |
|||
format : "d/m/y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "En cours de chargement...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ce champ doit contenir une adresse email au format: "usager@domaine.com"', |
|||
urlText : 'Ce champ doit contenir une URL au format suivant: "http:/'+'/www.domaine.com"', |
|||
alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)', |
|||
alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : "Veuillez entrer l'URL pour ce lien:", |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Gras (Ctrl+B)', |
|||
text: 'Met le texte sélectionné en gras.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italique (Ctrl+I)', |
|||
text: 'Met le texte sélectionné en italique.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Souligné (Ctrl+U)', |
|||
text: 'Souligne le texte sélectionné.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Agrandir la police', |
|||
text: 'Augmente la taille de la police.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Réduire la police', |
|||
text: 'Réduit la taille de la police.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Couleur de surbrillance', |
|||
text: 'Modifie la couleur de fond du texte sélectionné.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Couleur de police', |
|||
text: 'Modifie la couleur du texte sélectionné.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Aligner à gauche', |
|||
text: 'Aligne le texte à gauche.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centrer', |
|||
text: 'Centre le texte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Aligner à droite', |
|||
text: 'Aligner le texte à droite.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Liste à puce', |
|||
text: 'Démarre une liste à puce.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Liste numérotée', |
|||
text: 'Démarre une liste numérotée.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Lien hypertexte', |
|||
text: 'Transforme en lien hypertexte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Code source', |
|||
text: 'Basculer en mode édition du code source.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TimeField){ |
|||
Ext.apply(Ext.form.TimeField.prototype, { |
|||
minText : "L'heure de ce champ ne peut être antérieure au {0}", |
|||
maxText : "L'heure de ce champ ne peut être postérieure au {0}", |
|||
invalidText : "{0} n'est pas une heure valide", |
|||
format : "H:i", |
|||
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" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Tri croissant", |
|||
sortDescText : "Tri décroissant", |
|||
lockText : "Verrouiller la colonne", |
|||
unlockText : "Déverrouiller la colonne", |
|||
columnsText : "Colonnes" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Aucun)', |
|||
groupByText : 'Grouper par ce champ', |
|||
showGroupsText : 'Afficher par groupes' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Propriété", |
|||
valueText : "Valeur", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Cliquer et glisser pour redimensionner le panneau.", |
|||
collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour le cacher." |
|||
}); |
|||
} |
@ -0,0 +1,170 @@ |
|||
/* |
|||
* France (Canadian) translation |
|||
* By BernardChhun |
|||
* 04-08-2007, 03:07 AM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">En cours de chargement...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} ligne(s) sélectionné(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Fermer cette onglet"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "La valeur de ce champ est invalide"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "En cours de chargement..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Janvier", |
|||
"Février", |
|||
"Mars", |
|||
"Avril", |
|||
"Mai", |
|||
"Juin", |
|||
"Juillet", |
|||
"Août", |
|||
"Septembre", |
|||
"Octobre", |
|||
"Novembre", |
|||
"Décembre" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Dimanche", |
|||
"Lundi", |
|||
"Mardi", |
|||
"Mercredi", |
|||
"Jeudi", |
|||
"Vendredi", |
|||
"Samedi" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Annuler", |
|||
yes : "Oui", |
|||
no : "Non" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Aujourd'hui", |
|||
minText : "Cette date est plus petite que la date minimum", |
|||
maxText : "Cette date est plus grande que la date maximum", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Prochain mois (CTRL+Fléche droite)', |
|||
prevText : 'Mois précédent (CTRL+Fléche gauche)', |
|||
monthYearText : 'Choissisez un mois (CTRL+Fléche haut ou bas pour changer d\'année.)', |
|||
todayTip : "{0} (Barre d'espace)", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Page", |
|||
afterPageText : "de {0}", |
|||
firstText : "Première page", |
|||
prevText : "Page précédente", |
|||
nextText : "Prochaine page", |
|||
lastText : "Dernière page", |
|||
refreshText : "Recharger la page", |
|||
displayMsg : "Page courante {0} - {1} de {2}", |
|||
emptyMsg : 'Aucune donnée à afficher' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "La longueur minimum de ce champ est de {0} caractères", |
|||
maxLengthText : "La longueur maximum de ce champ est de {0} caractères", |
|||
blankText : "Ce champ est obligatoire", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "La valeur minimum de ce champ doit être de {0}", |
|||
maxText : "La valeur maximum de ce champ doit être de {0}", |
|||
nanText : "{0} n'est pas un nombre valide" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Désactivé", |
|||
disabledDatesText : "Désactivé", |
|||
minText : "La date de ce champ doit être avant le {0}", |
|||
maxText : "La date de ce champ doit être après le {0}", |
|||
invalidText : "{0} n'est pas une date valide - il doit être au format suivant: {1}", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "En cours de chargement...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ce champ doit contenir un courriel et doit être sous ce format: "usager@domaine.com"', |
|||
urlText : 'Ce champ doit contenir une URL sous le format suivant: "http:/'+'/www.domaine.com"', |
|||
alphaText : 'Ce champ ne peut contenir que des lettres et le caractère souligné (_)', |
|||
alphanumText : 'Ce champ ne peut contenir que des caractères alphanumériques ainsi que le caractère souligné (_)' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Tri ascendant", |
|||
sortDescText : "Tri descendant", |
|||
lockText : "Verrouillé la colonne", |
|||
unlockText : "Déverrouillé la colonne", |
|||
columnsText : "Colonnes" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Propriété", |
|||
valueText : "Valeur", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Cliquer et glisser pour redimensionner le panneau.", |
|||
collapsibleSplitTip : "Cliquer et glisser pour redimensionner le panneau. Double-cliquer pour cacher le panneau." |
|||
}); |
|||
} |
@ -0,0 +1,169 @@ |
|||
/** |
|||
* Greek (Old Version) Translations by Vagelis |
|||
* 03-June-2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Öüñôùóç...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} åðéëåãìÝíç(åò) ãñáììÞ(Ýò)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Êëåßóôå áõôÞ ôçí êáñôÝëá"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Ç ôéìÞ óôï ðåäßï äåí åßíáé Ýãêõñç"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Öüñôùóç..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"ÉáíïõÜñéïò", |
|||
"ÖåâñïõÜñéïò", |
|||
"ÌÜñôéïò", |
|||
"Áðñßëéïò", |
|||
"ÌÜéïò", |
|||
"Éïýíéïò", |
|||
"Éïýëéïò", |
|||
"Áýãïõóôïò", |
|||
"ÓåðôÝìâñéïò", |
|||
"Ïêôþâñéïò", |
|||
"ÍïÝìâñéïò", |
|||
"ÄåêÝìâñéïò" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"ÊõñéáêÞ", |
|||
"ÄåõôÝñá", |
|||
"Ôñßôç", |
|||
"ÔåôÜñôç", |
|||
"ÐÝìðôç", |
|||
"ÐáñáóêåõÞ", |
|||
"ÓÜââáôï" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "ÅíôÜîåé", |
|||
cancel : "Áêýñùóç", |
|||
yes : "Íáé", |
|||
no : "¼÷é" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "ì/ç/Å"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "ÓÞìåñá", |
|||
minText : "Ç çìåñïìçíßá áõôÞ åßíáé ðñéí ôçí ìéêñüôåñç çìåñïìçíßá", |
|||
maxText : "Ç çìåñïìçíßá áõôÞ åßíáé ìåôÜ ôçí ìåãáëýôåñç çìåñïìçíßá", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Åðüìåíïò ÌÞíáò (Control+Right)', |
|||
prevText : 'Ðñïçãïýìåíïò ÌÞíáò (Control+Left)', |
|||
monthYearText : 'ÅðéëÝîôå ÌÞíá (Control+Up/Down ãéá ìåôáêßíçóç óôá Ýôç)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "ì/ç/Å" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Óåëßäá", |
|||
afterPageText : "áðü {0}", |
|||
firstText : "Ðñþôç óåëßäá", |
|||
prevText : "Ðñïçãïýìåíç óåëßäá", |
|||
nextText : "Åðüìåíç óåëßäá", |
|||
lastText : "Ôåëåõôáßá óåëßäá", |
|||
refreshText : "ÁíáíÝùóç", |
|||
displayMsg : "ÅìöÜíéóç {0} - {1} áðü {2}", |
|||
emptyMsg : 'Äåí âñÝèçêáí åããñáöÝò ãéá åìöÜíéóç' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Ôï åëÜ÷éóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}", |
|||
maxLengthText : "Ôï ìÝãéóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}", |
|||
blankText : "Ôï ðåäßï áõôü åßíáé õðï÷ñåùôïêü", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Ç åëÜ÷éóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}", |
|||
maxText : "Ç ìÝãéóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}", |
|||
nanText : "{0} äåí åßíáé Ýãêõñïò áñéèìüò" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "ÁðåíåñãïðïéçìÝíï", |
|||
disabledDatesText : "ÁðåíåñãïðïéçìÝíï", |
|||
minText : "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìåôÜ áðü {0}", |
|||
maxText : "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ðñéí áðü {0}", |
|||
invalidText : "{0} äåí åßíáé Ýãêõñç çìåñïìçíßá - ðñÝðåé íá åßíáé ôçò ìïñöÞò {1}", |
|||
format : "ì/ç/Å" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Öüñôùóç...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé e-mail address ôçò ìïñöÞò "user@domain.com"', |
|||
urlText : 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìéá äéåýèõíóç URL ôçò ìïñöÞò "http:/'+'/www.domain.com"', |
|||
alphaText : 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá êáé _', |
|||
alphanumText : 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá, áñéèìïýò êáé _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Áýîïõóá Ôáîéíüìçóç", |
|||
sortDescText : "Öèßíïõóá Ôáîéíüìçóç", |
|||
lockText : "Êëåßäùìá óôÞëçò", |
|||
unlockText : "Îåêëåßäùìá óôÞëçò", |
|||
columnsText : "ÓôÞëåò" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "¼íïìá", |
|||
valueText : "ÔéìÞ", |
|||
dateFormat : "ì/ç/Å" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò.", |
|||
collapsibleSplitTip : "Óýñåôå ãéá áëëáãÞ ìåãÝèïõò. Double click ãéá áðüêñõøç." |
|||
}); |
|||
} |
@ -0,0 +1,286 @@ |
|||
/** |
|||
* Hebrew Translations |
|||
* By spartacus (from forums) 06-12-2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">...èåòï</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "ùåøåú ðáçøåú {0}"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "ñâåø ìùåðéú"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "äòøê áùãä æä ùâåé"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "...èåòï"; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"éðåàø", |
|||
"ôáøåàø", |
|||
"îøõ", |
|||
"àôøéì", |
|||
"îàé", |
|||
"éåðé", |
|||
"éåìé", |
|||
"àåâåñè", |
|||
"ñôèîáø", |
|||
"àå÷èåáø", |
|||
"ðåáîáø", |
|||
"ãöîáø" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"à", |
|||
"á", |
|||
"â", |
|||
"ã", |
|||
"ä", |
|||
"å", |
|||
"ù" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "àéùåø", |
|||
cancel : "áéèåì", |
|||
yes : "ëï", |
|||
no : "ìà" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "äéåí", |
|||
minText : ".úàøéê æä çì ÷åãí ìúàøéê ääúçìúé ùð÷áò", |
|||
maxText : ".úàøéê æä çì ìàçø äúàøéê äñåôé ùð÷áò", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : '(Control+Right) äçåãù äáà', |
|||
prevText : '(Control+Left) äçåãù ä÷åãí', |
|||
monthYearText : '(ìáçéøú ùðä Control+Up/Down) áçø çåãù', |
|||
todayTip : "î÷ù øååç) {0})", |
|||
format : "d/m/Y", |
|||
okText : " àéùåø ", |
|||
cancelText : "áéèåì", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "òîåã", |
|||
afterPageText : "{0} îúåê", |
|||
firstText : "òîåã øàùåï", |
|||
prevText : "òîåã ÷åãí", |
|||
nextText : "òîåã äáà", |
|||
lastText : "òîåã àçøåï", |
|||
refreshText : "øòðï", |
|||
displayMsg : "îöéâ {0} - {1} îúåê {2}", |
|||
emptyMsg : 'àéï îéãò ìäöâä' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "{0} äàåøê äîéðéîàìé ìùãä æä äåà", |
|||
maxLengthText : "{0} äàåøê äîéøáé ìùãä æä äåà", |
|||
blankText : "ùãä æä äëøçé", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "{0} äòøê äîéðéîàìé ìùãä æä äåà", |
|||
maxText : "{0} äòøê äîéøáé ìùãä æä äåà", |
|||
nanText : "äåà ìà îñôø {0}" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "îðåèøì", |
|||
disabledDatesText : "îðåèøì", |
|||
minText : "{0} äúàøéê áùãä æä çééá ìäéåú ìàçø", |
|||
maxText : "{0} äúàøéê áùãä æä çééá ìäéåú ìôðé", |
|||
invalidText : "{1} äåà ìà úàøéê ú÷ðé - çééá ìäéåú áôåøîè {0}", |
|||
format : "m/d/y", |
|||
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "...èåòï", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : '"user@domain.com" ùãä æä öøéê ìäéåú ëúåáú ãåàø àì÷èøåðé áôåøîè', |
|||
urlText : '"http:/'+'/www.domain.com" ùãä æä öøéê ìäéåú ëúåáú àéðèøðè áôåøîè', |
|||
alphaText : '_ùãä æä éëåì ìäëéì ø÷ àåúéåú å', |
|||
alphanumText : '_ùãä æä éëåì ìäëéì ø÷ àåúéåú, îñôøéí å' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : ':àðà ä÷ìã àú ëúåáú äàéðèøðè òáåø ä÷éùåø', |
|||
buttonTips : { |
|||
bold : { |
|||
title: '(Ctrl+B) îåãâù', |
|||
text: '.äãâù àú äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: '(Ctrl+I) ðèåé', |
|||
text: '.äèä àú äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: '(Ctrl+U) ÷å úçúé', |
|||
text: '.äåñó ÷ï úçúé òáåø äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'äâãì è÷ñè', |
|||
text: '.äâãì âåôï òáåø äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'ä÷èï è÷ñè', |
|||
text: '.ä÷èï âåôï òáåø äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'öáò ø÷ò ìè÷ñè', |
|||
text: '.ùðä àú öáò äø÷ò òáåø äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'öáò âåôï', |
|||
text: '.ùðä àú öáò äâåôï òáåø äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'éùåø ìùîàì', |
|||
text: '.éùø ùîàìä àú äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'éùåø ìîøëæ', |
|||
text: '.éùø ìîøëæ àú äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'éùåø ìéîéï', |
|||
text: '.éùø éîéðä àú äè÷ñè äðáçø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'øùéîú ð÷åãåú', |
|||
text: '.äúçì øùéîú ð÷åãåú', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'øùéîä îîåñôøú', |
|||
text: '.äúçì øùéîä îîåñôøú', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: '÷éùåø', |
|||
text: '.äôåê àú äè÷ñè äðáçø ì÷éùåø', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'òøéëú ÷åã î÷åø', |
|||
text: '.äöâ ÷åã î÷åø', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "îééï áñãø òåìä", |
|||
sortDescText : "îééï áñãø éåøã", |
|||
lockText : "ðòì òîåãä", |
|||
unlockText : "ùçøø òîåãä", |
|||
columnsText : "òîåãåú" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(øé÷)', |
|||
groupByText : 'äöâ á÷áåöåú ìôé ùãä æä', |
|||
showGroupsText : 'äöâ á÷áåöåú' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "ùí", |
|||
valueText : "òøê", |
|||
dateFormat : "m/j/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : ".îùåê ìùéðåé âåãì", |
|||
collapsibleSplitTip : ".îùåê ìùéðåé âåãì. ìçéöä ëôåìä ìäñúøä" |
|||
}); |
|||
} |
@ -0,0 +1,171 @@ |
|||
/* |
|||
* Croatian translation |
|||
* By Ylodi (utf8 encoding) |
|||
* 8 May 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavanje...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} odabranih redova"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zatvori ovaj tab"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Unesena vrijednost u ovom polju je neispravna"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Učitavanje..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Siječanj", |
|||
"Veljača", |
|||
"Ožujak", |
|||
"Travanj", |
|||
"Svibanj", |
|||
"Lipanj", |
|||
"Srpanj", |
|||
"Kolovoz", |
|||
"Rujan", |
|||
"Listopad", |
|||
"Studeni", |
|||
"Prosinac" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Nedjelja", |
|||
"Ponedjeljak", |
|||
"Utorak", |
|||
"Srijeda", |
|||
"Četvrtak", |
|||
"Petak", |
|||
"Subota" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "U redu", |
|||
cancel : "Odustani", |
|||
yes : "Da", |
|||
no : "Ne" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Danas", |
|||
minText : "Taj datum je prije najmanjeg datuma", |
|||
maxText : "Taj datum je poslije najvećeg datuma", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Slijedeći mjesec (Control+Desno)', |
|||
prevText : 'Prethodni mjesec (Control+Lijevo)', |
|||
monthYearText : 'Odaberite mjesec (Control+Gore/Dolje za promjenu godine)', |
|||
todayTip : "{0} (Razmaknica)", |
|||
format : "d.m.y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Stranica", |
|||
afterPageText : "od {0}", |
|||
firstText : "Prva stranica", |
|||
prevText : "Prethodna stranica", |
|||
nextText : "Slijedeća stranica", |
|||
lastText : "Posljednja stranica", |
|||
refreshText : "Obnovi", |
|||
displayMsg : "Prikazujem {0} - {1} od {2}", |
|||
emptyMsg : 'Nema podataka za prikaz' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimalna dužina za ovo polje je {0}", |
|||
maxLengthText : "Maksimalna dužina za ovo polje je {0}", |
|||
blankText : "Ovo polje je obavezno", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimalna vrijednost za ovo polje je {0}", |
|||
maxText : "Maksimalna vrijednost za ovo polje je {0}", |
|||
nanText : "{0} nije ispravan broj" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Neaktivno", |
|||
disabledDatesText : "Neaktivno", |
|||
minText : "Datum u ovom polje mora biti poslije {0}", |
|||
maxText : "Datum u ovom polju mora biti prije {0}", |
|||
invalidText : "{0} nije ispravan datum - mora biti u obliku {1}", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Učitavanje...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ovdje možete unijeti samo e-mail adresu u obliku "korisnik@domena.com"', |
|||
urlText : 'Ovdje možete unijeti samo URL u obliku "http:/'+'/www.domena.com"', |
|||
alphaText : 'Ovo polje može sadržavati samo slova i znak _', |
|||
alphanumText : 'Ovo polje može sadržavati samo slova, brojeve i znak _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortiraj rastućim redoslijedom", |
|||
sortDescText : "Sortiraj padajućim redoslijedom", |
|||
lockText : "Zaključaj stupac", |
|||
unlockText : "Otključaj stupac", |
|||
columnsText : "Stupci" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Naziv", |
|||
valueText : "Vrijednost", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Povuci za promjenu veličine.", |
|||
collapsibleSplitTip : "Povuci za promjenu veličine. Dvostruki klik za skrivanje." |
|||
}); |
|||
} |
@ -0,0 +1,297 @@ |
|||
/* |
|||
* Ext JS Library 2.1 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* Hungarian Translations (utf-8 encoded) |
|||
* by Amon <amon@theba.hu> (27 Apr 2008) |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Betöltés...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} kiválasztott sor"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Fül bezárása"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Hibás érték!"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Betöltés..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Január", |
|||
"Február", |
|||
"Március", |
|||
"Április", |
|||
"Május", |
|||
"Június", |
|||
"Július", |
|||
"Augusztus", |
|||
"Szeptember", |
|||
"Október", |
|||
"November", |
|||
"December" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
'Jan' : 0, |
|||
'Feb' : 1, |
|||
'Már' : 2, |
|||
'Ãpr' : 3, |
|||
'Máj' : 4, |
|||
'Jún' : 5, |
|||
'Júl' : 6, |
|||
'Aug' : 7, |
|||
'Sze' : 8, |
|||
'Okt' : 9, |
|||
'Nov' : 10, |
|||
'Dec' : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Vasárnap", |
|||
"Hétfő", |
|||
"Kedd", |
|||
"Szerda", |
|||
"Csütörtök", |
|||
"Péntek", |
|||
"Szombat" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Mégsem", |
|||
yes : "Igen", |
|||
no : "Nem" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y m d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Mai nap", |
|||
minText : "A dátum korábbi a megengedettnél", |
|||
maxText : "A dátum későbbi a megengedettnél", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Köv. hónap (CTRL+Jobbra)', |
|||
prevText : 'Előző hónap (CTRL+Balra)', |
|||
monthYearText : 'Válassz hónapot (Évválasztás: CTRL+Fel/Le)', |
|||
todayTip : "{0} (Szóköz)", |
|||
format : "y-m-d", |
|||
okText : " OK ", |
|||
cancelText : "Mégsem", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Oldal", |
|||
afterPageText : "a {0}-ból/ből", |
|||
firstText : "Első oldal", |
|||
prevText : "Előző oldal", |
|||
nextText : "Következő oldal", |
|||
lastText : "Utolsó oldal", |
|||
refreshText : "FrissÃtés", |
|||
displayMsg : "{0} - {1} sorok láthatók a {2}-ból/ből", |
|||
emptyMsg : 'Nincs megjeleníthető adat' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "A mező tartalma legalább {0} hosszú kell legyen", |
|||
maxLengthText : "A mező tartalma legfeljebb {0} hosszú lehet", |
|||
blankText : "Kötelezően kitöltendő mező", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "A mező tartalma nem lehet kissebb, mint {0}", |
|||
maxText : "A mező tartalma nem lehet nagyobb, mint {0}", |
|||
nanText : "{0} nem szám" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Nem választható", |
|||
disabledDatesText : "Nem választható", |
|||
minText : "A dátum nem lehet korábbi, mint {0}", |
|||
maxText : "A dátum nem lehet későbbi, mint {0}", |
|||
invalidText : "{0} nem megfelelő dátum - a helyes formátum: {1}", |
|||
format : "Y m d", |
|||
altFormats : "Y-m-d|y-m-d|y/m/d|m/d|m-d|md|ymd|Ymd|d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Betöltés...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'A mezÅ‘ email cÃmet tartalmazhat, melynek formátuma "felhasználó@szolgáltató.hu"', |
|||
urlText : 'A mezÅ‘ webcÃmet tartalmazhat, melynek formátuma "http:/'+'/www.weboldal.hu"', |
|||
alphaText : 'A mező csak betűket és aláhúzást (_) tartalmazhat', |
|||
alphanumText : 'A mező csak betűket, számokat és aláhúzást (_) tartalmazhat' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Add meg a webcÃmet:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Félkövér (Ctrl+B)', |
|||
text: 'Félkövérré teszi a kijelölt szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Dőlt (Ctrl+I)', |
|||
text: 'Dőlté teszi a kijelölt szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Aláhúzás (Ctrl+U)', |
|||
text: 'Aláhúzza a kijelölt szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Szöveg nagyÃtás', |
|||
text: 'Növeli a szövegméretet.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Szöveg kicsinyÃtés', |
|||
text: 'Csökkenti a szövegméretet.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Háttérszín', |
|||
text: 'A kijelölt szöveg háttérszÃnét módosÃtja.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'SzövegszÃn', |
|||
text: 'A kijelölt szöveg szÃnét módosÃtja.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Balra zárt', |
|||
text: 'Balra zárja a szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Középre zárt', |
|||
text: 'Középre zárja a szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Jobbra zárt', |
|||
text: 'Jobbra zárja a szöveget.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Felsorolás', |
|||
text: 'Felsorolást kezd.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Számozás', |
|||
text: 'Számozott listát kezd.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hiperlink', |
|||
text: 'A kijelölt szöveget linkké teszi.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Forrás nézet', |
|||
text: 'Forrás nézetbe kapcsol.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Növekvő rendezés", |
|||
sortDescText : "Csökkenő rendezés", |
|||
lockText : "Oszlop zárolás", |
|||
unlockText : "Oszlop feloldás", |
|||
columnsText : "Oszlopok" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Nincs)', |
|||
groupByText : 'Oszlop szerint csoportosÃtás', |
|||
showGroupsText : 'Csoportos nézet' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Név", |
|||
valueText : "Érték", |
|||
dateFormat : "Y m j" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Átméretezés húzásra.", |
|||
collapsibleSplitTip : "Átméretezés húzásra. Eltüntetés duplaklikk." |
|||
}); |
|||
} |
@ -0,0 +1,296 @@ |
|||
/** |
|||
* Pedoman translasi: |
|||
* http://id.wikisource.org/wiki/Panduan_Pembakuan_Istilah,_Pelaksanaan_Instruksi_Presiden_Nomor_2_Tahun_2001_Tentang_Penggunaan_Komputer_Dengan_Aplikasi_Komputer_Berbahasa_Indonesia
|
|||
*Original source: http://vlsm.org/etc/baku-0.txt
|
|||
* by Farid GS |
|||
* farid [at] pulen.net |
|||
* 10:13 04 Desember 2007 |
|||
* Indonesian Translations |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Pemuatan...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} selected row(s)"; |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} baris terpilih"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Close this tab"; |
|||
Ext.TabPanelItem.prototype.closeText = "Tutup tab ini"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "The value in this field is invalid"; |
|||
Ext.form.Field.prototype.invalidText = "Isian belum benar"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Loading..."; |
|||
Ext.LoadMask.prototype.msg = "Pemuatan..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januari", |
|||
"Februari", |
|||
"Maret", |
|||
"April", |
|||
"Mei", |
|||
"Juni", |
|||
"Juli", |
|||
"Agustus", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"Desember" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Jan : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Apr : 3, |
|||
Mei : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Agu : 7, |
|||
Sep : 8, |
|||
Okt : 9, |
|||
Nov : 10, |
|||
Des : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Minggu", |
|||
"Senin", |
|||
"Selasa", |
|||
"Rabu", |
|||
"Kamis", |
|||
"Jumat", |
|||
"Sabtu" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Batal", |
|||
yes : "Ya", |
|||
no : "Tidak" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Hari ini", |
|||
minText : "Tanggal ini sebelum batas tanggal minimal", |
|||
maxText : "Tanggal ini setelah batas tanggal maksimal", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Bulan Berikut (Kontrol+Kanan)', |
|||
prevText : 'Bulan Sebelum (Kontrol+Kiri)', |
|||
monthYearText : 'Pilih bulan (Kontrol+Atas/Bawah untuk pindah tahun)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "d/m/y", |
|||
okText : " OK ", |
|||
cancelText : "Batal", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Hal", |
|||
afterPageText : "dari {0}", |
|||
firstText : "Hal. Pertama", |
|||
prevText : "Hal. Sebelum", |
|||
nextText : "Hal. Berikut", |
|||
lastText : "Hal. Akhir", |
|||
refreshText : "Segarkan", |
|||
displayMsg : "Menampilkan {0} - {1} dari {2}", |
|||
emptyMsg : 'Data tidak ditemukan' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Panjang minimal untuk field ini adalah {0}", |
|||
maxLengthText : "Panjang maksimal untuk field ini adalah {0}", |
|||
blankText : "Field ini wajib diisi", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Nilai minimal untuk field ini adalah {0}", |
|||
maxText : "Nilai maksimal untuk field ini adalah {0}", |
|||
nanText : "{0} bukan angka" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Disfungsi", |
|||
disabledDatesText : "Disfungsi", |
|||
minText : "Tanggal dalam field ini harus setelah {0}", |
|||
maxText : "Tanggal dalam field ini harus sebelum {0}", |
|||
invalidText : "{0} tanggal salah - Harus dalam format {1}", |
|||
format : "d/m/y", |
|||
//altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
|
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Pemuatan...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Field ini harus dalam format email seperti "user@domain.com"', |
|||
urlText : 'Field ini harus dalam format URL seperti "http:/'+'/www.domain.com"', |
|||
alphaText : 'Field ini harus terdiri dari huruf dan _', |
|||
alphanumText : 'Field ini haris terdiri dari huruf, angka dan _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Silakan masukkan URL untuk tautan:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Tebal (Ctrl+B)', |
|||
text: 'Buat tebal teks terpilih', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Miring (CTRL+I)', |
|||
text: 'Buat miring teks terpilih', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Garisbawah (CTRl+U)', |
|||
text: 'Garisbawahi teks terpilih', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Perbesar teks', |
|||
text: 'Perbesar ukuran fonta', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Perkecil teks', |
|||
text: 'Perkecil ukuran fonta', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Sorot Warna Teks', |
|||
text: 'Ubah warna latar teks terpilih', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Warna Fonta', |
|||
text: 'Ubah warna teks terpilih', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Rata Kiri', |
|||
text: 'Ratakan teks ke kiri', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Rata Tengah', |
|||
text: 'Ratakan teks ke tengah editor', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Rata Kanan', |
|||
text: 'Ratakan teks ke kanan', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Daftar Bulet', |
|||
text: 'Membuat daftar berbasis bulet', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Daftar Angka', |
|||
text: 'Membuat daftar berbasis angka', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hipertaut', |
|||
text: 'Buat teks terpilih sebagai Hipertaut', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Edit Kode Sumber', |
|||
text: 'Pindah dalam mode kode sumber', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Urut Naik", |
|||
sortDescText : "Urut Turun", |
|||
lockText : "Kancing Kolom", |
|||
unlockText : "Lepas Kunci Kolom", |
|||
columnsText : "Kolom" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Kosong)', |
|||
groupByText : 'Kelompokkan Berdasar Field Ini', |
|||
showGroupsText : 'Tampil Dalam Kelompok' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nama", |
|||
valueText : "Nilai", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Seret untuk ubah ukuran.", |
|||
collapsibleSplitTip : "Seret untuk ubah ukuran, Dobel klik untuk sembunyikan." |
|||
}); |
|||
} |
@ -0,0 +1,289 @@ |
|||
/* |
|||
* Italian translation |
|||
* By eric_void |
|||
* 04-10-2007, 11:25 AM |
|||
* Updated by Federico Grilli 21/12/2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} righe selezionate"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Chiudi pannello"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Valore non valido"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Caricamento in corso..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Gennaio", |
|||
"Febbraio", |
|||
"Marzo", |
|||
"Aprile", |
|||
"Maggio", |
|||
"Giugno", |
|||
"Luglio", |
|||
"Agosto", |
|||
"Settembre", |
|||
"Ottobre", |
|||
"Novembre", |
|||
"Dicembre" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Domenica", |
|||
"Luned\u00EC", |
|||
"Marted\u00EC", |
|||
"Mercoled\u00EC", |
|||
"Gioved\u00EC", |
|||
"Venerd\u00EC", |
|||
"Sabato" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Annulla", |
|||
yes : "S\u00EC", |
|||
no : "No" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Oggi", |
|||
minText : "Data precedente alla data minima", |
|||
maxText : "Data successiva alla data massima", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Mese successivo (Ctrl+Destra)', |
|||
prevText : 'Mese precedente (Ctrl+Sinistra)', |
|||
monthYearText : 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)', |
|||
todayTip : "{0} (Barra spaziatrice)", |
|||
format : "d/m/y", |
|||
cancelText : "Annulla", |
|||
okText : " OK ", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Pagina", |
|||
afterPageText : "di {0}", |
|||
firstText : "Prima pagina", |
|||
prevText : "Pagina precedente", |
|||
nextText : "Pagina successiva", |
|||
lastText : "Ultima pagina", |
|||
refreshText : "Aggiorna", |
|||
displayMsg : "Record {0} - {1} di {2}", |
|||
emptyMsg : 'Nessun dato da mostrare' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "La lunghezza minima \u00E8 {0}", |
|||
maxLengthText : "La lunghezza massima \u00E8 {0}", |
|||
blankText : "Campo obbligatorio", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Il valore minimo \u00E8 {0}", |
|||
maxText : "Il valore massimo \u00E8 {0}", |
|||
nanText : "{0} non \u00E8 un valore numerico corretto" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Disabilitato", |
|||
disabledDatesText : "Disabilitato", |
|||
minText : "La data deve essere successiva al {0}", |
|||
maxText : "La data deve essere precedente al {0}", |
|||
invalidText : "{0} non \u00E8 una data valida. Deve essere nel formato {1}", |
|||
format : "d/m/y", |
|||
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Caricamento in corso...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Il campo deve essere un indirizzo e-mail nel formato "user@domain.com"', |
|||
urlText : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.domain.com"', |
|||
alphaText : 'Il campo deve contenere solo lettere e _', |
|||
alphanumText : 'Il campo deve contenere solo lettere, numeri e _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Inserire un URL per il link:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Grassetto (Ctrl+B)', |
|||
text: 'Rende il testo selezionato in grassetto.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Corsivo (Ctrl+I)', |
|||
text: 'Rende il testo selezionato in corsivo.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Sottolinea (Ctrl+U)', |
|||
text: 'Sottolinea il testo selezionato.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Ingrandisci testo', |
|||
text: 'Aumenta la dimensione del carattere.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Rimpicciolisci testo', |
|||
text: 'Diminuisce la dimensione del carattere.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Colore evidenziatore testo', |
|||
text: 'Modifica il colore di sfondo del testo selezionato.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Colore carattere', |
|||
text: 'Modifica il colore del testo selezionato.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Allinea a sinistra', |
|||
text: 'Allinea il testo a sinistra.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centra', |
|||
text: 'Centra il testo.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Allinea a destra', |
|||
text: 'Allinea il testo a destra.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Elenco puntato', |
|||
text: 'Elenco puntato.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Elenco numerato', |
|||
text: 'Elenco numerato.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Collegamento', |
|||
text: 'Trasforma il testo selezionato in un collegamanto.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Sorgente', |
|||
text: 'Passa alla modalit\u00E0 editing del sorgente.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Ordinamento crescente", |
|||
sortDescText : "Ordinamento decrescente", |
|||
lockText : "Blocca colonna", |
|||
unlockText : "Sblocca colonna", |
|||
columnsText : "Colonne" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Nessun dato)', |
|||
groupByText : 'Raggruppa per questo campo', |
|||
showGroupsText : 'Mostra nei gruppi' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nome", |
|||
valueText : "Valore", |
|||
dateFormat : "j/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Trascina per cambiare dimensioni.", |
|||
collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,156 @@ |
|||
/* |
|||
* Japanese translation |
|||
* By tyama |
|||
* 04-08-2007, 05:49 AM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} 行選択"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "このタブを閉じる"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "フィールドの値が不正です。"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "読み込み中..."; |
|||
} |
|||
|
|||
Date.monthNames = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月','11月','12月']; |
|||
|
|||
Date.dayNames = [ |
|||
"日", |
|||
"月", |
|||
"火", |
|||
"水", |
|||
"木", |
|||
"金", |
|||
"土"]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "キャンセル", |
|||
yes : "はい", |
|||
no : "いいえ" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y/m/d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "今日", |
|||
minText : "選択した日付は最小値以下です。", |
|||
maxText : "選択した日付は最大値以上です。", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : '次月へ (コントロール+右)', |
|||
prevText : '前月へ (コントロール+左)', |
|||
monthYearText : '月選択 (コントロール+上/下で年移動)', |
|||
todayTip : "{0} (スペースキー)", |
|||
format : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "ページ", |
|||
afterPageText : "/ {0}", |
|||
firstText : "最初のページ", |
|||
prevText : "前のページ", |
|||
nextText : "次のページ", |
|||
lastText : "最後のページ", |
|||
refreshText : "更新", |
|||
displayMsg : "{2} 件中 {0} - {1} を表示", |
|||
emptyMsg : '表示するデータがありません。' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "このフィールドの最小値は {0} です。", |
|||
maxLengthText : "このフィールドの最大値は {0} です。", |
|||
blankText : "必須項目です。", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "このフィールドの最小値は {0} です。", |
|||
maxText : "このフィールドの最大値は {0} です。", |
|||
nanText : "{0} は数値ではありません。" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "無効", |
|||
disabledDatesText : "無効", |
|||
minText : "このフィールドの日付は、 {0} 以降の日付に設定してください。", |
|||
maxText : "このフィールドの日付は、 {0} 以前の日付に設定してください。", |
|||
invalidText : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。", |
|||
format : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "読み込み中...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'メールアドレスを"user@domain.com"の形式で入力してください。', |
|||
urlText : 'URLを"http:/'+'/www.domain.com"の形式で入力してください。', |
|||
alphaText : '半角英字と"_"のみです。', |
|||
alphanumText : '半角英数と"_"のみです。' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "昇順", |
|||
sortDescText : "降順", |
|||
lockText : "カラムロック", |
|||
unlockText : "カラムロック解除", |
|||
columnsText : "Columns" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "名称", |
|||
valueText : "値", |
|||
dateFormat : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "ドラッグするとリサイズできます。", |
|||
collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。" |
|||
}); |
|||
} |
@ -0,0 +1,261 @@ |
|||
/** |
|||
* Korean Translations By nicetip |
|||
* 05 September 2007 |
|||
* Modify by techbug / 25 February 2008 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">로딩중...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} 개가 선택되었습니다."; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "닫기"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "올바른 값이 아닙니다."; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "로딩중..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"1월", |
|||
"2월", |
|||
"3월", |
|||
"4월", |
|||
"5월", |
|||
"6월", |
|||
"7월", |
|||
"8월", |
|||
"9월", |
|||
"10월", |
|||
"11월", |
|||
"12월" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"일", |
|||
"월", |
|||
"화", |
|||
"수", |
|||
"목", |
|||
"금", |
|||
"토" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "확인", |
|||
cancel : "취소", |
|||
yes : "예", |
|||
no : "아니오" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "m/d/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "오늘", |
|||
minText : "최소 날짜범위를 넘었습니다.", |
|||
maxText : "최대 날짜범위를 넘었습니다.", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : '다음달(컨트롤키+오른쪽 화살표)', |
|||
prevText : '이전달 (컨트롤키+왼족 화살표)', |
|||
monthYearText : '월을 선택해주세요. (컨트롤키+위/아래 화살표)', |
|||
todayTip : "{0} (스페이스바)", |
|||
format : "m/d/y", |
|||
okText : "확인", |
|||
cancelText : "취소", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "페이지", |
|||
afterPageText : "/ {0}", |
|||
firstText : "첫 페이지", |
|||
prevText : "이전 페이지", |
|||
nextText : "다음 페이지", |
|||
lastText : "마지막 페이지", |
|||
refreshText : "새로고침", |
|||
displayMsg : "전체 {2} 중 {0} - {1}", |
|||
emptyMsg : '표시할 데이터가 없습니다.' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "최소길이는 {0}입니다.", |
|||
maxLengthText : "최대길이는 {0}입니다.", |
|||
blankText : "값을 입력해주세요.", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "최소값은 {0}입니다.", |
|||
maxText : "최대값은 {0}입니다.", |
|||
nanText : "{0}는 올바른 숫자가 아닙니다." |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "비활성", |
|||
disabledDatesText : "비활성", |
|||
minText : "{0}일 이후여야 합니다.", |
|||
maxText : "{0}일 이전이어야 합니다.", |
|||
invalidText : "{0}는 올바른 날짜형식이 아닙니다. - 다음과 같은 형식이어야 합니다. {1}", |
|||
format : "m/d/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "로딩중...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : '이메일 주소 형식에 맞게 입력해야합니다. (예: "user@domain.com")', |
|||
urlText : 'URL 형식에 맞게 입력해야합니다. (예: "http:/'+'/www.domain.com")', |
|||
alphaText : '영문, 밑줄(_)만 입력할 수 있습니다.', |
|||
alphanumText : '영문, 숫자, 밑줄(_)만 입력할 수 있습니다.' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'URL을 입력해주세요:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: '굵게 (Ctrl+B)', |
|||
text: '선택한 텍스트를 굵게 표시합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: '기울임꼴 (Ctrl+I)', |
|||
text: '선택한 텍스트를 기울임꼴로 표시합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: '밑줄 (Ctrl+U)', |
|||
text: '선택한 텍스트에 밑줄을 표시합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: '글꼴크기 늘림', |
|||
text: '글꼴 크기를 크게 합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: '글꼴크기 줄임', |
|||
text: '글꼴 크기를 작게 합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: '텍스트 강조 색', |
|||
text: '선택한 텍스트의 배경색을 변경합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: '글꼴색', |
|||
text: '선택한 텍스트의 색을 변경합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: '텍스트 왼쪽 맞춤', |
|||
text: '왼쪽에 텍스트를 맞춥니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: '가운데 맞춤', |
|||
text: '가운데에 텍스트를 맞춥니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: '텍스트 오른쪽 맞춤', |
|||
text: '오른쪽에 텍스트를 맞춥니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: '글머리 기호', |
|||
text: '글머리 기호 목록을 시작합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: '번호 매기기', |
|||
text: '번호 매기기 목록을 시작합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: '하이퍼링크', |
|||
text: '선택한 텍스트에 하이퍼링크를 만듭니다.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: '소스편집', |
|||
text: '소스편집 모드로 변환합니다.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "오름차순 정렬", |
|||
sortDescText : "내림차순 정렬", |
|||
lockText : "칼럼 잠금", |
|||
unlockText : "칼럼 잠금해제", |
|||
columnsText : "칼럼 목록" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(None)', |
|||
groupByText : '현재 필드로 그룹핑합니다.', |
|||
showGroupsText : '그룹으로 보여주기' |
|||
|
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "항목", |
|||
valueText : "값", |
|||
dateFormat : "m/j/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "크기변경을 위해 드래그하세요.", |
|||
collapsibleSplitTip : "크기변경을 위해 드래그, 숨기기 위해 더블클릭 하세요." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,299 @@ |
|||
/** |
|||
* Lithuanian Translations (UTF-8) |
|||
* By Vladas Saulis, October 18, 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Kraunasi...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} pažymėta"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Uždaryti šią užsklandą"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Šio lauko reikšmė neteisinga"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Kraunasi..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Saulis", |
|||
"Vasaris", |
|||
"Kovas", |
|||
"Balandis", |
|||
"Gegužė", |
|||
"Birželis", |
|||
"Liepa", |
|||
"Rugpjūtis", |
|||
"Rugsėjis", |
|||
"Spalis", |
|||
"Lapkritis", |
|||
"Gruodis" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return [ |
|||
"Sau", |
|||
"Vas", |
|||
"Kov", |
|||
"Bal", |
|||
"Geg", |
|||
"Bir", |
|||
"Lie", |
|||
"Rgp", |
|||
"Rgs", |
|||
"Spa", |
|||
"Lap", |
|||
"Grd" |
|||
]; |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Pirmadienis", |
|||
"Antradienis", |
|||
"Trečiadienis", |
|||
"Ketvirtadienis", |
|||
"Penktadienis", |
|||
"Šeštadienis", |
|||
"Sekmadienis" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Gerai", |
|||
cancel : "Atsisakyti", |
|||
yes : "Taip", |
|||
no : "Ne" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y-m-d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Šiandien", |
|||
minText : "Ši data yra mažesnė už leistiną", |
|||
maxText : "Ši data yra didesnė už leistiną", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Next Month (Control+Right)', |
|||
prevText : 'Previous Month (Control+Left)', |
|||
monthYearText : 'Choose a month (Control+Up/Down perėjimui tarp metų)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "y-m-d", |
|||
okText : " Gerai ", |
|||
cancelText : "Atsisaktyi", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Puslapis", |
|||
afterPageText : "iš {0}", |
|||
firstText : "Pirmas puslapis", |
|||
prevText : "Ankstesnis pusl.", |
|||
nextText : "Kitas puslapis", |
|||
lastText : "Pakutinis pusl.", |
|||
refreshText : "Atnaujinti", |
|||
displayMsg : "Rodomi įrašai {0} - {1} iš {2}", |
|||
emptyMsg : 'Nėra duomenų' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimalus šio lauko ilgis yra {0}", |
|||
maxLengthText : "Maksimalus šio lauko ilgis yra {0}", |
|||
blankText : "Šis laukas yra reikalingas", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimalus šio lauko ilgis yra {0}", |
|||
maxText : "Maksimalus šio lauko ilgis yra {0}", |
|||
nanText : "{0} yra neleistina reikšmė" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Neprieinama", |
|||
disabledDatesText : "Neprieinama", |
|||
minText : "Šiame lauke data turi būti didesnė už {0}", |
|||
maxText : "Šiame lauke data turi būti mažesnėė už {0}", |
|||
invalidText : "{0} yra neteisinga data - ji turi būti įvesta formatu {1}", |
|||
format : "y-m-d", |
|||
altFormats : "y-m-d|y/m/d|Y-m-d|m/d|m-d|md|ymd|Ymd|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Kraunasi...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Šiame lauke turi būti el.pašto adresas formatu "user@domain.com"', |
|||
urlText : 'Šiame lauke turi būti nuoroda (URL) formatu "http:/'+'/www.domain.com"', |
|||
alphaText : 'Šiame lauke gali būti tik raidės ir ženklas "_"', |
|||
alphanumText : 'Šiame lauke gali būti tik raidės, skaičiai ir ženklas "_"' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Įveskite URL šiai nuorodai:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Bold (Ctrl+B)', |
|||
text: 'Teksto paryškinimas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italic (Ctrl+I)', |
|||
text: 'Kursyvinis tekstas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Underline (Ctrl+U)', |
|||
text: 'Teksto pabraukimas.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Padidinti šriftą', |
|||
text: 'Padidinti šrifto dydį.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Sumažinti šriftą', |
|||
text: 'Sumažinti šrifto dydį.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Nuspalvinti teksto foną', |
|||
text: 'Pakeisti teksto fono spalvą.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Teksto spalva', |
|||
text: 'Pakeisti pažymėto teksto spalvą.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Išlyginti kairen', |
|||
text: 'Išlyginti tekstą į kairę.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centruoti tekstą', |
|||
text: 'Centruoti tektą redaktoriaus lange.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Išlyginti dešinėn', |
|||
text: 'Išlyginti tekstą į dešinę.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Paprastas sąrašas', |
|||
text: 'Pradėti neorganizuotą sąrašą.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Numeruotas sąrašas', |
|||
text: 'Pradėti numeruotą sąrašą.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Nuoroda', |
|||
text: 'Padaryti pažymėta tekstą nuoroda.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Išeities tekstas', |
|||
text: 'Persijungti į išeities teksto koregavimo režimą.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Rūšiuoti didėjančia tvarka", |
|||
sortDescText : "Rūšiuoti mažėjančia tvarka", |
|||
lockText : "Užfiksuoti stulpelį", |
|||
unlockText : "Atlaisvinti stulpelį", |
|||
columnsText : "Stulpeliai" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Nėra)', |
|||
groupByText : 'Grupuoti pagal šį lauką', |
|||
showGroupsText : 'Rodyti grupėse' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Pavadinimas", |
|||
valueText : "Reikšmė", |
|||
dateFormat : "Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Patraukite juostelę.", |
|||
collapsibleSplitTip : "Patraukite juostelę arba Paspauskite dvigubai kad paslėpti." |
|||
}); |
|||
} |
@ -0,0 +1,170 @@ |
|||
/** |
|||
* Latvian Translations |
|||
* By salix 17 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Notiek ielāde...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} iezīmētu rindu"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Aizver šo zīmni"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Vērtība šajā laukā nav pareiza"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Ielādē..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Janvāris", |
|||
"Februāris", |
|||
"Marts", |
|||
"Aprīlis", |
|||
"Maijs", |
|||
"Jūnijs", |
|||
"Jūlijs", |
|||
"Augusts", |
|||
"Septembris", |
|||
"Oktobris", |
|||
"Novembris", |
|||
"Decembris" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Svētdiena", |
|||
"Pirmdiena", |
|||
"Otrdiena", |
|||
"Trešdiena", |
|||
"Ceturtdiena", |
|||
"Piektdiena", |
|||
"Sestdiena" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Labi", |
|||
cancel : "Atcelt", |
|||
yes : "Jā", |
|||
no : "Nē" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Šodiena", |
|||
minText : "Norādītais datums ir mazāks par minimālo datumu", |
|||
maxText : "Norādītais datums ir lielāks par maksimālo datumu", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Nākamais mēnesis (Control+pa labi)', |
|||
prevText : 'Iepriekšējais mēnesis (Control+pa kreisi)', |
|||
monthYearText : 'Mēneša izvēle (Control+uz augšu/uz leju lai pārslēgtu gadus)', |
|||
todayTip : "{0} (Tukšumzīme)", |
|||
format : "d.m.Y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Lapa", |
|||
afterPageText : "no {0}", |
|||
firstText : "Pirmā lapa", |
|||
prevText : "iepriekšējā lapa", |
|||
nextText : "Nākamā lapa", |
|||
lastText : "Pēdējā lapa", |
|||
refreshText : "Atsvaidzināt", |
|||
displayMsg : "Rāda no {0} līdz {1} ierakstiem, kopā {2}", |
|||
emptyMsg : 'Nav datu, ko parādīt' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimālais garums šim laukam ir {0}", |
|||
maxLengthText : "Maksimālais garums šim laukam ir {0}", |
|||
blankText : "Šis ir obligāts lauks", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimālais garums šim laukam ir {0}", |
|||
maxText : "Maksimālais garums šim laukam ir {0}", |
|||
nanText : "{0} nav pareizs skaitlis" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Atspējots", |
|||
disabledDatesText : "Atspējots", |
|||
minText : "Datumam šajā laukā jābūt lielākam kā {0}", |
|||
maxText : "Datumam šajā laukā jābūt mazākam kā {0}", |
|||
invalidText : "{0} nav pareizs datums - tam jābūt šādā formātā: {1}", |
|||
format : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Ielādē...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Šajā laukā jāieraksta e-pasta adrese formātā "lietotās@domēns.lv"', |
|||
urlText : 'Šajā laukā jāieraksta URL formātā "http:/'+'/www.domēns.lv"', |
|||
alphaText : 'Šis lauks drīkst saturēt tikai burtus un _ zīmi', |
|||
alphanumText : 'Šis lauks drīkst saturēt tikai burtus, ciparus un _ zīmi' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Kārtot pieaugošā secībā", |
|||
sortDescText : "Kārtot dilstošā secībā", |
|||
lockText : "Noslēgt kolonnu", |
|||
unlockText : "Atslēgt kolonnu", |
|||
columnsText : "Kolonnas" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nosaukums", |
|||
valueText : "Vērtība", |
|||
dateFormat : "j.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Velc, lai mainītu izmēru.", |
|||
collapsibleSplitTip : "Velc, lai mainītu izmēru. Dubultklikšķis noslēpj apgabalu." |
|||
}); |
|||
} |
@ -0,0 +1,170 @@ |
|||
/* |
|||
* Macedonia translation |
|||
* By PetarD petar.dimitrijevic@vorteksed.com.mk (utf8 encoding) |
|||
* 23 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Вчитувам...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} избрани редици"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Затвори tab"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Вредноста во ова поле е невалидна"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Вчитувам..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Јануари", |
|||
"Февруари", |
|||
"Март", |
|||
"Април", |
|||
"Мај", |
|||
"Јуни", |
|||
"Јули", |
|||
"Август", |
|||
"Септември", |
|||
"Октомври", |
|||
"Ноември", |
|||
"Декември" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Недела", |
|||
"Понеделник", |
|||
"Вторник", |
|||
"Среда", |
|||
"Четврток", |
|||
"Петок", |
|||
"Сабота" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Потврди", |
|||
cancel : "Поништи", |
|||
yes : "Да", |
|||
no : "Не" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Денеска", |
|||
minText : "Овој датум е пред најмалиот датум", |
|||
maxText : "Овој датум е пред најголемиот датум", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Следен месец (Control+Стрелка десно)', |
|||
prevText : 'Претходен месец (Control+Стрелка лево)', |
|||
monthYearText : 'Изберете месец (Control+Стрелка горе/Стрелка десно за менување година)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Страница", |
|||
afterPageText : "од {0}", |
|||
firstText : "Прва Страница", |
|||
prevText : "Претходна Страница", |
|||
nextText : "Следна Страница", |
|||
lastText : "Последна Страница", |
|||
refreshText : "Освежи", |
|||
displayMsg : "Прикажувам {0} - {1} од {2}", |
|||
emptyMsg : 'Нема податоци за приказ' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Минималната должина за ова поле е {0}", |
|||
maxLengthText : "Максималната должина за ова поле е {0}", |
|||
blankText : "Податоците во ова поле се потребни", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Минималната вредност за ова поле е {0}", |
|||
maxText : "Максималната вредност за ова поле е {0}", |
|||
nanText : "{0} не е валиден број" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Неактивно", |
|||
disabledDatesText : "Неактивно", |
|||
minText : "Датумот во ова поле мора да биде пред {0}", |
|||
maxText : "Датумот во ова поле мора да биде по {0}", |
|||
invalidText : "{0} не е валиден датум - мора да биде во формат {1}", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Вчитувам...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ова поле треба да биде e-mail адреса во формат "user@domain.com"', |
|||
urlText : 'Ова поле треба да биде URL во формат "http:/'+'/www.domain.com"', |
|||
alphaText : 'Ова поле треба да содржи само букви и _', |
|||
alphanumText : 'Ова поле треба да содржи само букви, бројки и _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Сортирај Растечки", |
|||
sortDescText : "Сортирај Опаѓачки", |
|||
lockText : "Заклучи Колона", |
|||
unlockText : "Отклучи колона", |
|||
columnsText : "Колони" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Име", |
|||
valueText : "Вредност", |
|||
dateFormat : "m.d.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Повлечете за менување на големината.", |
|||
collapsibleSplitTip : "Повлечете за менување на големината. Дупли клик за криење." |
|||
}); |
|||
} |
@ -0,0 +1,310 @@ |
|||
/* |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* Dutch Translations |
|||
* by Ido Sebastiaan Bas van Oostveen (12 Oct 2007) |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Bezig met laden...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ''; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = '{0} geselecteerde rij(en)'; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = 'Sluit dit tabblad'; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = 'Bezig met laden...'; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
'januari', |
|||
'februari', |
|||
'maart', |
|||
'april', |
|||
'mei', |
|||
'juni', |
|||
'juli', |
|||
'augustus', |
|||
'september', |
|||
'oktober', |
|||
'november', |
|||
'december' |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
if (month == 2) { |
|||
return 'mrt'; |
|||
} |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
jan: 0, |
|||
feb: 1, |
|||
maa: 2, |
|||
apr: 3, |
|||
mei: 4, |
|||
jun: 5, |
|||
jul: 6, |
|||
aug: 7, |
|||
sep: 8, |
|||
okt: 9, |
|||
nov: 10, |
|||
dec: 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
var sname = name.substring(0, 3).toLowerCase(); |
|||
if (sname == 'mrt') { |
|||
return 2; |
|||
} |
|||
return Date.monthNumbers[sname]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
'zondag', |
|||
'maandag', |
|||
'dinsdag', |
|||
'woensdag', |
|||
'donderdag', |
|||
'vrijdag', |
|||
'zaterdag' |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok: 'OK', |
|||
cancel: 'Annuleren', |
|||
yes: 'Ja', |
|||
no: 'Nee' |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if (!v) return ''; |
|||
if (!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || 'j-m-y'); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText: 'Vandaag', |
|||
minText: 'Deze datum is eerder dan de minimale datum', |
|||
maxText: 'Deze datum is later dan de maximale datum', |
|||
disabledDaysText: '', |
|||
disabledDatesText: '', |
|||
monthNames: Date.monthNames, |
|||
dayNames: Date.dayNames, |
|||
nextText: 'Volgende maand (Ctrl+rechts)', |
|||
prevText: 'Vorige maand (Ctrl+links)', |
|||
monthYearText: 'Kies een maand (Ctrl+omhoog/omlaag volgend/vorig jaar)', |
|||
todayTip: '{0} (spatie)', |
|||
format: 'j-m-y', |
|||
okText: ' OK ', |
|||
cancelText: 'Annuleren', |
|||
startDay: 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText: 'Pagina', |
|||
afterPageText: 'van {0}', |
|||
firstText: 'Eerste pagina', |
|||
prevText: 'Vorige pagina', |
|||
nextText: 'Volgende pagina', |
|||
lastText: 'Laatste pagina', |
|||
refreshText: 'Ververs', |
|||
displayMsg: 'Getoond {0} - {1} van {2}', |
|||
emptyMsg: 'Geen gegevens om weer te geven' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = 'De waarde van dit veld is ongeldig'; |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText: 'De minimale lengte van dit veld is {0}', |
|||
maxLengthText: 'De maximale lengte van dit veld is {0}', |
|||
blankText: 'Dit veld is verplicht', |
|||
regexText: '', |
|||
emptyText: null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText: 'De minimale waarde van dit veld is {0}', |
|||
maxText: 'De maximale waarde van dit veld is {0}', |
|||
nanText: '{0} is geen geldig getal' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText: 'Uitgeschakeld', |
|||
disabledDatesText: 'Uitgeschakeld', |
|||
minText: 'De datum in dit veld moet na {0} liggen', |
|||
maxText: 'De datum in dit veld moet voor {0} liggen', |
|||
invalidText: '{0} is geen geldige datum - formaat voor datum is {1}', |
|||
format: 'j-m-y', |
|||
altFormats: 'd/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText: 'Bezig met laden...', |
|||
valueNotFoundText: undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText: 'Dit veld moet een e-mail adres bevatten in het formaat "gebruiker@domein.nl"', |
|||
urlText: 'Dit veld moet een URL bevatten in het formaat "http:/'+'/www.domein.nl"', |
|||
alphaText: 'Dit veld mag alleen letters en _ bevatten', |
|||
alphanumText: 'Dit veld mag alleen letters, cijfers en _ bevatten' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText: 'Vul hier de URL voor de hyperlink in:', |
|||
buttonTips: { |
|||
bold: { |
|||
title: 'Vet (Ctrl+B)', |
|||
text: 'Maak de geselecteerde tekst vet.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic: { |
|||
title: 'Cursief (Ctrl+I)', |
|||
text: 'Maak de geselecteerde tekst cursief.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline: { |
|||
title: 'Onderstrepen (Ctrl+U)', |
|||
text: 'Onderstreep de geselecteerde tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize: { |
|||
title: 'Tekst vergroten', |
|||
text: 'Vergroot het lettertype.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize: { |
|||
title: 'Tekst verkleinen', |
|||
text: 'Verklein het lettertype.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor: { |
|||
title: 'Tekst achtergrondkleur', |
|||
text: 'Verander de achtergrondkleur van de geselecteerde tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor: { |
|||
title: 'Tekst kleur', |
|||
text: 'Verander de kleur van de geselecteerde tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft: { |
|||
title: 'Tekst links uitlijnen', |
|||
text: 'Lijn de tekst links uit.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter: { |
|||
title: 'Tekst centreren', |
|||
text: 'Centreer de tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright: { |
|||
title: 'Tekst rechts uitlijnen', |
|||
text: 'Lijn de tekst rechts uit.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist: { |
|||
title: 'Opsommingstekens', |
|||
text: 'Begin een ongenummerde lijst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist: { |
|||
title: 'Genummerde lijst', |
|||
text: 'Begin een genummerde lijst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink: { |
|||
title: 'Hyperlink', |
|||
text: 'Maak van de geselecteerde tekst een hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit: { |
|||
title: 'Bron aanpassen', |
|||
text: 'Schakel modus over naar bron aanpassen.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.BasicForm){ |
|||
Ext.form.BasicForm.prototype.waitTitle = "Even wachten a.u.b..."; |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText: 'Sorteer oplopend', |
|||
sortDescText: 'Sorteer aflopend', |
|||
lockText: 'Kolom vastzetten', |
|||
unlockText: 'Kolom vrijgeven', |
|||
columnsText: 'Kolommen' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText: '(Geen)', |
|||
groupByText: 'Dit veld groeperen', |
|||
showGroupsText: 'Toon in groepen' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText: 'Naam', |
|||
valueText: 'Waarde', |
|||
dateFormat: 'j-m-Y' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip: 'Sleep om grootte aan te passen.', |
|||
collapsibleSplitTip: 'Sleep om grootte aan te passen. Dubbel klikken om te verbergen.' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TimeField){ |
|||
Ext.apply(Ext.form.TimeField.prototype, { |
|||
minText: 'De tijd in dit veld moet op of na {0} liggen', |
|||
maxText: 'De tijd in dit veld moet op of voor {0} liggen', |
|||
invalidText: '{0} is geen geldig tijdstip', |
|||
format: 'G:i', |
|||
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' |
|||
}); |
|||
} |
@ -0,0 +1,288 @@ |
|||
/** |
|||
* |
|||
* Norwegian translation (Bokmål: no-NB) |
|||
* By Tore Kjørsvik 21-January-2008 |
|||
* |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Laster...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} markert(e) rad(er)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Lukk denne fanen"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Verdien i dette feltet er ugyldig"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Laster..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januar", |
|||
"Februar", |
|||
"Mars", |
|||
"April", |
|||
"Mai", |
|||
"Juni", |
|||
"Juli", |
|||
"August", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"Desember" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Jan : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Apr : 3, |
|||
Mai : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Aug : 7, |
|||
Sep : 8, |
|||
Okt : 9, |
|||
Nov : 10, |
|||
Des : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Søndag", |
|||
"Mandag", |
|||
"Tirsdag", |
|||
"Onsdag", |
|||
"Torsdag", |
|||
"Fredag", |
|||
"Lørdag" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Avbryt", |
|||
yes : "Ja", |
|||
no : "Nei" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "I dag", |
|||
minText : "Denne datoen er før tidligste tillatte dato", |
|||
maxText : "Denne datoen er etter seneste tillatte dato", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Neste måned (Control+Pil Høyre)', |
|||
prevText : 'Forrige måned (Control+Pil Venstre)', |
|||
monthYearText : 'Velg en måned (Control+Pil Opp/Ned for å skifte år)', |
|||
todayTip : "{0} (Mellomrom)", |
|||
format : "d.m.y", |
|||
okText : " OK ", |
|||
cancelText : "Avbryt", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Side", |
|||
afterPageText : "av {0}", |
|||
firstText : "Første side", |
|||
prevText : "Forrige side", |
|||
nextText : "Neste side", |
|||
lastText : "Siste side", |
|||
refreshText : "Oppdater", |
|||
displayMsg : "Viser {0} - {1} av {2}", |
|||
emptyMsg : 'Ingen data å vise' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Den minste lengden for dette feltet er {0}", |
|||
maxLengthText : "Den største lengden for dette feltet er {0}", |
|||
blankText : "Dette feltet er påkrevd", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Den minste verdien for dette feltet er {0}", |
|||
maxText : "Den største verdien for dette feltet er {0}", |
|||
nanText : "{0} er ikke et gyldig nummer" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Deaktivert", |
|||
disabledDatesText : "Deaktivert", |
|||
minText : "Datoen i dette feltet må være etter {0}", |
|||
maxText : "Datoen i dette feltet må være før {0}", |
|||
invalidText : "{0} er ikke en gyldig dato - den må være på formatet {1}", |
|||
format : "d.m.y", |
|||
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" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Laster...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Dette feltet skal være en epost adresse på formatet "bruker@domene.no"', |
|||
urlText : 'Dette feltet skal være en link (URL) på formatet "http:/'+'/www.domene.no"', |
|||
alphaText : 'Dette feltet skal kun inneholde bokstaver og _', |
|||
alphanumText : 'Dette feltet skal kun inneholde bokstaver, tall og _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Vennligst skriv inn URL for lenken:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Fet (Ctrl+B)', |
|||
text: 'Gjør den valgte teksten fet.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kursiv (Ctrl+I)', |
|||
text: 'Gjør den valgte teksten kursiv.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Understrek (Ctrl+U)', |
|||
text: 'Understrek den valgte teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Forstørr tekst', |
|||
text: 'Gjør fontstørrelse større.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Forminsk tekst', |
|||
text: 'Gjør fontstørrelse mindre.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Tekst markeringsfarge', |
|||
text: 'Endre bakgrunnsfarge til den valgte teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Font farge', |
|||
text: 'Endre farge på den valgte teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Venstrejuster tekst', |
|||
text: 'Venstrejuster teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Sentrer tekst', |
|||
text: 'Sentrer teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Høyrejuster tekst', |
|||
text: 'Høyrejuster teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Punktliste', |
|||
text: 'Start en punktliste.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Nummerert liste', |
|||
text: 'Start en nummerert liste.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Lenke', |
|||
text: 'Gjør den valgte teksten til en lenke.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Rediger kilde', |
|||
text: 'Bytt til kilderedigeringsvisning.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sorter stigende", |
|||
sortDescText : "Sorter synkende", |
|||
lockText : "Lås kolonne", |
|||
unlockText : "Lås opp kolonne", |
|||
columnsText : "Kolonner" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Ingen)', |
|||
groupByText : 'Grupper etter dette feltet', |
|||
showGroupsText : 'Vis i grupper' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Navn", |
|||
valueText : "Verdi", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Dra for å endre størrelse.", |
|||
collapsibleSplitTip : "Dra for å endre størrelse. Dobbelklikk for å skjule." |
|||
}); |
|||
} |
@ -0,0 +1,288 @@ |
|||
/** |
|||
* |
|||
* Norwegian translation (Nynorsk: no-NN) |
|||
* By Tore Kjørsvik 21-January-2008 |
|||
* |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Lastar...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} markert(e) rad(er)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Lukk denne fana"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Verdien i dette feltet er ugyldig"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Lastar..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januar", |
|||
"Februar", |
|||
"Mars", |
|||
"April", |
|||
"Mai", |
|||
"Juni", |
|||
"Juli", |
|||
"August", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"Desember" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Jan : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Apr : 3, |
|||
Mai : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Aug : 7, |
|||
Sep : 8, |
|||
Okt : 9, |
|||
Nov : 10, |
|||
Des : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Søndag", |
|||
"Måndag", |
|||
"Tysdag", |
|||
"Onsdag", |
|||
"Torsdag", |
|||
"Fredag", |
|||
"Laurdag" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Avbryt", |
|||
yes : "Ja", |
|||
no : "Nei" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "I dag", |
|||
minText : "Denne datoen er før tidlegaste tillatne dato", |
|||
maxText : "Denne datoen er etter seinaste tillatne dato", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Neste månad (Control+Pil Høgre)', |
|||
prevText : 'Førre månad (Control+Pil Venstre)', |
|||
monthYearText : 'Velj ein månad (Control+Pil Opp/Ned for å skifte år)', |
|||
todayTip : "{0} (Mellomrom)", |
|||
format : "d.m.y", |
|||
okText : " OK ", |
|||
cancelText : "Avbryt", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Side", |
|||
afterPageText : "av {0}", |
|||
firstText : "Første sida", |
|||
prevText : "Førre sida", |
|||
nextText : "Neste sida", |
|||
lastText : "Siste sida", |
|||
refreshText : "Oppdater", |
|||
displayMsg : "Viser {0} - {1} av {2}", |
|||
emptyMsg : 'Ingen data å vise' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Den minste lengda for dette feltet er {0}", |
|||
maxLengthText : "Den største lengda for dette feltet er {0}", |
|||
blankText : "Dette feltet er påkravd", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Den minste verdien for dette feltet er {0}", |
|||
maxText : "Den største verdien for dette feltet er {0}", |
|||
nanText : "{0} er ikkje eit gyldig nummer" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Deaktivert", |
|||
disabledDatesText : "Deaktivert", |
|||
minText : "Datoen i dette feltet må vere etter {0}", |
|||
maxText : "Datoen i dette feltet må vere før {0}", |
|||
invalidText : "{0} er ikkje ein gyldig dato - han må vere på formatet {1}", |
|||
format : "d.m.y", |
|||
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" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Lastar...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Dette feltet skal vere ei epost adresse på formatet "bruker@domene.no"', |
|||
urlText : 'Dette feltet skal vere ein link (URL) på formatet "http:/'+'/www.domene.no"', |
|||
alphaText : 'Dette feltet skal berre innehalde bokstavar og _', |
|||
alphanumText : 'Dette feltet skal berre innehalde bokstavar, tal og _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Ver venleg og skriv inn URL for lenken:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Feit (Ctrl+B)', |
|||
text: 'Gjer den valde teksten feit.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kursiv (Ctrl+I)', |
|||
text: 'Gjer den valde teksten kursiv.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Understrek (Ctrl+U)', |
|||
text: 'Understrek den valde teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Forstørr tekst', |
|||
text: 'Gjer fontstorleik større.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Forminsk tekst', |
|||
text: 'Gjer fontstorleik mindre.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Tekst markeringsfarge', |
|||
text: 'Endre bakgrunnsfarge til den valde teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Font farge', |
|||
text: 'Endre farge på den valde teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Venstrejuster tekst', |
|||
text: 'Venstrejuster teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Sentrer tekst', |
|||
text: 'Sentrer teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Høgrejuster tekst', |
|||
text: 'Høgrejuster teksten.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Punktliste', |
|||
text: 'Start ei punktliste.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Nummerert liste', |
|||
text: 'Start ei nummerert liste.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Lenke', |
|||
text: 'Gjer den valde teksten til ei lenke.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Rediger kjelde', |
|||
text: 'Bytt til kjelderedigeringsvising.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sorter stigande", |
|||
sortDescText : "Sorter fallande", |
|||
lockText : "Lås kolonne", |
|||
unlockText : "Lås opp kolonne", |
|||
columnsText : "Kolonner" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Ingen)', |
|||
groupByText : 'Grupper etter dette feltet', |
|||
showGroupsText : 'Vis i grupper' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Namn", |
|||
valueText : "Verdi", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Dra for å endre storleik.", |
|||
collapsibleSplitTip : "Dra for å endre storleik. Dobbelklikk for å skjule." |
|||
}); |
|||
} |
@ -0,0 +1,298 @@ |
|||
/** |
|||
* Polish Translations |
|||
* By vbert 17-April-2007 |
|||
* Updated by mmar 16-November-2007 |
|||
* Encoding: utf-8 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Wczytywanie danych...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} wybrano wiersze(y)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zamknij zakładkę"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Wartość tego pola jest niewłaściwa"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Wczytywanie danych..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Styczeń", |
|||
"Luty", |
|||
"Marzec", |
|||
"Kwiecień", |
|||
"Maj", |
|||
"Czerwiec", |
|||
"Lipiec", |
|||
"Sierpień", |
|||
"Wrzesień", |
|||
"Październik", |
|||
"Listopad", |
|||
"Grudzień" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Sty : 0, |
|||
Lut : 1, |
|||
Mar : 2, |
|||
Kwi : 3, |
|||
Maj : 4, |
|||
Cze : 5, |
|||
Lip : 6, |
|||
Sie : 7, |
|||
Wrz : 8, |
|||
Paź : 9, |
|||
Lis : 10, |
|||
Gru : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Niedziela", |
|||
"Poniedziałek", |
|||
"Wtorek", |
|||
"Środa", |
|||
"Czwartek", |
|||
"Piątek", |
|||
"Sobota" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
switch(day) { |
|||
case 0: return 'ndz'; |
|||
case 1: return 'pon'; |
|||
case 2: return 'wt'; |
|||
case 3: return 'śr'; |
|||
case 4: return 'czw'; |
|||
case 5: return 'pt'; |
|||
case 6: return 'sob'; |
|||
default: return ''; |
|||
} |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Anuluj", |
|||
yes : "Tak", |
|||
no : "Nie" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y-m-d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
startDay : 1, |
|||
todayText : "Dzisiaj", |
|||
minText : "Data jest wcześniejsza od daty minimalnej", |
|||
maxText : "Data jest późniejsza od daty maksymalnej", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : "Następny miesiąc (Control+StrzałkaWPrawo)", |
|||
prevText : "Poprzedni miesiąc (Control+StrzałkaWLewo)", |
|||
monthYearText : "Wybierz miesiąc (Control+Up/Down aby zmienić rok)", |
|||
todayTip : "{0} (Spacja)", |
|||
format : "Y-m-d", |
|||
okText : " OK ", |
|||
cancelText : "Anuluj", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Strona", |
|||
afterPageText : "z {0}", |
|||
firstText : "Pierwsza strona", |
|||
prevText : "Poprzednia strona", |
|||
nextText : "Następna strona", |
|||
lastText : "Ostatnia strona", |
|||
refreshText : "Odśwież", |
|||
displayMsg : "Wyświetlono {0} - {1} z {2}", |
|||
emptyMsg : "Brak danych do wyświetlenia" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimalna ilość znaków dla tego pola to {0}", |
|||
maxLengthText : "Maksymalna ilość znaków dla tego pola to {0}", |
|||
blankText : "To pole jest wymagane", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimalna wartość dla tego pola to {0}", |
|||
maxText : "Maksymalna wartość dla tego pola to {0}", |
|||
nanText : "{0} to nie jest właściwa wartość" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Wyłączony", |
|||
disabledDatesText : "Wyłączony", |
|||
minText : "Data w tym polu musi być późniejsza od {0}", |
|||
maxText : "Data w tym polu musi być wcześniejsza od {0}", |
|||
invalidText : "{0} to nie jest prawidłowa data - prawidłowy format daty {1}", |
|||
format : "Y-m-d", |
|||
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Wczytuję...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'To pole wymaga podania adresu e-mail w formacie: "nazwa@domena.pl"', |
|||
urlText : 'To pole wymaga podania adresu strony www w formacie: "http:/'+'/www.domena.pl"', |
|||
alphaText : 'To pole wymaga podania tylko liter i _', |
|||
alphanumText : 'To pole wymaga podania tylko liter, cyfr i _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Wprowadź adres URL strony:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Pogrubienie (Ctrl+B)', |
|||
text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Kursywa (Ctrl+I)', |
|||
text: 'Ustaw styl zaznaczonego tekstu na kursywę.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Podkreślenie (Ctrl+U)', |
|||
text: 'Podkreśl zaznaczony tekst.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Zwiększ czcionkę', |
|||
text: 'Zwiększ rozmiar czcionki.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Zmniejsz czcionkę', |
|||
text: 'Zmniejsz rozmiar czcionki.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Wyróżnienie', |
|||
text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Kolor czcionki', |
|||
text: 'Zmień kolor zaznaczonego tekstu.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Do lewej', |
|||
text: 'Wyrównaj tekst do lewej.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Wyśrodkuj', |
|||
text: 'Wyrównaj tekst do środka.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Do prawej', |
|||
text: 'Wyrównaj tekst do prawej.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Lista wypunktowana', |
|||
text: 'Rozpocznij listę wypunktowaną.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Lista numerowana', |
|||
text: 'Rozpocznij listę numerowaną.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hiperłącze', |
|||
text: 'Przekształć zaznaczony tekst w hiperłącze.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Edycja źródła', |
|||
text: 'Przełącz w tryb edycji źródła.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortuj rosnąco", |
|||
sortDescText : "Sortuj malejąco", |
|||
lockText : "Zablokuj kolumnę", |
|||
unlockText : "Odblokuj kolumnę", |
|||
columnsText : "Kolumny" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(None)', |
|||
groupByText : 'Grupuj po tym polu', |
|||
showGroupsText : 'Pokaż w grupach' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nazwa", |
|||
valueText : "Wartość", |
|||
dateFormat : "Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Przeciągnij aby zmienić rozmiar.", |
|||
collapsibleSplitTip : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć." |
|||
}); |
|||
} |
@ -0,0 +1,254 @@ |
|||
/* |
|||
* Portuguese/Brazil Translation by Weber Souza |
|||
* 08 April 2007 |
|||
* Updated by Allan Brazute Alves (EthraZa) |
|||
* 06 September 2007 |
|||
* Adapted to European Portuguese by Helder Batista (hbatista) |
|||
* 31 January 2008 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) seleccionada(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Fechar"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Carregando..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Janeiro", |
|||
"Fevereiro", |
|||
"Março", |
|||
"Abril", |
|||
"Maio", |
|||
"Junho", |
|||
"Julho", |
|||
"Agosto", |
|||
"Setembro", |
|||
"Outubro", |
|||
"Novembro", |
|||
"Dezembro" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Domingo", |
|||
"Segunda", |
|||
"Terça", |
|||
"Quarta", |
|||
"Quinta", |
|||
"Sexta", |
|||
"Sábado" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Cancelar", |
|||
yes : "Sim", |
|||
no : "Não" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Hoje", |
|||
minText : "Esta data é anterior à menor data", |
|||
maxText : "Esta data é posterior à maior data", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Próximo Mês (Control+Direita)', |
|||
prevText : 'Mês Anterior (Control+Esquerda)', |
|||
monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)', |
|||
todayTip : "{0} (Espaço)", |
|||
format : "d/m/Y", |
|||
okText : " OK ", |
|||
cancelText : "Cancelar", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Página", |
|||
afterPageText : "de {0}", |
|||
firstText : "Primeira Página", |
|||
prevText : "Página Anterior", |
|||
nextText : "Próxima Página", |
|||
lastText : "Última Página", |
|||
refreshText : "Atualizar", |
|||
displayMsg : "<b>{0} à {1} de {2} registo(s)</b>", |
|||
emptyMsg : 'Sem registos para exibir' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "O tamanho mínimo para este campo é {0}", |
|||
maxLengthText : "O tamanho máximo para este campo é {0}", |
|||
blankText : "Este campo é obrigatório.", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "O valor mínimo para este campo é {0}", |
|||
maxText : "O valor máximo para este campo é {0}", |
|||
nanText : "{0} não é um número válido" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Desabilitado", |
|||
disabledDatesText : "Desabilitado", |
|||
minText : "A data deste campo deve ser posterior a {0}", |
|||
maxText : "A data deste campo deve ser anterior a {0}", |
|||
invalidText : "{0} não é uma data válida - deve ser usado o formato {1}", |
|||
format : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Carregando...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Este campo deve ser um endereço de e-mail válido, no formato "utilizador@dominio.com"', |
|||
urlText : 'Este campo deve ser um URL no formato "http:/'+'/www.dominio.com"', |
|||
alphaText : 'Este campo deve conter apenas letras e _', |
|||
alphanumText : 'Este campo deve conter apenas letras, números e _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Por favor, entre com o URL do link:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Negrito (Ctrl+B)', |
|||
text: 'Deixa o texto seleccionado em negrito.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italico (Ctrl+I)', |
|||
text: 'Deixa o texto seleccionado em italico.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Sublinhado (Ctrl+U)', |
|||
text: 'Sublinha o texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Aumentar Texto', |
|||
text: 'Aumenta o tamanho da fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Diminuir Texto', |
|||
text: 'Diminui o tamanho da fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Cor de Fundo', |
|||
text: 'Muda a cor do fundo do texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Cor da Fonte', |
|||
text: 'Muda a cor do texto seleccionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Alinhar à Esquerda', |
|||
text: 'Alinha o texto à esquerda.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centrar Texto', |
|||
text: 'Centra o texto no editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Alinhar à Direita', |
|||
text: 'Alinha o texto à direita.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Lista com Marcadores', |
|||
text: 'Inicia uma lista com marcadores.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Lista Numerada', |
|||
text: 'Inicia uma lista numerada.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperligação', |
|||
text: 'Transforma o texto selecionado num hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Editar Fonte', |
|||
text: 'Troca para o modo de edição de código fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Ordem Ascendente", |
|||
sortDescText : "Ordem Descendente", |
|||
lockText : "Bloquear Coluna", |
|||
unlockText : "Desbloquear Coluna", |
|||
columnsText : "Colunas" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nome", |
|||
valueText : "Valor", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Arraste para redimensionar.", |
|||
collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder." |
|||
}); |
|||
} |
@ -0,0 +1,304 @@ |
|||
/* |
|||
* Ext JS Library 2.1 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
/** |
|||
* Portuguese/Brazil Translation by Weber Souza |
|||
* 08 April 2007 |
|||
* Updated by Allan Brazute Alves (EthraZa) |
|||
* 06 September 2007 |
|||
* Updated by Leonardo Lima |
|||
* 05 March 2008 |
|||
* Updated by Juliano Tarini (jtarini) |
|||
* 22 April 2008 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregando...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} linha(s) selecionada(s)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Fechar"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "O valor para este campo é inválido"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Carregando..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Janeiro", |
|||
"Fevereiro", |
|||
"Março", |
|||
"Abril", |
|||
"Maio", |
|||
"Junho", |
|||
"Julho", |
|||
"Agosto", |
|||
"Setembro", |
|||
"Outubro", |
|||
"Novembro", |
|||
"Dezembro" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Jan : 0, |
|||
Fev : 1, |
|||
Mar : 2, |
|||
Abr : 3, |
|||
Mai : 4, |
|||
Jun : 5, |
|||
Jul : 6, |
|||
Ago : 7, |
|||
Set : 8, |
|||
Out : 9, |
|||
Nov : 10, |
|||
Dez : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Domingo", |
|||
"Segunda", |
|||
"Terça", |
|||
"Quarta", |
|||
"Quinta", |
|||
"Sexta", |
|||
"Sábado" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Cancelar", |
|||
yes : "Sim", |
|||
no : "Não" |
|||
}; |
|||
} |
|||
|
|||
if (Ext.util.Format) { |
|||
Ext.util.Format.date = function(v, format){ |
|||
if (!v) return ""; |
|||
if (!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
Ext.util.Format.brMoney = 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 '- R$ ' + v.substr(1); |
|||
} |
|||
return "R$ " + v; |
|||
} |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Hoje", |
|||
minText : "Esta data é anterior a menor data", |
|||
maxText : "Esta data é posterior a maior data", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Próximo Mês (Control+Direita)', |
|||
prevText : 'Mês Anterior (Control+Esquerda)', |
|||
monthYearText : 'Escolha um Mês (Control+Cima/Baixo para mover entre os anos)', |
|||
todayTip : "{0} (Espaço)", |
|||
format : "d/m/Y", |
|||
okText : " OK ", |
|||
cancelText : "Cancelar", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Página", |
|||
afterPageText : "de {0}", |
|||
firstText : "Primeira Página", |
|||
prevText : "Página Anterior", |
|||
nextText : "Próxima Página", |
|||
lastText : "Última Página", |
|||
refreshText : "Atualizar", |
|||
displayMsg : "<b>{0} à {1} de {2} registro(s)</b>", |
|||
emptyMsg : 'Sem registros para exibir' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "O tamanho mínimo para este campo é {0}", |
|||
maxLengthText : "O tamanho máximo para este campo é {0}", |
|||
blankText : "Este campo é obrigatório.", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "O valor mínimo para este campo é {0}", |
|||
maxText : "O valor máximo para este campo é {0}", |
|||
nanText : "{0} não é um número válido" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Desabilitado", |
|||
disabledDatesText : "Desabilitado", |
|||
minText : "A data deste campo deve ser posterior a {0}", |
|||
maxText : "A data deste campo deve ser anterior a {0}", |
|||
invalidText : "{0} não é uma data válida - deve ser informado no formato {1}", |
|||
format : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Carregando...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Este campo deve ser um endereço de e-mail válido, no formado "usuario@dominio.com.br"', |
|||
urlText : 'Este campo deve ser uma URL no formato "http:/'+'/www.dominio.com.br"', |
|||
alphaText : 'Este campo deve conter apenas letras e _', |
|||
alphanumText : 'Este campo deve conter apenas letras, números e _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Porfavor, entre com a URL do link:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Negrito (Ctrl+B)', |
|||
text: 'Deixa o texto selecionado em negrito.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italico (Ctrl+I)', |
|||
text: 'Deixa o texto selecionado em italico.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Sublinhado (Ctrl+U)', |
|||
text: 'Sublinha o texto selecionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Aumentar Texto', |
|||
text: 'Aumenta o tamanho da fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Diminuir Texto', |
|||
text: 'Diminui o tamanho da fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Cor de Fundo', |
|||
text: 'Muda a cor do fundo do texto selecionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Cor da Fonte', |
|||
text: 'Muda a cor do texto selecionado.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Alinhar à Esquerda', |
|||
text: 'Alinha o texto à esquerda.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centralizar Texto', |
|||
text: 'Centraliza o texto no editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Alinhar à Direita', |
|||
text: 'Alinha o texto à direita.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Lista com Marcadores', |
|||
text: 'Inicia uma lista com marcadores.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Lista Numerada', |
|||
text: 'Inicia uma lista numerada.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperligação', |
|||
text: 'Transforma o texto selecionado em um hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Editar Fonte', |
|||
text: 'Troca para o modo de edição de código fonte.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Ordem Ascendente", |
|||
sortDescText : "Ordem Descendente", |
|||
lockText : "Bloquear Coluna", |
|||
unlockText : "Desbloquear Coluna", |
|||
columnsText : "Colunas" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nome", |
|||
valueText : "Valor", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Arraste para redimensionar.", |
|||
collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder." |
|||
}); |
|||
} |
@ -0,0 +1,287 @@ |
|||
/** |
|||
* Romanian translations for ExtJS 2.1 |
|||
* First released by Lucian Lature on 2007-04-24 |
|||
* Changed locale for Romania (date formats) as suggested by keypoint |
|||
* on ExtJS forums: http://www.extjs.com/forum/showthread.php?p=129524#post129524
|
|||
* Removed some useless parts |
|||
* Changed by: Emil Cazamir, 2008-04-24 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Încărcare...</div>'; |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} rând(uri) selectate"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Închide acest tab"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Valoarea acestui câmp este invalidă"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Încărcare..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Ianuarie", |
|||
"Februarie", |
|||
"Martie", |
|||
"Aprilie", |
|||
"Mai", |
|||
"Iunie", |
|||
"Iulie", |
|||
"August", |
|||
"Septembrie", |
|||
"Octombrie", |
|||
"Noiembrie", |
|||
"Decembrie" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
Ian : 0, |
|||
Feb : 1, |
|||
Mar : 2, |
|||
Apr : 3, |
|||
Mai : 4, |
|||
Iun : 5, |
|||
Iul : 6, |
|||
Aug : 7, |
|||
Sep : 8, |
|||
Oct : 9, |
|||
Nov : 10, |
|||
Dec : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Duminică", |
|||
"Luni", |
|||
"Marţi", |
|||
"Miercuri", |
|||
"Joi", |
|||
"Vineri", |
|||
"Sâmbătă" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Renunţă", |
|||
yes : "Da", |
|||
no : "Nu" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Astăzi", |
|||
minText : "Această dată este anterioară datei minime", |
|||
maxText : "Această dată este ulterioară datei maxime", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Luna următoare (Control+Dreapta)', |
|||
prevText : 'Luna precedentă (Control+Stânga)', |
|||
monthYearText : 'Alege o lună (Control+Sus/Jos pentru a parcurge anii)', |
|||
todayTip : "{0} (Bara spațiu)", |
|||
format : "d.m.Y", |
|||
okText : " OK ", |
|||
cancelText : "Renunță", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Pagina", |
|||
afterPageText : "din {0}", |
|||
firstText : "Prima pagină", |
|||
prevText : "Pagina anterioară", |
|||
nextText : "Pagina următoare", |
|||
lastText : "Ultima pagină", |
|||
refreshText : "Împrospătează", |
|||
displayMsg : "Afișare înregistrări {0} - {1} din {2}", |
|||
emptyMsg : 'Nu sunt date de afișat' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Lungimea minimă pentru acest câmp este de {0}", |
|||
maxLengthText : "Lungimea maximă pentru acest câmp este {0}", |
|||
blankText : "Acest câmp este obligatoriu", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Valoarea minimă permisă a acestui câmp este {0}", |
|||
maxText : "Valaorea maximă permisă a acestui câmp este {0}", |
|||
nanText : "{0} nu este un număr valid" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Indisponibil", |
|||
disabledDatesText : "Indisponibil", |
|||
minText : "Data din această casetă trebuie să fie după {0}", |
|||
maxText : "Data din această casetă trebuie să fie inainte de {0}", |
|||
invalidText : "{0} nu este o dată validă, trebuie să fie în formatul {1}", |
|||
format : "d.m.Y", |
|||
altFormats : "d-m-Y|d.m.y|d-m-y|d.m|d-m|dm|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Încărcare...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Acest câmp trebuie să conţină o adresă de e-mail în formatul "user@domeniu.com"', |
|||
urlText : 'Acest câmp trebuie să conţină o adresă URL în formatul "http:/'+'/www.domeniu.com"', |
|||
alphaText : 'Acest câmp trebuie să conţină doar litere şi _', |
|||
alphanumText : 'Acest câmp trebuie să conţină doar litere, cifre şi _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Vă rugăm introduceti un URL pentru această legătură web:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Îngroşat (Ctrl+B)', |
|||
text: 'Îngroşati caracterele textului selectat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Înclinat (Ctrl+I)', |
|||
text: 'Înclinaţi caracterele textului selectat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Subliniat (Ctrl+U)', |
|||
text: 'Subliniaţi caracterele textului selectat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Mărit', |
|||
text: 'Măreşte dimensiunea fontului.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Micşorat', |
|||
text: 'Micşorează dimensiunea textului.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Culoarea fundalului', |
|||
text: 'Schimbă culoarea fundalului pentru textul selectat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Culoarea textului', |
|||
text: 'Schimbă culoarea textului selectat.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Aliniat la stânga', |
|||
text: 'Aliniază textul la stânga.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Centrat', |
|||
text: 'Centrează textul în editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Aliniat la dreapta', |
|||
text: 'Aliniază textul la dreapta.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Listă cu puncte', |
|||
text: 'Inserează listă cu puncte.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Listă numerotată', |
|||
text: 'Inserează o listă numerotată.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Legătură web', |
|||
text: 'Transformă textul selectat în legătură web.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Editare sursă', |
|||
text: 'Schimbă pe modul de editare al codului HTML.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortare ascendentă", |
|||
sortDescText : "Sortare descendentă", |
|||
lockText : "Blochează coloana", |
|||
unlockText : "Deblochează coloana", |
|||
columnsText : "Coloane" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Fără)', |
|||
groupByText : 'Grupează după această coloană', |
|||
showGroupsText : 'Afișează grupat' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Nume", |
|||
valueText : "Valoare", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Trage pentru redimensionare.", |
|||
collapsibleSplitTip : "Trage pentru redimensionare. Dublu-click pentru ascundere." |
|||
}); |
|||
} |
@ -0,0 +1,294 @@ |
|||
/* |
|||
* Russian translation |
|||
* By ZooKeeper (utf-8 encoding) |
|||
* 6 November 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Идет загрузка...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} выбранных строк"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Закрыть эту вкладку"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Значение в этом поле неверное"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Загрузка..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Январь", |
|||
"Февраль", |
|||
"Март", |
|||
"Апрель", |
|||
"Май", |
|||
"Июнь", |
|||
"Июль", |
|||
"Август", |
|||
"Сентябрь", |
|||
"Октябрь", |
|||
"Ноябрь", |
|||
"Декабрь" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Воскресенье", |
|||
"Понедельник", |
|||
"Вторник", |
|||
"Среда", |
|||
"Четверг", |
|||
"Пятница", |
|||
"Суббота" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Отмена", |
|||
yes : "Да", |
|||
no : "Нет" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Сегодня", |
|||
minText : "Эта дата раньше минимальной даты", |
|||
maxText : "Эта дата позже максимальной даты", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Следующий месяц (Control+Вправо)', |
|||
prevText : 'Предыдущий месяц (Control+Влево)', |
|||
monthYearText : 'Выбор месяца (Control+Вверх/Вниз для выбора года)', |
|||
todayTip : "{0} (Пробел)", |
|||
format : "d.m.y", |
|||
okText : " OK ", |
|||
cancelText : "Отмена", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Страница", |
|||
afterPageText : "из {0}", |
|||
firstText : "Первая страница", |
|||
prevText : "Предыдущая страница", |
|||
nextText : "Следующая страница", |
|||
lastText : "Последняя страница", |
|||
refreshText : "Обновить", |
|||
displayMsg : "Отображаются записи с {0} по {1}, всего {2}", |
|||
emptyMsg : 'Нет данных для отображения' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Минимальная длина этого поля {0}", |
|||
maxLengthText : "Максимальная длина этого поля {0}", |
|||
blankText : "Это поле обязательно для заполнения", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Значение этого поля не может быть меньше {0}", |
|||
maxText : "Значение этого поля не может быть больше {0}", |
|||
nanText : "{0} не является числом" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Не доступно", |
|||
disabledDatesText : "Не доступно", |
|||
minText : "Дата в этом поле должна быть позде {0}", |
|||
maxText : "Дата в этом поле должна быть раньше {0}", |
|||
invalidText : "{0} не является правильной датой - дата должна быть указана в формате {1}", |
|||
format : "d.m.y", |
|||
altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Загрузка...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Это поле должно содержать адрес электронной почты в формате "user@domain.com"', |
|||
urlText : 'Это поле должно содержать URL в формате "http:/'+'/www.domain.com"', |
|||
alphaText : 'Это поле должно содержать только латинские буквы и символ подчеркивания "_"', |
|||
alphanumText : 'Это поле должно содержать только латинские буквы, цифры и символ подчеркивания "_"' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Пожалуйста введите адрес:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Полужирный (Ctrl+B)', |
|||
text: 'Применение полужирного начертания к выделенному тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Курсив (Ctrl+I)', |
|||
text: 'Применение курсивного начертания к выделенному тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Подчёркнутый (Ctrl+U)', |
|||
text: 'Подчёркивание выделенного текста.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Увеличить размер', |
|||
text: 'Увеличение размера шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Уменьшить размер', |
|||
text: 'Уменьшение размера шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Заливка', |
|||
text: 'Изменение цвета фона для выделенного текста или абзаца.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Цвет текста', |
|||
text: 'Измение цвета текста.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Выровнять текст по левому краю', |
|||
text: 'Выровнивание текста по левому краю.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'По центру', |
|||
text: 'Выровнивание текста по центру.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Выровнять текст по правому краю', |
|||
text: 'Выровнивание текста по правому краю.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Маркеры', |
|||
text: 'Начать маркированный список.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Нумерация', |
|||
text: 'Начать нумернованный список.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Вставить гиперссылку', |
|||
text: 'Создание ссылки из выделенного текста.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Исходный код', |
|||
text: 'Переключиться на исходный код.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Сортировать по возрастанию", |
|||
sortDescText : "Сортировать по убыванию", |
|||
lockText : "Закрепить столбец", |
|||
unlockText : "Снять закрепление столбца", |
|||
columnsText : "Столбцы" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Пусто)', |
|||
groupByText : 'Группировать по этому полю', |
|||
showGroupsText : 'Отображать по группам' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Название", |
|||
valueText : "Значение", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.SplitLayoutRegion){ |
|||
Ext.apply(Ext.SplitLayoutRegion.prototype, { |
|||
splitTip : "Тяните для изменения размера.", |
|||
collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель." |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Тяните для изменения размера.", |
|||
collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель." |
|||
}); |
|||
} |
@ -0,0 +1,176 @@ |
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
*/ |
|||
|
|||
/* Slovak Translation by Michal Thomka |
|||
* 14 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Nahrávam...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} označených riadkov"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zavrieť túto záložku"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Hodnota v tomto poli je nesprávna"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Nahrávam..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Január", |
|||
"Február", |
|||
"Marec", |
|||
"Apríl", |
|||
"Máj", |
|||
"Jún", |
|||
"Júl", |
|||
"August", |
|||
"September", |
|||
"Október", |
|||
"November", |
|||
"December" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Nedeľa", |
|||
"Pondelok", |
|||
"Utorok", |
|||
"Streda", |
|||
"Štvrtok", |
|||
"Piatok", |
|||
"Sobota" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Zrušiť", |
|||
yes : "Áno", |
|||
no : "Nie" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Dnes", |
|||
minText : "Tento dátum je menší ako minimálny možný dátum", |
|||
maxText : "Tento dátum je väčší ako maximálny možný dátum", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Ďalší Mesiac (Control+Doprava)', |
|||
prevText : 'Predch. Mesiac (Control+Doľava)', |
|||
monthYearText : 'Vyberte Mesiac (Control+Hore/Dole pre posun rokov)', |
|||
todayTip : "{0} (Medzerník)", |
|||
format : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Strana", |
|||
afterPageText : "z {0}", |
|||
firstText : "Prvá Strana", |
|||
prevText : "Predch. Strana", |
|||
nextText : "Ďalšia Strana", |
|||
lastText : "Posledná strana", |
|||
refreshText : "Obnoviť", |
|||
displayMsg : "Zobrazujem {0} - {1} z {2}", |
|||
emptyMsg : 'iadne dáta' |
|||
}); |
|||
} |
|||
|
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimálna dĺžka pre toto pole je {0}", |
|||
maxLengthText : "Maximálna dĺžka pre toto pole je {0}", |
|||
blankText : "Toto pole je povinné", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimálna hodnota pre toto pole je {0}", |
|||
maxText : "Maximálna hodnota pre toto pole je {0}", |
|||
nanText : "{0} je nesprávne číslo" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Zablokované", |
|||
disabledDatesText : "Zablokované", |
|||
minText : "Dátum v tomto poli musí byť až po {0}", |
|||
maxText : "Dátum v tomto poli musí byť pred {0}", |
|||
invalidText : "{0} nie je správny dátum - musí byť vo formáte {1}", |
|||
format : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Nahrávam...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Toto pole musí byť e-mailová adresa vo formáte "user@domain.com"', |
|||
urlText : 'Toto pole musí byť URL vo formáte "http:/'+'/www.domain.com"', |
|||
alphaText : 'Toto pole može obsahovať iba písmená a znak _', |
|||
alphanumText : 'Toto pole može obsahovať iba písmená, čísla a znak _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Zoradiť vzostupne", |
|||
sortDescText : "Zoradiť zostupne", |
|||
lockText : "Zamknúť stľpec", |
|||
unlockText : "Odomknúť stľpec", |
|||
columnsText : "Stľpce" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Názov", |
|||
valueText : "Hodnota", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Potiahnite pre zmenu rozmeru", |
|||
collapsibleSplitTip : "Potiahnite pre zmenu rozmeru. Dvojklikom schováte." |
|||
}); |
|||
} |
@ -0,0 +1,170 @@ |
|||
/** |
|||
* Slovenian translation by Matjaž (UTF-8 encoding) |
|||
* 25 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Nalagam...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} izbranih vrstic"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zapri zavihek"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Neveljavna vrednost"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Nalagam..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januar", |
|||
"Februar", |
|||
"Marec", |
|||
"April", |
|||
"Maj", |
|||
"Junij", |
|||
"Julij", |
|||
"Avgust", |
|||
"September", |
|||
"Oktober", |
|||
"November", |
|||
"December" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Nedelja", |
|||
"Ponedeljek", |
|||
"Torek", |
|||
"Sreda", |
|||
"Četrtek", |
|||
"Petek", |
|||
"Sobota" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "V redu", |
|||
cancel : "Prekliči", |
|||
yes : "Da", |
|||
no : "Ne" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Danes", |
|||
minText : "Navedeni datum je pred spodnjim datumom", |
|||
maxText : "Navedeni datum je za zgornjim datumom", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Naslednji mesec (Control+Desno)', |
|||
prevText : 'Prejšnji mesec (Control+Levo)', |
|||
monthYearText : 'Izberite mesec (Control+Gor/Dol za premik let)', |
|||
todayTip : "{0} (Preslednica)", |
|||
format : "d.m.y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Stran", |
|||
afterPageText : "od {0}", |
|||
firstText : "Prva stran", |
|||
prevText : "Prejšnja stran", |
|||
nextText : "Naslednja stran", |
|||
lastText : "Zadnja stran", |
|||
refreshText : "Osveži", |
|||
displayMsg : "Prikazujem {0} - {1} od {2}", |
|||
emptyMsg : 'Ni podatkov za prikaz' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimalna dolžina tega polja je {0}", |
|||
maxLengthText : "Maksimalna dolžina tega polja je {0}", |
|||
blankText : "To polje je obvezno", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimalna vrednost tega polja je {0}", |
|||
maxText : "Maksimalna vrednost tega polja je {0}", |
|||
nanText : "{0} ni veljavna številka" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Onemogočen", |
|||
disabledDatesText : "Onemogočen", |
|||
minText : "Datum mora biti po {0}", |
|||
maxText : "Datum mora biti pred {0}", |
|||
invalidText : "{0} ni veljaven datum - mora biti v tem formatu {1}", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Nalagam...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'To polje je e-mail naslov formata "ime@domena.si"', |
|||
urlText : 'To polje je URL naslov formata "http:/'+'/www.domena.si"', |
|||
alphaText : 'To polje lahko vsebuje samo črke in _', |
|||
alphanumText : 'To polje lahko vsebuje samo črke, številke in _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortiraj naraščajoče", |
|||
sortDescText : "Sortiraj padajoče", |
|||
lockText : "Zakleni stolpec", |
|||
unlockText : "Odkleni stolpec", |
|||
columnsText : "Stolpci" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Ime", |
|||
valueText : "Vrednost", |
|||
dateFormat : "j.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Potegni za razširitev.", |
|||
collapsibleSplitTip : "Potegni za razširitev. Dvojni klik, če želite skriti." |
|||
}); |
|||
} |
@ -0,0 +1,173 @@ |
|||
/* |
|||
* Serbian Latin Translation |
|||
* by Atila Hajnal (latin, utf8 encoding) |
|||
* sr |
|||
* 14 Sep 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Učitavam...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = "Ne postoji ni jedan slog"; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} izabranih redova"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Zatvori оvu »karticu«"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Unešena vrednost nije pravilna"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Učitavam..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Januar", |
|||
"Februar", |
|||
"Mart", |
|||
"April", |
|||
"Мај", |
|||
"Jun", |
|||
"Јul", |
|||
"Avgust", |
|||
"Septembar", |
|||
"Oktobar", |
|||
"Novembar", |
|||
"Decembar" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Nedelja", |
|||
"Ponedeljak", |
|||
"Utorak", |
|||
"Sreda", |
|||
"Četvrtak", |
|||
"Petak", |
|||
"Subota" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "U redu", |
|||
cancel : "Odustani", |
|||
yes : "Da", |
|||
no : "Ne" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Danas", |
|||
minText : "Datum је ispred najmanjeg dozvoljenog datuma", |
|||
maxText : "Datum је nakon najvećeg dozvoljenog datuma", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Sledeći mesec (Control+Desno)', |
|||
prevText : 'Prethodni mesec (Control+Levo)', |
|||
monthYearText : 'Izaberite mesec (Control+Gore/Dole za izbor godine)', |
|||
todayTip : "{0} (Razmaknica)", |
|||
format : "d.m.y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Strana", |
|||
afterPageText : "od {0}", |
|||
firstText : "Prva strana", |
|||
prevText : "Prethodna strana", |
|||
nextText : "Sledeća strana", |
|||
lastText : "Poslednja strana", |
|||
refreshText : "Osveži", |
|||
displayMsg : "Prikazana {0} - {1} od {2}", |
|||
emptyMsg : 'Nemam šta prikazati' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minimalna dužina ovog polja је {0}", |
|||
maxLengthText : "Maksimalna dužina ovog polja је {0}", |
|||
blankText : "Polje је obavezno", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minimalna vrednost u polju је {0}", |
|||
maxText : "Maksimalna vrednost u polju је {0}", |
|||
nanText : "{0} nije pravilan broj" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Pasivno", |
|||
disabledDatesText : "Pasivno", |
|||
minText : "Datum u ovom polju mora biti nakon {0}", |
|||
maxText : "Datum u ovom polju mora biti pre {0}", |
|||
invalidText : "{0} nije pravilan datum - zahtevani oblik je {1}", |
|||
format : "d.m.y", |
|||
altFormats : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Učitavam...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ovo polje prihavata e-mail adresu isključivo u obliku "korisnik@domen.com"', |
|||
urlText : 'Ovo polje prihavata URL adresu isključivo u obliku "http:/'+'/www.domen.com"', |
|||
alphaText : 'Ovo polje može sadržati isključivo slova i znak _', |
|||
alphanumText : 'Ovo polje može sadržati само slova, brojeve i znak _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Rastući redosled", |
|||
sortDescText : "Opadajući redosled", |
|||
lockText : "Zaključaj kolonu", |
|||
unlockText : "Otključaj kolonu", |
|||
columnsText : "Kolone" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Naziv", |
|||
valueText : "Vrednost", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Povući za izmenu veličine.", |
|||
collapsibleSplitTip : "Povući za izmenu veličine. Dvostruku klik za sakrivanje." |
|||
}); |
|||
} |
@ -0,0 +1,172 @@ |
|||
/* |
|||
* Serbian Cyrillic Translation |
|||
* by Čolovic Vladan (cyrillic, utf8 encoding) |
|||
* sr_RS (ex: sr_CS, sr_YU) |
|||
* 12 May 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Учитавам...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} изабраних редова"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Затвори ову »картицу«"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Унешена вредност није правилна"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Учитавам..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Јануар", |
|||
"Фебруар", |
|||
"Март", |
|||
"Април", |
|||
"Мај", |
|||
"Јун", |
|||
"Јул", |
|||
"Август", |
|||
"Септембар", |
|||
"Октобар", |
|||
"Новембар", |
|||
"Децембар" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Недеља", |
|||
"Понедељак", |
|||
"Уторак", |
|||
"Среда", |
|||
"Четвртак", |
|||
"Петак", |
|||
"Субота" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "У реду", |
|||
cancel : "Одустани", |
|||
yes : "Да", |
|||
no : "Не" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Данас", |
|||
minText : "Датум је испред најмањег дозвољеног датума", |
|||
maxText : "Датум је након највећег дозвољеног датума", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Следећи месец (Control+Десно)', |
|||
prevText : 'Претходни месец (Control+Лево)', |
|||
monthYearText : 'Изаберите месец (Control+Горе/Доле за избор године)', |
|||
todayTip : "{0} (Размакница)", |
|||
format : "d.m.y", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Страна", |
|||
afterPageText : "од {0}", |
|||
firstText : "Прва страна", |
|||
prevText : "Претходна страна", |
|||
nextText : "Следећа страна", |
|||
lastText : "Последња страна", |
|||
refreshText : "Освежи", |
|||
displayMsg : "Приказана {0} - {1} од {2}", |
|||
emptyMsg : 'Немам шта приказати' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Минимална дужина овог поља је {0}", |
|||
maxLengthText : "Максимална дужина овог поља је {0}", |
|||
blankText : "Поље је обавезно", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Минимална вредност у пољу је {0}", |
|||
maxText : "Максимална вредност у пољу је {0}", |
|||
nanText : "{0} није правилан број" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Пасивно", |
|||
disabledDatesText : "Пасивно", |
|||
minText : "Датум у овом пољу мора бити након {0}", |
|||
maxText : "Датум у овом пољу мора бити пре {0}", |
|||
invalidText : "{0} није правилан датум - захтевани облик је {1}", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Учитавам...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Ово поље прихвата e-mail адресу искључиво у облику "korisnik@domen.com"', |
|||
urlText : 'Ово поље прихвата URL адресу искључиво у облику "http:/'+'/www.domen.com"', |
|||
alphaText : 'Ово поље може садржати искључиво слова и знак _', |
|||
alphanumText : 'Ово поље може садржати само слова, бројеве и знак _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Растући редослед", |
|||
sortDescText : "Опадајући редослед", |
|||
lockText : "Закључај колону", |
|||
unlockText : "Откључај колону", |
|||
columnsText : "Колоне" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Назив", |
|||
valueText : "Вредност", |
|||
dateFormat : "d.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Повући за измену величине.", |
|||
collapsibleSplitTip : "Повући за измену величине. Двоструки клик за сакривање." |
|||
}); |
|||
} |
@ -0,0 +1,172 @@ |
|||
/** |
|||
* Swedish translation (utf8-encoding) |
|||
* By Erik Andersson, Monator Technologies |
|||
* 24 April 2007 |
|||
* Changed by Cariad, 29 July 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Laddar...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} markerade rad(er)"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Stäng denna flik"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Värdet i detta fält är inte tillåtet"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Laddar..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"januari", |
|||
"februari", |
|||
"mars", |
|||
"april", |
|||
"maj", |
|||
"juni", |
|||
"juli", |
|||
"augusti", |
|||
"september", |
|||
"oktober", |
|||
"november", |
|||
"december" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"söndag", |
|||
"måndag", |
|||
"tisdag", |
|||
"onsdag", |
|||
"torsdag", |
|||
"fredag", |
|||
"lördag" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Avbryt", |
|||
yes : "Ja", |
|||
no : "Nej" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y-m-d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Idag", |
|||
minText : "Detta datum inträffar före det tidigast tillåtna", |
|||
maxText : "Detta datum inträffar efter det senast tillåtna", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Nästa månad (Ctrl + högerpil)', |
|||
prevText : 'Föregående månad (Ctrl + vänsterpil)', |
|||
monthYearText : 'Välj en månad (Ctrl + uppåtpil/neråtpil för att ändra årtal)', |
|||
todayTip : "{0} (mellanslag)", |
|||
format : "Y-m-d", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Sida", |
|||
afterPageText : "av {0}", |
|||
firstText : "Första sidan", |
|||
prevText : "Föregående sida", |
|||
nextText : "Nästa sida", |
|||
lastText : "Sista sidan", |
|||
refreshText : "Uppdatera", |
|||
displayMsg : "Visar {0} - {1} av {2}", |
|||
emptyMsg : 'Det finns ingen data att visa' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Minsta tillåtna längd för detta fält är {0}", |
|||
maxLengthText : "Största tillåtna längd för detta fält är {0}", |
|||
blankText : "Detta fält är obligatoriskt", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Minsta tillåtna värde för detta fält är {0}", |
|||
maxText : "Största tillåtna värde för detta fält är {0}", |
|||
nanText : "{0} är inte ett tillåtet nummer" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Inaktiverad", |
|||
disabledDatesText : "Inaktiverad", |
|||
minText : "Datumet i detta fält måste inträffa efter {0}", |
|||
maxText : "Datumet i detta fält måste inträffa före {0}", |
|||
invalidText : "{0} är inte ett tillåtet datum - datum ska anges i formatet {1}", |
|||
format : "Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Laddar...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Detta fält ska innehålla en e-post adress i formatet "användare@domän.se"', |
|||
urlText : 'Detta fält ska innehålla en länk (URL) i formatet "http:/'+'/www.domän.se"', |
|||
alphaText : 'Detta fält får bara innehålla bokstäver och "_"', |
|||
alphanumText : 'Detta fält får bara innehålla bokstäver, nummer och "_"' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sortera stigande", |
|||
sortDescText : "Sortera fallande", |
|||
lockText : "Lås kolumn", |
|||
unlockText : "Lås upp kolumn", |
|||
columnsText : "Kolumner" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Namn", |
|||
valueText : "Värde", |
|||
dateFormat : "Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Dra för att ändra storleken.", |
|||
collapsibleSplitTip : "Dra för att ändra storleken. Dubbelklicka för att gömma." |
|||
}); |
|||
} |
@ -0,0 +1,288 @@ |
|||
/** |
|||
* List compiled by KillerNay on the extjs.com forums. |
|||
* Thank you KillerNay! |
|||
* |
|||
* Thailand Translations |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Á¡ÃÒ€Á", |
|||
"¡ØÁŸÒӟѹžì", |
|||
"ÁÕ¹Ò€Á", |
|||
"àÁÉÒ¹", |
|||
"ŸÄÉÀÒ€Á", |
|||
"ÁԶعÒ¹", |
|||
"¡Ä¡¯Ò€Á", |
|||
"ÊÔ§ËÒ€Á", |
|||
"¡Ñ¹ÂÒ¹", |
|||
"µØÅÒ€Á", |
|||
"ŸÄÈšÔ¡Ò¹", |
|||
"žÑ¹ÇÒ€Á" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.monthNumbers = { |
|||
"Á€" : 0, |
|||
"¡Ÿ" : 1, |
|||
"ÁÕ€" : 2, |
|||
"àÁÂ" : 3, |
|||
"Ÿ€" : 4, |
|||
"ÁÔÂ" : 5, |
|||
"¡€" : 6, |
|||
"Ê€" : 7, |
|||
"¡Â" : 8, |
|||
"µ€" : 9, |
|||
"ŸÂ" : 10, |
|||
"ž€" : 11 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"ÍÒ·ÔµÂì", |
|||
"šÑ¹·Ãì", |
|||
"Íѧ€ÒÃ", |
|||
"ŸØמ", |
|||
"ŸÄËÑʺŽÕ", |
|||
"ÈØ¡Ãì", |
|||
"àÊÒÃì" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.dayNames[day].substring(0, 3); |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "µ¡Å§", |
|||
cancel : "¡àÅÔ¡", |
|||
yes : "ãªè", |
|||
no : "äÁèãªè" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "m/d/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Çѹ¹Õé", |
|||
minText : "This date is before the minimum date", |
|||
maxText : "This date is after the maximum date", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'àŽ×͹¶ÑŽä» (Control+Right)', |
|||
prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)', |
|||
monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)', |
|||
todayTip : "{0} (Spacebar)", |
|||
format : "m/d/y", |
|||
okText : " µ¡Å§ ", |
|||
cancelText : "¡àÅÔ¡", |
|||
startDay : 0 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "˹éÒ", |
|||
afterPageText : "of {0}", |
|||
firstText : "˹éÒáá", |
|||
prevText : "¡è͹˹éÒ", |
|||
nextText : "¶ÑŽä»", |
|||
lastText : "˹éÒÊØŽ·éÒÂ", |
|||
refreshText : "ÃÕà¿Ãª", |
|||
displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}", |
|||
emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "The minimum length for this field is {0}", |
|||
maxLengthText : "The maximum length for this field is {0}", |
|||
blankText : "This field is required", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "The minimum value for this field is {0}", |
|||
maxText : "The maximum value for this field is {0}", |
|||
nanText : "{0} is not a valid number" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "»ÔŽ", |
|||
disabledDatesText : "»ÔŽ", |
|||
minText : "The date in this field must be after {0}", |
|||
maxText : "The date in this field must be before {0}", |
|||
invalidText : "{0} is not a valid date - it must be in the format {1}", |
|||
format : "m/d/y", |
|||
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "¡ÓÅѧâËÅŽ...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'This field should be an e-mail address in the format "user@domain.com"', |
|||
urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"', |
|||
alphaText : 'This field should only contain letters and _', |
|||
alphanumText : 'This field should only contain letters, numbers and _' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Please enter the URL for the link:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Bold (Ctrl+B)', |
|||
text: 'Make the selected text bold.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Italic (Ctrl+I)', |
|||
text: 'Make the selected text italic.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Underline (Ctrl+U)', |
|||
text: 'Underline the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Grow Text', |
|||
text: 'Increase the font size.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Shrink Text', |
|||
text: 'Decrease the font size.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Text Highlight Color', |
|||
text: 'Change the background color of the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Font Color', |
|||
text: 'Change the color of the selected text.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Align Text Left', |
|||
text: 'Align text to the left.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Center Text', |
|||
text: 'Center text in the editor.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Align Text Right', |
|||
text: 'Align text to the right.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Bullet List', |
|||
text: 'Start a bulleted list.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Numbered List', |
|||
text: 'Start a numbered list.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Hyperlink', |
|||
text: 'Make the selected text a hyperlink.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Source Edit', |
|||
text: 'Switch to source editing mode.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Sort Ascending", |
|||
sortDescText : "Sort Descending", |
|||
lockText : "Lock Column", |
|||
unlockText : "Unlock Column", |
|||
columnsText : "Columns" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(None)', |
|||
groupByText : 'Group By This Field', |
|||
showGroupsText : 'Show in Groups' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Name", |
|||
valueText : "Value", |
|||
dateFormat : "m/j/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Drag to resize.", |
|||
collapsibleSplitTip : "Drag to resize. Double click to hide." |
|||
}); |
|||
} |
@ -0,0 +1,299 @@ |
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
* |
|||
* Turkish translation by Alper YAZGAN |
|||
* 2008-01-24 , 10:29 AM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Yükleniyor ...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "Şeçili satır sayısı : {0}"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Sekmeyi kapat"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Bu alandaki değer geçersiz"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Yükleniyor ..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Ocak", |
|||
"Şubat", |
|||
"Mart", |
|||
"Nisan", |
|||
"Mayıs", |
|||
"Haziran", |
|||
"Temmuz", |
|||
"Ağustos", |
|||
"Eylül", |
|||
"Ekim", |
|||
"Kasım", |
|||
"Aralık" |
|||
]; |
|||
|
|||
Date.getShortMonthName = function(month) { |
|||
return Date.monthNames[month].substring(0, 3); |
|||
}; |
|||
|
|||
Date.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 |
|||
}; |
|||
|
|||
Date.getMonthNumber = function(name) { |
|||
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
|||
}; |
|||
|
|||
Date.dayNames = [ |
|||
"Pazar", |
|||
"Pazartesi", |
|||
"Salı", |
|||
"Çarşamba", |
|||
"Perşembe", |
|||
"Cuma", |
|||
"Cumartesi" |
|||
]; |
|||
|
|||
Date.shortDayNames = [ |
|||
"Paz", |
|||
"Pzt", |
|||
"Sal", |
|||
"Çrş", |
|||
"Prş", |
|||
"Cum", |
|||
"Cmt" |
|||
]; |
|||
|
|||
Date.getShortDayName = function(day) { |
|||
return Date.shortDayNames[day]; |
|||
}; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Tamam", |
|||
cancel : "İptal", |
|||
yes : "Evet", |
|||
no : "Hayır" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Bugün", |
|||
minText : "Bu tarih izin verilen en küçük tarihten daha önce", |
|||
maxText : "Bu tarih izin verilen en büyük tarihten daha sonra", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Gelecek Ay (Control+Right)', |
|||
prevText : 'Önceki Ay (Control+Left)', |
|||
monthYearText : 'Bir ay şeçiniz (Yılı artırmak/azaltmak için Control+Up/Down)', |
|||
todayTip : "{0} (Boşluk Tuşu - Spacebar)", |
|||
format : "d/m/Y", |
|||
okText : " Tamam ", |
|||
cancelText : "İptal", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Sayfa", |
|||
afterPageText : " / {0}", |
|||
firstText : "İlk Sayfa", |
|||
prevText : "Önceki Sayfa", |
|||
nextText : "Sonraki Sayfa", |
|||
lastText : "Son Sayfa", |
|||
refreshText : "Yenile", |
|||
displayMsg : "Gösterilen {0} - {1} / {2}", |
|||
emptyMsg : 'Gösterilebilecek veri yok' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Girilen verinin uzunluğu en az {0} olabilir", |
|||
maxLengthText : "Girilen verinin uzunluğu en fazla {0} olabilir", |
|||
blankText : "Bu alan boş bırakılamaz", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "En az {0} girilebilir", |
|||
maxText : "En çok {0} girilebilir", |
|||
nanText : "{0} geçersiz bir sayıdır" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Disabled", |
|||
disabledDatesText : "Disabled", |
|||
minText : "Bu tarih, {0} tarihinden daha sonra olmalıdır", |
|||
maxText : "Bu tarih, {0} tarihinden daha önce olmalıdır", |
|||
invalidText : "{0} geçersiz bir tarihdir - tarih formatı {1} şeklinde olmalıdır", |
|||
format : "d/m/Y", |
|||
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" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Yükleniyor ...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Bu alan "user@domain.com" şeklinde elektronik posta formatında olmalıdır', |
|||
urlText : 'Bu alan "http://www.domain.com" şeklinde URL adres formatında olmalıdır', |
|||
alphaText : 'Bu alan sadece harf ve _ içermeli', |
|||
alphanumText : 'Bu alan sadece harf, sayı ve _ içermeli' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Lütfen bu bağlantı için gerekli URL adresini giriniz:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Kalın(Bold) (Ctrl+B)', |
|||
text: 'Şeçili yazıyı kalın yapar.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'İtalik(Italic) (Ctrl+I)', |
|||
text: 'Şeçili yazıyı italik yapar.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Alt Çizgi(Underline) (Ctrl+U)', |
|||
text: 'Şeçili yazının altını çizer.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Fontu büyült', |
|||
text: 'Yazı fontunu büyütür.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Fontu küçült', |
|||
text: 'Yazı fontunu küçültür.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Arka Plan Rengi', |
|||
text: 'Seçili yazının arka plan rengini değiştir.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Yazı Rengi', |
|||
text: 'Seçili yazının rengini değiştir.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Sola Daya', |
|||
text: 'Yazıyı sola daya.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Ortala', |
|||
text: 'Yazıyı editörde ortala.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Sağa daya', |
|||
text: 'Yazıyı sağa daya.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Noktalı Liste', |
|||
text: 'Noktalı listeye başla.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Numaralı Liste', |
|||
text: 'Numaralı lisyeye başla.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Web Adresi(Hyperlink)', |
|||
text: 'Seçili yazıyı web adresi(hyperlink) yap.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Kaynak kodu Düzenleme', |
|||
text: 'Kaynak kodu düzenleme moduna geç.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Artan sırada sırala", |
|||
sortDescText : "Azalan sırada sırala", |
|||
lockText : "Kolonu kilitle", |
|||
unlockText : "Kolon kilidini kaldır", |
|||
columnsText : "Kolonlar" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GroupingView){ |
|||
Ext.apply(Ext.grid.GroupingView.prototype, { |
|||
emptyGroupText : '(Yok)', |
|||
groupByText : 'Bu Alana Göre Grupla', |
|||
showGroupsText : 'Gruplar Halinde Göster' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Ad", |
|||
valueText : "Değer", |
|||
dateFormat : "d/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Yeniden boyutlandırmak için sürükle.", |
|||
collapsibleSplitTip : "Yeniden boyutlandırmak için sürükle. Saklamak için çift tıkla." |
|||
}); |
|||
} |
@ -0,0 +1,252 @@ |
|||
/* |
|||
* Ukrainian translation |
|||
* By zlatko (utf-8 encoding) |
|||
* 3 October 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Триває завантаження...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} вибраних стрічок"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Закрити цю вкладку"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Значення у цьому полі невірне"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Завантаження..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Січень", |
|||
"Лютий", |
|||
"Березень", |
|||
"Квітень", |
|||
"Травень", |
|||
"Червень", |
|||
"Липень", |
|||
"Серпень", |
|||
"Вересень", |
|||
"Жовтень", |
|||
"Листопад", |
|||
"Грудень" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Неділя", |
|||
"Понеділок", |
|||
"Вівторок", |
|||
"Середа", |
|||
"Четвер", |
|||
"Пятниця", |
|||
"Субота" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "OK", |
|||
cancel : "Відміна", |
|||
yes : "Так", |
|||
no : "Ні" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d.m.Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Сьогодні", |
|||
minText : "Ця дата менше мінімальної дати", |
|||
maxText : "Ця дата більше максимальної дати", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Наступний місяць (Control+Вправо)', |
|||
prevText : 'Попередній місяць (Control+Вліво)', |
|||
monthYearText : 'Вибір місяця (Control+Вверх/Вниз для вибору року)', |
|||
todayTip : "{0} (Пробіл)", |
|||
format : "d.m.y", |
|||
okText : " OK ", |
|||
cancelText : "Відміна", |
|||
startDay : 1 |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Сторінка", |
|||
afterPageText : "з {0}", |
|||
firstText : "Перша сторінка", |
|||
prevText : "Попередня сторінка", |
|||
nextText : "Наступна сторінка", |
|||
lastText : "Остання сторінка", |
|||
refreshText : "Обновити", |
|||
displayMsg : "Відображаються записи з {0} по {1}, всього {2}", |
|||
emptyMsg : 'Дані для відображення відсутні' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Мінімальна довжина цього поля {0}", |
|||
maxLengthText : "Максимальна довжина цього поля {0}", |
|||
blankText : "Це поле є обов’язковим для заповнення", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Значення цього поля не може бути менше {0}", |
|||
maxText : "Значення цього поля не може бути більше {0}", |
|||
nanText : "{0} не являється числом" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Не доступно", |
|||
disabledDatesText : "Не доступно", |
|||
minText : "Дата в цьому полі повинна бути більше {0}", |
|||
maxText : "Дата в цьому полі повинна бути менше {0}", |
|||
invalidText : "{0} неправильна дата - дата повинна бути вказана у форматі {1}", |
|||
format : "d.m.y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Завантаження...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Це поле повинно містити адресу електронної почти у форматі "user@domain.com"', |
|||
urlText : 'Це поле повинно містити URL у форматі "http:/'+'/www.domain.com"', |
|||
alphaText : 'Це поле повинно містити виключно латинські літери та символ підкреслення "_"', |
|||
alphanumText : 'Це поле повинно містити виключно латинські літери, цифри та символ підкреслення "_"' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.HtmlEditor){ |
|||
Ext.apply(Ext.form.HtmlEditor.prototype, { |
|||
createLinkText : 'Будь-ласка введіть адресу:', |
|||
buttonTips : { |
|||
bold : { |
|||
title: 'Напівжирний (Ctrl+B)', |
|||
text: 'Застосування напівжирного до виділеного тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
italic : { |
|||
title: 'Курсив (Ctrl+I)', |
|||
text: ' Застосування курсиву до виділеного тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
underline : { |
|||
title: 'Підкреслений (Ctrl+U)', |
|||
text: ' Застосування підкреслення до виділенного тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
increasefontsize : { |
|||
title: 'Збільшити розмір', |
|||
text: 'Збільшення розміру шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
decreasefontsize : { |
|||
title: 'Зменшити розмір', |
|||
text: 'Зменшення розміру шрифта.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
backcolor : { |
|||
title: 'Заливка', |
|||
text: 'Зміна кольору фону для виділеного тексту або абзацу.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
forecolor : { |
|||
title: 'Колір тексту', |
|||
text: 'Зміна кольору тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyleft : { |
|||
title: 'Вирівняти текст по лівій границі', |
|||
text: 'Вирівнювання тексту по лівій границі.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifycenter : { |
|||
title: 'Вирівняти текст по центру', |
|||
text: 'Вирівнювання тексту по центру.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
justifyright : { |
|||
title: 'Вирівняти текст по правій границі', |
|||
text: 'Вирівнювання тексту по правій границі.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertunorderedlist : { |
|||
title: 'Маркери', |
|||
text: 'Почати маркований список.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
insertorderedlist : { |
|||
title: 'Нумерація', |
|||
text: 'Почати нумернований список.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
createlink : { |
|||
title: 'Вставити гіперпосилання', |
|||
text: 'Створення посилання із виділеного тексту.', |
|||
cls: 'x-html-editor-tip' |
|||
}, |
|||
sourceedit : { |
|||
title: 'Вихідний код', |
|||
text: 'Переключитись на вихідний код.', |
|||
cls: 'x-html-editor-tip' |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Сортувати по зростанню", |
|||
sortDescText : "Сортувати по спаданню", |
|||
lockText : "Закріпити колонку", |
|||
unlockText : "Зняти закріплення колонки", |
|||
columnsText : "Колонки" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Назва", |
|||
valueText : "Значення", |
|||
dateFormat : "j.m.Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Тягніть для зміни розміру.", |
|||
collapsibleSplitTip : "Тягніть для зміни розміру. Подвійний клік сховає панель." |
|||
}); |
|||
} |
|||
|
@ -0,0 +1,175 @@ |
|||
/** |
|||
* List compiled by mystix on the extjs.com forums. |
|||
* Thank you Mystix! |
|||
*/ |
|||
|
|||
/** |
|||
* Vietnamese translation |
|||
* By bpmtri |
|||
* 12-April-2007 04:06PM |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Đang tải...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} dòng được chọn"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "Đóng thẻ này"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "Giá trị của ô này không hợp lệ."; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "Đang tải..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"Tháng 1", |
|||
"Tháng 2", |
|||
"Tháng 3", |
|||
"Tháng 4", |
|||
"Tháng 5", |
|||
"Tháng 6", |
|||
"Tháng 7", |
|||
"Tháng 8", |
|||
"Tháng 9", |
|||
"Tháng 10", |
|||
"Tháng 11", |
|||
"Tháng 12" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"Chủ nhật", |
|||
"Thứ hai", |
|||
"Thứ ba", |
|||
"Thứ tư", |
|||
"Thứ năm", |
|||
"Thứ sáu", |
|||
"Thứ bảy" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "Đồng ý", |
|||
cancel : "Hủy bỏ", |
|||
yes : "Có", |
|||
no : "Không" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "d/m/Y"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "Hôm nay", |
|||
minText : "Ngày này nhỏ hơn ngày nhỏ nhất", |
|||
maxText : "Ngày này lớn hơn ngày lớn nhất", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : 'Tháng sau (Control+Right)', |
|||
prevText : 'Tháng trước (Control+Left)', |
|||
monthYearText : 'Chọn một tháng (Control+Up/Down để thay đổi năm)', |
|||
todayTip : "{0} (Spacebar - Phím trắng)", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "Trang", |
|||
afterPageText : "of {0}", |
|||
firstText : "Trang đầu", |
|||
prevText : "Trang trước", |
|||
nextText : "Trang sau", |
|||
lastText : "Trang cuối", |
|||
refreshText : "Tải lại", |
|||
displayMsg : "Hiển thị {0} - {1} của {2}", |
|||
emptyMsg : 'Không có dữ liệu để hiển thị' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "Chiều dài tối thiểu của ô này là {0}", |
|||
maxLengthText : "Chiều dài tối đa của ô này là {0}", |
|||
blankText : "Ô này cần phải nhập giá trị", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "Giá trị nhỏ nhất của ô này là {0}", |
|||
maxText : "Giá trị lớn nhất của ô này là {0}", |
|||
nanText : "{0} hông phải là một số hợp lệ" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "Vô hiệu", |
|||
disabledDatesText : "Vô hiệu", |
|||
minText : "Ngày nhập trong ô này phải sau ngày {0}", |
|||
maxText : "Ngày nhập trong ô này phải trước ngày {0}", |
|||
invalidText : "{0} không phải là một ngày hợp lệ - phải có dạng {1}", |
|||
format : "d/m/y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "Đang tải...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : 'Giá trị của ô này phải là một địa chỉ email có dạng như "ten@abc.com"', |
|||
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"', |
|||
alphaText : 'Ô này chỉ được nhập các kí tự và gạch dưới(_)', |
|||
alphanumText : 'Ô này chỉ được nhập các kí tự, số và gạch dưới(_)' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "Tăng dần", |
|||
sortDescText : "Giảm dần", |
|||
lockText : "Khóa cột", |
|||
unlockText : "Bỏ khóa cột", |
|||
columnsText : "Các cột" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "Tên", |
|||
valueText : "Giá trị", |
|||
dateFormat : "j/m/Y" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "Kéo giữ chuột để thay đổi kích thước.", |
|||
collapsibleSplitTip : "Kéo giữ chuột để thay đổi kích thước. Nhấp đúp để ẩn đi." |
|||
}); |
|||
} |
@ -0,0 +1,168 @@ |
|||
/* |
|||
* Simplified Chinese translation |
|||
* By DavidHu |
|||
* 09 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "{0} 选择行"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "关闭"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "输入值非法"; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"一月", |
|||
"二月", |
|||
"三月", |
|||
"四月", |
|||
"五月", |
|||
"六月", |
|||
"七月", |
|||
"八月", |
|||
"九月", |
|||
"十月", |
|||
"十一月", |
|||
"十二月" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"日", |
|||
"一", |
|||
"二", |
|||
"三", |
|||
"四", |
|||
"五", |
|||
"六" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "确定", |
|||
cancel : "取消", |
|||
yes : "是", |
|||
no : "否" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "y年m月d日"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "今天", |
|||
minText : "日期在最小日期之前", |
|||
maxText : "日期在最大日期之后", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : '下月 (Control+Right)', |
|||
prevText : '上月 (Control+Left)', |
|||
monthYearText : '选择一个月 (Control+Up/Down 来改变年)', |
|||
todayTip : "{0} (空格键选择)", |
|||
format : "y年m月d日", |
|||
okText : "确定", |
|||
cancelText : "取消" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "页", |
|||
afterPageText : "页共 {0} 页", |
|||
firstText : "第一页", |
|||
prevText : "前一页", |
|||
nextText : "下一页", |
|||
lastText : "最后页", |
|||
refreshText : "刷新", |
|||
displayMsg : "显示 {0} - {1},共 {2} 条", |
|||
emptyMsg : '没有数据需要显示' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "该输入项的最小长度是 {0}", |
|||
maxLengthText : "该输入项的最大长度是 {0}", |
|||
blankText : "该输入项为必输项", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "该输入项的最小值是 {0}", |
|||
maxText : "该输入项的最大值是 {0}", |
|||
nanText : "{0} 不是有效数值" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "禁用", |
|||
disabledDatesText : "禁用", |
|||
minText : "该输入项的日期必须在 {0} 之后", |
|||
maxText : "该输入项的日期必须在 {0} 之前", |
|||
invalidText : "{0} 是无效的日期 - 必须符合格式: {1}", |
|||
format : "y年m月d日" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "加载...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : '该输入项必须是电子邮件地址,格式如: "user@domain.com"', |
|||
urlText : '该输入项必须是URL地址,格式如: "http:/'+'/www.domain.com"', |
|||
alphaText : '该输入项只能包含字符和_', |
|||
alphanumText : '该输入项只能包含字符,数字和_' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "正序", |
|||
sortDescText : "逆序", |
|||
lockText : "锁列", |
|||
unlockText : "解锁列", |
|||
columnsText : "列" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "名称", |
|||
valueText : "值", |
|||
dateFormat : "y年m月d日" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "拖动来改变尺寸.", |
|||
collapsibleSplitTip : "拖动来改变尺寸. 双击隐藏." |
|||
}); |
|||
} |
@ -0,0 +1,172 @@ |
|||
/* |
|||
* Traditional Chinese translation |
|||
* By hata1234 |
|||
* 09 April 2007 |
|||
*/ |
|||
|
|||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">讀取中...</div>'; |
|||
|
|||
if(Ext.View){ |
|||
Ext.View.prototype.emptyText = ""; |
|||
} |
|||
|
|||
if(Ext.grid.GridPanel){ |
|||
Ext.grid.GridPanel.prototype.ddText = "選擇了 {0} 行"; |
|||
} |
|||
|
|||
if(Ext.TabPanelItem){ |
|||
Ext.TabPanelItem.prototype.closeText = "關閉此標籤"; |
|||
} |
|||
|
|||
if(Ext.form.Field){ |
|||
Ext.form.Field.prototype.invalidText = "數值不符合欄位規定"; |
|||
} |
|||
|
|||
if(Ext.LoadMask){ |
|||
Ext.LoadMask.prototype.msg = "讀取中..."; |
|||
} |
|||
|
|||
Date.monthNames = [ |
|||
"一月", |
|||
"二月", |
|||
"三月", |
|||
"四月", |
|||
"五月", |
|||
"六月", |
|||
"七月", |
|||
"八月", |
|||
"九月", |
|||
"十月", |
|||
"十一月", |
|||
"十二月" |
|||
]; |
|||
|
|||
Date.dayNames = [ |
|||
"日", |
|||
"一", |
|||
"二", |
|||
"三", |
|||
"四", |
|||
"五", |
|||
"六" |
|||
]; |
|||
|
|||
if(Ext.MessageBox){ |
|||
Ext.MessageBox.buttonText = { |
|||
ok : "確定", |
|||
cancel : "取消", |
|||
yes : "是", |
|||
no : "否" |
|||
}; |
|||
} |
|||
|
|||
if(Ext.util.Format){ |
|||
Ext.util.Format.date = function(v, format){ |
|||
if(!v) return ""; |
|||
if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
|||
return v.dateFormat(format || "Y/m/d"); |
|||
}; |
|||
} |
|||
|
|||
if(Ext.DatePicker){ |
|||
Ext.apply(Ext.DatePicker.prototype, { |
|||
todayText : "今天", |
|||
minText : "日期必須大於最小容許日期", |
|||
maxText : "日期必須小於最大容許日期", |
|||
disabledDaysText : "", |
|||
disabledDatesText : "", |
|||
monthNames : Date.monthNames, |
|||
dayNames : Date.dayNames, |
|||
nextText : "下個月 (Ctrl+右方向鍵)", |
|||
prevText : "上個月 (Ctrl+左方向鍵)", |
|||
monthYearText : "選擇月份 (Ctrl+上/下方向鍵選擇年份)", |
|||
todayTip : "{0} (空白鍵)", |
|||
format : "y/m/d", |
|||
okText : "确定", |
|||
cancelText : "取消" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.PagingToolbar){ |
|||
Ext.apply(Ext.PagingToolbar.prototype, { |
|||
beforePageText : "第", |
|||
afterPageText : "頁,共{0}頁", |
|||
firstText : "第一頁", |
|||
prevText : "上一頁", |
|||
nextText : "下一頁", |
|||
lastText : "最後頁", |
|||
refreshText : "重新整理", |
|||
displayMsg : "顯示{0} - {1}頁,共{2}頁", |
|||
emptyMsg : '沒有任何資料' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.TextField){ |
|||
Ext.apply(Ext.form.TextField.prototype, { |
|||
minLengthText : "此欄位最少要輸入 {0} 個字", |
|||
maxLengthText : "此欄位最多輸入 {0} 個字", |
|||
blankText : "此欄位為必填", |
|||
regexText : "", |
|||
emptyText : null |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.NumberField){ |
|||
Ext.apply(Ext.form.NumberField.prototype, { |
|||
minText : "此欄位之數值必須大於 {0}", |
|||
maxText : "此欄位之數值必須小於 {0}", |
|||
nanText : "{0} 不是合法的數字" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.DateField){ |
|||
Ext.apply(Ext.form.DateField.prototype, { |
|||
disabledDaysText : "無法使用", |
|||
disabledDatesText : "無法使用", |
|||
minText : "此欄位之日期必須在 {0} 之後", |
|||
maxText : "此欄位之日期必須在 {0} 之前", |
|||
invalidText : "{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式", |
|||
format : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.ComboBox){ |
|||
Ext.apply(Ext.form.ComboBox.prototype, { |
|||
loadingText : "讀取中 ...", |
|||
valueNotFoundText : undefined |
|||
}); |
|||
} |
|||
|
|||
if(Ext.form.VTypes){ |
|||
Ext.apply(Ext.form.VTypes, { |
|||
emailText : '此欄位必須輸入像 "user@domain.com" 之E-Mail格式', |
|||
urlText : '此欄位必須輸入像 "http:/'+'/www.domain.com" 之網址格式', |
|||
alphaText : '此欄位僅能輸入半形英文字母及底線( _ )符號', |
|||
alphanumText : '此欄位僅能輸入半形英文字母、數字及底線( _ )符號' |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.GridView){ |
|||
Ext.apply(Ext.grid.GridView.prototype, { |
|||
sortAscText : "正向排序", |
|||
sortDescText : "反向排序", |
|||
lockText : "鎖定欄位", |
|||
unlockText : "解開欄位鎖定", |
|||
columnsText : "欄位" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.grid.PropertyColumnModel){ |
|||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
|||
nameText : "名稱", |
|||
valueText : "數值", |
|||
dateFormat : "Y/m/d" |
|||
}); |
|||
} |
|||
|
|||
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
|||
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
|||
splitTip : "拖曳縮放大小.", |
|||
collapsibleSplitTip : "拖曳縮放大小. 滑鼠雙擊隱藏." |
|||
}); |
|||
} |
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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)}}); |
9
htdocs/ext-2.2/build/util/Date-min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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,0 +1,9 @@ |
|||
/* |
|||
* Ext JS Library 2.2 |
|||
* Copyright(c) 2006-2008, Ext JS, LLC. |
|||
* licensing@extjs.com |
|||
* |
|||
* http://extjs.com/license
|
|||
*/ |
|||
|
|||
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}}})(); |
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue