use in-tree extjs
|
@ -2,8 +2,8 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>%s</title>
|
||||
<script src="http://cdn.sencha.com/ext/gpl/4.2.1/ext-all.js"></script>
|
||||
<link rel="stylesheet" href="http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-classic/ext-theme-classic-all.css">
|
||||
<script src="/ext_421/ext-all.js"></script>
|
||||
<link rel="stylesheet" href="/ext_421/resources/ext-theme-%s/ext-theme-%s-all.css">
|
||||
<script>
|
||||
Ext.onReady(function () {
|
||||
%s
|
||||
|
|
|
@ -2,12 +2,26 @@
|
|||
import os
|
||||
from orun.extjs import *
|
||||
from orun.servers import cp
|
||||
import cherrypy
|
||||
|
||||
THEME = 'gray'
|
||||
|
||||
@cherrypy.expose
|
||||
class ExtJS(object):
|
||||
_cp_config = {
|
||||
'tools.staticdir.on': True,
|
||||
'tools.staticdir.dir': os.path.join(os.path.dirname(__file__), 'static/','ext-4.2.1'),
|
||||
}
|
||||
|
||||
class ExtApplication(cp.Application):
|
||||
def __init__(self, title=''):
|
||||
super(ExtApplication, self).__init__(title)
|
||||
self.ext_421 = ExtJS()
|
||||
|
||||
def index(self, *args, **kwargs):
|
||||
f = open(os.path.join(os.path.dirname(__file__), 'app.html')).read()
|
||||
self.main()
|
||||
return f % (self.title, str(js.js_manager))
|
||||
return f % (self.title, THEME, THEME, str(js.js_manager))
|
||||
index.exposed = True
|
||||
|
||||
def ajax_callback(self, *args, **kwargs):
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
.sencha/package/sencha.cfg={"pkgName":"ext-theme-neutral","senchadir":".sencha","uniqueId":"950d69eb-0125-4518-9150-8135087a911f"}
|
||||
build.xml={"pkgName":"ext-theme-neutral","senchadir":".sencha","uniqueId":"950d69eb-0125-4518-9150-8135087a911f"}
|
||||
package.json={"pkgName":"ext-theme-neutral","senchadir":".sencha","uniqueId":"950d69eb-0125-4518-9150-8135087a911f"}
|
|
@ -0,0 +1,11 @@
|
|||
<project basedir=".">
|
||||
<!--
|
||||
If framework.config.dir is already set, this next task will do nothing and
|
||||
the original value will remain... but if framework.config.dir is not yet
|
||||
defined, we are running in a workspace sans framework and so we need to go
|
||||
directly to the plugin base from cmd.config.dir instead.
|
||||
-->
|
||||
<property name="framework.config.dir" value="${cmd.config.dir}"/>
|
||||
|
||||
<import file="${framework.config.dir}/plugin.xml"/>
|
||||
</project>
|
|
@ -0,0 +1,37 @@
|
|||
# -----------------------------------------------------------------------------
|
||||
# This file contains configuration options that apply to all applications in
|
||||
# the workspace. By convention, these options start with "workspace." but any
|
||||
# option can be set here. Options specified in an application's sencha.cfg will
|
||||
# take priority over those values contained in this file. These options will
|
||||
# take priority over configuration values in Sencha Cmd or a framework plugin.
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# This configuration property (if set) is included by default in all compile
|
||||
# commands executed according to this formulation:
|
||||
#
|
||||
# sencha compile -classpath=...,$\u007Bframework.classpath},$\u007Bworkspace.classpath},$\u007Bapp.classpath}
|
||||
#
|
||||
#workspace.classpath=platform/core/src,platform/src,extjs/src
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# This is the folder for build outputs in the workspace
|
||||
|
||||
workspace.build.dir=${workspace.dir}/build
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# This folder contains all generated and extracted packages.
|
||||
|
||||
workspace.packages.dir=${workspace.dir}/packages
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# This option specifies where Schema definitions are stored.
|
||||
|
||||
xworkspace.schema.dir=${workspace.dir}/schema
|
||||
|
||||
# =============================================================================
|
||||
# Customizations go below this divider to avoid merge conflicts on upgrade
|
||||
# =============================================================================
|
||||
|
||||
ext.dir=${workspace.dir}
|
||||
|
||||
sencha.is.sdk.repo=1
|
|
@ -0,0 +1,14 @@
|
|||
#Thu, 16 May 2013 14:55:31 -0700
|
||||
# This is the SDK version. By defining this property, we are declaring this
|
||||
# folder to be an SDK distribution.
|
||||
framework.name=ext
|
||||
framework.version=4.2.1.883
|
||||
framework.classpath=${framework.dir}/src
|
||||
|
||||
#------------------------------------------------------
|
||||
|
||||
# This is the minimum required Sencha Command version:
|
||||
framework.cmd.minver=3.1.0.206
|
||||
|
||||
# This is the current version of the Sencha Command at the time of this SDK release:
|
||||
framework.cmd.version=3.1.2.342
|
|
@ -0,0 +1 @@
|
|||
Ext.define("ExtThemeNeptune.Component",{override:"Ext.Component",initComponent:function(){this.callParent();if(this.dock&&this.border===undefined){this.border=false}},initStyles:function(){var b=this,a=b.border;if(b.dock){b.border=null}b.callParent(arguments);b.border=a}});Ext.define("ExtThemeNeptune.panel.Panel",{override:"Ext.panel.Panel",border:false,bodyBorder:false,initBorderProps:Ext.emptyFn,initBodyBorder:function(){if(this.bodyBorder!==true){this.callParent()}}});Ext.define("ExtThemeNeptune.layout.component.Dock",{override:"Ext.layout.component.Dock",noBorderClassTable:[0,Ext.baseCSSPrefix+"noborder-l",Ext.baseCSSPrefix+"noborder-b",Ext.baseCSSPrefix+"noborder-bl",Ext.baseCSSPrefix+"noborder-r",Ext.baseCSSPrefix+"noborder-rl",Ext.baseCSSPrefix+"noborder-rb",Ext.baseCSSPrefix+"noborder-rbl",Ext.baseCSSPrefix+"noborder-t",Ext.baseCSSPrefix+"noborder-tl",Ext.baseCSSPrefix+"noborder-tb",Ext.baseCSSPrefix+"noborder-tbl",Ext.baseCSSPrefix+"noborder-tr",Ext.baseCSSPrefix+"noborder-trl",Ext.baseCSSPrefix+"noborder-trb",Ext.baseCSSPrefix+"noborder-trbl"],edgeMasks:{top:8,right:4,bottom:2,left:1},handleItemBorders:function(){var y=this,f=0,z=8,A=4,l=2,e=1,a=y.owner,s=a.bodyBorder,n=a.border,j=y.collapsed,p=y.edgeMasks,k=y.noBorderClassTable,x=a.dockedItems.generation,w,d,v,h,r,m,u,o,g,q,t,c;if(y.initializedBorders===x){return}t=[];c=[];d=y.getBorderCollapseTable();k=y.getBorderClassTable?y.getBorderClassTable():k;y.initializedBorders=x;y.collapsed=false;v=y.getDockedItems();y.collapsed=j;for(r=0,m=v.length;r<m;r++){u=v[r];if(u.ignoreBorderManagement){continue}o=u.dock;q=h=0;t.length=0;c.length=0;if(o!=="bottom"){if(f&z){w=u.border}else{w=n;if(w!==false){h+=z}}if(w===false){q+=z}}if(o!=="left"){if(f&A){w=u.border}else{w=n;if(w!==false){h+=A}}if(w===false){q+=A}}if(o!=="top"){if(f&l){w=u.border}else{w=n;if(w!==false){h+=l}}if(w===false){q+=l}}if(o!=="right"){if(f&e){w=u.border}else{w=n;if(w!==false){h+=e}}if(w===false){q+=e}}if((g=u.lastBorderMask)!==q){u.lastBorderMask=q;if(g){c[0]=k[g]}if(q){t[0]=k[q]}}if((g=u.lastBorderCollapse)!==h){u.lastBorderCollapse=h;if(g){c[c.length]=d[g]}if(h){t[t.length]=d[h]}}if(c.length){u.removeCls(c)}if(t.length){u.addCls(t)}f|=p[o]}q=h=0;t.length=0;c.length=0;if(f&z){w=s}else{w=n;if(w!==false){h+=z}}if(w===false){q+=z}if(f&A){w=s}else{w=n;if(w!==false){h+=A}}if(w===false){q+=A}if(f&l){w=s}else{w=n;if(w!==false){h+=l}}if(w===false){q+=l}if(f&e){w=s}else{w=n;if(w!==false){h+=e}}if(w===false){q+=e}if((g=y.lastBodyBorderMask)!==q){y.lastBodyBorderMask=q;if(g){c[0]=k[g]}if(q){t[0]=k[q]}}if((g=y.lastBodyBorderCollapse)!==h){y.lastBodyBorderCollapse=h;if(g){c[c.length]=d[g]}if(h){t[t.length]=d[h]}}if(c.length){a.removeBodyCls(c)}if(t.length){a.addBodyCls(t)}},onRemove:function(b){var a=b.lastBorderMask;if(!b.isDestroyed&&!b.ignoreBorderManagement&&a){b.lastBorderMask=0;b.removeCls(this.noBorderClassTable[a])}this.callParent([b])}});Ext.define("ExtThemeNeptune.toolbar.Toolbar",{override:"Ext.toolbar.Toolbar",usePlainButtons:false,border:false});Ext.define("ExtThemeNeptune.container.ButtonGroup",{override:"Ext.container.ButtonGroup",usePlainButtons:false});Ext.define("ExtThemeNeptune.toolbar.Paging",{override:"Ext.toolbar.Paging",defaultButtonUI:"plain-toolbar",inputItemWidth:40});Ext.define("ExtThemeNeptune.picker.Month",{override:"Ext.picker.Month",measureMaxHeight:36});Ext.define("ExtThemeNeptune.form.field.HtmlEditor",{override:"Ext.form.field.HtmlEditor",defaultButtonUI:"plain-toolbar"});Ext.define("ExtThemeNeptune.panel.Table",{override:"Ext.panel.Table",bodyBorder:true});Ext.define("ExtThemeNeptune.grid.RowEditor",{override:"Ext.grid.RowEditor",buttonUI:"default-toolbar"});Ext.define("ExtThemeNeptune.grid.column.RowNumberer",{override:"Ext.grid.column.RowNumberer",width:25});Ext.define("ExtThemeNeptune.resizer.Splitter",{override:"Ext.resizer.Splitter",size:8});Ext.define("ExtThemeNeptune.menu.Menu",{override:"Ext.menu.Menu",showSeparator:false});Ext.define("ExtThemeNeptune.menu.Separator",{override:"Ext.menu.Separator",border:true});Ext.define("ExtThemeNeptune.panel.Tool",{override:"Ext.panel.Tool",height:16,width:16});Ext.define("ExtThemeNeptune.tab.Tab",{override:"Ext.tab.Tab",border:false});
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
|
@ -0,0 +1,82 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Welcome to Ext JS 4.2</title>
|
||||
<meta name="description" content="Create amazing web apps built on web standards. Sencha Touch, HTML5 mobile app framework. Ext JS, cross-browser JavaScript framework. Ext GWT" />
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen, projection, print" href="welcome/css/welcome.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<![endif]-->
|
||||
<link rel="alternate" type="application/rss+xml" title="Sencha Blog" href="http://feeds.feedburner.com/SenchaBlog" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Sencha in the News" href="http://www.sencha.com/company/news-rss">
|
||||
<link rel="alternate" type="application/rss+xml" title="Sencha Press Releases" href="http://www.sencha.com/company/press-rss">
|
||||
<link rel="alternate" type="application/rss+xml" title="Careers at Sencha" href="http://www.sencha.com/company/careers-rss">
|
||||
|
||||
<script src="http://use.typekit.com/uxj6dew.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript" charset="utf-8"></script>
|
||||
<![endif]-->
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="screen, projection" href="welcome/css/welcome_ie6.css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<header>
|
||||
<h5 id="logo"><a href="http://www.sencha.com">Sencha</a></h5>
|
||||
</header>
|
||||
<section id="page">
|
||||
<div class="auto_columns two">
|
||||
<div class="column">
|
||||
<h2>Welcome to the <strong>Ext JS 4.2</strong>!</h2>
|
||||
<p class="intro">Ext JS 4.2 is a pure JavaScript application framework that works everywhere from IE6 to the latest Chrome. It enables you to create the best cross-platform applications using nothing but a browser, and has a phenomenal API.</p>
|
||||
<p class="button-group"><a href="examples/index.html" class="button-link inline">View the Examples</a> <a href="http://www.sencha.com/forum/forumdisplay.php?79-Ext-JS-Community-Forums-4.x" class="more-icon">Discuss Ext JS 4 on the forum</a></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<img src="welcome/img/hero-extjs4-alt.png" id="feature-img" class="pngfix" />
|
||||
<div class="auto_columns two" id="right">
|
||||
<div class="column">
|
||||
<h3>What’s New</h3>
|
||||
<p>We have also been posting summaries of new features and changes to <a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">our blog</a>:</p>
|
||||
<ul class="type13">
|
||||
<li><a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">Performance enhancement over 4.0</a></li>
|
||||
<li><a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">Grid</a></li>
|
||||
<li><a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">Border Layout</a></li>
|
||||
<li><a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">XTemplate</a></li>
|
||||
<li><a href="http://www.sencha.com/blog/whats-new-in-ext-js-4-1/">Overrides</a></li>
|
||||
</ul>
|
||||
<p><a href="http://www.sencha.com/products/extjs/" class="more-icon">Learn more on sencha.com</a></p>
|
||||
<p><a href="docs/index.html" class="more-icon">API Docs</a></p>
|
||||
<p><a href="release-notes.html" class="more-icon">Release Notes</a></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>Upgrading</h3>
|
||||
<p>Check out our <a href="docs/#!/guide/upgrade">upgrade guide</a> to see what has changed.</p>
|
||||
<p>Sencha also offers <a href="http://www.sencha.com/training/">training courses</a> and <a href="http://www.sencha.com/support/services/">professional services</a> for companies wishing to use Ext JS 4.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<footer>
|
||||
<ul class="zero inline-social">
|
||||
<li><a href="http://twitter.com/sencha" class="twitter">Twitter</a></li>
|
||||
<li><a href="http://www.facebook.com/senchainc" class="facebook">Facebook</a></li>
|
||||
<li><a href="http://notes.sencha.com/" class="tumblr">Tumblr</a></li>
|
||||
<li><a href="http://j.mp/sencha-in" class="linkedin">LinkedIn</a></li>
|
||||
<li><a href="http://feeds.feedburner.com/SenchaBlog" class="rss">RSS Feed</a></li>
|
||||
<li><a href="http://www.vimeo.com/sencha" class="vimeo">Vimeo</a></li>
|
||||
</ul>
|
||||
<p>© 2012 Sencha</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,35 @@
|
|||
Ext JS 4.2 - JavaScript Library
|
||||
Copyright (c) 2006-2013, Sencha Inc.
|
||||
All rights reserved.
|
||||
licensing@sencha.com
|
||||
|
||||
http://www.sencha.com/license
|
||||
|
||||
Open Source License
|
||||
------------------------------------------------------------------------------------------
|
||||
This version of Ext JS is licensed under the terms of the Open Source GPL 3.0 license.
|
||||
|
||||
http://www.gnu.org/licenses/gpl.html
|
||||
|
||||
There are several FLOSS exceptions available for use with this release for
|
||||
open source applications that are distributed under a license other than GPL.
|
||||
|
||||
* Open Source License Exception for Applications
|
||||
|
||||
http://www.sencha.com/products/floss-exception.php
|
||||
|
||||
* Open Source License Exception for Development
|
||||
|
||||
http://www.sencha.com/products/ux-exception.php
|
||||
|
||||
|
||||
Alternate Licensing
|
||||
------------------------------------------------------------------------------------------
|
||||
Commercial and OEM Licenses are available for an alternate download of Ext JS.
|
||||
This is the appropriate option if you are creating proprietary applications and you are
|
||||
not prepared to distribute and share the source code of your application under the
|
||||
GPL v3 license. Please visit http://www.sencha.com/license for more details.
|
||||
|
||||
--
|
||||
|
||||
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF THIRD-PARTY INTELLECTUAL PROPERTY RIGHTS. See the GNU General Public License for more details.
|
|
@ -0,0 +1,175 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
*
|
||||
* Afrikaans Translations
|
||||
* by Thys Meintjes (20 July 2007)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember"];
|
||||
|
||||
Ext.Date.dayNames = ["Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'R',
|
||||
// Sith Efrikan Rand
|
||||
dateFormat: 'd-m-Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} geselekteerde ry(e)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Maak die oortjie toe"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Die waarde in hierdie veld is foutief"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.af.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Besig om te laai..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Vandag",
|
||||
minText: "Hierdie datum is vroër as die minimum datum",
|
||||
maxText: "Hierdie dataum is later as die maximum datum",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Besig om te laai..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.form.field.VTypes", {
|
||||
override: "Ext.form.field.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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sorteer Oplopend",
|
||||
sortDescText: "Sorteer Aflopend",
|
||||
lockText: "Vries Kolom",
|
||||
unlockText: "Ontvries Kolom",
|
||||
columnsText: "Kolomme"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Naam",
|
||||
valueText: "Waarde",
|
||||
dateFormat: "Y-m-j"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.af.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Kanselleer",
|
||||
yes: "Ja",
|
||||
no: "Nee"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.af.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,279 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Bulgarian Translation
|
||||
*
|
||||
* By Георги Костадинов, Калгари, Канада
|
||||
* 10 October 2007
|
||||
* By Nedko Penev
|
||||
* 26 October 2007
|
||||
*
|
||||
* (utf-8 encoding)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"];
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u043b\u0432',
|
||||
// Bulgarian Leva
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} избрани колони"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Затвори таб"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Невалидна стойност на полето"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.bg.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Зареждане..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Днес",
|
||||
minText: "Тази дата е преди минималната",
|
||||
maxText: "Тази дата е след максималната",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Следващ месец (Control+Right)',
|
||||
prevText: 'Предишен месец (Control+Left)',
|
||||
monthYearText: 'Избери месец (Control+Up/Down за преместване по години)',
|
||||
todayTip: "{0} (Spacebar)",
|
||||
format: "d.m.y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Отмени"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Страница",
|
||||
afterPageText: "от {0}",
|
||||
firstText: "Първа страница",
|
||||
prevText: "Предишна страница",
|
||||
nextText: "Следваща страница",
|
||||
lastText: "Последна страница",
|
||||
refreshText: "Презареди",
|
||||
displayMsg: "Показвайки {0} - {1} от {2}",
|
||||
emptyMsg: 'Няма данни за показване'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Минималната дължина на това поле е {0}",
|
||||
maxLengthText: "Максималната дължина на това поле е {0}",
|
||||
blankText: "Това поле е задължително",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Минималната стойност за това поле е {0}",
|
||||
maxText: "Максималната стойност за това поле е {0}",
|
||||
nanText: "{0} не е валидно число"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Зареждане..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Това поле трябва да бъде емейл във формат "user@example.com"',
|
||||
urlText: 'Това поле трябва да бъде URL във формат "http:/' + '/www.example.com"',
|
||||
alphaText: 'Това поле трябва да съдържа само букви и _',
|
||||
alphanumText: 'Това поле трябва да съдържа само букви, цифри и _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Моля, въведете URL за връзката:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Удебелява избрания текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Прави избрания текст курсив.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Подчертава избрания текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Уголеми текста',
|
||||
text: 'Уголемява размера на шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Намали текста',
|
||||
text: 'Намалява размера на шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Цвят на маркирания текст',
|
||||
text: 'Променя фоновия цвят на избрания текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Цвят на шрифта',
|
||||
text: 'Променя цвета на избрания текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Ляво подравняване',
|
||||
text: 'Подравнява текста на ляво.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Центриране',
|
||||
text: 'Центрира текста.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Дясно подравняване',
|
||||
text: 'Подравнява текста на дясно.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Неномериран списък',
|
||||
text: 'Започва неномериран списък.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Номериран списък',
|
||||
text: 'Започва номериран списък.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Хипервръзка',
|
||||
text: 'Превръща избрания текст в хипервръзка.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Редактиране на кода',
|
||||
text: 'Преминаване в режим на редактиране на кода.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Подреди в нарастващ ред",
|
||||
sortDescText: "Подреди в намаляващ ред",
|
||||
lockText: "Заключи колона",
|
||||
unlockText: "Отключи колона",
|
||||
columnsText: "Колони"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Име",
|
||||
valueText: "Стойност",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.bg.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Отмени",
|
||||
yes: "Да",
|
||||
no: "Не"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.bg.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,316 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Catalonian Translation by halkon_polako 6-12-2007
|
||||
* December correction halkon_polako 11-12-2007
|
||||
*
|
||||
* Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
|
||||
* by halkon_polako 14-aug-2008
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Spanish Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} fila(es) seleccionada(es)"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ca.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Carregant..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Avui",
|
||||
minText: "Aquesta data és anterior a la data mínima",
|
||||
maxText: "Aquesta data és posterior a la data màxima",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " Acceptar ",
|
||||
cancelText: "Cancel·lar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "El valor d'aquest camp és invàlid"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ",",
|
||||
decimalPrecision: 2,
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.File", {
|
||||
override: "Ext.form.field.File",
|
||||
buttonText: "Examinar..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Carregant..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
|
||||
urlText: 'Aquest camp ha de ser una URL amb el format "http:/' + '/www.example.com"',
|
||||
alphaText: 'Aquest camp només pot contenir lletres i _',
|
||||
alphanumText: 'Aquest camp només por contenir lletres, nombres i _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Si us plau, tecleixi la URL per l\'enllaç:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Negreta (Ctrl+B)',
|
||||
text: 'Posa el text seleccionat en negreta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Itàlica (Ctrl+I)',
|
||||
text: 'Posa el text seleccionat en itàlica.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Subratllat (Ctrl+U)',
|
||||
text: 'Subratlla el text seleccionat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Augmentar Text',
|
||||
text: 'Augmenta el tamany de la font de text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Disminuir Text',
|
||||
text: 'Disminueix el tamany de la font de text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Color de fons',
|
||||
text: 'Canvia el color de fons del text seleccionat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Color de la font de text',
|
||||
text: 'Canvia el color del text seleccionat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Alinear a la esquerra',
|
||||
text: 'Alinea el text a la esquerra.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrar el text',
|
||||
text: 'Centra el text a l\'editor',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Alinear a la dreta',
|
||||
text: 'Alinea el text a la dreta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Llista amb vinyetes',
|
||||
text: 'Comença una llista amb vinyetes.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Llista numerada',
|
||||
text: 'Comença una llista numerada.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Enllaç',
|
||||
text: 'Transforma el text seleccionat en un enllaç.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Editar Codi',
|
||||
text: 'Canvia al mode d\'edició de codi.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordenació Ascendent",
|
||||
sortDescText: "Ordenació Descendent",
|
||||
columnsText: "Columnes"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Buit)',
|
||||
groupByText: 'Agrupar Per Aquest Camp',
|
||||
showGroupsText: 'Mostrar en Grups'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nom",
|
||||
valueText: "Valor",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "L\'hora en aquest camp ha de ser igual o posterior a {0}",
|
||||
maxText: "L\'hora en aquest camp ha de ser igual o anterior {0}",
|
||||
invalidText: "{0} no és un hora vàlida",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Ha de seleccionar almenys un étem d\'aquest group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Ha de seleccionar un étem d\'aquest grup"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ca.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Acceptar",
|
||||
cancel: "Cancel·lar",
|
||||
yes: "Sí",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ca.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,308 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Czech Translations
|
||||
* Translated by Tomáš Korčák (72)
|
||||
* 2008/02/08 18:02, Ext-2.0.1
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"];
|
||||
|
||||
Ext.Date.shortMonthNames = {
|
||||
"Leden": "Led",
|
||||
"Únor": "Úno",
|
||||
"Březen": "Bře",
|
||||
"Duben": "Dub",
|
||||
"Květen": "Kvě",
|
||||
"Červen": "Čer",
|
||||
"Červenec": "Čvc",
|
||||
"Srpen": "Srp",
|
||||
"Září": "Zář",
|
||||
"Říjen": "Říj",
|
||||
"Listopad": "Lis",
|
||||
"Prosinec": "Pro"
|
||||
};
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.shortMonthNames[Ext.Date.monthNames[month]];
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"Leden": 0,
|
||||
"Únor": 1,
|
||||
"Březen": 2,
|
||||
"Duben": 3,
|
||||
"Květen": 4,
|
||||
"Červen": 5,
|
||||
"Červenec": 6,
|
||||
"Srpen": 7,
|
||||
"Září": 8,
|
||||
"Říjen": 9,
|
||||
"Listopad": 10,
|
||||
"Prosinec": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u004b\u010d',
|
||||
// Czech Koruny
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} vybraných řádků"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zavřít záložku"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Hodnota v tomto poli je neplatná"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.cs.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Prosím čekejte..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Storno"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Pole nesmí mít méně {0} znaků",
|
||||
maxLengthText: "Pole nesmí být delší než {0} znaků",
|
||||
blankText: "Povinné pole",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Prosím čekejte..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Zadejte URL adresu odkazu:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Tučné (Ctrl+B)',
|
||||
text: 'Označí vybraný text tučně.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kurzíva (Ctrl+I)',
|
||||
text: 'Označí vybraný text kurzívou.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Podtržení (Ctrl+U)',
|
||||
text: 'Podtrhne vybraný text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Zvětšit písmo',
|
||||
text: 'Zvětší velikost písma.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Zúžit písmo',
|
||||
text: 'Zmenší velikost písma.',
|
||||
cls: Ext.baseCSSPrefix + '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: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Barva písma',
|
||||
text: 'Změní barvu textu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Zarovnat text vlevo',
|
||||
text: 'Zarovná text doleva.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Zarovnat na střed',
|
||||
text: 'Zarovná text na střed.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Zarovnat text vpravo',
|
||||
text: 'Zarovná text doprava.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Odrážky',
|
||||
text: 'Začne seznam s odrážkami.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Číslování',
|
||||
text: 'Začne číslovaný seznam.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Internetový odkaz',
|
||||
text: 'Z vybraného textu vytvoří internetový odkaz.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Zdrojový kód',
|
||||
text: 'Přepne do módu úpravy zdrojového kódu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Řadit vzestupně",
|
||||
sortDescText: "Řadit sestupně",
|
||||
lockText: "Ukotvit sloupec",
|
||||
unlockText: "Uvolnit sloupec",
|
||||
columnsText: "Sloupce"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Žádná data)',
|
||||
groupByText: 'Seskupit dle tohoto pole',
|
||||
showGroupsText: 'Zobrazit ve skupině'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Název",
|
||||
valueText: "Hodnota",
|
||||
dateFormat: "j.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.cs.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Storno",
|
||||
yes: "Ano",
|
||||
no: "Ne"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.cs.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,299 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Danish translation
|
||||
* By JohnF
|
||||
* 04-09-2007, 05:28 AM
|
||||
*
|
||||
* Extended and modified by Karl Krukow,
|
||||
* December, 2007.
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
jan: 0,
|
||||
feb: 1,
|
||||
mar: 2,
|
||||
apr: 3,
|
||||
maj: 4,
|
||||
jun: 5,
|
||||
jul: 6,
|
||||
aug: 7,
|
||||
sep: 8,
|
||||
okt: 9,
|
||||
nov: 10,
|
||||
dec: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'kr',
|
||||
// Danish Krone
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} markerede rækker"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Luk denne fane"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Værdien i dette felt er ugyldig"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.da.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Henter..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "I dag",
|
||||
minText: "Denne dato er før den tidligst tilladte",
|
||||
maxText: "Denne dato er senere end den senest tilladte",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancel"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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",
|
||||
decimalSeparator: ","
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Henter..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.VTypes", {
|
||||
override: "Ext.form.field.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)'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Indtast URL:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Fed (Ctrl+B)',
|
||||
//Can I change this to Ctrl+F?
|
||||
text: 'Formater det markerede tekst med fed.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursiv (Ctrl+I)',
|
||||
//Ctrl+K
|
||||
text: 'Formater det markerede tekst med kursiv.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Understreg (Ctrl+U)',
|
||||
text: 'Understreg det markerede tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Forstør tekst',
|
||||
text: 'Forøg fontstørrelsen.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Formindsk tekst',
|
||||
text: 'Formindsk fontstørrelsen.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Farve for tekstfremhævelse',
|
||||
text: 'Skift baggrundsfarve for det markerede tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Skriftfarve',
|
||||
text: 'Skift skriftfarve for det markerede tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Juster venstre',
|
||||
text: 'Venstrestil tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centreret',
|
||||
text: 'Centrer tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Juster højre',
|
||||
text: 'Højrestil tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Punktopstilling',
|
||||
text: 'Påbegynd punktopstilling.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Nummereret opstilling',
|
||||
text: 'Påbegynd nummereret opstilling.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Lav det markerede test til et hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Kildetekstredigering',
|
||||
text: 'Skift til redigering af kildetekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortér stigende",
|
||||
sortDescText: "Sortér faldende",
|
||||
lockText: "Lås kolonne",
|
||||
unlockText: "Fjern lås fra kolonne",
|
||||
columnsText: "Kolonner"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Ingen)',
|
||||
groupByText: 'Gruppér efter dette felt',
|
||||
showGroupsText: 'Vis i grupper' //should this be sort in groups?
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Navn",
|
||||
valueText: "Værdi",
|
||||
dateFormat: "j/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.da.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Fortryd",
|
||||
yes: "Ja",
|
||||
no: "Nej"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.da.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,347 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* German translation
|
||||
* 2007-Apr-07 update by schmidetzki and humpdi
|
||||
* 2007-Oct-31 update by wm003
|
||||
* 2009-Jul-10 update by Patrick Matsumura and Rupert Quaderer
|
||||
* 2010-Mar-10 update by Volker Grabsch
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"];
|
||||
|
||||
Ext.Date.defaultFormat = 'd.m.Y';
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
Jan: 0,
|
||||
Feb: 1,
|
||||
"M\u00e4r": 2,
|
||||
Apr: 3,
|
||||
Mai: 4,
|
||||
Jun: 5,
|
||||
Jul: 6,
|
||||
Aug: 7,
|
||||
Sep: 8,
|
||||
Okt: 9,
|
||||
Nov: 10,
|
||||
Dez: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.util.Format.__number = Ext.util.Format.number;
|
||||
Ext.util.Format.number = function(v, format) {
|
||||
return Ext.util.Format.__number(v, format || "0.000,00/i");
|
||||
};
|
||||
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// German Euro
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} Zeile(n) ausgewählt"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Diesen Tab schließen"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Bitte warten..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Der Wert des Feldes ist nicht korrekt"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.LoadMask", {
|
||||
override: "Ext.LoadMask",
|
||||
loadingText: "Lade Daten..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Lade Daten..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Heute",
|
||||
minText: "Dieses Datum liegt von dem erstmöglichen Datum",
|
||||
maxText: "Dieses Datum liegt nach dem letztmöglichen Datum",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Abbrechen"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Der Mindestwert für dieses Feld ist {0}",
|
||||
maxText: "Der Maximalwert für dieses Feld ist {0}",
|
||||
nanText: "{0} ist keine Zahl",
|
||||
decimalSeparator: ","
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "nicht erlaubt",
|
||||
disabledDatesText: "nicht erlaubt",
|
||||
minText: "Das Datum in diesem Feld muss nach dem {0} liegen",
|
||||
maxText: "Das Datum in diesem Feld muss vor dem {0} liegen",
|
||||
invalidText: "{0} ist kein gültiges Datum - es muss im Format {1} eingegeben werden",
|
||||
format: "d.m.Y",
|
||||
altFormats: "j.n.Y|j.n.y|j.n.|j.|j/n/Y|j/n/y|j-n-y|j-n-Y|j/n|j-n|dm|dmy|dmY|j|Y-n-j|Y-m-d",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Lade Daten ..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@example.com"',
|
||||
urlText: 'Dieses Feld sollte eine URL enthalten. Format: "http:/' + '/www.example.com"',
|
||||
alphaText: 'Dieses Feld darf nur Buchstaben enthalten und _',
|
||||
alphanumText: 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Bitte geben Sie die URL für den Link ein:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Fett (Ctrl+B)',
|
||||
text: 'Erstellt den ausgewählten Text in Fettschrift.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursiv (Ctrl+I)',
|
||||
text: 'Erstellt den ausgewählten Text in Schrägschrift.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Unterstrichen (Ctrl+U)',
|
||||
text: 'Unterstreicht den ausgewählten Text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Text vergößern',
|
||||
text: 'Erhöht die Schriftgröße.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Text verkleinern',
|
||||
text: 'Verringert die Schriftgröße.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Text farblich hervorheben',
|
||||
text: 'Hintergrundfarbe des ausgewählten Textes ändern.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Schriftfarbe',
|
||||
text: 'Farbe des ausgewählten Textes ändern.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Linksbündig',
|
||||
text: 'Setzt den Text linksbündig.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Zentrieren',
|
||||
text: 'Zentriert den Text in Editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Rechtsbündig',
|
||||
text: 'Setzt den Text rechtsbündig.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Aufzählungsliste',
|
||||
text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numerierte Liste',
|
||||
text: 'Beginnt eine numerierte Liste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Erstellt einen Hyperlink aus dem ausgewählten text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Source bearbeiten',
|
||||
text: 'Zur Bearbeitung des Quelltextes wechseln.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Aufsteigend sortieren",
|
||||
sortDescText: "Absteigend sortieren",
|
||||
lockText: "Spalte sperren",
|
||||
unlockText: "Spalte freigeben (entsperren)",
|
||||
columnsText: "Spalten"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.GroupingFeature", {
|
||||
override: "Ext.grid.feature.Grouping",
|
||||
emptyGroupText: '(Keine)',
|
||||
groupByText: 'Dieses Feld gruppieren',
|
||||
showGroupsText: 'In Gruppen anzeigen'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Wert",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.BooleanColumn", {
|
||||
override: "Ext.grid.BooleanColumn",
|
||||
trueText: "wahr",
|
||||
falseText: "falsch"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.NumberColumn", {
|
||||
override: "Ext.grid.NumberColumn",
|
||||
format: '0.000,00/i'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.grid.DateColumn", {
|
||||
override: "Ext.grid.DateColumn",
|
||||
format: 'd.m.Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Du mußt mehr als einen Eintrag aus der Gruppe auswählen"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Du mußt einen Eintrag aus der Gruppe auswählen"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.de.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Abbrechen",
|
||||
yes: "Ja",
|
||||
no: "Nein"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.de.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,289 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Greek translation
|
||||
* By thesilentman (utf8 encoding)
|
||||
* 27 Apr 2008
|
||||
*
|
||||
* Changes since previous (second) Version:
|
||||
* + added Ext.Date.shortMonthNames
|
||||
* + added Ext.Date.getShortMonthName
|
||||
* + added Ext.Date.monthNumbers
|
||||
* + added Ext.grid.GroupingFeature
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"];
|
||||
|
||||
Ext.Date.shortMonthNames = ["Ιαν", "Φεβ", "Μάρ", "Απρ", "Μάι", "Ιού", "Ιού", "Αύγ", "Σεπ", "Οκτ", "Νοέ", "Δεκ"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Greek Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} Επιλεγμένες σειρές"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Κλείστε το tab"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Το περιεχόμενο του πεδίου δεν είναι αποδεκτό"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.el_GR.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Μεταφόρτωση δεδομένων..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Σήμερα",
|
||||
minText: "Η Ημερομηνία είναι προγενέστερη από την παλαιότερη αποδεκτή",
|
||||
maxText: "Η Ημερομηνία είναι μεταγενέστερη από την νεότερη αποδεκτή",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Επόμενος Μήνας (Control+Δεξί Βέλος)',
|
||||
prevText: 'Προηγούμενος Μήνας (Control + Αριστερό Βέλος)',
|
||||
monthYearText: 'Επιλογή Μηνός (Control + Επάνω/Κάτω Βέλος για μεταβολή ετών)',
|
||||
todayTip: "{0} (ΠΛήκτρο Διαστήματος)",
|
||||
format: "d/m/y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Σελίδα",
|
||||
afterPageText: "από {0}",
|
||||
firstText: "Πρώτη Σελίδα",
|
||||
prevText: "Προηγούμενη Σελίδα",
|
||||
nextText: "Επόμενη Σελίδα",
|
||||
lastText: "Τελευταία Σελίδα",
|
||||
refreshText: "Ανανέωση",
|
||||
displayMsg: "Εμφάνιση {0} - {1} από {2}",
|
||||
emptyMsg: 'Δεν υπάρχουν δεδομένα'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Το μικρότερο αποδεκτό μήκος για το πεδίο είναι {0}",
|
||||
maxLengthText: "Το μεγαλύτερο αποδεκτό μήκος για το πεδίο είναι {0}",
|
||||
blankText: "Το πεδίο είναι υποχρεωτικό",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Η μικρότερη τιμή του πεδίου είναι {0}",
|
||||
maxText: "Η μεγαλύτερη τιμή του πεδίου είναι {0}",
|
||||
nanText: "{0} δεν είναι αποδεκτός αριθμός"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Ανενεργό",
|
||||
disabledDatesText: "Ανενεργό",
|
||||
minText: "Η ημερομηνία αυτού του πεδίου πρέπει να είναι μετά την {0}",
|
||||
maxText: "Η ημερομηνία αυτού του πεδίου πρέπει να είναι πριν την {0}",
|
||||
invalidText: "{0} δεν είναι έγκυρη ημερομηνία - πρέπει να είναι στη μορφή {1}",
|
||||
format: "d/m/y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Μεταφόρτωση δεδομένων..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Το πεδίο δέχεται μόνο διευθύνσεις Email σε μορφή "user@example.com"',
|
||||
urlText: 'Το πεδίο δέχεται μόνο URL σε μορφή "http:/' + '/www.example.com"',
|
||||
alphaText: 'Το πεδίο δέχεται μόνο χαρακτήρες και _',
|
||||
alphanumText: 'Το πεδίο δέχεται μόνο χαρακτήρες, αριθμούς και _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Δώστε τη διεύθυνση (URL) για το σύνδεσμο (link):'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Έντονα (Ctrl+B)',
|
||||
text: 'Κάνετε το προεπιλεγμένο κείμενο έντονο.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Πλάγια (Ctrl+I)',
|
||||
text: 'Κάνετε το προεπιλεγμένο κείμενο πλάγιο.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Υπογράμμιση (Ctrl+U)',
|
||||
text: 'Υπογραμμίζετε το προεπιλεγμένο κείμενο.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Μεγέθυνση κειμένου',
|
||||
text: 'Μεγαλώνετε τη γραμματοσειρά.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Σμίκρυνση κειμένου',
|
||||
text: 'Μικραίνετε τη γραμματοσειρά.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Χρώμα Φόντου Κειμένου',
|
||||
text: 'Αλλάζετε το χρώμα στο φόντο του προεπιλεγμένου κειμένου.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Χρώμα Γραμματοσειράς',
|
||||
text: 'Αλλάζετε το χρώμα στη γραμματοσειρά του προεπιλεγμένου κειμένου.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Αριστερή Στοίχιση Κειμένου',
|
||||
text: 'Στοιχίζετε το κείμενο στα αριστερά.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Κεντράρισμα Κειμένου',
|
||||
text: 'Στοιχίζετε το κείμενο στο κέντρο.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Δεξιά Στοίχιση Κειμένου',
|
||||
text: 'Στοιχίζετε το κείμενο στα δεξιά.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Εισαγωγή Λίστας Κουκίδων',
|
||||
text: 'Ξεκινήστε μια λίστα με κουκίδες.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Εισαγωγή Λίστας Αρίθμησης',
|
||||
text: 'Ξεκινήστε μια λίστα με αρίθμηση.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Μετατρέπετε το προεπιλεγμένο κείμενο σε Link.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Επεξεργασία Κώδικα',
|
||||
text: 'Μεταβαίνετε στη λειτουργία επεξεργασίας κώδικα.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Αύξουσα ταξινόμηση",
|
||||
sortDescText: "Φθίνουσα ταξινόμηση",
|
||||
lockText: "Κλείδωμα στήλης",
|
||||
unlockText: "Ξεκλείδωμα στήλης",
|
||||
columnsText: "Στήλες"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Καμμία)',
|
||||
groupByText: 'Ομαδοποίηση βάσει αυτού του πεδίου',
|
||||
showGroupsText: 'Να εμφανίζεται στις ομάδες'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Όνομα",
|
||||
valueText: "Περιεχόμενο",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.el_GR.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Άκυρο",
|
||||
yes: "Ναι",
|
||||
no: "Όχι"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.el_GR.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,338 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
*
|
||||
* English Translations
|
||||
* updated to 2.2 by Condor (8 Aug 2008)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.data && Ext.data.Types) {
|
||||
Ext.data.Types.stripRe = /[\$,%]/g;
|
||||
}
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '$',
|
||||
dateFormat: 'm/d/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} selected row{1}"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.en.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Today",
|
||||
minText: "This date is before the minimum date",
|
||||
maxText: "This date is after the maximum date",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancel"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Please Wait..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "The value in this field is invalid"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ".",
|
||||
decimalPrecision: 2,
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'This field should be an e-mail address in the format "user@example.com"',
|
||||
urlText: 'This field should be a URL in the format "http:/' + '/www.example.com"',
|
||||
alphaText: 'This field should only contain letters and _',
|
||||
alphanumText: 'This field should only contain letters, numbers and _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Please enter the URL for the link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Make the selected text bold.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Make the selected text italic.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Underline the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Grow Text',
|
||||
text: 'Increase the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Shrink Text',
|
||||
text: 'Decrease the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Text Highlight Color',
|
||||
text: 'Change the background color of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font Color',
|
||||
text: 'Change the color of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Align Text Left',
|
||||
text: 'Align text to the left.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Center Text',
|
||||
text: 'Center text in the editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Align Text Right',
|
||||
text: 'Align text to the right.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Bullet List',
|
||||
text: 'Start a bulleted list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numbered List',
|
||||
text: 'Start a numbered list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Make the selected text a hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Source Edit',
|
||||
text: 'Switch to source editing mode.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sort Ascending",
|
||||
sortDescText: "Sort Descending",
|
||||
columnsText: "Columns"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: 'Group By This Field',
|
||||
showGroupsText: 'Show in Groups'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Value",
|
||||
dateFormat: "m/j/Y",
|
||||
trueText: "true",
|
||||
falseText: "false"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.BooleanColumn", {
|
||||
override: "Ext.grid.BooleanColumn",
|
||||
trueText: "true",
|
||||
falseText: "false",
|
||||
undefinedText: ' '
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.NumberColumn", {
|
||||
override: "Ext.grid.NumberColumn",
|
||||
format: '0,000.00'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.grid.DateColumn", {
|
||||
override: "Ext.grid.DateColumn",
|
||||
format: 'm/d/Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "The time in this field must be equal to or after {0}",
|
||||
maxText: "The time in this field must be equal to or before {0}",
|
||||
invalidText: "{0} is not a valid time",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "You must select at least one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "You must select one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancel",
|
||||
yes: "Yes",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.en.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,323 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
*
|
||||
* English (AU) Translations
|
||||
* created by Dawesi (2012) - modified from en_GB
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.defaultDateFormat = "d/m/Y";
|
||||
Ext.Date.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '$', // AU dollar
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} selected row{1}"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.en_AU.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Today",
|
||||
minText: "This date is before the minimum date",
|
||||
maxText: "This date is after the maximum date",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancel"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Please Wait..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "The value in this field is invalid"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ".",
|
||||
decimalPrecision: 2,
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'This field should be an e-mail address in the format "user@example.com"',
|
||||
urlText: 'This field should be a URL in the format "http:/' + '/www.example.com"',
|
||||
alphaText: 'This field should only contain letters and _',
|
||||
alphanumText: 'This field should only contain letters, numbers and _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Please enter the URL for the link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Make the selected text bold.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Make the selected text italic.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Underline the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Grow Text',
|
||||
text: 'Increase the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Shrink Text',
|
||||
text: 'Decrease the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Text Highlight Colour',
|
||||
text: 'Change the background colour of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font Colour',
|
||||
text: 'Change the colour of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Align Text Left',
|
||||
text: 'Align text to the left.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centre Text',
|
||||
text: 'Centre text in the editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Align Text Right',
|
||||
text: 'Align text to the right.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Bullet List',
|
||||
text: 'Start a bulleted list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numbered List',
|
||||
text: 'Start a numbered list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Make the selected text a hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Source Edit',
|
||||
text: 'Switch to source editing mode.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sort Ascending",
|
||||
sortDescText: "Sort Descending",
|
||||
columnsText: "Columns"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.grid.DateColumn", {
|
||||
override: "Ext.grid.DateColumn",
|
||||
format: 'd/m/Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: 'Group By This Field',
|
||||
showGroupsText: 'Show in Groups'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Value",
|
||||
dateFormat: "j/m/Y",
|
||||
trueText: "true",
|
||||
falseText: "false"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "The time in this field must be equal to or after {0}",
|
||||
maxText: "The time in this field must be equal to or before {0}",
|
||||
invalidText: "{0} is not a valid time",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "You must select at least one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "You must select one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_AU.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancel",
|
||||
yes: "Yes",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.en_AU.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,325 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
*
|
||||
* English (UK) Translations
|
||||
* updated to 2.2 by Condor (8 Aug 2008)
|
||||
* updated by Dawesi (7 Dec 2012)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.defaultDateFormat = "d/m/Y";
|
||||
Ext.Date.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '£',
|
||||
// UK Pound
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} selected row{1}"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.en_GB.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Today",
|
||||
minText: "This date is before the minimum date",
|
||||
maxText: "This date is after the maximum date",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancel"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Please Wait..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "The value in this field is invalid"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ".",
|
||||
decimalPrecision: 2,
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Loading..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'This field should be an e-mail address in the format "user@example.com"',
|
||||
urlText: 'This field should be a URL in the format "http:/' + '/www.example.com"',
|
||||
alphaText: 'This field should only contain letters and _',
|
||||
alphanumText: 'This field should only contain letters, numbers and _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Please enter the URL for the link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Make the selected text bold.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Make the selected text italic.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Underline the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Grow Text',
|
||||
text: 'Increase the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Shrink Text',
|
||||
text: 'Decrease the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Text Highlight Colour',
|
||||
text: 'Change the background colour of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font Colour',
|
||||
text: 'Change the colour of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Align Text Left',
|
||||
text: 'Align text to the left.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centre Text',
|
||||
text: 'Centre text in the editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Align Text Right',
|
||||
text: 'Align text to the right.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Bullet List',
|
||||
text: 'Start a bulleted list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numbered List',
|
||||
text: 'Start a numbered list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Make the selected text a hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Source Edit',
|
||||
text: 'Switch to source editing mode.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sort Ascending",
|
||||
sortDescText: "Sort Descending",
|
||||
columnsText: "Columns"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.grid.DateColumn", {
|
||||
override: "Ext.grid.DateColumn",
|
||||
format: 'd/m/Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: 'Group By This Field',
|
||||
showGroupsText: 'Show in Groups'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Value",
|
||||
dateFormat: "j/m/Y",
|
||||
trueText: "true",
|
||||
falseText: "false"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "The time in this field must be equal to or after {0}",
|
||||
maxText: "The time in this field must be equal to or before {0}",
|
||||
invalidText: "{0} is not a valid time",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "You must select at least one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "You must select one item in this group"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.en_GB.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancel",
|
||||
yes: "Yes",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.en_GB.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,319 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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)
|
||||
* Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
|
||||
* by halkon_polako 14-aug-2008
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
if (day == 3) return "Mié";
|
||||
if (day == 6) return "Sáb";
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Spanish Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} fila(s) seleccionada(s)"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.es.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Cargando..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Hoy",
|
||||
minText: "Esta fecha es anterior a la fecha mínima",
|
||||
maxText: "Esta fecha es posterior a la fecha máxima",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " Aceptar ",
|
||||
cancelText: "Cancelar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "El valor en este campo es inválido"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ",",
|
||||
decimalPrecision: 2,
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.File", {
|
||||
override: "Ext.form.field.File",
|
||||
buttonText: "Examinar..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Cargando..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: "Por favor proporcione la URL para el enlace:"
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Negritas (Ctrl+B)',
|
||||
text: 'Transforma el texto seleccionado en Negritas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Itálica (Ctrl+I)',
|
||||
text: 'Transforma el texto seleccionado en Itálicas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Subrayado (Ctrl+U)',
|
||||
text: 'Subraya el texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Aumentar la fuente',
|
||||
text: 'Aumenta el tamaño de la fuente',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Reducir la fuente',
|
||||
text: 'Reduce el tamaño de la fuente.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Color de fondo',
|
||||
text: 'Modifica el color de fondo del texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Color de la fuente',
|
||||
text: 'Modifica el color del texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Alinear a la izquierda',
|
||||
text: 'Alinea el texto a la izquierda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrar',
|
||||
text: 'Centrar el texto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Alinear a la derecha',
|
||||
text: 'Alinea el texto a la derecha.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Lista de viñetas',
|
||||
text: 'Inicia una lista con viñetas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Lista numerada',
|
||||
text: 'Inicia una lista numerada.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Enlace',
|
||||
text: 'Inserta un enlace de hipertexto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Código Fuente',
|
||||
text: 'Pasar al modo de edición de código fuente.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordenar en forma ascendente",
|
||||
sortDescText: "Ordenar en forma descendente",
|
||||
columnsText: "Columnas"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Ninguno)',
|
||||
groupByText: 'Agrupar por este campo',
|
||||
showGroupsText: 'Mostrar en grupos'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nombre",
|
||||
valueText: "Valor",
|
||||
dateFormat: "j/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "La hora en este campo debe ser igual o posterior a {0}",
|
||||
maxText: "La hora en este campo debe ser igual o anterior a {0}",
|
||||
invalidText: "{0} no es una hora válida",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Debe seleccionar al menos un étem de este grupo"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Debe seleccionar un étem de este grupo"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.es.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Aceptar",
|
||||
cancel: "Cancelar",
|
||||
yes: "Sí",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.es.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,314 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Estonian Translations
|
||||
* By Rene Saarsoo (2012-05-28)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"];
|
||||
|
||||
// Month names aren't shortened to strictly three letters
|
||||
var shortMonthNames = ["Jaan", "Veeb", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"];
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return shortMonthNames[month];
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev"];
|
||||
|
||||
// Weekday names are abbreviated to single letter
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 1);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ' ',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac', // Euro
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} valitud rida"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.et.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Laen..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Täna",
|
||||
minText: "See kuupäev on enne määratud vanimat kuupäeva",
|
||||
maxText: "See kuupäev on pärast määratud hiliseimat kuupäeva",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Järgmine kuu (Ctrl+Paremale)',
|
||||
prevText: 'Eelmine kuu (Ctrl+Vasakule)',
|
||||
monthYearText: 'Vali kuu (Ctrl+Üles/Alla aastate muutmiseks)',
|
||||
todayTip: "{0} (Tühik)",
|
||||
format: "d.m.Y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Katkesta"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Lehekülg",
|
||||
afterPageText: "{0}-st",
|
||||
firstText: "Esimene lk",
|
||||
prevText: "Eelmine lk",
|
||||
nextText: "Järgmine lk",
|
||||
lastText: "Viimane lk",
|
||||
refreshText: "Värskenda",
|
||||
displayMsg: "Näitan {0} - {1} {2}-st",
|
||||
emptyMsg: 'Puuduvad andmed mida näidata'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Palun oota..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Välja sisu ei vasta nõuetele"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Selle välja minimaalne pikkus on {0}",
|
||||
maxLengthText: "Selle välja maksimaalne pikkus on {0}",
|
||||
blankText: "Selle välja täitmine on nõutud",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Selle välja vähim väärtus võib olla {0}",
|
||||
maxText: "Selle välja suurim väärtus võib olla {0}",
|
||||
nanText: "{0} pole korrektne number"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Võimetustatud",
|
||||
disabledDatesText: "Võimetustatud",
|
||||
minText: "Kuupäev peab olema alates kuupäevast: {0}",
|
||||
maxText: "Kuupäev peab olema kuni kuupäevani: {0}",
|
||||
invalidText: "{0} ei ole sobiv kuupäev - õige formaat on: {1}",
|
||||
format: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Laen..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Selle välja sisuks peab olema e-posti aadress kujul "kasutaja@domeen.com"',
|
||||
urlText: 'Selle välja sisuks peab olema veebiaadress kujul "http:/'+'/www.domeen.com"',
|
||||
alphaText: 'See väli võib sisaldada vaid tähemärke ja alakriipsu',
|
||||
alphanumText: 'See väli võib sisaldada vaid tähemärke, numbreid ja alakriipsu'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Palun sisestage selle lingi internetiaadress:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Rasvane kiri (Ctrl+B)',
|
||||
text: 'Muuda valitud tekst rasvaseks.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursiiv (Ctrl+I)',
|
||||
text: 'Pane valitud tekst kaldkirja.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Allakriipsutus (Ctrl+U)',
|
||||
text: 'Jooni valitud tekst alla.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Suurenda',
|
||||
text: 'Suurenda teksti suurust.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Vähenda',
|
||||
text: 'Vähenda teksti suurust.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Tausta värv',
|
||||
text: 'Muuda valitud teksti taustavärvi.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Teksti värv',
|
||||
text: 'Muuda valitud teksti värvi.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Vasakule',
|
||||
text: 'Joonda tekst vasakule.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Keskele',
|
||||
text: 'Joonda tekst keskele.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Paremale',
|
||||
text: 'Joonda tekst paremale.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Loetelu',
|
||||
text: 'Alusta loetelu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numereeritud list',
|
||||
text: 'Alusta numereeritud nimekirja.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Link',
|
||||
text: 'Muuda tekst lingiks.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Lähtekoodi muutmine',
|
||||
text: 'Lülitu lähtekoodi muutmise režiimi.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Järjesta kasvavalt",
|
||||
sortDescText: "Järjesta kahanevalt",
|
||||
columnsText: "Tulbad"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.grid.feature.Grouping", {
|
||||
override: "Ext.grid.feature.Grouping",
|
||||
emptyGroupText: '(Tühi)',
|
||||
groupByText: 'Grupeeri selle välja järgi',
|
||||
showGroupsText: 'Näita gruppides'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.grid.property.HeaderContainer", {
|
||||
override: "Ext.grid.property.HeaderContainer",
|
||||
nameText: "Nimi",
|
||||
valueText: "Väärtus",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.grid.column.Date", {
|
||||
override: "Ext.grid.column.Date",
|
||||
format: 'd.m.Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "Kellaaeg peab olema alates {0}",
|
||||
maxText: "Kellaaeg peab olema kuni {0}",
|
||||
invalidText: "{0} ei ole sobiv kellaaeg",
|
||||
format: "H:i"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Vähemalt üks väli selles grupis peab olema valitud"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Vähemalt üks väli selles grupis peab olema valitud"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.et.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Katkesta",
|
||||
yes: "Jah",
|
||||
no: "Ei"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.et.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,281 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Farsi (Persian) translation
|
||||
* By Mohaqa
|
||||
* 03-10-2007, 06:23 PM
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["ژانویه", "فوریه", "مارس", "آپریل", "می", "ژوئن", "جولای", "آگوست", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"];
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["یکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"];
|
||||
}
|
||||
|
||||
if (Ext.MessageBox) {
|
||||
Ext.MessageBox.buttonText = {
|
||||
ok: "تایید",
|
||||
cancel: "بازگشت",
|
||||
yes: "بله",
|
||||
no: "خیر"
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\ufdfc',
|
||||
// Iranian Rial
|
||||
dateFormat: 'Y/m/d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} رکورد انتخاب شده"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "بستن"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "مقدار فیلد صحیح نیست"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.fa.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "در حال بارگذاری ..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "امروز",
|
||||
minText: "این تاریخ قبل از محدوده مجاز است",
|
||||
maxText: "این تاریخ پس از محدوده مجاز است",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'ماه بعد (Control + Right)',
|
||||
prevText: 'ماه قبل (Control+Left)',
|
||||
monthYearText: 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)',
|
||||
todayTip: "{0} (Spacebar)",
|
||||
format: "y/m/d",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancel"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "صفحه",
|
||||
afterPageText: "از {0}",
|
||||
firstText: "صفحه اول",
|
||||
prevText: "صفحه قبل",
|
||||
nextText: "صفحه بعد",
|
||||
lastText: "صفحه آخر",
|
||||
refreshText: "بازخوانی",
|
||||
displayMsg: "نمایش {0} - {1} of {2}",
|
||||
emptyMsg: 'داده ای برای نمایش وجود ندارد'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "حداقل طول این فیلد برابر است با {0}",
|
||||
maxLengthText: "حداکثر طول این فیلد برابر است با {0}",
|
||||
blankText: "این فیلد باید مقداری داشته باشد",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "حداقل مقدار این فیلد برابر است با {0}",
|
||||
maxText: "حداکثر مقدار این فیلد برابر است با {0}",
|
||||
nanText: "{0} یک عدد نیست"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "غیرفعال",
|
||||
disabledDatesText: "غیرفعال",
|
||||
minText: "تاریخ باید پس از {0} باشد",
|
||||
maxText: "تاریخ باید پس از {0} باشد",
|
||||
invalidText: "{0} تاریخ صحیحی نیست - فرمت صحیح {1}",
|
||||
format: "y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "در حال بارگذاری ..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@example.com"',
|
||||
urlText: 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/' + '/www.example.com"',
|
||||
alphaText: 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ',
|
||||
alphanumText: 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'لطفا آدرس لینک را وارد کنید:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'تیره (Ctrl+B)',
|
||||
text: 'متن انتخاب شده را تیره می کند.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'ایتالیک (Ctrl+I)',
|
||||
text: 'متن انتخاب شده را ایتالیک می کند.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'زیرخط (Ctrl+U)',
|
||||
text: 'زیر هر نوشته یک خط نمایش می دهد.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'افزایش اندازه',
|
||||
text: 'اندازه فونت را افزایش می دهد.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'کاهش اندازه',
|
||||
text: 'اندازه متن را کاهش می دهد.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'رنگ زمینه متن',
|
||||
text: 'برای تغییر رنگ زمینه متن استفاده می شود.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'رنگ قلم',
|
||||
text: 'رنگ قلم متن را تغییر می دهد.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'چیدن متن از سمت چپ',
|
||||
text: 'متن از سمت چپ چیده شده می شود.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'متن در وسط ',
|
||||
text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'چیدن متن از سمت راست',
|
||||
text: 'متن از سمت راست پیده خواهد شد.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'لیست همراه با علامت',
|
||||
text: 'یک لیست جدید ایجاد می کند.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'لیست عددی',
|
||||
text: 'یک لیست عددی ایجاد می کند. ',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'لینک',
|
||||
text: 'متن انتخاب شده را به لینک تبدیل کنید.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'ویرایش سورس',
|
||||
text: 'رفتن به حالت ویرایش سورس.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "مرتب سازی افزایشی",
|
||||
sortDescText: "مرتب سازی کاهشی",
|
||||
lockText: "قفل ستون ها",
|
||||
unlockText: "بازکردن ستون ها",
|
||||
columnsText: "ستون ها"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "نام",
|
||||
valueText: "مقدار",
|
||||
dateFormat: "Y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fa.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Kanselleer",
|
||||
yes: "Ja",
|
||||
no: "Nee"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.fa.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Finnish Translations
|
||||
* <tuomas.salo (at) iki.fi>
|
||||
* 'ä' should read as lowercase 'a' with two dots on top (ä)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
//return Ext.Date.monthNames[month].substring(0, 3);
|
||||
return (month + 1) + ".";
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
if (name.match(/^(1?\d)\./)) {
|
||||
return -1 + RegExp.$1;
|
||||
} else {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
}
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 2);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Finnish Euro
|
||||
dateFormat: 'j.n.Y'
|
||||
});
|
||||
|
||||
Ext.util.Format.date = function(v, format) {
|
||||
if (!v) return "";
|
||||
if (!(v instanceof Date)) v = new Date(Date.parse(v));
|
||||
return Ext.Date.format(v, format || "j.n.Y");
|
||||
};
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} rivi(ä) valittu"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Sulje tämä välilehti"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.fi.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Ladataan..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Tänään",
|
||||
minText: "Tämä päivämäärä on aikaisempi kuin ensimmäinen sallittu",
|
||||
maxText: "Tämä päivämäärä on myöhäisempi kuin viimeinen sallittu",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Seuraava kuukausi (Control+oikealle)',
|
||||
prevText: 'Edellinen kuukausi (Control+vasemmalle)',
|
||||
monthYearText: 'Valitse kuukausi (vaihda vuotta painamalla Control+ylös/alas)',
|
||||
todayTip: "{0} (välilyönti)",
|
||||
format: "j.n.Y",
|
||||
startDay: 1 // viikko alkaa maanantaista
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Peruuta"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Sivu",
|
||||
afterPageText: "/ {0}",
|
||||
firstText: "Ensimmäinen sivu",
|
||||
prevText: "Edellinen sivu",
|
||||
nextText: "Seuraava sivu",
|
||||
lastText: "Viimeinen sivu",
|
||||
refreshText: "Päivitä",
|
||||
displayMsg: "Näytetään {0} - {1} / {2}",
|
||||
emptyMsg: 'Ei tietoja'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Tämän kentän arvo ei kelpaa"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Tämän kentän minimipituus on {0}",
|
||||
maxLengthText: "Tämän kentän maksimipituus on {0}",
|
||||
blankText: "Tämä kenttä on pakollinen",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Tämän kentän pienin sallittu arvo on {0}",
|
||||
maxText: "Tämän kentän suurin sallittu arvo on {0}",
|
||||
nanText: "{0} ei ole numero"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Ei käytössä",
|
||||
disabledDatesText: "Ei käytössä",
|
||||
minText: "Tämän kentän päivämäärän tulee olla {0} jälkeen",
|
||||
maxText: "Tämän kentän päivämäärän tulee olla ennen {0}",
|
||||
invalidText: "Päivämäärä {0} ei ole oikeassa muodossa - kirjoita päivämäärä muodossa {1}",
|
||||
format: "j.n.Y",
|
||||
altFormats: "j.n.|d.m.|mdy|mdY|d|Y-m-d|Y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Ladataan..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Syötä tähän kenttään sähköpostiosoite, esim. "etunimi.sukunimi@osoite.fi"',
|
||||
urlText: 'Syötä tähän kenttään URL-osoite, esim. "http:/' + '/www.osoite.fi"',
|
||||
alphaText: 'Syötä tähän kenttään vain kirjaimia (a-z, A-Z) ja alaviivoja (_)',
|
||||
alphanumText: 'Syötä tähän kenttään vain kirjaimia (a-z, A-Z), numeroita (0-9) ja alaviivoja (_)'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Anna linkin URL-osoite:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Lihavoi (Ctrl+B)',
|
||||
text: 'Lihavoi valittu teksti.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursivoi (Ctrl+I)',
|
||||
text: 'Kursivoi valittu teksti.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Alleviivaa (Ctrl+U)',
|
||||
text: 'Alleviivaa valittu teksti.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Suurenna tekstiä',
|
||||
text: 'Kasvata tekstin kirjasinkokoa.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Pienennä tekstiä',
|
||||
text: 'Pienennä tekstin kirjasinkokoa.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Tekstin korostusväri',
|
||||
text: 'Vaihda valitun tekstin taustaväriä.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Tekstin väri',
|
||||
text: 'Vaihda valitun tekstin väriä.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Tasaa vasemmalle',
|
||||
text: 'Tasaa teksti vasempaan reunaan.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Keskitä',
|
||||
text: 'Keskitä teksti.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Tasaa oikealle',
|
||||
text: 'Tasaa teksti oikeaan reunaan.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Luettelo',
|
||||
text: 'Luo luettelo.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numeroitu luettelo',
|
||||
text: 'Luo numeroitu luettelo.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Linkki',
|
||||
text: 'Tee valitusta tekstistä hyperlinkki.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Lähdekoodin muokkaus',
|
||||
text: 'Vaihda lähdekoodin muokkausnäkymään.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Odota..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Järjestä A-Ö",
|
||||
sortDescText: "Järjestä Ö-A",
|
||||
lockText: "Lukitse sarake",
|
||||
unlockText: "Vapauta sarakkeen lukitus",
|
||||
columnsText: "Sarakkeet"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(ei mitään)',
|
||||
groupByText: 'Ryhmittele tämän kentän mukaan',
|
||||
showGroupsText: 'Näytä ryhmissä'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nimi",
|
||||
valueText: "Arvo",
|
||||
dateFormat: "j.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fi.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Peruuta",
|
||||
yes: "Kyllä",
|
||||
no: "Ei"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.fi.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,343 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* France (France) translation
|
||||
* By Thylia
|
||||
* 09-11-2007, 02:22 PM
|
||||
* updated by disizben (22 Sep 2008)
|
||||
* updated by Thylia (20 Apr 2010)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.shortMonthNames = ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.shortMonthNames[month];
|
||||
};
|
||||
|
||||
Ext.Date.monthNames = ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"];
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"Janvier": 0,
|
||||
"Janv": 0,
|
||||
"Février": 1,
|
||||
"Févr": 1,
|
||||
"Mars": 2,
|
||||
"Avril": 3,
|
||||
"Avr": 3,
|
||||
"Mai": 4,
|
||||
"Juin": 5,
|
||||
"Juillet": 6,
|
||||
"Juil": 6,
|
||||
"Août": 7,
|
||||
"Septembre": 8,
|
||||
"Sept": 8,
|
||||
"Octobre": 9,
|
||||
"Oct": 9,
|
||||
"Novembre": 10,
|
||||
"Nov": 10,
|
||||
"Décembre": 11,
|
||||
"Déc": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:er)";
|
||||
|
||||
Ext.Date.getSuffix = function() {
|
||||
return (this.getDate() == 1) ? "er" : "";
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// French Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} ligne{1} sélectionnée{1}"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Fermer cette onglet"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.fr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "En cours de chargement..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Aujourd'hui",
|
||||
minText: "Cette date est antérieure à la date minimum",
|
||||
maxText: "Cette date est postérieure à la date maximum",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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)",
|
||||
format: "d/m/y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Annuler"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Veuillez patienter..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "La valeur de ce champ est invalide"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "La longueur minimum de ce champ est de {0} caractère(s)",
|
||||
maxLengthText: "La longueur maximum de ce champ est de {0} caractère(s)",
|
||||
blankText: "Ce champ est obligatoire",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ",",
|
||||
decimalPrecision: 2,
|
||||
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",
|
||||
negativeText: "La valeur de ce champ ne peut être négative"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.File", {
|
||||
override: "Ext.form.field.File",
|
||||
buttonText: "Parcourir..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "En cours de chargement..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Ce champ doit contenir une adresse email au format: "usager@example.com"',
|
||||
urlText: 'Ce champ doit contenir une URL au format suivant: "http:/' + '/www.example.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é (_)'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: "Veuillez entrer l'URL pour ce lien:"
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Gras (Ctrl+B)',
|
||||
text: 'Met le texte sélectionné en gras.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italique (Ctrl+I)',
|
||||
text: 'Met le texte sélectionné en italique.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Souligné (Ctrl+U)',
|
||||
text: 'Souligne le texte sélectionné.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Agrandir la police',
|
||||
text: 'Augmente la taille de la police.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Réduire la police',
|
||||
text: 'Réduit la taille de la police.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Couleur de surbrillance',
|
||||
text: 'Modifie la couleur de fond du texte sélectionné.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Couleur de police',
|
||||
text: 'Modifie la couleur du texte sélectionné.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Aligner à gauche',
|
||||
text: 'Aligne le texte à gauche.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrer',
|
||||
text: 'Centre le texte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Aligner à droite',
|
||||
text: 'Aligner le texte à droite.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Liste à puce',
|
||||
text: 'Démarre une liste à puce.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Liste numérotée',
|
||||
text: 'Démarre une liste numérotée.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Lien hypertexte',
|
||||
text: 'Transforme en lien hypertexte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Code source',
|
||||
text: 'Basculer en mode édition du code source.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Tri croissant",
|
||||
sortDescText: "Tri décroissant",
|
||||
columnsText: "Colonnes"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Aucun)',
|
||||
groupByText: 'Grouper par ce champ',
|
||||
showGroupsText: 'Afficher par groupes'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Propriété",
|
||||
valueText: "Valeur",
|
||||
dateFormat: "d/m/Y",
|
||||
trueText: "vrai",
|
||||
falseText: "faux"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "L'heure de ce champ ne peut être antérieure à {0}",
|
||||
maxText: "L'heure de ce champ ne peut être postérieure à {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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Vous devez sélectionner au moins un élément dans ce groupe"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Vous devez sélectionner au moins un élément dans ce groupe"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Annuler",
|
||||
yes: "Oui",
|
||||
no: "Non"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.fr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,214 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* France (Canadian) translation
|
||||
* By BernardChhun
|
||||
* 04-08-2007, 03:07 AM
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.shortMonthNames = ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.shortMonthNames[month];
|
||||
};
|
||||
|
||||
Ext.Date.monthNames = ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"];
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"Janvier": 0,
|
||||
"Janv": 0,
|
||||
"Février": 1,
|
||||
"Févr": 1,
|
||||
"Mars": 2,
|
||||
"Avril": 3,
|
||||
"Avr": 3,
|
||||
"Mai": 4,
|
||||
"Juin": 5,
|
||||
"Juillet": 6,
|
||||
"Juil": 6,
|
||||
"Août": 7,
|
||||
"Septembre": 8,
|
||||
"Sept": 8,
|
||||
"Octobre": 9,
|
||||
"Oct": 9,
|
||||
"Novembre": 10,
|
||||
"Nov": 10,
|
||||
"Décembre": 11,
|
||||
"Déc": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[Ext.util.Format.capitalize(name)];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '$',
|
||||
// Canadian Dollar
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} ligne(s) sélectionné(s)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Fermer cette onglet"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "La valeur de ce champ est invalide"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.fr_CA.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "En cours de chargement..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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",
|
||||
negativeText: "La valeur de ce champ ne peut être négative"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.File", {
|
||||
override: "Ext.form.field.File",
|
||||
buttonText: "Parcourir..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "En cours de chargement..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Ce champ doit contenir un courriel et doit être sous ce format: "usager@example.com"',
|
||||
urlText: 'Ce champ doit contenir une URL sous le format suivant: "http:/' + '/www.example.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é (_)'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Tri ascendant",
|
||||
sortDescText: "Tri descendant",
|
||||
lockText: "Verrouillé la colonne",
|
||||
unlockText: "Déverrouillé la colonne",
|
||||
columnsText: "Colonnes"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Propriété",
|
||||
valueText: "Valeur",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.fr_CA.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Annuler",
|
||||
yes: "Oui",
|
||||
no: "Non"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.fr_CA.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,170 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Greek (Old Version) Translations by Vagelis
|
||||
* 03-June-2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["ÉáíïõÜñéïò", "ÖåâñïõÜñéïò", "ÌÜñôéïò", "Áðñßëéïò", "ÌÜéïò", "Éïýíéïò", "Éïýëéïò", "Áýãïõóôïò", "ÓåðôÝìâñéïò", "Ïêôþâñéïò", "ÍïÝìâñéïò", "ÄåêÝìâñéïò"];
|
||||
|
||||
Ext.Date.dayNames = ["ÊõñéáêÞ", "ÄåõôÝñá", "Ôñßôç", "ÔåôÜñôç", "ÐÝìðôç", "ÐáñáóêåõÞ", "ÓÜââáôï"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Greek Euro
|
||||
dateFormat: 'ì/ç/Å'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} åðéëåãìÝíç(åò) ãñáììÞ(Ýò)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Êëåßóôå áõôÞ ôçí êáñôÝëá"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Ç ôéìÞ óôï ðåäßï äåí åßíáé Ýãêõñç"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.gr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Öüñôùóç..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "ÓÞìåñá",
|
||||
minText: "Ç çìåñïìçíßá áõôÞ åßíáé ðñéí ôçí ìéêñüôåñç çìåñïìçíßá",
|
||||
maxText: "Ç çìåñïìçíßá áõôÞ åßíáé ìåôÜ ôçí ìåãáëýôåñç çìåñïìçíßá",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Åðüìåíïò ÌÞíáò (Control+Right)',
|
||||
prevText: 'Ðñïçãïýìåíïò ÌÞíáò (Control+Left)',
|
||||
monthYearText: 'ÅðéëÝîôå ÌÞíá (Control+Up/Down ãéá ìåôáêßíçóç óôá Ýôç)',
|
||||
todayTip: "{0} (Spacebar)",
|
||||
format: "ì/ç/Å"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Óåëßäá",
|
||||
afterPageText: "áðü {0}",
|
||||
firstText: "Ðñþôç óåëßäá",
|
||||
prevText: "Ðñïçãïýìåíç óåëßäá",
|
||||
nextText: "Åðüìåíç óåëßäá",
|
||||
lastText: "Ôåëåõôáßá óåëßäá",
|
||||
refreshText: "ÁíáíÝùóç",
|
||||
displayMsg: "ÅìöÜíéóç {0} - {1} áðü {2}",
|
||||
emptyMsg: 'Äåí âñÝèçêáí åããñáöÝò ãéá åìöÜíéóç'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Ôï åëÜ÷éóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}",
|
||||
maxLengthText: "Ôï ìÝãéóôï ìÝãåèïò ãéá áõôü ôï ðåäßï åßíáé {0}",
|
||||
blankText: "Ôï ðåäßï áõôü åßíáé õðï÷ñåùôïêü",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Ç åëÜ÷éóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}",
|
||||
maxText: "Ç ìÝãéóôç ôéìÞ ãéá áõôü ôï ðåäßï åßíáé {0}",
|
||||
nanText: "{0} äåí åßíáé Ýãêõñïò áñéèìüò"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "ÁðåíåñãïðïéçìÝíï",
|
||||
disabledDatesText: "ÁðåíåñãïðïéçìÝíï",
|
||||
minText: "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìåôÜ áðü {0}",
|
||||
maxText: "Ç çìåñïìçíßá ó' áõôü ôï ðåäßï ðñÝðåé íá åßíáé ðñéí áðü {0}",
|
||||
invalidText: "{0} äåí åßíáé Ýãêõñç çìåñïìçíßá - ðñÝðåé íá åßíáé ôçò ìïñöÞò {1}",
|
||||
format: "ì/ç/Å"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Öüñôùóç..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé e-mail address ôçò ìïñöÞò "user@example.com"',
|
||||
urlText: 'Áõôü ôï ðåäßï ðñÝðåé íá åßíáé ìéá äéåýèõíóç URL ôçò ìïñöÞò "http:/' + '/www.example.com"',
|
||||
alphaText: 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá êáé _',
|
||||
alphanumText: 'Áõôü ôï ðåäßï ðñÝðåé íá ðåñéÝ÷åé ãñÜììáôá, áñéèìïýò êáé _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Áýîïõóá Ôáîéíüìçóç",
|
||||
sortDescText: "Öèßíïõóá Ôáîéíüìçóç",
|
||||
lockText: "Êëåßäùìá óôÞëçò",
|
||||
unlockText: "Îåêëåßäùìá óôÞëçò",
|
||||
columnsText: "ÓôÞëåò"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "¼íïìá",
|
||||
valueText: "ÔéìÞ",
|
||||
dateFormat: "ì/ç/Å"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.gr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "ÅíôÜîåé",
|
||||
cancel: "Áêýñùóç",
|
||||
yes: "Íáé",
|
||||
no: "¼÷é"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.gr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,292 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Hebrew Translations
|
||||
* By spartacus (from forums) 06-12-2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["א", "ב", "ג", "ד", "ה", "ו", "ש"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20aa',
|
||||
// Iraeli Shekel
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "שורות נבחרות {0}"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "סגור לשונית"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "הערך בשדה זה שגוי"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.he.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "...טוען"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "היום",
|
||||
minText: ".תאריך זה חל קודם לתאריך ההתחלתי שנקבע",
|
||||
maxText: ".תאריך זה חל לאחר התאריך הסופי שנקבע",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: '(Control+Right) החודש הבא',
|
||||
prevText: '(Control+Left) החודש הקודם',
|
||||
monthYearText: '(לבחירת שנה Control+Up/Down) בחר חודש',
|
||||
todayTip: "מקש רווח) {0})",
|
||||
format: "d/m/Y",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " אישור ",
|
||||
cancelText: "ביטול"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "עמוד",
|
||||
afterPageText: "{0} מתוך",
|
||||
firstText: "עמוד ראשון",
|
||||
prevText: "עמוד קודם",
|
||||
nextText: "עמוד הבא",
|
||||
lastText: "עמוד אחרון",
|
||||
refreshText: "רענן",
|
||||
displayMsg: "מציג {0} - {1} מתוך {2}",
|
||||
emptyMsg: 'אין מידע להצגה'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "{0} האורך המינימאלי לשדה זה הוא",
|
||||
maxLengthText: "{0} האורך המירבי לשדה זה הוא",
|
||||
blankText: "שדה זה הכרחי",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "{0} הערך המינימאלי לשדה זה הוא",
|
||||
maxText: "{0} הערך המירבי לשדה זה הוא",
|
||||
nanText: "הוא לא מספר {0}"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "...טוען"
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: '"user@example.com" שדה זה צריך להיות כתובת דואר אלקטרוני בפורמט',
|
||||
urlText: '"http:/' + '/www.example.com" שדה זה צריך להיות כתובת אינטרנט בפורמט',
|
||||
alphaText: '_שדה זה יכול להכיל רק אותיות ו',
|
||||
alphanumText: '_שדה זה יכול להכיל רק אותיות, מספרים ו'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: ':אנא הקלד את כתובת האינטרנט עבור הקישור'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: '(Ctrl+B) מודגש',
|
||||
text: '.הדגש את הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: '(Ctrl+I) נטוי',
|
||||
text: '.הטה את הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: '(Ctrl+U) קו תחתי',
|
||||
text: '.הוסף קן תחתי עבור הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'הגדל טקסט',
|
||||
text: '.הגדל גופן עבור הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'הקטן טקסט',
|
||||
text: '.הקטן גופן עבור הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'צבע רקע לטקסט',
|
||||
text: '.שנה את צבע הרקע עבור הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'צבע גופן',
|
||||
text: '.שנה את צבע הגופן עבור הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'ישור לשמאל',
|
||||
text: '.ישר שמאלה את הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'ישור למרכז',
|
||||
text: '.ישר למרכז את הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'ישור לימין',
|
||||
text: '.ישר ימינה את הטקסט הנבחר',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'רשימת נקודות',
|
||||
text: '.התחל רשימת נקודות',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'רשימה ממוספרת',
|
||||
text: '.התחל רשימה ממוספרת',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'קישור',
|
||||
text: '.הפוך את הטקסט הנבחר לקישור',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'עריכת קוד מקור',
|
||||
text: '.הצג קוד מקור',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "מיין בסדר עולה",
|
||||
sortDescText: "מיין בסדר יורד",
|
||||
lockText: "נעל עמודה",
|
||||
unlockText: "שחרר עמודה",
|
||||
columnsText: "עמודות"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(ריק)',
|
||||
groupByText: 'הצג בקבוצות לפי שדה זה',
|
||||
showGroupsText: 'הצג בקבוצות'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "שם",
|
||||
valueText: "ערך",
|
||||
dateFormat: "m/j/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.he.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "אישור",
|
||||
cancel: "ביטול",
|
||||
yes: "כן",
|
||||
no: "לא"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.he.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,295 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Croatian translation
|
||||
* By Ylodi (utf8 encoding)
|
||||
* 8 May 2007
|
||||
*
|
||||
* By Stjepan at gmail dot com (utf8 encoding)
|
||||
* 17 May 2008
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'kn',
|
||||
// Croation Kuna
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} odabranih redova"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zatvori ovaj tab"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Unesena vrijednost u ovom polju je neispravna"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.hr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Učitavanje..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Danas",
|
||||
minText: "Taj datum je prije najmanjeg datuma",
|
||||
maxText: "Taj datum je poslije najvećeg datuma",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " U redu ",
|
||||
cancelText: "Odustani"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimalna vrijednost za ovo polje je {0}",
|
||||
maxText: "Maksimalna vrijednost za ovo polje je {0}",
|
||||
nanText: "{0} nije ispravan broj"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Učitavanje..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Unesite URL za link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Podebljano (Ctrl+B)',
|
||||
text: 'Podebljavanje označenog teksta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kurziv (Ctrl+I)',
|
||||
text: 'Pretvaranje označenog tekst u kurziv',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Podcrtano (Ctrl+U)',
|
||||
text: 'Potcrtavanje označenog teksta',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Povećanje teksta',
|
||||
text: 'Povećavanje veličine fonta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Smanjivanje teksta',
|
||||
text: 'Smanjivanje veličine fonta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Boja označenog teksta',
|
||||
text: 'Promjena boje pozadine označenog teksta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Boja fonta',
|
||||
text: 'Promjena boje označenog teksta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Lijevo poravnanje teksta',
|
||||
text: 'Poravnanje teksta na lijevu stranu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centriranje teksta',
|
||||
text: 'Centriranje teksta u uređivaču teksta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Desno poravnanje teksta',
|
||||
text: 'Poravnanje teksta na desnu stranu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Označena lista',
|
||||
text: 'Započinjanje označene liste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numerirana lista',
|
||||
text: 'Započinjanje numerirane liste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hiperveza',
|
||||
text: 'Stvaranje hiperveze od označenog teksta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Uređivanje izvornog koda',
|
||||
text: 'Prebacivanje u način rada za uređivanje izvornog koda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortiraj rastućim redoslijedom",
|
||||
sortDescText: "Sortiraj padajućim redoslijedom",
|
||||
lockText: "Zaključaj stupac",
|
||||
unlockText: "Otključaj stupac",
|
||||
columnsText: "Stupci"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Ništa)',
|
||||
groupByText: 'Grupiranje po ovom polju',
|
||||
showGroupsText: 'Prikaz u grupama'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Naziv",
|
||||
valueText: "Vrijednost",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "U redu",
|
||||
cancel: "Odustani",
|
||||
yes: "Da",
|
||||
no: "Ne"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.hr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,296 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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)
|
||||
* encoding fixed by Vili (17 Feb 2009)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'Ft',
|
||||
// Hungarian Forint
|
||||
dateFormat: 'Y m d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} kiválasztott sor"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Fül bezárása"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Hibás érték!"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.hu.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Betöltés..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Mai nap",
|
||||
minText: "A dátum korábbi a megengedettnél",
|
||||
maxText: "A dátum későbbi a megengedettnél",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Mégsem"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "A mező tartalma nem lehet kissebb, mint {0}",
|
||||
maxText: "A mező tartalma nem lehet nagyobb, mint {0}",
|
||||
nanText: "{0} nem szám"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Betöltés..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.VTypes", {
|
||||
override: "Ext.form.field.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'
|
||||
});
|
||||
|
||||
|
||||
Ext.define("Ext.locale.hu.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Add meg a webcímet:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Félkövér (Ctrl+B)',
|
||||
text: 'Félkövérré teszi a kijelölt szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Dőlt (Ctrl+I)',
|
||||
text: 'Dőlté teszi a kijelölt szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Aláhúzás (Ctrl+U)',
|
||||
text: 'Aláhúzza a kijelölt szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Szöveg nagyítás',
|
||||
text: 'Növeli a szövegméretet.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Szöveg kicsinyítés',
|
||||
text: 'Csökkenti a szövegméretet.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Háttérszín',
|
||||
text: 'A kijelölt szöveg háttérszínét módosítja.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Szövegszín',
|
||||
text: 'A kijelölt szöveg színét módosítja.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Balra zárt',
|
||||
text: 'Balra zárja a szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Középre zárt',
|
||||
text: 'Középre zárja a szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Jobbra zárt',
|
||||
text: 'Jobbra zárja a szöveget.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Felsorolás',
|
||||
text: 'Felsorolást kezd.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Számozás',
|
||||
text: 'Számozott listát kezd.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hiperlink',
|
||||
text: 'A kijelölt szöveget linkké teszi.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Forrás nézet',
|
||||
text: 'Forrás nézetbe kapcsol.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Növekvő rendezés",
|
||||
sortDescText: "Csökkenő rendezés",
|
||||
lockText: "Oszlop zárolás",
|
||||
unlockText: "Oszlop feloldás",
|
||||
columnsText: "Oszlopok"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Nincs)',
|
||||
groupByText: 'Oszlop szerint csoportosítás',
|
||||
showGroupsText: 'Csoportos nézet'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Név",
|
||||
valueText: "Érték",
|
||||
dateFormat: "Y m j"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.hu.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Mégsem",
|
||||
yes: "Igen",
|
||||
no: "Nem"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.hu.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,313 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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.onReady(function() {
|
||||
var cm = Ext.ClassManager,
|
||||
exists = Ext.Function.bind(cm.get, cm);
|
||||
|
||||
if (Ext.Updater) {
|
||||
Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Pemuatan...</div>';
|
||||
}
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
if (Ext.MessageBox) {
|
||||
Ext.MessageBox.buttonText = {
|
||||
ok: "OK",
|
||||
cancel: "Batal",
|
||||
yes: "Ya",
|
||||
no: "Tidak"
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'Rp',
|
||||
// Indonesian Rupiah
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} baris terpilih"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Tutup tab ini"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Isian belum benar"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.id.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Pemuatan..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Hari ini",
|
||||
minText: "Tanggal ini sebelum batas tanggal minimal",
|
||||
maxText: "Tanggal ini setelah batas tanggal maksimal",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Batal"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Panjang minimal untuk field ini adalah {0}",
|
||||
maxLengthText: "Panjang maksimal untuk field ini adalah {0}",
|
||||
blankText: "Field ini wajib diisi",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Nilai minimal untuk field ini adalah {0}",
|
||||
maxText: "Nilai maksimal untuk field ini adalah {0}",
|
||||
nanText: "{0} bukan angka"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Pemuatan..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Field ini harus dalam format email seperti "user@example.com"',
|
||||
urlText: 'Field ini harus dalam format URL seperti "http:/' + '/www.example.com"',
|
||||
alphaText: 'Field ini harus terdiri dari huruf dan _',
|
||||
alphanumText: 'Field ini haris terdiri dari huruf, angka dan _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Silakan masukkan URL untuk tautan:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Tebal (Ctrl+B)',
|
||||
text: 'Buat tebal teks terpilih',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Miring (CTRL+I)',
|
||||
text: 'Buat miring teks terpilih',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Garisbawah (CTRl+U)',
|
||||
text: 'Garisbawahi teks terpilih',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Perbesar teks',
|
||||
text: 'Perbesar ukuran fonta',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Perkecil teks',
|
||||
text: 'Perkecil ukuran fonta',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Sorot Warna Teks',
|
||||
text: 'Ubah warna latar teks terpilih',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Warna Fonta',
|
||||
text: 'Ubah warna teks terpilih',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Rata Kiri',
|
||||
text: 'Ratakan teks ke kiri',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Rata Tengah',
|
||||
text: 'Ratakan teks ke tengah editor',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Rata Kanan',
|
||||
text: 'Ratakan teks ke kanan',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Daftar Bulet',
|
||||
text: 'Membuat daftar berbasis bulet',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Daftar Angka',
|
||||
text: 'Membuat daftar berbasis angka',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hipertaut',
|
||||
text: 'Buat teks terpilih sebagai Hipertaut',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Edit Kode Sumber',
|
||||
text: 'Pindah dalam mode kode sumber',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Urut Naik",
|
||||
sortDescText: "Urut Turun",
|
||||
lockText: "Kancing Kolom",
|
||||
unlockText: "Lepas Kunci Kolom",
|
||||
columnsText: "Kolom"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Kosong)',
|
||||
groupByText: 'Kelompokkan Berdasar Field Ini',
|
||||
showGroupsText: 'Tampil Dalam Kelompok'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nama",
|
||||
valueText: "Nilai",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.id.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Batal",
|
||||
yes: "Ya",
|
||||
no: "Tidak"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.id.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,341 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Italian translation
|
||||
* 28 Maggio 2012 updated by Fabio De Paolis (many changes, update to 4.1.0)
|
||||
* 21 Dicembre 2007 updated by Federico Grilli
|
||||
* 04 Ottobre 2007 updated by eric_void
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
Gen: 0,
|
||||
Feb: 1,
|
||||
Mar: 2,
|
||||
Apr: 3,
|
||||
Mag: 4,
|
||||
Giu: 5,
|
||||
Lug: 6,
|
||||
Ago: 7,
|
||||
Set: 8,
|
||||
Ott: 9,
|
||||
Nov: 10,
|
||||
Dic: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac', // Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} Righe selezionate"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Chiudi scheda"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Attendere..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
// invalidText: "The value in this field is invalid"
|
||||
invalidText: "Valore non valido"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.it.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Caricamento..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Oggi",
|
||||
minText: "Data precedente alla data minima",
|
||||
maxText: "Data successiva alla data massima",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Mese successivo (Control+Destra)',
|
||||
prevText: 'Mese precedente (Control+Sinistra)',
|
||||
monthYearText: 'Scegli un mese (Control+Sopra/Sotto per cambiare anno)',
|
||||
todayTip: "{0} (Barra spaziatrice)",
|
||||
format: "d/m/Y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Annulla"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Pagina",
|
||||
afterPageText: "di {0}",
|
||||
firstText: "Prima pagina",
|
||||
prevText: "Pagina precedente",
|
||||
nextText: "Pagina successiva",
|
||||
lastText: "Ultima pagina",
|
||||
refreshText: "Aggiorna",
|
||||
displayMsg: "Mostrati {0} - {1} di {2}",
|
||||
emptyMsg: 'Non ci sono dati da mostrare'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "La lunghezza minima \u00E8 {0}",
|
||||
maxLengthText: "La lunghezza massima \u00E8 {0}",
|
||||
blankText: "Campo obbligatorio",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ",",
|
||||
decimalPrecision: 2,
|
||||
minText: "Il valore minimo \u00E8 {0}",
|
||||
maxText: "Il valore massimo \u00E8 {0}",
|
||||
nanText: "{0} non \u00E8 un valore numerico valido"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Disabilitato",
|
||||
disabledDatesText: "Disabilitato",
|
||||
minText: "La data deve essere maggiore o uguale a {0}",
|
||||
maxText: "La data deve essere minore o uguale a {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"
|
||||
altFormats: "d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Caricamento..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Il campo deve essere un indirizzo e-mail nel formato "utente@esempio.com"',
|
||||
urlText: 'Il campo deve essere un indirizzo web nel formato "http:/' + '/www.esempio.com"',
|
||||
alphaText: 'Il campo deve contenere solo lettere e _',
|
||||
alphanumText: 'Il campo deve contenere solo lettere, numeri e _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Inserire un URL per il link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Grassetto (Ctrl+B)',
|
||||
text: 'Rende il testo selezionato in grassetto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Corsivo (Ctrl+I)',
|
||||
text: 'Rende il testo selezionato in corsivo.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Sottolinea (Ctrl+U)',
|
||||
text: 'Sottolinea il testo selezionato.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Ingrandisci testo',
|
||||
text: 'Aumenta la dimensione del carattere.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Rimpicciolisci testo',
|
||||
text: 'Diminuisce la dimensione del carattere.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Colore evidenziatore testo',
|
||||
text: 'Modifica il colore di sfondo del testo selezionato.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Colore carattere',
|
||||
text: 'Modifica il colore del testo selezionato.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Allinea a sinistra',
|
||||
text: 'Allinea il testo a sinistra.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centra',
|
||||
text: 'Centra il testo.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Allinea a destra',
|
||||
text: 'Allinea il testo a destra.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Elenco puntato',
|
||||
text: 'Elenco puntato.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Elenco numerato',
|
||||
text: 'Elenco numerato.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Collegamento',
|
||||
text: 'Trasforma il testo selezionato in un collegamanto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Sorgente',
|
||||
text: 'Passa alla modalit\u00E0 editing del sorgente.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordinamento crescente",
|
||||
sortDescText: "Ordinamento decrescente",
|
||||
lockText: "Blocca colonna",
|
||||
unlockText: "Sblocca colonna",
|
||||
columnsText: "Colonne"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Nessun dato)',
|
||||
groupByText: 'Raggruppa per questo campo',
|
||||
showGroupsText: 'Mostra nei gruppi'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Value",
|
||||
dateFormat: "j/m/Y",
|
||||
trueText: "true",
|
||||
falseText: "false"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.BooleanColumn", {
|
||||
override: "Ext.grid.BooleanColumn",
|
||||
trueText: "vero",
|
||||
falseText: "falso",
|
||||
undefinedText: ' '
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.NumberColumn", {
|
||||
override: "Ext.grid.NumberColumn",
|
||||
format: '0.000,00'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.grid.DateColumn", {
|
||||
override: "Ext.grid.DateColumn",
|
||||
format: 'd/m/Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "L'Ora deve essere maggiore o uguale a {0}",
|
||||
maxText: "L'Ora deve essere mainore o uguale a {0}",
|
||||
invalidText: "{0} non \u00E8 un Orario valido",
|
||||
// format: "g:i A",
|
||||
format: "H: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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Devi selezionare almeno un elemento nel gruppo"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Devi selezionare un elemento nel gruppo"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.it.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Annulla",
|
||||
yes: "Si",
|
||||
no: "No"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.it.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,330 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Japanese translation
|
||||
* By tyama
|
||||
* 04-08-2007, 05:49 AM
|
||||
*
|
||||
* update based on English Translations by Condor (8 Aug 2008)
|
||||
* By sakuro (30 Aug 2008)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
var parseCodes;
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return "" + (month + 1);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"1": 0,
|
||||
"2": 1,
|
||||
"3": 2,
|
||||
"4": 3,
|
||||
"5": 4,
|
||||
"6": 5,
|
||||
"7": 6,
|
||||
"8": 7,
|
||||
"9": 8,
|
||||
"10": 9,
|
||||
"11": 10,
|
||||
"12": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, name.length - 1)];
|
||||
// or simply parseInt(name.substring(0, name.length - 1)) - 1
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
|
||||
};
|
||||
|
||||
Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '午前' : '午後')";
|
||||
Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '午前' : '午後')"; // no case difference
|
||||
|
||||
parseCodes = {
|
||||
g: 1,
|
||||
c: "if (/(午前)/i.test(results[{0}])) {\n"
|
||||
+ "if (!h || h == 12) { h = 0; }\n"
|
||||
+ "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
|
||||
s: "(午前|午後)",
|
||||
calcAtEnd: true
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = parseCodes;
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '\u00a5',
|
||||
// Japanese Yen
|
||||
dateFormat: 'Y/m/d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} 行選択"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ja.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "読み込み中..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "今日",
|
||||
minText: "選択した日付は最小値以下です。",
|
||||
maxText: "選択した日付は最大値以上です。",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: '次月へ (コントロール+右)',
|
||||
prevText: '前月へ (コントロール+左)',
|
||||
monthYearText: '月選択 (コントロール+上/下で年移動)',
|
||||
todayTip: "{0} (スペースキー)",
|
||||
format: "Y/m/d",
|
||||
startDay: 0,
|
||||
ariaTitle: '{0}',
|
||||
ariaTitleDateFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
longDayFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
monthYearFormat: 'Y\u5e74m\u6708'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "キャンセル"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "ページ",
|
||||
afterPageText: "/ {0}",
|
||||
firstText: "最初のページ",
|
||||
prevText: "前のページ",
|
||||
nextText: "次のページ",
|
||||
lastText: "最後のページ",
|
||||
refreshText: "更新",
|
||||
displayMsg: "{2} 件中 {0} - {1} を表示",
|
||||
emptyMsg: '表示するデータがありません。'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "フィールドの値が不正です。"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "このフィールドの最小値は {0} です。",
|
||||
maxLengthText: "このフィールドの最大値は {0} です。",
|
||||
blankText: "必須項目です。",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ".",
|
||||
decimalPrecision: 2,
|
||||
minText: "このフィールドの最小値は {0} です。",
|
||||
maxText: "このフィールドの最大値は {0} です。",
|
||||
nanText: "{0} は数値ではありません。"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "無効",
|
||||
disabledDatesText: "無効",
|
||||
minText: "このフィールドの日付は、 {0} 以降の日付に設定してください。",
|
||||
maxText: "このフィールドの日付は、 {0} 以前の日付に設定してください。",
|
||||
invalidText: "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
|
||||
format: "Y/m/d",
|
||||
altFormats: "y/m/d|m/d/y|m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "読み込み中..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'メールアドレスを"user@example.com"の形式で入力してください。',
|
||||
urlText: 'URLを"http:/' + '/www.example.com"の形式で入力してください。',
|
||||
alphaText: '半角英字と"_"のみです。',
|
||||
alphanumText: '半角英数と"_"のみです。'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'リンクのURLを入力してください:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: '太字 (コントロール+B)',
|
||||
text: '選択テキストを太字にします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: '斜体 (コントロール+I)',
|
||||
text: '選択テキストを斜体にします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: '下線 (コントロール+U)',
|
||||
text: '選択テキストに下線を引きます。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: '文字を大きく',
|
||||
text: 'フォントサイズを大きくします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: '文字を小さく',
|
||||
text: 'フォントサイズを小さくします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: '文字のハイライト',
|
||||
text: '選択テキストの背景色を変更します。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: '文字の色',
|
||||
text: '選択テキストの色を変更します。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: '左揃え',
|
||||
text: 'テキストを左揃えにします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: '中央揃え',
|
||||
text: 'テキストを中央揃えにします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: '右揃え',
|
||||
text: 'テキストを右揃えにします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: '番号なし箇条書き',
|
||||
text: '番号なし箇条書きを開始します。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: '番号付き箇条書き',
|
||||
text: '番号付き箇条書きを開始します。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'ハイパーリンク',
|
||||
text: '選択テキストをハイパーリンクにします。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'ソース編集',
|
||||
text: 'ソース編集モードに切り替えます。',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "昇順",
|
||||
sortDescText: "降順",
|
||||
columnsText: "カラム"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(なし)',
|
||||
groupByText: 'このカラムでグルーピング',
|
||||
showGroupsText: 'グルーピング'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "名称",
|
||||
valueText: "値",
|
||||
dateFormat: "Y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
|
||||
maxText: "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
|
||||
invalidText: "{0} は間違った時刻入力です。",
|
||||
format: "g:i A",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "このグループから最低1つのアイテムを選択しなければなりません。"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "このグループから1つのアイテムを選択しなければなりません。"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ja.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "キャンセル",
|
||||
yes: "はい",
|
||||
no: "いいえ"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ja.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,266 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Korean Translations By nicetip
|
||||
* 05 September 2007
|
||||
* Modify by techbug / 25 February 2008
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"];
|
||||
|
||||
Ext.Date.dayNames = ["일", "월", "화", "수", "목", "금", "토"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '\u20a9',
|
||||
// Korean Won
|
||||
dateFormat: 'm/d/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} 개가 선택되었습니다."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "닫기"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "올바른 값이 아닙니다."
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ko.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "로딩중..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "오늘",
|
||||
minText: "최소 날짜범위를 넘었습니다.",
|
||||
maxText: "최대 날짜범위를 넘었습니다.",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: '다음달(컨트롤키+오른쪽 화살표)',
|
||||
prevText: '이전달 (컨트롤키+왼족 화살표)',
|
||||
monthYearText: '월을 선택해주세요. (컨트롤키+위/아래 화살표)',
|
||||
todayTip: "{0} (스페이스바)",
|
||||
format: "m/d/y",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: "확인",
|
||||
cancelText: "취소"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "페이지",
|
||||
afterPageText: "/ {0}",
|
||||
firstText: "첫 페이지",
|
||||
prevText: "이전 페이지",
|
||||
nextText: "다음 페이지",
|
||||
lastText: "마지막 페이지",
|
||||
refreshText: "새로고침",
|
||||
displayMsg: "전체 {2} 중 {0} - {1}",
|
||||
emptyMsg: '표시할 데이터가 없습니다.'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "최소길이는 {0}입니다.",
|
||||
maxLengthText: "최대길이는 {0}입니다.",
|
||||
blankText: "값을 입력해주세요.",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "최소값은 {0}입니다.",
|
||||
maxText: "최대값은 {0}입니다.",
|
||||
nanText: "{0}는 올바른 숫자가 아닙니다."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "비활성",
|
||||
disabledDatesText: "비활성",
|
||||
minText: "{0}일 이후여야 합니다.",
|
||||
maxText: "{0}일 이전이어야 합니다.",
|
||||
invalidText: "{0}는 올바른 날짜형식이 아닙니다. - 다음과 같은 형식이어야 합니다. {1}",
|
||||
format: "m/d/y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "로딩중..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: '이메일 주소 형식에 맞게 입력해야합니다. (예: "user@example.com")',
|
||||
urlText: 'URL 형식에 맞게 입력해야합니다. (예: "http:/' + '/www.example.com")',
|
||||
alphaText: '영문, 밑줄(_)만 입력할 수 있습니다.',
|
||||
alphanumText: '영문, 숫자, 밑줄(_)만 입력할 수 있습니다.'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'URL을 입력해주세요:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: '굵게 (Ctrl+B)',
|
||||
text: '선택한 텍스트를 굵게 표시합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: '기울임꼴 (Ctrl+I)',
|
||||
text: '선택한 텍스트를 기울임꼴로 표시합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: '밑줄 (Ctrl+U)',
|
||||
text: '선택한 텍스트에 밑줄을 표시합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: '글꼴크기 늘림',
|
||||
text: '글꼴 크기를 크게 합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: '글꼴크기 줄임',
|
||||
text: '글꼴 크기를 작게 합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: '텍스트 강조 색',
|
||||
text: '선택한 텍스트의 배경색을 변경합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: '글꼴색',
|
||||
text: '선택한 텍스트의 색을 변경합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: '텍스트 왼쪽 맞춤',
|
||||
text: '왼쪽에 텍스트를 맞춥니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: '가운데 맞춤',
|
||||
text: '가운데에 텍스트를 맞춥니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: '텍스트 오른쪽 맞춤',
|
||||
text: '오른쪽에 텍스트를 맞춥니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: '글머리 기호',
|
||||
text: '글머리 기호 목록을 시작합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: '번호 매기기',
|
||||
text: '번호 매기기 목록을 시작합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: '하이퍼링크',
|
||||
text: '선택한 텍스트에 하이퍼링크를 만듭니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: '소스편집',
|
||||
text: '소스편집 모드로 변환합니다.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "오름차순 정렬",
|
||||
sortDescText: "내림차순 정렬",
|
||||
lockText: "칼럼 잠금",
|
||||
unlockText: "칼럼 잠금해제",
|
||||
columnsText: "칼럼 목록"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: '현재 필드로 그룹핑합니다.',
|
||||
showGroupsText: '그룹으로 보여주기'
|
||||
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "항목",
|
||||
valueText: "값",
|
||||
dateFormat: "m/j/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ko.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "확인",
|
||||
cancel: "취소",
|
||||
yes: "예",
|
||||
no: "아니오"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ko.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,333 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Lithuanian Translations (UTF-8)
|
||||
* Vladas Saulis (vladas at prodata dot lt), 03-29-2009
|
||||
* Vladas Saulis (vladas at prodata dot lt), 10-18-2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
// Uncommons
|
||||
if (month == 7) return "Rgp";
|
||||
if (month == 8) return "Rgs";
|
||||
if (month == 11) return "Grd";
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
Sau: 0,
|
||||
Vas: 1,
|
||||
Kov: 2,
|
||||
Bal: 3,
|
||||
Geg: 4,
|
||||
Bir: 5,
|
||||
Lie: 6,
|
||||
Rgp: 7,
|
||||
Rgs: 8,
|
||||
Spa: 9,
|
||||
Lap: 10,
|
||||
Grd: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
|
||||
// Some uncommons
|
||||
if (name == "Rugpjūtis") return 7;
|
||||
if (name == "Rugsėjis") return 8;
|
||||
if (name == "Gruodis") return 11;
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"];
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:as|as|as|as)";
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'Lt',
|
||||
// Lithuanian Litai
|
||||
dateFormat: 'Y-m-d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} pažymėtų eilučių"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Uždaryti šią užsklandą"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Šio lauko reikšmė neteisinga"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.lt.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Kraunasi..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Šiandien",
|
||||
minText: "Ši data yra mažesnė už leistiną",
|
||||
maxText: "Ši data yra didesnė už leistiną",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Kitas mėnuo (Control+Right)',
|
||||
prevText: 'Ankstesnis mėnuo (Control+Left)',
|
||||
monthYearText: 'Pasirinkti mėnesį (Control+Up/Down perėjimui tarp metų)',
|
||||
todayTip: "{0} (Tarpas)",
|
||||
format: "y-m-d",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " Gerai ",
|
||||
cancelText: "Atsisaktyi"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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ų'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Minimalus šio lauko ilgis yra {0}",
|
||||
maxLengthText: "Maksimalus šio lauko ilgis yra {0}",
|
||||
blankText: "Šis laukas yra privalomas",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimalus šio lauko ilgis yra {0}",
|
||||
maxText: "Maksimalus šio lauko ilgis yra {0}",
|
||||
nanText: "{0} yra neleistina reikšmė"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Kraunasi..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Šiame lauke turi būti el.pašto adresas formatu "user@example.com"',
|
||||
urlText: 'Šiame lauke turi būti nuoroda (URL) formatu "http:/' + '/www.example.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 "_"'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Įveskite URL šiai nuorodai:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Teksto paryškinimas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Kursyvinis tekstas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Teksto pabraukimas.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Padidinti šriftą',
|
||||
text: 'Padidinti šrifto dydį.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Sumažinti šriftą',
|
||||
text: 'Sumažinti šrifto dydį.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Nuspalvinti teksto foną',
|
||||
text: 'Pakeisti teksto fono spalvą.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Teksto spalva',
|
||||
text: 'Pakeisti pažymėto teksto spalvą.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Išlyginti kairen',
|
||||
text: 'Išlyginti tekstą į kairę.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centruoti tekstą',
|
||||
text: 'Centruoti tektą redaktoriaus lange.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Išlyginti dešinėn',
|
||||
text: 'Išlyginti tekstą į dešinę.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Paprastas sąrašas',
|
||||
text: 'Pradėti neorganizuotą sąrašą.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numeruotas sąrašas',
|
||||
text: 'Pradėti numeruotą sąrašą.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Nuoroda',
|
||||
text: 'Padaryti pažymėta tekstą nuoroda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Išeities tekstas',
|
||||
text: 'Persijungti į išeities teksto koregavimo režimą.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Palaukite..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Rūšiuoti didėjančia tvarka",
|
||||
sortDescText: "Rūšiuoti mažėjančia tvarka",
|
||||
lockText: "Užfiksuoti stulpelį",
|
||||
unlockText: "Atlaisvinti stulpelį",
|
||||
columnsText: "Stulpeliai"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Nėra)',
|
||||
groupByText: 'Grupuoti pagal šį lauką',
|
||||
showGroupsText: 'Rodyti grupėse'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Pavadinimas",
|
||||
valueText: "Reikšmė",
|
||||
dateFormat: "Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
minText: "Laikas turi buti lygus arba vėlesnis už {0}",
|
||||
maxText: "Laikas turi būti lygus arba ankstesnis už {0}",
|
||||
invalidText: "{0} yra neteisingas laikas",
|
||||
format: "H: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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: "Jūs turite padaryti bent vieną pasirinkimą šioje grupėje"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lt.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Gerai",
|
||||
cancel: "Atsisakyti",
|
||||
yes: "Taip",
|
||||
no: "Ne"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.lt.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Latvian Translations
|
||||
* By salix 17 April 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"];
|
||||
|
||||
Ext.Date.dayNames = ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'Ls',
|
||||
// Latvian Lati
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} iezīmētu rindu"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Aizver šo zīmni"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Vērtība šajā laukā nav pareiza"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.lv.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Ielādē..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimālais garums šim laukam ir {0}",
|
||||
maxText: "Maksimālais garums šim laukam ir {0}",
|
||||
nanText: "{0} nav pareizs skaitlis"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Ielādē..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.form.field.VTypes", {
|
||||
override: "Ext.form.field.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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Kārtot pieaugošā secībā",
|
||||
sortDescText: "Kārtot dilstošā secībā",
|
||||
lockText: "Noslēgt kolonnu",
|
||||
unlockText: "Atslēgt kolonnu",
|
||||
columnsText: "Kolonnas"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nosaukums",
|
||||
valueText: "Vērtība",
|
||||
dateFormat: "j.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.lv.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Labi",
|
||||
cancel: "Atcelt",
|
||||
yes: "Jā",
|
||||
no: "Nē"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.lv.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Macedonia translation
|
||||
* By PetarD petar.dimitrijevic@vorteksed.com.mk (utf8 encoding)
|
||||
* 23 April 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"];
|
||||
|
||||
Ext.Date.dayNames = ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u0434\u0435\u043d',
|
||||
// Macedonian Denar
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} избрани редици"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Затвори tab"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Вредноста во ова поле е невалидна"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.mk.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Вчитувам..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Денеска",
|
||||
minText: "Овој датум е пред најмалиот датум",
|
||||
maxText: "Овој датум е пред најголемиот датум",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Следен месец (Control+Стрелка десно)',
|
||||
prevText: 'Претходен месец (Control+Стрелка лево)',
|
||||
monthYearText: 'Изберете месец (Control+Стрелка горе/Стрелка десно за менување година)',
|
||||
todayTip: "{0} (Spacebar)",
|
||||
format: "d.m.y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Страница",
|
||||
afterPageText: "од {0}",
|
||||
firstText: "Прва Страница",
|
||||
prevText: "Претходна Страница",
|
||||
nextText: "Следна Страница",
|
||||
lastText: "Последна Страница",
|
||||
refreshText: "Освежи",
|
||||
displayMsg: "Прикажувам {0} - {1} од {2}",
|
||||
emptyMsg: 'Нема податоци за приказ'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Минималната должина за ова поле е {0}",
|
||||
maxLengthText: "Максималната должина за ова поле е {0}",
|
||||
blankText: "Податоците во ова поле се потребни",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Минималната вредност за ова поле е {0}",
|
||||
maxText: "Максималната вредност за ова поле е {0}",
|
||||
nanText: "{0} не е валиден број"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Неактивно",
|
||||
disabledDatesText: "Неактивно",
|
||||
minText: "Датумот во ова поле мора да биде пред {0}",
|
||||
maxText: "Датумот во ова поле мора да биде по {0}",
|
||||
invalidText: "{0} не е валиден датум - мора да биде во формат {1}",
|
||||
format: "d.m.y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Вчитувам..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Ова поле треба да биде e-mail адреса во формат "user@example.com"',
|
||||
urlText: 'Ова поле треба да биде URL во формат "http:/' + '/www.example.com"',
|
||||
alphaText: 'Ова поле треба да содржи само букви и _',
|
||||
alphanumText: 'Ова поле треба да содржи само букви, бројки и _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Сортирај Растечки",
|
||||
sortDescText: "Сортирај Опаѓачки",
|
||||
lockText: "Заклучи Колона",
|
||||
unlockText: "Отклучи колона",
|
||||
columnsText: "Колони"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Име",
|
||||
valueText: "Вредност",
|
||||
dateFormat: "m.d.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.mk.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Потврди",
|
||||
cancel: "Поништи",
|
||||
yes: "Да",
|
||||
no: "Не"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.mk.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,319 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
*
|
||||
* Dutch Translations
|
||||
* by Ido Sebastiaan Bas van Oostveen (12 Oct 2007)
|
||||
* updated to 2.2 by Condor (8 Aug 2008)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
if (month == 2) {
|
||||
return 'mrt';
|
||||
}
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
jan: 0,
|
||||
feb: 1,
|
||||
mrt: 2,
|
||||
apr: 3,
|
||||
mei: 4,
|
||||
jun: 5,
|
||||
jul: 6,
|
||||
aug: 7,
|
||||
sep: 8,
|
||||
okt: 9,
|
||||
nov: 10,
|
||||
dec: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
var sname = name.substring(0, 3).toLowerCase();
|
||||
if (sname == 'maa') {
|
||||
return 2;
|
||||
}
|
||||
return Ext.Date.monthNumbers[sname];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.S.s = "(?:ste|e)";
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Dutch Euro
|
||||
dateFormat: 'j-m-Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ''
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: '{0} geselecteerde rij(en)'
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.nl.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: 'Bezig met laden...'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: 'Vandaag',
|
||||
minText: 'Deze datum is eerder dan de minimale datum',
|
||||
maxText: 'Deze datum is later dan de maximale datum',
|
||||
disabledDaysText: '',
|
||||
disabledDatesText: '',
|
||||
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',
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: ' OK ',
|
||||
cancelText: 'Annuleren'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: 'De waarde van dit veld is ongeldig'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
decimalSeparator: ",",
|
||||
decimalPrecision: 2,
|
||||
minText: 'De minimale waarde van dit veld is {0}',
|
||||
maxText: 'De maximale waarde van dit veld is {0}',
|
||||
nanText: '{0} is geen geldig getal'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: 'Bezig met laden...'
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.VTypes", {
|
||||
override: "Ext.form.field.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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Vul hier de URL voor de hyperlink in:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Vet (Ctrl+B)',
|
||||
text: 'Maak de geselecteerde tekst vet.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Cursief (Ctrl+I)',
|
||||
text: 'Maak de geselecteerde tekst cursief.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Onderstrepen (Ctrl+U)',
|
||||
text: 'Onderstreep de geselecteerde tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Tekst vergroten',
|
||||
text: 'Vergroot het lettertype.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Tekst verkleinen',
|
||||
text: 'Verklein het lettertype.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Tekst achtergrondkleur',
|
||||
text: 'Verander de achtergrondkleur van de geselecteerde tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Tekst kleur',
|
||||
text: 'Verander de kleur van de geselecteerde tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Tekst links uitlijnen',
|
||||
text: 'Lijn de tekst links uit.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Tekst centreren',
|
||||
text: 'Centreer de tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Tekst rechts uitlijnen',
|
||||
text: 'Lijn de tekst rechts uit.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Opsommingstekens',
|
||||
text: 'Begin een ongenummerde lijst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Genummerde lijst',
|
||||
text: 'Begin een genummerde lijst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Maak van de geselecteerde tekst een hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Bron aanpassen',
|
||||
text: 'Schakel modus over naar bron aanpassen.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: 'Sorteer oplopend',
|
||||
sortDescText: 'Sorteer aflopend',
|
||||
columnsText: 'Kolommen'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Geen)',
|
||||
groupByText: 'Dit veld groeperen',
|
||||
showGroupsText: 'Toon in groepen'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: 'Naam',
|
||||
valueText: 'Waarde',
|
||||
dateFormat: 'j-m-Y'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.field.Time", {
|
||||
override: "Ext.form.field.Time",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.CheckboxGroup", {
|
||||
override: "Ext.form.CheckboxGroup",
|
||||
blankText: 'Selecteer minimaal een element in deze groep'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.form.RadioGroup", {
|
||||
override: "Ext.form.RadioGroup",
|
||||
blankText: 'Selecteer een element in deze groep'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.nl.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: 'OK',
|
||||
cancel: 'Annuleren',
|
||||
yes: 'Ja',
|
||||
no: 'Nee'
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.nl.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,294 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* Norwegian translation (Bokmål: no-NB)
|
||||
* By Tore Kjørsvik 21-January-2008
|
||||
*
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'kr',
|
||||
// Norwegian Krone
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} markert(e) rad(er)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Lukk denne fanen"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Verdien i dette feltet er ugyldig"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.no_NB.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Laster..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "I dag",
|
||||
minText: "Denne datoen er før tidligste tillatte dato",
|
||||
maxText: "Denne datoen er etter seneste tillatte dato",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Avbryt"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Laster..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Vennligst skriv inn URL for lenken:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Fet (Ctrl+B)',
|
||||
text: 'Gjør den valgte teksten fet.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursiv (Ctrl+I)',
|
||||
text: 'Gjør den valgte teksten kursiv.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Understrek (Ctrl+U)',
|
||||
text: 'Understrek den valgte teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Forstørr tekst',
|
||||
text: 'Gjør fontstørrelse større.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Forminsk tekst',
|
||||
text: 'Gjør fontstørrelse mindre.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Tekst markeringsfarge',
|
||||
text: 'Endre bakgrunnsfarge til den valgte teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font farge',
|
||||
text: 'Endre farge på den valgte teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Venstrejuster tekst',
|
||||
text: 'Venstrejuster teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Sentrer tekst',
|
||||
text: 'Sentrer teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Høyrejuster tekst',
|
||||
text: 'Høyrejuster teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Punktliste',
|
||||
text: 'Start en punktliste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Nummerert liste',
|
||||
text: 'Start en nummerert liste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Lenke',
|
||||
text: 'Gjør den valgte teksten til en lenke.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Rediger kilde',
|
||||
text: 'Bytt til kilderedigeringsvisning.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sorter stigende",
|
||||
sortDescText: "Sorter synkende",
|
||||
lockText: "Lås kolonne",
|
||||
unlockText: "Lås opp kolonne",
|
||||
columnsText: "Kolonner"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Ingen)',
|
||||
groupByText: 'Grupper etter dette feltet',
|
||||
showGroupsText: 'Vis i grupper'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NB.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Navn",
|
||||
valueText: "Verdi",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Avbryt",
|
||||
yes: "Ja",
|
||||
no: "Nei"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.no_NB.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,294 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* Norwegian translation (Nynorsk: no-NN)
|
||||
* By Tore Kjørsvik 21-January-2008
|
||||
*
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Søndag", "Måndag", "Tysdag", "Onsdag", "Torsdag", "Fredag", "Laurdag"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'kr',
|
||||
// Norwegian Krone
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} markert(e) rad(er)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Lukk denne fana"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Verdien i dette feltet er ugyldig"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.no_NN.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Lastar..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "I dag",
|
||||
minText: "Denne datoen er før tidlegaste tillatne dato",
|
||||
maxText: "Denne datoen er etter seinaste tillatne dato",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Avbryt"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Lastar..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Ver venleg og skriv inn URL for lenken:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Feit (Ctrl+B)',
|
||||
text: 'Gjer den valde teksten feit.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursiv (Ctrl+I)',
|
||||
text: 'Gjer den valde teksten kursiv.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Understrek (Ctrl+U)',
|
||||
text: 'Understrek den valde teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Forstørr tekst',
|
||||
text: 'Gjer fontstorleik større.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Forminsk tekst',
|
||||
text: 'Gjer fontstorleik mindre.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Tekst markeringsfarge',
|
||||
text: 'Endre bakgrunnsfarge til den valde teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font farge',
|
||||
text: 'Endre farge på den valde teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Venstrejuster tekst',
|
||||
text: 'Venstrejuster teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Sentrer tekst',
|
||||
text: 'Sentrer teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Høgrejuster tekst',
|
||||
text: 'Høgrejuster teksten.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Punktliste',
|
||||
text: 'Start ei punktliste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Nummerert liste',
|
||||
text: 'Start ei nummerert liste.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Lenke',
|
||||
text: 'Gjer den valde teksten til ei lenke.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Rediger kjelde',
|
||||
text: 'Bytt til kjelderedigeringsvising.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sorter stigande",
|
||||
sortDescText: "Sorter fallande",
|
||||
lockText: "Lås kolonne",
|
||||
unlockText: "Lås opp kolonne",
|
||||
columnsText: "Kolonner"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Ingen)',
|
||||
groupByText: 'Grupper etter dette feltet',
|
||||
showGroupsText: 'Vis i grupper'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Namn",
|
||||
valueText: "Verdi",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.no_NN.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Avbryt",
|
||||
yes: "Ja",
|
||||
no: "Nei"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.no_NN.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,312 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Polish Translations
|
||||
* By vbert 17-April-2007
|
||||
* Updated by mmar 16-November-2007
|
||||
* Encoding: utf-8
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"];
|
||||
|
||||
Ext.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.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u007a\u0142',
|
||||
// Polish Zloty
|
||||
dateFormat: 'Y-m-d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} wybrano wiersze(y)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zamknij zakładkę"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Wartość tego pola jest niewłaściwa"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.pl.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Wczytywanie danych..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
startDay: 1,
|
||||
todayText: "Dzisiaj",
|
||||
minText: "Data jest wcześniejsza od daty minimalnej",
|
||||
maxText: "Data jest późniejsza od daty maksymalnej",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Anuluj"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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ść"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Wczytuję..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Wprowadź adres URL strony:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Pogrubienie (Ctrl+B)',
|
||||
text: 'Ustaw styl zaznaczonego tekstu na pogrubiony.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Kursywa (Ctrl+I)',
|
||||
text: 'Ustaw styl zaznaczonego tekstu na kursywę.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Podkreślenie (Ctrl+U)',
|
||||
text: 'Podkreśl zaznaczony tekst.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Zwiększ czcionkę',
|
||||
text: 'Zwiększ rozmiar czcionki.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Zmniejsz czcionkę',
|
||||
text: 'Zmniejsz rozmiar czcionki.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Wyróżnienie',
|
||||
text: 'Zmień kolor wyróżnienia zaznaczonego tekstu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Kolor czcionki',
|
||||
text: 'Zmień kolor zaznaczonego tekstu.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Do lewej',
|
||||
text: 'Wyrównaj tekst do lewej.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Wyśrodkuj',
|
||||
text: 'Wyrównaj tekst do środka.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Do prawej',
|
||||
text: 'Wyrównaj tekst do prawej.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Lista wypunktowana',
|
||||
text: 'Rozpocznij listę wypunktowaną.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Lista numerowana',
|
||||
text: 'Rozpocznij listę numerowaną.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hiperłącze',
|
||||
text: 'Przekształć zaznaczony tekst w hiperłącze.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Edycja źródła',
|
||||
text: 'Przełącz w tryb edycji źródła.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortuj rosnąco",
|
||||
sortDescText: "Sortuj malejąco",
|
||||
lockText: "Zablokuj kolumnę",
|
||||
unlockText: "Odblokuj kolumnę",
|
||||
columnsText: "Kolumny"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: 'Grupuj po tym polu',
|
||||
showGroupsText: 'Pokaż w grupach'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nazwa",
|
||||
valueText: "Wartość",
|
||||
dateFormat: "Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pl.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Anuluj",
|
||||
yes: "Tak",
|
||||
no: "Nie"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.pl.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,261 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||
|
||||
Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Portugese Euro
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} linha(s) seleccionada(s)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Fechar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "O valor para este campo é inválido"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.pt.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Carregando..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Hoje",
|
||||
minText: "Esta data é anterior à menor data",
|
||||
maxText: "Esta data é posterior à maior data",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancelar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Carregando..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Por favor, entre com o URL do link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Negrito (Ctrl+B)',
|
||||
text: 'Deixa o texto seleccionado em negrito.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italico (Ctrl+I)',
|
||||
text: 'Deixa o texto seleccionado em italico.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Sublinhado (Ctrl+U)',
|
||||
text: 'Sublinha o texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Aumentar Texto',
|
||||
text: 'Aumenta o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Diminuir Texto',
|
||||
text: 'Diminui o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Cor de Fundo',
|
||||
text: 'Muda a cor do fundo do texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Cor da Fonte',
|
||||
text: 'Muda a cor do texto seleccionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Alinhar à Esquerda',
|
||||
text: 'Alinha o texto à esquerda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrar Texto',
|
||||
text: 'Centra o texto no editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Alinhar à Direita',
|
||||
text: 'Alinha o texto à direita.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Lista com Marcadores',
|
||||
text: 'Inicia uma lista com marcadores.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Lista Numerada',
|
||||
text: 'Inicia uma lista numerada.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperligação',
|
||||
text: 'Transforma o texto selecionado num hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Editar Fonte',
|
||||
text: 'Troca para o modo de edição de código fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordem Ascendente",
|
||||
sortDescText: "Ordem Descendente",
|
||||
lockText: "Bloquear Coluna",
|
||||
unlockText: "Desbloquear Coluna",
|
||||
columnsText: "Colunas"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nome",
|
||||
valueText: "Valor",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancelar",
|
||||
yes: "Sim",
|
||||
no: "Não"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.pt.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,287 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: 'R$',
|
||||
// Brazilian Real
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
Ext.util.Format.brMoney = Ext.util.Format.currency;
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} linha(s) selecionada(s)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Fechar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "O valor para este campo é inválido"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.pt_BR.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Carregando..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Hoje",
|
||||
minText: "Esta data é anterior a menor data",
|
||||
maxText: "Esta data é posterior a maior data",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancelar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Carregando..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Este campo deve ser um endereço de e-mail válido, no formato "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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Por favor, entre com a URL do link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Negrito (Ctrl+B)',
|
||||
text: 'Deixa o texto selecionado em negrito.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Itálico (Ctrl+I)',
|
||||
text: 'Deixa o texto selecionado em itálico.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Sublinhado (Ctrl+U)',
|
||||
text: 'Sublinha o texto selecionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Aumentar Texto',
|
||||
text: 'Aumenta o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Diminuir Texto',
|
||||
text: 'Diminui o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Cor de Fundo',
|
||||
text: 'Muda a cor do fundo do texto selecionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Cor da Fonte',
|
||||
text: 'Muda a cor do texto selecionado.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Alinhar à Esquerda',
|
||||
text: 'Alinha o texto à esquerda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centralizar Texto',
|
||||
text: 'Centraliza o texto no editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Alinhar à Direita',
|
||||
text: 'Alinha o texto à direita.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Lista com Marcadores',
|
||||
text: 'Inicia uma lista com marcadores.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Lista Numerada',
|
||||
text: 'Inicia uma lista numerada.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Link',
|
||||
text: 'Transforma o texto selecionado em um link.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Editar Fonte',
|
||||
text: 'Troca para o modo de edição de código fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordem Ascendente",
|
||||
sortDescText: "Ordem Descendente",
|
||||
lockText: "Bloquear Coluna",
|
||||
unlockText: "Desbloquear Coluna",
|
||||
columnsText: "Colunas"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nome",
|
||||
valueText: "Valor",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_BR.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancelar",
|
||||
yes: "Sim",
|
||||
no: "Não"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.pt_BR.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,298 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Portuguese/Portugal (pt_PT) Translation
|
||||
* by Nuno Franco da Costa - francodacosta.com
|
||||
* translated from ext-lang-en.js
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.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
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Portugese Euro
|
||||
dateFormat: 'Y/m/d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} linha(s) seleccionada(s)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.tab.Tab", {
|
||||
override: "Ext.TabPanelItem",
|
||||
closeText: "Fechar aba"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.pt_PT.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "A carregar..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Hoje",
|
||||
minText: "A data é anterior ao mínimo definido",
|
||||
maxText: "A data é posterior ao máximo definido",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Mês Seguinte (Control+Right)',
|
||||
prevText: 'Mês Anterior (Control+Left)',
|
||||
monthYearText: 'Escolha um mês (Control+Up/Down avaç;ar/recuar anos)',
|
||||
todayTip: "{0} (barra de espaç;o)",
|
||||
format: "y/m/d",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Cancelar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Página",
|
||||
afterPageText: "de {0}",
|
||||
firstText: "Primeira Página",
|
||||
prevText: "Página Anterior",
|
||||
nextText: "Pr%oacute;xima Página",
|
||||
lastText: "Última Página",
|
||||
refreshText: "Recaregar",
|
||||
displayMsg: "A mostrar {0} - {1} de {2}",
|
||||
emptyMsg: 'Sem dados para mostrar'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "O valor deste campo é inválido"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "O comprimento mínimo deste campo &eaute; {0}",
|
||||
maxLengthText: "O comprimento máximo deste campo &eaute; {0}",
|
||||
blankText: "Este campo é de preenchimento obrigatório",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "O valor mínimo deste campo &eaute; {0}",
|
||||
maxText: "O valor máximo deste campo &eaute; {0}",
|
||||
nanText: "{0} não é um numero"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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 estar no seguinte formato{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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "A Carregar..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Este campo deve ser um endereç;o de email 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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Indique o endereç;o do link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Negrito (Ctrl+B)',
|
||||
text: 'Transforma o texto em Negrito.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Itálico (Ctrl+I)',
|
||||
text: 'Transforma o texto em itálico.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Sublinhar (Ctrl+U)',
|
||||
text: 'Sublinha o texto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Aumentar texto',
|
||||
text: 'Aumenta o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Encolher texto',
|
||||
text: 'Diminui o tamanho da fonte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Côr de fundo do texto',
|
||||
text: 'Altera a côr de fundo do texto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Côr do texo',
|
||||
text: 'Altera a aôr do texo.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'ALinhar à esquerda',
|
||||
text: 'ALinha o texto à esquerda.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrar',
|
||||
text: 'Centra o texto.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'ALinhar à direita',
|
||||
text: 'ALinha o texto &agravce; direita.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Lista',
|
||||
text: 'Inicia uma lista.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Lista Numerada',
|
||||
text: 'Inicia uma lista numerada.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Transforma o texto num hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Editar código',
|
||||
text: 'Alterar para o modo de ediç;ão de código.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Por favor espere..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Ordenaç;ão Crescente",
|
||||
sortDescText: "Ordenaç;ão Decrescente",
|
||||
lockText: "Fixar Coluna",
|
||||
unlockText: "Libertar Coluna",
|
||||
columnsText: "Colunas"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Nenhum)',
|
||||
groupByText: 'Agrupar por este campo',
|
||||
showGroupsText: 'Mostrar nos Grupos'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nome",
|
||||
valueText: "Valor",
|
||||
dateFormat: "Y/j/m"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.pt_PT.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Cancelar",
|
||||
yes: "Sim",
|
||||
no: "Não"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.pt_PT.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,293 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* 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
|
||||
* Fixed some errors left behind
|
||||
* Changed by: Emil Cazamir, 2008-09-01
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
Ian: 0,
|
||||
Feb: 1,
|
||||
Mar: 2,
|
||||
Apr: 3,
|
||||
Mai: 4,
|
||||
Iun: 5,
|
||||
Iul: 6,
|
||||
Aug: 7,
|
||||
Sep: 8,
|
||||
Oct: 9,
|
||||
Noi: 10,
|
||||
Dec: 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'Lei',
|
||||
// Romanian Lei
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} rând(uri) selectate"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Închide acest tab"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Valoarea acestui câmp este invalidă"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ro.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Încărcare..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Astăzi",
|
||||
minText: "Această dată este anterioară datei minime",
|
||||
maxText: "Această dată este ulterioară datei maxime",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Renunță"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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ările {0} - {1} din {2}",
|
||||
emptyMsg: 'Nu sunt date de afișat'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Încărcare..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Vă rugăm introduceti un URL pentru această legătură web:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Îngroşat (Ctrl+B)',
|
||||
text: 'Îngroşati caracterele textului selectat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Înclinat (Ctrl+I)',
|
||||
text: 'Înclinaţi caracterele textului selectat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Subliniat (Ctrl+U)',
|
||||
text: 'Subliniaţi caracterele textului selectat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Mărit',
|
||||
text: 'Măreşte dimensiunea fontului.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Micşorat',
|
||||
text: 'Micşorează dimensiunea textului.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Culoarea fundalului',
|
||||
text: 'Schimbă culoarea fundalului pentru textul selectat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Culoarea textului',
|
||||
text: 'Schimbă culoarea textului selectat.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Aliniat la stânga',
|
||||
text: 'Aliniază textul la stânga.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Centrat',
|
||||
text: 'Centrează textul în editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Aliniat la dreapta',
|
||||
text: 'Aliniază textul la dreapta.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Listă cu puncte',
|
||||
text: 'Inserează listă cu puncte.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Listă numerotată',
|
||||
text: 'Inserează o listă numerotată.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Legătură web',
|
||||
text: 'Transformă textul selectat în legătură web.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Editare sursă',
|
||||
text: 'Schimbă pe modul de editare al codului HTML.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortare ascendentă",
|
||||
sortDescText: "Sortare descendentă",
|
||||
lockText: "Blochează coloana",
|
||||
unlockText: "Deblochează coloana",
|
||||
columnsText: "Coloane"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Fără)',
|
||||
groupByText: 'Grupează după această coloană',
|
||||
showGroupsText: 'Afișează grupat'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Nume",
|
||||
valueText: "Valoare",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ro.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Renunţă",
|
||||
yes: "Da",
|
||||
no: "Nu"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ro.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,301 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Russian translation
|
||||
* By ZooKeeper (utf-8 encoding)
|
||||
* 6 November 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"];
|
||||
|
||||
Ext.Date.shortMonthNames = ["Янв", "Февр", "Март", "Апр", "Май", "Июнь", "Июль", "Авг", "Сент", "Окт", "Нояб", "Дек"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.shortMonthNames[month];
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
'Янв': 0,
|
||||
'Фев': 1,
|
||||
'Мар': 2,
|
||||
'Апр': 3,
|
||||
'Май': 4,
|
||||
'Июн': 5,
|
||||
'Июл': 6,
|
||||
'Авг': 7,
|
||||
'Сен': 8,
|
||||
'Окт': 9,
|
||||
'Ноя': 10,
|
||||
'Дек': 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u0440\u0443\u0431',
|
||||
// Russian Ruble
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} выбранных строк"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Закрыть эту вкладку"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Значение в этом поле неверное"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ru.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Загрузка..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Сегодня",
|
||||
minText: "Эта дата раньше минимальной даты",
|
||||
maxText: "Эта дата позже максимальной даты",
|
||||
disabledDaysText: "Недоступно",
|
||||
disabledDatesText: "Недоступно",
|
||||
nextText: 'Следующий месяц (Control+Вправо)',
|
||||
prevText: 'Предыдущий месяц (Control+Влево)',
|
||||
monthYearText: 'Выбор месяца (Control+Вверх/Вниз для выбора года)',
|
||||
todayTip: "{0} (Пробел)",
|
||||
format: "d.m.y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Отмена"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Страница",
|
||||
afterPageText: "из {0}",
|
||||
firstText: "Первая страница",
|
||||
prevText: "Предыдущая страница",
|
||||
nextText: "Следующая страница",
|
||||
lastText: "Последняя страница",
|
||||
refreshText: "Обновить",
|
||||
displayMsg: "Отображаются записи с {0} по {1}, всего {2}",
|
||||
emptyMsg: 'Нет данных для отображения'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Минимальная длина этого поля {0}",
|
||||
maxLengthText: "Максимальная длина этого поля {0}",
|
||||
blankText: "Это поле обязательно для заполнения",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Значение этого поля не может быть меньше {0}",
|
||||
maxText: "Значение этого поля не может быть больше {0}",
|
||||
nanText: "{0} не является числом",
|
||||
negativeText: "Значение не может быть отрицательным"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Загрузка..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Это поле должно содержать адрес электронной почты в формате "user@example.com"',
|
||||
urlText: 'Это поле должно содержать URL в формате "http:/' + '/www.example.com"',
|
||||
alphaText: 'Это поле должно содержать только латинские буквы и символ подчеркивания "_"',
|
||||
alphanumText: 'Это поле должно содержать только латинские буквы, цифры и символ подчеркивания "_"'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Пожалуйста, введите адрес:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Полужирный (Ctrl+B)',
|
||||
text: 'Применение полужирного начертания к выделенному тексту.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Курсив (Ctrl+I)',
|
||||
text: 'Применение курсивного начертания к выделенному тексту.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Подчёркнутый (Ctrl+U)',
|
||||
text: 'Подчёркивание выделенного текста.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Увеличить размер',
|
||||
text: 'Увеличение размера шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Уменьшить размер',
|
||||
text: 'Уменьшение размера шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Заливка',
|
||||
text: 'Изменение цвета фона для выделенного текста или абзаца.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Цвет текста',
|
||||
text: 'Измение цвета текста.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Выровнять текст по левому краю',
|
||||
text: 'Вырaвнивание текста по левому краю.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'По центру',
|
||||
text: 'Вырaвнивание текста по центру.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Выровнять текст по правому краю',
|
||||
text: 'Вырaвнивание текста по правому краю.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Маркеры',
|
||||
text: 'Начать маркированный список.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Нумерация',
|
||||
text: 'Начать нумернованный список.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Вставить гиперссылку',
|
||||
text: 'Создание ссылки из выделенного текста.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Исходный код',
|
||||
text: 'Переключиться на исходный код.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.form.Basic", {
|
||||
override: "Ext.form.Basic",
|
||||
waitTitle: "Пожалуйста, подождите..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Сортировать по возрастанию",
|
||||
sortDescText: "Сортировать по убыванию",
|
||||
lockText: "Закрепить столбец",
|
||||
unlockText: "Снять закрепление столбца",
|
||||
columnsText: "Столбцы"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Пусто)',
|
||||
groupByText: 'Группировать по этому полю',
|
||||
showGroupsText: 'Отображать по группам'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Название",
|
||||
valueText: "Значение",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ru.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Отмена",
|
||||
yes: "Да",
|
||||
no: "Нет"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ru.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
* Slovak Translation by Michal Thomka
|
||||
* 14 April 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"];
|
||||
|
||||
Ext.Date.dayNames = ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Slovakian Euro
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} označených riadkov"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zavrieť túto záložku"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Hodnota v tomto poli je nesprávna"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.sk.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Nahrávam..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
nextText: 'Ďalší mesiac (Control+Doprava)',
|
||||
prevText: 'Predchádzajúci mesiac (Control+Doľava)',
|
||||
monthYearText: 'Vyberte mesiac (Control+Hore/Dole pre posun rokov)',
|
||||
todayTip: "{0} (Medzerník)",
|
||||
format: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Strana",
|
||||
afterPageText: "z {0}",
|
||||
firstText: 'Prvá strana',
|
||||
prevText: 'Predchádzajúca strana',
|
||||
nextText: 'Ďalšia strana',
|
||||
lastText: "Posledná strana",
|
||||
refreshText: "Obnoviť",
|
||||
displayMsg: "Zobrazujem {0} - {1} z {2}",
|
||||
emptyMsg: 'Žiadne dáta'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimálna hodnota pre toto pole je {0}",
|
||||
maxText: "Maximálna hodnota pre toto pole je {0}",
|
||||
nanText: "{0} je nesprávne číslo"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Nahrávam..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Toto pole musí byť e-mailová adresa vo formáte "user@example.com"',
|
||||
urlText: 'Toto pole musí byť URL vo formáte "http:/' + '/www.example.com"',
|
||||
alphaText: 'Toto pole može obsahovať iba písmená a znak _',
|
||||
alphanumText: 'Toto pole može obsahovať iba písmená, čísla a znak _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Zoradiť vzostupne",
|
||||
sortDescText: "Zoradiť zostupne",
|
||||
lockText: 'Zamknúť stĺpec',
|
||||
unlockText: 'Odomknúť stĺpec',
|
||||
columnsText: 'Stĺpce'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Názov",
|
||||
valueText: "Hodnota",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sk.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Zrušiť",
|
||||
yes: "Áno",
|
||||
no: "Nie"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.sk.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,170 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Slovenian translation by Matjaž (UTF-8 encoding)
|
||||
* 25 April 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"];
|
||||
|
||||
Ext.Date.dayNames = ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ac',
|
||||
// Slovenian Euro
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} izbranih vrstic"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zapri zavihek"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Neveljavna vrednost"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.sl.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Nalagam..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Danes",
|
||||
minText: "Navedeni datum je pred spodnjim datumom",
|
||||
maxText: "Navedeni datum je za zgornjim datumom",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Minimalna dolžina tega polja je {0}",
|
||||
maxLengthText: "Maksimalna dolžina tega polja je {0}",
|
||||
blankText: "To polje je obvezno",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimalna vrednost tega polja je {0}",
|
||||
maxText: "Maksimalna vrednost tega polja je {0}",
|
||||
nanText: "{0} ni veljavna številka"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Nalagam..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortiraj naraščajoče",
|
||||
sortDescText: "Sortiraj padajoče",
|
||||
lockText: "Zakleni stolpec",
|
||||
unlockText: "Odkleni stolpec",
|
||||
columnsText: "Stolpci"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Ime",
|
||||
valueText: "Vrednost",
|
||||
dateFormat: "j.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sl.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "V redu",
|
||||
cancel: "Prekliči",
|
||||
yes: "Da",
|
||||
no: "Ne"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.sl.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,174 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Serbian Latin Translation
|
||||
* by Atila Hajnal (latin, utf8 encoding)
|
||||
* sr
|
||||
* 14 Sep 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Januar", "Februar", "Mart", "April", "Мај", "Jun", "Јul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"];
|
||||
|
||||
Ext.Date.dayNames = ["Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u0414\u0438\u043d\u002e',
|
||||
// Serbian Dinar
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: "Ne postoji ni jedan slog"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} izabranih redova"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Zatvori оvu »karticu«"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Unešena vrednost nije pravilna"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.sr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Učitavam..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Danas",
|
||||
minText: "Datum је ispred najmanjeg dozvoljenog datuma",
|
||||
maxText: "Datum је nakon najvećeg dozvoljenog datuma",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Minimalna dužina ovog polja је {0}",
|
||||
maxLengthText: "Maksimalna dužina ovog polja је {0}",
|
||||
blankText: "Polje је obavezno",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Minimalna vrednost u polju је {0}",
|
||||
maxText: "Maksimalna vrednost u polju је {0}",
|
||||
nanText: "{0} nije pravilan broj"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Učitavam..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Rastući redosled",
|
||||
sortDescText: "Opadajući redosled",
|
||||
lockText: "Zaključaj kolonu",
|
||||
unlockText: "Otključaj kolonu",
|
||||
columnsText: "Kolone"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Naziv",
|
||||
valueText: "Vrednost",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "U redu",
|
||||
cancel: "Odustani",
|
||||
yes: "Da",
|
||||
no: "Ne"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.sr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,173 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Serbian Cyrillic Translation
|
||||
* by Čolovic Vladan (cyrillic, utf8 encoding)
|
||||
* sr_RS (ex: sr_CS, sr_YU)
|
||||
* 12 May 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"];
|
||||
|
||||
Ext.Date.dayNames = ["Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u0414\u0438\u043d\u002e',
|
||||
// Serbian Dinar
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} изабраних редова"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Затвори ову »картицу«"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Унешена вредност није правилна"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.sr_RS.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Учитавам..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Данас",
|
||||
minText: "Датум је испред најмањег дозвољеног датума",
|
||||
maxText: "Датум је након највећег дозвољеног датума",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Следећи месец (Control+Десно)',
|
||||
prevText: 'Претходни месец (Control+Лево)',
|
||||
monthYearText: 'Изаберите месец (Control+Горе/Доле за избор године)',
|
||||
todayTip: "{0} (Размакница)",
|
||||
format: "d.m.y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Страна",
|
||||
afterPageText: "од {0}",
|
||||
firstText: "Прва страна",
|
||||
prevText: "Претходна страна",
|
||||
nextText: "Следећа страна",
|
||||
lastText: "Последња страна",
|
||||
refreshText: "Освежи",
|
||||
displayMsg: "Приказана {0} - {1} од {2}",
|
||||
emptyMsg: 'Немам шта приказати'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Минимална дужина овог поља је {0}",
|
||||
maxLengthText: "Максимална дужина овог поља је {0}",
|
||||
blankText: "Поље је обавезно",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Минимална вредност у пољу је {0}",
|
||||
maxText: "Максимална вредност у пољу је {0}",
|
||||
nanText: "{0} није правилан број"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Пасивно",
|
||||
disabledDatesText: "Пасивно",
|
||||
minText: "Датум у овом пољу мора бити након {0}",
|
||||
maxText: "Датум у овом пољу мора бити пре {0}",
|
||||
invalidText: "{0} није правилан датум - захтевани облик је {1}",
|
||||
format: "d.m.y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Учитавам..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Ово поље прихвата e-mail адресу искључиво у облику "korisnik@domen.com"',
|
||||
urlText: 'Ово поље прихвата URL адресу искључиво у облику "http:/' + '/www.domen.com"',
|
||||
alphaText: 'Ово поље може садржати искључиво слова и знак _',
|
||||
alphanumText: 'Ово поље може садржати само слова, бројеве и знак _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Растући редослед",
|
||||
sortDescText: "Опадајући редослед",
|
||||
lockText: "Закључај колону",
|
||||
unlockText: "Откључај колону",
|
||||
columnsText: "Колоне"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Назив",
|
||||
valueText: "Вредност",
|
||||
dateFormat: "d.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sr_RS.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "У реду",
|
||||
cancel: "Одустани",
|
||||
yes: "Да",
|
||||
no: "Не"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.sr_RS.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,173 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Swedish translation (utf8-encoding)
|
||||
* By Erik Andersson, Monator Technologies
|
||||
* 24 April 2007
|
||||
* Changed by Cariad, 29 July 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"];
|
||||
|
||||
Ext.Date.dayNames = ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'kr',
|
||||
// Swedish Krone
|
||||
dateFormat: 'Y-m-d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} markerade rad(er)"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Stäng denna flik"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Värdet i detta fält är inte tillåtet"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.sv_SE.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Laddar..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Laddar..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.form.field.VTypes", {
|
||||
override: "Ext.form.field.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 "_"'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sortera stigande",
|
||||
sortDescText: "Sortera fallande",
|
||||
lockText: "Lås kolumn",
|
||||
unlockText: "Lås upp kolumn",
|
||||
columnsText: "Kolumner"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Namn",
|
||||
valueText: "Värde",
|
||||
dateFormat: "Y-m-d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.sv_SE.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Avbryt",
|
||||
yes: "Ja",
|
||||
no: "Nej"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.sv_SE.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,294 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by KillerNay on the extjs.com forums.
|
||||
* Thank you KillerNay!
|
||||
*
|
||||
* Thailand Translations
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["รยกรร’โฌร", "ยกรรลธร’ร“ลธร‘ยนลพรฌ", "รร•ยนร’โฌร", "ร รรร’รยน", "ลธรรร€ร’โฌร", "รร”ยถรยนร’รยน", "ยกรยกยฏร’โฌร", "รร”ยงรร’โฌร", "ยกร‘ยนรร’รยน", "ยตรร…ร’โฌร", "ลธรรลกร”ยกร’รยน", "ลพร‘ยนรร’โฌร"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"รโฌ": 0,
|
||||
"ยกลธ": 1,
|
||||
"รร•โฌ": 2,
|
||||
"ร รร": 3,
|
||||
"ลธโฌ": 4,
|
||||
"รร”ร": 5,
|
||||
"ยกโฌ": 6,
|
||||
"รโฌ": 7,
|
||||
"ยกร": 8,
|
||||
"ยตโฌ": 9,
|
||||
"ลธร": 10,
|
||||
"ลพโฌ": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["รร’ยทร”ยตรรฌ", "ลกร‘ยนยทรรฌ", "รร‘ยงโฌร’ร", "ลธรร—ลพ", "ลธรรร‘รยบลฝร•", "รรยกรรฌ", "ร รร’รรฌ"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day].substring(0, 3);
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u0e3f',
|
||||
// Thai Baht
|
||||
dateFormat: 'm/d/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} ร ร…ร—รยกรกร…รฉรยทร‘รฉยงรรลฝรกยถร"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "ยปร”ลฝรกยทรงยบยนร•รฉ"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "โฌรจร’ยขรยงยชรจรยงยนร•รฉรครรจยถรยกยตรฉรยง"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.th.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "ยกร“ร…ร‘ยงรขรร…ลฝ..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "รร‘ยนยนร•รฉ",
|
||||
minText: "This date is before the minimum date",
|
||||
maxText: "This date is after the maximum date",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'ร ลฝร—รยนยถร‘ลฝรคยป (Control+Right)',
|
||||
prevText: 'ร ลฝร—รยนยกรจรยนรยนรฉร’ (Control+Left)',
|
||||
monthYearText: 'ร ร…ร—รยกร ลฝร—รยน (Control+Up/Down to move years)',
|
||||
todayTip: "{0} (Spacebar)",
|
||||
format: "m/d/y",
|
||||
startDay: 0
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " ยตยกร…ยง ",
|
||||
cancelText: "รยกร ร…ร”ยก"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "รยนรฉร’",
|
||||
afterPageText: "of {0}",
|
||||
firstText: "รยนรฉร’รกรยก",
|
||||
prevText: "ยกรจรยนรยนรฉร’",
|
||||
nextText: "ยถร‘ลฝรคยป",
|
||||
lastText: "รยนรฉร’รรลฝยทรฉร’ร",
|
||||
refreshText: "รร•ร ยฟรยช",
|
||||
displayMsg: "ยกร“ร…ร‘ยงรกรลฝยง {0} - {1} ลกร’ยก {2}",
|
||||
emptyMsg: 'รครรจรร•ยขรฉรรรร…รกรลฝยง'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "ยกร“ร…ร‘ยงรขรร…ลฝ..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'This field should be an e-mail address in the format "user@example.com"',
|
||||
urlText: 'This field should be a URL in the format "http:/' + '/www.example.com"',
|
||||
alphaText: 'This field should only contain letters and _',
|
||||
alphanumText: 'This field should only contain letters, numbers and _'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Please enter the URL for the link:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Bold (Ctrl+B)',
|
||||
text: 'Make the selected text bold.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Italic (Ctrl+I)',
|
||||
text: 'Make the selected text italic.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Underline (Ctrl+U)',
|
||||
text: 'Underline the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Grow Text',
|
||||
text: 'Increase the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Shrink Text',
|
||||
text: 'Decrease the font size.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Text Highlight Color',
|
||||
text: 'Change the background color of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Font Color',
|
||||
text: 'Change the color of the selected text.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Align Text Left',
|
||||
text: 'Align text to the left.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Center Text',
|
||||
text: 'Center text in the editor.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Align Text Right',
|
||||
text: 'Align text to the right.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Bullet List',
|
||||
text: 'Start a bulleted list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numbered List',
|
||||
text: 'Start a numbered list.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Hyperlink',
|
||||
text: 'Make the selected text a hyperlink.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Source Edit',
|
||||
text: 'Switch to source editing mode.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Sort Ascending",
|
||||
sortDescText: "Sort Descending",
|
||||
lockText: "Lock Column",
|
||||
unlockText: "Unlock Column",
|
||||
columnsText: "Columns"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(None)',
|
||||
groupByText: 'Group By This Field',
|
||||
showGroupsText: 'Show in Groups'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Name",
|
||||
valueText: "Value",
|
||||
dateFormat: "m/j/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.th.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "ยตยกร…ยง",
|
||||
cancel: "รยกร ร…ร”ยก",
|
||||
yes: "รฃยชรจ",
|
||||
no: "รครรจรฃยชรจ"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.th.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,290 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"];
|
||||
|
||||
Ext.Date.getShortMonthName = function(month) {
|
||||
return Ext.Date.monthNames[month].substring(0, 3);
|
||||
};
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"Ocak": 0,
|
||||
"Şubat": 1,
|
||||
"Mart": 2,
|
||||
"Nisan": 3,
|
||||
"Mayıs": 4,
|
||||
"Haziran": 5,
|
||||
"Temmuz": 6,
|
||||
"Ağustos": 7,
|
||||
"Eylül": 8,
|
||||
"Ekim": 9,
|
||||
"Kasım": 10,
|
||||
"Aralık": 11
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name) {
|
||||
return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
|
||||
};
|
||||
|
||||
Ext.Date.dayNames = ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"];
|
||||
|
||||
Ext.Date.shortDayNames = ["Paz", "Pzt", "Sal", "Çrş", "Prş", "Cum", "Cmt"];
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.shortDayNames[day];
|
||||
};
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: 'TL',
|
||||
// Turkish Lira
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.grid.Grid", {
|
||||
override: "Ext.grid.Grid",
|
||||
ddText: "Seçili satır sayısı : {0}"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Sekmeyi kapat"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Bu alandaki değer geçersiz"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.tr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Yükleniyor ..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
nextText: 'Gelecek Ay (Control+Right)',
|
||||
prevText: 'Önceki Ay (Control+Left)',
|
||||
monthYearText: 'Bir ay seçiniz (Yılı artırmak/azaltmak için Control+Up/Down)',
|
||||
todayTip: "{0} (Boşluk Tuşu - Spacebar)",
|
||||
format: "d/m/Y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: "*Tamam*",
|
||||
cancelText: "İptal"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "En az {0} girilebilir",
|
||||
maxText: "En çok {0} girilebilir",
|
||||
nanText: "{0} geçersiz bir sayıdır"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Yükleniyor ..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Bu alan "user@example.com" şeklinde elektronik posta formatında olmalıdır',
|
||||
urlText: 'Bu alan "http://www.example.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'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Lütfen bu bağlantı için gerekli URL adresini giriniz:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Kalın(Bold) (Ctrl+B)',
|
||||
text: 'Seçili yazıyı kalın yapar.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'İtalik(Italic) (Ctrl+I)',
|
||||
text: 'Seçili yazıyı italik yapar.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Alt Çizgi(Underline) (Ctrl+U)',
|
||||
text: 'Seçili yazının altını çizer.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Fontu büyült',
|
||||
text: 'Yazı fontunu büyütür.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Fontu küçült',
|
||||
text: 'Yazı fontunu küçültür.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Arka Plan Rengi',
|
||||
text: 'Seçili yazının arka plan rengini değiştir.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Yazı Rengi',
|
||||
text: 'Seçili yazının rengini değiştir.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Sola Daya',
|
||||
text: 'Yazıyı sola daya.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Ortala',
|
||||
text: 'Yazıyı editörde ortala.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Sağa daya',
|
||||
text: 'Yazıyı sağa daya.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Noktalı Liste',
|
||||
text: 'Noktalı listeye başla.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Numaralı Liste',
|
||||
text: 'Numaralı lisyeye başla.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Web Adresi(Hyperlink)',
|
||||
text: 'Seçili yazıyı web adresi(hyperlink) yap.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Kaynak kodu Düzenleme',
|
||||
text: 'Kaynak kodu düzenleme moduna geç.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Artan sırada sırala",
|
||||
sortDescText: "Azalan sırada sırala",
|
||||
lockText: "Kolonu kilitle",
|
||||
unlockText: "Kolon kilidini kaldır",
|
||||
columnsText: "Kolonlar"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.grid.GroupingFeature", {
|
||||
override: "Ext.grid.GroupingFeature",
|
||||
emptyGroupText: '(Yok)',
|
||||
groupByText: 'Bu Alana Göre Grupla',
|
||||
showGroupsText: 'Gruplar Halinde Göster'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Ad",
|
||||
valueText: "Değer",
|
||||
dateFormat: "d/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.tr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Tamam",
|
||||
cancel: "İptal",
|
||||
yes: "Evet",
|
||||
no: "Hayır"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.tr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,262 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Ukrainian translations for ExtJS (UTF-8 encoding)
|
||||
*
|
||||
* Original translation by zlatko
|
||||
* 3 October 2007
|
||||
*
|
||||
* Updated by dev.ashevchuk@gmail.com
|
||||
* 01.09.2009
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"];
|
||||
|
||||
Ext.Date.dayNames = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П’ятниця", "Субота"];
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20b4',
|
||||
// Ukranian Hryvnia
|
||||
dateFormat: 'd.m.Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: "<Порожньо>"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} обраних рядків"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Закрити цю вкладку"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Хибне значення"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.ukr.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Завантаження..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "Сьогодні",
|
||||
minText: "Ця дата меньша за мінімальну допустиму дату",
|
||||
maxText: "Ця дата більша за максимальну допустиму дату",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: 'Наступний місяць (Control+Вправо)',
|
||||
prevText: 'Попередній місяць (Control+Вліво)',
|
||||
monthYearText: 'Вибір місяця (Control+Вверх/Вниз для вибору року)',
|
||||
todayTip: "{0} (Пробіл)",
|
||||
format: "d.m.y",
|
||||
startDay: 1
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: " OK ",
|
||||
cancelText: "Відміна"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "Сторінка",
|
||||
afterPageText: "з {0}",
|
||||
firstText: "Перша сторінка",
|
||||
prevText: "Попередня сторінка",
|
||||
nextText: "Наступна сторінка",
|
||||
lastText: "Остання сторінка",
|
||||
refreshText: "Освіжити",
|
||||
displayMsg: "Відображення записів з {0} по {1}, всього {2}",
|
||||
emptyMsg: 'Дані для відображення відсутні'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "Мінімальна довжина цього поля {0}",
|
||||
maxLengthText: "Максимальна довжина цього поля {0}",
|
||||
blankText: "Це поле є обов’язковим для заповнення",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "Значення у цьому полі не може бути меньше {0}",
|
||||
maxText: "Значення у цьому полі не може бути більше {0}",
|
||||
nanText: "{0} не є числом"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "Не доступно",
|
||||
disabledDatesText: "Не доступно",
|
||||
minText: "Дата у цьому полі повинна бути більша {0}",
|
||||
maxText: "Дата у цьому полі повинна бути меньша {0}",
|
||||
invalidText: "{0} хибна дата - дата повинна бути вказана у форматі {1}",
|
||||
format: "d.m.y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Завантаження..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: 'Це поле повинно містити адресу електронної пошти у форматі "user@example.com"',
|
||||
urlText: 'Це поле повинно містити URL у форматі "http:/' + '/www.example.com"',
|
||||
alphaText: 'Це поле повинно містити виключно латинські літери та символ підкреслення "_"',
|
||||
alphanumText: 'Це поле повинно містити виключно латинські літери, цифри та символ підкреслення "_"'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: 'Будь-ласка введіть адресу:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: 'Напівжирний (Ctrl+B)',
|
||||
text: 'Зробити напівжирним виділений текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: 'Курсив (Ctrl+I)',
|
||||
text: 'Зробити курсивом виділений текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: 'Підкреслений (Ctrl+U)',
|
||||
text: 'Зробити підкресленим виділений текст.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: 'Збільшити розмір',
|
||||
text: 'Збільшити розмір шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: 'Зменьшити розмір',
|
||||
text: 'Зменьшити розмір шрифта.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: 'Заливка',
|
||||
text: 'Змінити колір фону для виділеного тексту або абзацу.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: 'Колір тексту',
|
||||
text: 'Змінити колір виділеного тексту або абзацу.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: 'Вирівняти текст по лівому полю',
|
||||
text: 'Вирівнювання тексту по лівому полю.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: 'Вирівняти текст по центру',
|
||||
text: 'Вирівнювання тексту по центру.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: 'Вирівняти текст по правому полю',
|
||||
text: 'Вирівнювання тексту по правому полю.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: 'Маркери',
|
||||
text: 'Почати маркований список.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: 'Нумерація',
|
||||
text: 'Почати нумернований список.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: 'Вставити гіперпосилання',
|
||||
text: 'Створення посилання із виділеного тексту.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: 'Джерельний код',
|
||||
text: 'Режим редагування джерельного коду.',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "Сортувати по зростанню",
|
||||
sortDescText: "Сортувати по спаданню",
|
||||
lockText: "Закріпити стовпець",
|
||||
unlockText: "Відкріпити стовпець",
|
||||
columnsText: "Стовпці"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Назва",
|
||||
valueText: "Значення",
|
||||
dateFormat: "j.m.Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.ukr.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "OK",
|
||||
cancel: "Відміна",
|
||||
yes: "Так",
|
||||
no: "Ні"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.ukr.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,200 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* List compiled by mystix on the extjs.com forums.
|
||||
* Thank you Mystix!
|
||||
* Vietnamese translation
|
||||
* By bpmtri
|
||||
* 12-April-2007 04:06PM
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.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"];
|
||||
|
||||
Ext.Date.dayNames = ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"];
|
||||
|
||||
Ext.Date.monthNumbers = {
|
||||
"Tháng 1": 0,
|
||||
"Tháng 2": 1,
|
||||
"Tháng 3": 2,
|
||||
"Tháng 4": 3,
|
||||
"Tháng 5": 4,
|
||||
"Tháng 6": 5,
|
||||
"Tháng 7": 6,
|
||||
"Tháng 8": 7,
|
||||
"Tháng 9": 8,
|
||||
"Tháng 10": 9,
|
||||
"Tháng 11": 10,
|
||||
"Tháng 12": 11,
|
||||
};
|
||||
|
||||
Ext.Date.getShortMonthName = function(month){
|
||||
return Ext.Date.monthNames[month];
|
||||
};
|
||||
|
||||
Ext.Date.getMonthNumber = function(name){
|
||||
return Ext.Date.monthNumbers[name];
|
||||
};
|
||||
|
||||
Ext.Date.getShortDayName = function(day) {
|
||||
return Ext.Date.dayNames[day];
|
||||
}
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: '.',
|
||||
decimalSeparator: ',',
|
||||
currencySign: '\u20ab',
|
||||
// Vietnamese Dong
|
||||
dateFormat: 'd/m/Y'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "{0} dòng được chọn"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "Đóng thẻ này"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "Giá trị của ô này không hợp lệ."
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.vn.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "Đang tải..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
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: "",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
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ị'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
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
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
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ệ"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "Đang tải..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.form.field.VTypes", {
|
||||
override: "Ext.form.field.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.example.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(_)'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
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"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "Tên",
|
||||
valueText: "Giá trị",
|
||||
dateFormat: "j/m/Y"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.vn.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "Đồng ý",
|
||||
cancel: "Hủy bỏ",
|
||||
yes: "Có",
|
||||
no: "Không"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.vn.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,295 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Simplified Chinese translation
|
||||
* By DavidHu
|
||||
* 09 April 2007
|
||||
*
|
||||
* update by andy_ghg
|
||||
* 2009-10-22 15:00:57
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
var parseCodes;
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"];
|
||||
|
||||
Ext.Date.dayNames = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
||||
|
||||
Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')";
|
||||
Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')";
|
||||
|
||||
parseCodes = {
|
||||
g: 1,
|
||||
c: "if (/(上午)/i.test(results[{0}])) {\n"
|
||||
+ "if (!h || h == 12) { h = 0; }\n"
|
||||
+ "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
|
||||
s: "(上午|下午)",
|
||||
calcAtEnd: true
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = parseCodes;
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '\u00a5',
|
||||
// Chinese Yuan
|
||||
dateFormat: 'y年m月d日'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "选择了 {0} 行"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "关闭此标签"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "输入值非法"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.zh_CN.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "讀取中..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "今天",
|
||||
minText: "日期必须大于最小允许日期",
|
||||
//update
|
||||
maxText: "日期必须小于最大允许日期",
|
||||
//update
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: '下个月 (Ctrl+Right)',
|
||||
prevText: '上个月 (Ctrl+Left)',
|
||||
monthYearText: '选择一个月 (Control+Up/Down 来改变年份)',
|
||||
//update
|
||||
todayTip: "{0} (空格键选择)",
|
||||
format: "y年m月d日",
|
||||
ariaTitle: '{0}',
|
||||
ariaTitleDateFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
longDayFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
monthYearFormat: 'Y\u5e74m\u6708',
|
||||
getDayInitial: function (value) {
|
||||
// Grab the last character
|
||||
return value.substr(value.length - 1);
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: "确定",
|
||||
cancelText: "取消"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "第",
|
||||
//update
|
||||
afterPageText: "页,共 {0} 页",
|
||||
//update
|
||||
firstText: "第一页",
|
||||
prevText: "上一页",
|
||||
//update
|
||||
nextText: "下一页",
|
||||
lastText: "最后页",
|
||||
refreshText: "刷新",
|
||||
displayMsg: "显示 {0} - {1}条,共 {2} 条",
|
||||
//update
|
||||
emptyMsg: '没有数据'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "该输入项的最小长度是 {0} 个字符",
|
||||
maxLengthText: "该输入项的最大长度是 {0} 个字符",
|
||||
blankText: "该输入项为必输项",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "该输入项的最小值是 {0}",
|
||||
maxText: "该输入项的最大值是 {0}",
|
||||
nanText: "{0} 不是有效数值"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "禁用",
|
||||
disabledDatesText: "禁用",
|
||||
minText: "该输入项的日期必须在 {0} 之后",
|
||||
maxText: "该输入项的日期必须在 {0} 之前",
|
||||
invalidText: "{0} 是无效的日期 - 必须符合格式: {1}",
|
||||
format: "y年m月d日"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "加载中..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: '该输入项必须是电子邮件地址,格式如: "user@example.com"',
|
||||
urlText: '该输入项必须是URL地址,格式如: "http:/' + '/www.example.com"',
|
||||
alphaText: '该输入项只能包含半角字母和_',
|
||||
alphanumText: '该输入项只能包含半角字母,数字和_'
|
||||
});
|
||||
|
||||
//add HTMLEditor's tips by andy_ghg
|
||||
Ext.define("Ext.locale.zh_CN.form.field.HtmlEditor", {
|
||||
override: "Ext.form.field.HtmlEditor",
|
||||
createLinkText: '添加超级链接:'
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
|
||||
buttonTips: {
|
||||
bold: {
|
||||
title: '粗体 (Ctrl+B)',
|
||||
text: '将选中的文字设置为粗体',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
italic: {
|
||||
title: '斜体 (Ctrl+I)',
|
||||
text: '将选中的文字设置为斜体',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
underline: {
|
||||
title: '下划线 (Ctrl+U)',
|
||||
text: '给所选文字加下划线',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
increasefontsize: {
|
||||
title: '增大字体',
|
||||
text: '增大字号',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
decreasefontsize: {
|
||||
title: '缩小字体',
|
||||
text: '减小字号',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
backcolor: {
|
||||
title: '以不同颜色突出显示文本',
|
||||
text: '使文字看上去像是用荧光笔做了标记一样',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
forecolor: {
|
||||
title: '字体颜色',
|
||||
text: '更改字体颜色',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyleft: {
|
||||
title: '左对齐',
|
||||
text: '将文字左对齐',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifycenter: {
|
||||
title: '居中',
|
||||
text: '将文字居中对齐',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
justifyright: {
|
||||
title: '右对齐',
|
||||
text: '将文字右对齐',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertunorderedlist: {
|
||||
title: '项目符号',
|
||||
text: '开始创建项目符号列表',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
insertorderedlist: {
|
||||
title: '编号',
|
||||
text: '开始创建编号列表',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
createlink: {
|
||||
title: '转成超级链接',
|
||||
text: '将所选文本转换成超级链接',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
},
|
||||
sourceedit: {
|
||||
title: '代码视图',
|
||||
text: '以代码的形式展现文本',
|
||||
cls: Ext.baseCSSPrefix + 'html-editor-tip'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "正序",
|
||||
//update
|
||||
sortDescText: "倒序",
|
||||
//update
|
||||
lockText: "锁定列",
|
||||
//update
|
||||
unlockText: "解除锁定",
|
||||
//update
|
||||
columnsText: "列"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "名称",
|
||||
valueText: "值",
|
||||
dateFormat: "y年m月d日"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_CN.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "确定",
|
||||
cancel: "取消",
|
||||
yes: "是",
|
||||
no: "否"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.zh_CN.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,199 @@
|
|||
/*
|
||||
This file is part of Ext JS 4.2
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
|
||||
*/
|
||||
/**
|
||||
* Traditional Chinese translation
|
||||
* By hata1234
|
||||
* 09 April 2007
|
||||
*/
|
||||
Ext.onReady(function() {
|
||||
var parseCodes;
|
||||
|
||||
if (Ext.Date) {
|
||||
Ext.Date.monthNames = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"];
|
||||
|
||||
Ext.Date.dayNames = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
|
||||
|
||||
Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '上午' : '下午')";
|
||||
Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '上午' : '下午')";
|
||||
|
||||
parseCodes = {
|
||||
g: 1,
|
||||
c: "if (/(上午)/i.test(results[{0}])) {\n"
|
||||
+ "if (!h || h == 12) { h = 0; }\n"
|
||||
+ "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
|
||||
s: "(上午|下午)",
|
||||
calcAtEnd: true
|
||||
};
|
||||
|
||||
Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = parseCodes;
|
||||
}
|
||||
|
||||
if (Ext.util && Ext.util.Format) {
|
||||
Ext.apply(Ext.util.Format, {
|
||||
thousandSeparator: ',',
|
||||
decimalSeparator: '.',
|
||||
currencySign: '\u00a5',
|
||||
// Chinese Yuan
|
||||
dateFormat: 'Y/m/d'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.view.View", {
|
||||
override: "Ext.view.View",
|
||||
emptyText: ""
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.grid.plugin.DragDrop", {
|
||||
override: "Ext.grid.plugin.DragDrop",
|
||||
dragText: "選擇了 {0} 行"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.tab.Tab", {
|
||||
override: "Ext.tab.Tab",
|
||||
closeText: "關閉此標籤"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.Base", {
|
||||
override: "Ext.form.field.Base",
|
||||
invalidText: "數值不符合欄位規定"
|
||||
});
|
||||
|
||||
// changing the msg text below will affect the LoadMask
|
||||
Ext.define("Ext.locale.zh_TW.view.AbstractView", {
|
||||
override: "Ext.view.AbstractView",
|
||||
loadingText: "讀取中..."
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.picker.Date", {
|
||||
override: "Ext.picker.Date",
|
||||
todayText: "今天",
|
||||
minText: "日期必須大於最小容許日期",
|
||||
maxText: "日期必須小於最大容許日期",
|
||||
disabledDaysText: "",
|
||||
disabledDatesText: "",
|
||||
nextText: "下個月 (Ctrl+右方向鍵)",
|
||||
prevText: "上個月 (Ctrl+左方向鍵)",
|
||||
monthYearText: "選擇月份 (Ctrl+上/下方向鍵選擇年份)",
|
||||
format: "y/m/d",
|
||||
ariaTitle: '{0}',
|
||||
ariaTitleDateFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
longDayFormat: 'Y\u5e74m\u6708d\u65e5',
|
||||
monthYearFormat: 'Y\u5e74m\u6708',
|
||||
getDayInitial: function (value) {
|
||||
// Grab the last character
|
||||
return value.substr(value.length - 1);
|
||||
}
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.picker.Month", {
|
||||
override: "Ext.picker.Month",
|
||||
okText: "确定",
|
||||
cancelText: "取消"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.toolbar.Paging", {
|
||||
override: "Ext.PagingToolbar",
|
||||
beforePageText: "第",
|
||||
afterPageText: "頁,共{0}頁",
|
||||
firstText: "第一頁",
|
||||
prevText: "上一頁",
|
||||
nextText: "下一頁",
|
||||
lastText: "最後頁",
|
||||
refreshText: "重新整理",
|
||||
displayMsg: "顯示{0} - {1}筆,共{2}筆",
|
||||
emptyMsg: '沒有任何資料'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.Text", {
|
||||
override: "Ext.form.field.Text",
|
||||
minLengthText: "此欄位最少要輸入 {0} 個字",
|
||||
maxLengthText: "此欄位最多輸入 {0} 個字",
|
||||
blankText: "此欄位為必填",
|
||||
regexText: "",
|
||||
emptyText: null
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.Number", {
|
||||
override: "Ext.form.field.Number",
|
||||
minText: "此欄位之數值必須大於 {0}",
|
||||
maxText: "此欄位之數值必須小於 {0}",
|
||||
nanText: "{0} 不是合法的數字"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.Date", {
|
||||
override: "Ext.form.field.Date",
|
||||
disabledDaysText: "無法使用",
|
||||
disabledDatesText: "無法使用",
|
||||
minText: "此欄位之日期必須在 {0} 之後",
|
||||
maxText: "此欄位之日期必須在 {0} 之前",
|
||||
invalidText: "{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式",
|
||||
format: "Y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.ComboBox", {
|
||||
override: "Ext.form.field.ComboBox",
|
||||
valueNotFoundText: undefined
|
||||
}, function() {
|
||||
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
|
||||
loadingText: "讀取中 ..."
|
||||
});
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.form.field.VTypes", {
|
||||
override: "Ext.form.field.VTypes",
|
||||
emailText: '此欄位必須輸入像 "user@example.com" 之E-Mail格式',
|
||||
urlText: '此欄位必須輸入像 "http:/' + '/www.example.com" 之網址格式',
|
||||
alphaText: '此欄位僅能輸入半形英文字母及底線( _ )符號',
|
||||
alphanumText: '此欄位僅能輸入半形英文字母、數字及底線( _ )符號'
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.grid.header.Container", {
|
||||
override: "Ext.grid.header.Container",
|
||||
sortAscText: "正向排序",
|
||||
sortDescText: "反向排序",
|
||||
lockText: "鎖定欄位",
|
||||
unlockText: "解開欄位鎖定",
|
||||
columnsText: "欄位"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.grid.PropertyColumnModel", {
|
||||
override: "Ext.grid.PropertyColumnModel",
|
||||
nameText: "名稱",
|
||||
valueText: "數值",
|
||||
dateFormat: "Y/m/d"
|
||||
});
|
||||
|
||||
Ext.define("Ext.locale.zh_TW.window.MessageBox", {
|
||||
override: "Ext.window.MessageBox",
|
||||
buttonText: {
|
||||
ok: "確定",
|
||||
cancel: "取消",
|
||||
yes: "是",
|
||||
no: "否"
|
||||
}
|
||||
});
|
||||
|
||||
// This is needed until we can refactor all of the locales into individual files
|
||||
Ext.define("Ext.locale.zh_TW.Component", {
|
||||
override: "Ext.Component"
|
||||
});
|
||||
|
|
@ -0,0 +1,778 @@
|
|||
// @tag flash
|
||||
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/>
|
||||
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
||||
*/
|
||||
|
||||
var swfobject = function() {
|
||||
|
||||
var UNDEF = "undefined",
|
||||
OBJECT = "object",
|
||||
SHOCKWAVE_FLASH = "Shockwave Flash",
|
||||
SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
|
||||
FLASH_MIME_TYPE = "application/x-shockwave-flash",
|
||||
EXPRESS_INSTALL_ID = "SWFObjectExprInst",
|
||||
ON_READY_STATE_CHANGE = "onreadystatechange",
|
||||
|
||||
win = window,
|
||||
doc = document,
|
||||
nav = navigator,
|
||||
|
||||
plugin = false,
|
||||
domLoadFnArr = [main],
|
||||
regObjArr = [],
|
||||
objIdArr = [],
|
||||
listenersArr = [],
|
||||
storedAltContent,
|
||||
storedAltContentId,
|
||||
storedCallbackFn,
|
||||
storedCallbackObj,
|
||||
isDomLoaded = false,
|
||||
isExpressInstallActive = false,
|
||||
dynamicStylesheet,
|
||||
dynamicStylesheetMedia,
|
||||
autoHideShow = true,
|
||||
|
||||
/* Centralized function for browser feature detection
|
||||
- User agent string detection is only used when no good alternative is possible
|
||||
- Is executed directly for optimal performance
|
||||
*/
|
||||
ua = function() {
|
||||
var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF,
|
||||
u = nav.userAgent.toLowerCase(),
|
||||
p = nav.platform.toLowerCase(),
|
||||
windows = p ? /win/.test(p) : /win/.test(u),
|
||||
mac = p ? /mac/.test(p) : /mac/.test(u),
|
||||
webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
|
||||
ie = !+"\v1", // feature detection based on Andrea Giammarchi's solution: http://webreflection.blogspot.com/2009/01/32-bytes-to-know-if-your-browser-is-ie.html
|
||||
playerVersion = [0,0,0],
|
||||
d = null;
|
||||
if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
|
||||
d = nav.plugins[SHOCKWAVE_FLASH].description;
|
||||
if (d && !(typeof nav.mimeTypes != UNDEF && nav.mimeTypes[FLASH_MIME_TYPE] && !nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)) { // navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin indicates whether plug-ins are enabled or disabled in Safari 3+
|
||||
plugin = true;
|
||||
ie = false; // cascaded feature detection for Internet Explorer
|
||||
d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
|
||||
playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
|
||||
playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
|
||||
playerVersion[2] = /[a-zA-Z]/.test(d) ? parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0;
|
||||
}
|
||||
}
|
||||
else if (typeof win.ActiveXObject != UNDEF) {
|
||||
try {
|
||||
var a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
|
||||
if (a) { // a will return null when ActiveX is disabled
|
||||
d = a.GetVariable("$version");
|
||||
if (d) {
|
||||
ie = true; // cascaded feature detection for Internet Explorer
|
||||
d = d.split(" ")[1].split(",");
|
||||
playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
}
|
||||
return { w3:w3cdom, pv:playerVersion, wk:webkit, ie:ie, win:windows, mac:mac };
|
||||
}(),
|
||||
|
||||
/* Cross-browser onDomLoad
|
||||
- Will fire an event as soon as the DOM of a web page is loaded
|
||||
- Internet Explorer workaround based on Diego Perini's solution: http://javascript.nwbox.com/IEContentLoaded/
|
||||
- Regular onload serves as fallback
|
||||
*/
|
||||
onDomLoad = function() {
|
||||
if (!ua.w3) { return; }
|
||||
if ((typeof doc.readyState != UNDEF && doc.readyState == "complete") || (typeof doc.readyState == UNDEF && (doc.getElementsByTagName("body")[0] || doc.body))) { // function is fired after onload, e.g. when script is inserted dynamically
|
||||
callDomLoadFunctions();
|
||||
}
|
||||
if (!isDomLoaded) {
|
||||
if (typeof doc.addEventListener != UNDEF) {
|
||||
doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, false);
|
||||
}
|
||||
if (ua.ie && ua.win) {
|
||||
doc.attachEvent(ON_READY_STATE_CHANGE, function() {
|
||||
if (doc.readyState == "complete") {
|
||||
doc.detachEvent(ON_READY_STATE_CHANGE, arguments.callee);
|
||||
callDomLoadFunctions();
|
||||
}
|
||||
});
|
||||
if (win == top) { // if not inside an iframe
|
||||
(function(){
|
||||
if (isDomLoaded) { return; }
|
||||
try {
|
||||
doc.documentElement.doScroll("left");
|
||||
}
|
||||
catch(e) {
|
||||
setTimeout(arguments.callee, 0);
|
||||
return;
|
||||
}
|
||||
callDomLoadFunctions();
|
||||
})();
|
||||
}
|
||||
}
|
||||
if (ua.wk) {
|
||||
(function(){
|
||||
if (isDomLoaded) { return; }
|
||||
if (!/loaded|complete/.test(doc.readyState)) {
|
||||
setTimeout(arguments.callee, 0);
|
||||
return;
|
||||
}
|
||||
callDomLoadFunctions();
|
||||
})();
|
||||
}
|
||||
addLoadEvent(callDomLoadFunctions);
|
||||
}
|
||||
}();
|
||||
|
||||
function callDomLoadFunctions() {
|
||||
if (isDomLoaded) { return; }
|
||||
try { // test if we can really add/remove elements to/from the DOM; we don't want to fire it too early
|
||||
var t = doc.getElementsByTagName("body")[0].appendChild(createElement("span"));
|
||||
t.parentNode.removeChild(t);
|
||||
}
|
||||
catch (e) { return; }
|
||||
isDomLoaded = true;
|
||||
var dl = domLoadFnArr.length;
|
||||
for (var i = 0; i < dl; i++) {
|
||||
domLoadFnArr[i]();
|
||||
}
|
||||
}
|
||||
|
||||
function addDomLoadEvent(fn) {
|
||||
if (isDomLoaded) {
|
||||
fn();
|
||||
}
|
||||
else {
|
||||
domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
|
||||
}
|
||||
}
|
||||
|
||||
/* Cross-browser onload
|
||||
- Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
|
||||
- Will fire an event as soon as a web page including all of its assets are loaded
|
||||
*/
|
||||
function addLoadEvent(fn) {
|
||||
if (typeof win.addEventListener != UNDEF) {
|
||||
win.addEventListener("load", fn, false);
|
||||
}
|
||||
else if (typeof doc.addEventListener != UNDEF) {
|
||||
doc.addEventListener("load", fn, false);
|
||||
}
|
||||
else if (typeof win.attachEvent != UNDEF) {
|
||||
addListener(win, "onload", fn);
|
||||
}
|
||||
else if (typeof win.onload == "function") {
|
||||
var fnOld = win.onload;
|
||||
win.onload = function() {
|
||||
fnOld();
|
||||
fn();
|
||||
};
|
||||
}
|
||||
else {
|
||||
win.onload = fn;
|
||||
}
|
||||
}
|
||||
|
||||
/* Main function
|
||||
- Will preferably execute onDomLoad, otherwise onload (as a fallback)
|
||||
*/
|
||||
function main() {
|
||||
if (plugin) {
|
||||
testPlayerVersion();
|
||||
}
|
||||
else {
|
||||
matchVersions();
|
||||
}
|
||||
}
|
||||
|
||||
/* Detect the Flash Player version for non-Internet Explorer browsers
|
||||
- Detecting the plug-in version via the object element is more precise than using the plugins collection item's description:
|
||||
a. Both release and build numbers can be detected
|
||||
b. Avoid wrong descriptions by corrupt installers provided by Adobe
|
||||
c. Avoid wrong descriptions by multiple Flash Player entries in the plugin Array, caused by incorrect browser imports
|
||||
- Disadvantage of this method is that it depends on the availability of the DOM, while the plugins collection is immediately available
|
||||
*/
|
||||
function testPlayerVersion() {
|
||||
var b = doc.getElementsByTagName("body")[0];
|
||||
var o = createElement(OBJECT);
|
||||
o.setAttribute("type", FLASH_MIME_TYPE);
|
||||
var t = b.appendChild(o);
|
||||
if (t) {
|
||||
var counter = 0;
|
||||
(function(){
|
||||
if (typeof t.GetVariable != UNDEF) {
|
||||
var d = t.GetVariable("$version");
|
||||
if (d) {
|
||||
d = d.split(" ")[1].split(",");
|
||||
ua.pv = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
|
||||
}
|
||||
}
|
||||
else if (counter < 10) {
|
||||
counter++;
|
||||
setTimeout(arguments.callee, 10);
|
||||
return;
|
||||
}
|
||||
b.removeChild(o);
|
||||
t = null;
|
||||
matchVersions();
|
||||
})();
|
||||
}
|
||||
else {
|
||||
matchVersions();
|
||||
}
|
||||
}
|
||||
|
||||
/* Perform Flash Player and SWF version matching; static publishing only
|
||||
*/
|
||||
function matchVersions() {
|
||||
var rl = regObjArr.length;
|
||||
if (rl > 0) {
|
||||
for (var i = 0; i < rl; i++) { // for each registered object element
|
||||
var id = regObjArr[i].id;
|
||||
var cb = regObjArr[i].callbackFn;
|
||||
var cbObj = {success:false, id:id};
|
||||
if (ua.pv[0] > 0) {
|
||||
var obj = getElementById(id);
|
||||
if (obj) {
|
||||
if (hasPlayerVersion(regObjArr[i].swfVersion) && !(ua.wk && ua.wk < 312)) { // Flash Player version >= published SWF version: Houston, we have a match!
|
||||
setVisibility(id, true);
|
||||
if (cb) {
|
||||
cbObj.success = true;
|
||||
cbObj.ref = getObjectById(id);
|
||||
cb(cbObj);
|
||||
}
|
||||
}
|
||||
else if (regObjArr[i].expressInstall && canExpressInstall()) { // show the Adobe Express Install dialog if set by the web page author and if supported
|
||||
var att = {};
|
||||
att.data = regObjArr[i].expressInstall;
|
||||
att.width = obj.getAttribute("width") || "0";
|
||||
att.height = obj.getAttribute("height") || "0";
|
||||
if (obj.getAttribute("class")) { att.styleclass = obj.getAttribute("class"); }
|
||||
if (obj.getAttribute("align")) { att.align = obj.getAttribute("align"); }
|
||||
// parse HTML object param element's name-value pairs
|
||||
var par = {};
|
||||
var p = obj.getElementsByTagName("param");
|
||||
var pl = p.length;
|
||||
for (var j = 0; j < pl; j++) {
|
||||
if (p[j].getAttribute("name").toLowerCase() != "movie") {
|
||||
par[p[j].getAttribute("name")] = p[j].getAttribute("value");
|
||||
}
|
||||
}
|
||||
showExpressInstall(att, par, id, cb);
|
||||
}
|
||||
else { // Flash Player and SWF version mismatch or an older Webkit engine that ignores the HTML object element's nested param elements: display alternative content instead of SWF
|
||||
displayAltContent(obj);
|
||||
if (cb) { cb(cbObj); }
|
||||
}
|
||||
}
|
||||
}
|
||||
else { // if no Flash Player is installed or the fp version cannot be detected we let the HTML object element do its job (either show a SWF or alternative content)
|
||||
setVisibility(id, true);
|
||||
if (cb) {
|
||||
var o = getObjectById(id); // test whether there is an HTML object element or not
|
||||
if (o && typeof o.SetVariable != UNDEF) {
|
||||
cbObj.success = true;
|
||||
cbObj.ref = o;
|
||||
}
|
||||
cb(cbObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getObjectById(objectIdStr) {
|
||||
var r = null;
|
||||
var o = getElementById(objectIdStr);
|
||||
if (o && o.nodeName == "OBJECT") {
|
||||
if (typeof o.SetVariable != UNDEF) {
|
||||
r = o;
|
||||
}
|
||||
else {
|
||||
var n = o.getElementsByTagName(OBJECT)[0];
|
||||
if (n) {
|
||||
r = n;
|
||||
}
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
/* Requirements for Adobe Express Install
|
||||
- only one instance can be active at a time
|
||||
- fp 6.0.65 or higher
|
||||
- Win/Mac OS only
|
||||
- no Webkit engines older than version 312
|
||||
*/
|
||||
function canExpressInstall() {
|
||||
return !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac) && !(ua.wk && ua.wk < 312);
|
||||
}
|
||||
|
||||
/* Show the Adobe Express Install dialog
|
||||
- Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
|
||||
*/
|
||||
function showExpressInstall(att, par, replaceElemIdStr, callbackFn) {
|
||||
isExpressInstallActive = true;
|
||||
storedCallbackFn = callbackFn || null;
|
||||
storedCallbackObj = {success:false, id:replaceElemIdStr};
|
||||
var obj = getElementById(replaceElemIdStr);
|
||||
if (obj) {
|
||||
if (obj.nodeName == "OBJECT") { // static publishing
|
||||
storedAltContent = abstractAltContent(obj);
|
||||
storedAltContentId = null;
|
||||
}
|
||||
else { // dynamic publishing
|
||||
storedAltContent = obj;
|
||||
storedAltContentId = replaceElemIdStr;
|
||||
}
|
||||
att.id = EXPRESS_INSTALL_ID;
|
||||
if (typeof att.width == UNDEF || (!/%$/.test(att.width) && parseInt(att.width, 10) < 310)) { att.width = "310"; }
|
||||
if (typeof att.height == UNDEF || (!/%$/.test(att.height) && parseInt(att.height, 10) < 137)) { att.height = "137"; }
|
||||
doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
|
||||
var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
|
||||
fv = "MMredirectURL=" + encodeURI(window.location).toString().replace(/&/g,"%26") + "&MMplayerType=" + pt + "&MMdoctitle=" + doc.title;
|
||||
if (typeof par.flashvars != UNDEF) {
|
||||
par.flashvars += "&" + fv;
|
||||
}
|
||||
else {
|
||||
par.flashvars = fv;
|
||||
}
|
||||
// IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it,
|
||||
// because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
|
||||
if (ua.ie && ua.win && obj.readyState != 4) {
|
||||
var newObj = createElement("div");
|
||||
replaceElemIdStr += "SWFObjectNew";
|
||||
newObj.setAttribute("id", replaceElemIdStr);
|
||||
obj.parentNode.insertBefore(newObj, obj); // insert placeholder div that will be replaced by the object element that loads expressinstall.swf
|
||||
obj.style.display = "none";
|
||||
(function(){
|
||||
if (obj.readyState == 4) {
|
||||
obj.parentNode.removeChild(obj);
|
||||
}
|
||||
else {
|
||||
setTimeout(arguments.callee, 10);
|
||||
}
|
||||
})();
|
||||
}
|
||||
createSWF(att, par, replaceElemIdStr);
|
||||
}
|
||||
}
|
||||
|
||||
/* Functions to abstract and display alternative content
|
||||
*/
|
||||
function displayAltContent(obj) {
|
||||
if (ua.ie && ua.win && obj.readyState != 4) {
|
||||
// IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it,
|
||||
// because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
|
||||
var el = createElement("div");
|
||||
obj.parentNode.insertBefore(el, obj); // insert placeholder div that will be replaced by the alternative content
|
||||
el.parentNode.replaceChild(abstractAltContent(obj), el);
|
||||
obj.style.display = "none";
|
||||
(function(){
|
||||
if (obj.readyState == 4) {
|
||||
obj.parentNode.removeChild(obj);
|
||||
}
|
||||
else {
|
||||
setTimeout(arguments.callee, 10);
|
||||
}
|
||||
})();
|
||||
}
|
||||
else {
|
||||
obj.parentNode.replaceChild(abstractAltContent(obj), obj);
|
||||
}
|
||||
}
|
||||
|
||||
function abstractAltContent(obj) {
|
||||
var ac = createElement("div");
|
||||
if (ua.win && ua.ie) {
|
||||
ac.innerHTML = obj.innerHTML;
|
||||
}
|
||||
else {
|
||||
var nestedObj = obj.getElementsByTagName(OBJECT)[0];
|
||||
if (nestedObj) {
|
||||
var c = nestedObj.childNodes;
|
||||
if (c) {
|
||||
var cl = c.length;
|
||||
for (var i = 0; i < cl; i++) {
|
||||
if (!(c[i].nodeType == 1 && c[i].nodeName == "PARAM") && !(c[i].nodeType == 8)) {
|
||||
ac.appendChild(c[i].cloneNode(true));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return ac;
|
||||
}
|
||||
|
||||
/* Cross-browser dynamic SWF creation
|
||||
*/
|
||||
function createSWF(attObj, parObj, id) {
|
||||
var r, el = getElementById(id);
|
||||
if (ua.wk && ua.wk < 312) { return r; }
|
||||
if (el) {
|
||||
if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
|
||||
attObj.id = id;
|
||||
}
|
||||
if (ua.ie && ua.win) { // Internet Explorer + the HTML object element + W3C DOM methods do not combine: fall back to outerHTML
|
||||
var att = "";
|
||||
for (var i in attObj) {
|
||||
if (attObj[i] != Object.prototype[i]) { // filter out prototype additions from other potential libraries
|
||||
if (i.toLowerCase() == "data") {
|
||||
parObj.movie = attObj[i];
|
||||
}
|
||||
else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
|
||||
att += ' class="' + attObj[i] + '"';
|
||||
}
|
||||
else if (i.toLowerCase() != "classid") {
|
||||
att += ' ' + i + '="' + attObj[i] + '"';
|
||||
}
|
||||
}
|
||||
}
|
||||
var par = "";
|
||||
for (var j in parObj) {
|
||||
if (parObj[j] != Object.prototype[j]) { // filter out prototype additions from other potential libraries
|
||||
par += '<param name="' + j + '" value="' + parObj[j] + '" />';
|
||||
}
|
||||
}
|
||||
el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
|
||||
objIdArr[objIdArr.length] = attObj.id; // stored to fix object 'leaks' on unload (dynamic publishing only)
|
||||
r = getElementById(attObj.id);
|
||||
}
|
||||
else { // well-behaving browsers
|
||||
var o = createElement(OBJECT);
|
||||
o.setAttribute("type", FLASH_MIME_TYPE);
|
||||
for (var m in attObj) {
|
||||
if (attObj[m] != Object.prototype[m]) { // filter out prototype additions from other potential libraries
|
||||
if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
|
||||
o.setAttribute("class", attObj[m]);
|
||||
}
|
||||
else if (m.toLowerCase() != "classid") { // filter out IE specific attribute
|
||||
o.setAttribute(m, attObj[m]);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var n in parObj) {
|
||||
if (parObj[n] != Object.prototype[n] && n.toLowerCase() != "movie") { // filter out prototype additions from other potential libraries and IE specific param element
|
||||
createObjParam(o, n, parObj[n]);
|
||||
}
|
||||
}
|
||||
el.parentNode.replaceChild(o, el);
|
||||
r = o;
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
function createObjParam(el, pName, pValue) {
|
||||
var p = createElement("param");
|
||||
p.setAttribute("name", pName);
|
||||
p.setAttribute("value", pValue);
|
||||
el.appendChild(p);
|
||||
}
|
||||
|
||||
/* Cross-browser SWF removal
|
||||
- Especially needed to safely and completely remove a SWF in Internet Explorer
|
||||
*/
|
||||
function removeSWF(id) {
|
||||
var obj = getElementById(id);
|
||||
if (obj && obj.nodeName == "OBJECT") {
|
||||
if (ua.ie && ua.win) {
|
||||
obj.style.display = "none";
|
||||
(function(){
|
||||
if (obj.readyState == 4) {
|
||||
removeObjectInIE(id);
|
||||
}
|
||||
else {
|
||||
setTimeout(arguments.callee, 10);
|
||||
}
|
||||
})();
|
||||
}
|
||||
else {
|
||||
obj.parentNode.removeChild(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function removeObjectInIE(id) {
|
||||
var obj = getElementById(id);
|
||||
if (obj) {
|
||||
for (var i in obj) {
|
||||
if (typeof obj[i] == "function") {
|
||||
obj[i] = null;
|
||||
}
|
||||
}
|
||||
obj.parentNode.removeChild(obj);
|
||||
}
|
||||
}
|
||||
|
||||
/* Functions to optimize JavaScript compression
|
||||
*/
|
||||
function getElementById(id) {
|
||||
var el = null;
|
||||
try {
|
||||
el = doc.getElementById(id);
|
||||
}
|
||||
catch (e) {}
|
||||
return el;
|
||||
}
|
||||
|
||||
function createElement(el) {
|
||||
return doc.createElement(el);
|
||||
}
|
||||
|
||||
/* Updated attachEvent function for Internet Explorer
|
||||
- Stores attachEvent information in an Array, so on unload the detachEvent functions can be called to avoid memory leaks
|
||||
*/
|
||||
function addListener(target, eventType, fn) {
|
||||
target.attachEvent(eventType, fn);
|
||||
listenersArr[listenersArr.length] = [target, eventType, fn];
|
||||
}
|
||||
|
||||
/* Flash Player and SWF content version matching
|
||||
*/
|
||||
function hasPlayerVersion(rv) {
|
||||
var pv = ua.pv, v = rv.split(".");
|
||||
v[0] = parseInt(v[0], 10);
|
||||
v[1] = parseInt(v[1], 10) || 0; // supports short notation, e.g. "9" instead of "9.0.0"
|
||||
v[2] = parseInt(v[2], 10) || 0;
|
||||
return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
|
||||
}
|
||||
|
||||
/* Cross-browser dynamic CSS creation
|
||||
- Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
|
||||
*/
|
||||
function createCSS(sel, decl, media, newStyle) {
|
||||
if (ua.ie && ua.mac) { return; }
|
||||
var h = doc.getElementsByTagName("head")[0];
|
||||
if (!h) { return; } // to also support badly authored HTML pages that lack a head element
|
||||
var m = (media && typeof media == "string") ? media : "screen";
|
||||
if (newStyle) {
|
||||
dynamicStylesheet = null;
|
||||
dynamicStylesheetMedia = null;
|
||||
}
|
||||
if (!dynamicStylesheet || dynamicStylesheetMedia != m) {
|
||||
// create dynamic stylesheet + get a global reference to it
|
||||
var s = createElement("style");
|
||||
s.setAttribute("type", "text/css");
|
||||
s.setAttribute("media", m);
|
||||
dynamicStylesheet = h.appendChild(s);
|
||||
if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
|
||||
dynamicStylesheet = doc.styleSheets[doc.styleSheets.length - 1];
|
||||
}
|
||||
dynamicStylesheetMedia = m;
|
||||
}
|
||||
// add style rule
|
||||
if (ua.ie && ua.win) {
|
||||
if (dynamicStylesheet && typeof dynamicStylesheet.addRule == OBJECT) {
|
||||
dynamicStylesheet.addRule(sel, decl);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (dynamicStylesheet && typeof doc.createTextNode != UNDEF) {
|
||||
dynamicStylesheet.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setVisibility(id, isVisible) {
|
||||
if (!autoHideShow) { return; }
|
||||
var v = isVisible ? "visible" : "hidden";
|
||||
if (isDomLoaded && getElementById(id)) {
|
||||
getElementById(id).style.visibility = v;
|
||||
}
|
||||
else {
|
||||
createCSS("#" + id, "visibility:" + v);
|
||||
}
|
||||
}
|
||||
|
||||
/* Filter to avoid XSS attacks
|
||||
*/
|
||||
function urlEncodeIfNecessary(s) {
|
||||
var regex = /[\\\"<>\.;]/;
|
||||
var hasBadChars = regex.exec(s) != null;
|
||||
return hasBadChars && typeof encodeURIComponent != UNDEF ? encodeURIComponent(s) : s;
|
||||
}
|
||||
|
||||
/* Release memory to avoid memory leaks caused by closures, fix hanging audio/video threads and force open sockets/NetConnections to disconnect (Internet Explorer only)
|
||||
*/
|
||||
var cleanup = function() {
|
||||
if (ua.ie && ua.win) {
|
||||
window.attachEvent("onunload", function() {
|
||||
// remove listeners to avoid memory leaks
|
||||
var ll = listenersArr.length;
|
||||
for (var i = 0; i < ll; i++) {
|
||||
listenersArr[i][0].detachEvent(listenersArr[i][1], listenersArr[i][2]);
|
||||
}
|
||||
// cleanup dynamically embedded objects to fix audio/video threads and force open sockets and NetConnections to disconnect
|
||||
var il = objIdArr.length;
|
||||
for (var j = 0; j < il; j++) {
|
||||
removeSWF(objIdArr[j]);
|
||||
}
|
||||
// cleanup library's main closures to avoid memory leaks
|
||||
for (var k in ua) {
|
||||
ua[k] = null;
|
||||
}
|
||||
ua = null;
|
||||
for (var l in swfobject) {
|
||||
swfobject[l] = null;
|
||||
}
|
||||
swfobject = null;
|
||||
});
|
||||
}
|
||||
}();
|
||||
|
||||
return {
|
||||
/* Public API
|
||||
- Reference: http://code.google.com/p/swfobject/wiki/documentation
|
||||
*/
|
||||
registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr, callbackFn) {
|
||||
if (ua.w3 && objectIdStr && swfVersionStr) {
|
||||
var regObj = {};
|
||||
regObj.id = objectIdStr;
|
||||
regObj.swfVersion = swfVersionStr;
|
||||
regObj.expressInstall = xiSwfUrlStr;
|
||||
regObj.callbackFn = callbackFn;
|
||||
regObjArr[regObjArr.length] = regObj;
|
||||
setVisibility(objectIdStr, false);
|
||||
}
|
||||
else if (callbackFn) {
|
||||
callbackFn({success:false, id:objectIdStr});
|
||||
}
|
||||
},
|
||||
|
||||
getObjectById: function(objectIdStr) {
|
||||
if (ua.w3) {
|
||||
return getObjectById(objectIdStr);
|
||||
}
|
||||
},
|
||||
|
||||
embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn) {
|
||||
var callbackObj = {success:false, id:replaceElemIdStr};
|
||||
if (ua.w3 && !(ua.wk && ua.wk < 312) && swfUrlStr && replaceElemIdStr && widthStr && heightStr && swfVersionStr) {
|
||||
setVisibility(replaceElemIdStr, false);
|
||||
addDomLoadEvent(function() {
|
||||
widthStr += ""; // auto-convert to string
|
||||
heightStr += "";
|
||||
var att = {};
|
||||
if (attObj && typeof attObj === OBJECT) {
|
||||
for (var i in attObj) { // copy object to avoid the use of references, because web authors often reuse attObj for multiple SWFs
|
||||
att[i] = attObj[i];
|
||||
}
|
||||
}
|
||||
att.data = swfUrlStr;
|
||||
att.width = widthStr;
|
||||
att.height = heightStr;
|
||||
var par = {};
|
||||
if (parObj && typeof parObj === OBJECT) {
|
||||
for (var j in parObj) { // copy object to avoid the use of references, because web authors often reuse parObj for multiple SWFs
|
||||
par[j] = parObj[j];
|
||||
}
|
||||
}
|
||||
if (flashvarsObj && typeof flashvarsObj === OBJECT) {
|
||||
for (var k in flashvarsObj) { // copy object to avoid the use of references, because web authors often reuse flashvarsObj for multiple SWFs
|
||||
if (typeof par.flashvars != UNDEF) {
|
||||
par.flashvars += "&" + k + "=" + flashvarsObj[k];
|
||||
}
|
||||
else {
|
||||
par.flashvars = k + "=" + flashvarsObj[k];
|
||||
}
|
||||
}
|
||||
}
|
||||
if (hasPlayerVersion(swfVersionStr)) { // create SWF
|
||||
var obj = createSWF(att, par, replaceElemIdStr);
|
||||
if (att.id == replaceElemIdStr) {
|
||||
setVisibility(replaceElemIdStr, true);
|
||||
}
|
||||
callbackObj.success = true;
|
||||
callbackObj.ref = obj;
|
||||
}
|
||||
else if (xiSwfUrlStr && canExpressInstall()) { // show Adobe Express Install
|
||||
att.data = xiSwfUrlStr;
|
||||
showExpressInstall(att, par, replaceElemIdStr, callbackFn);
|
||||
return;
|
||||
}
|
||||
else { // show alternative content
|
||||
setVisibility(replaceElemIdStr, true);
|
||||
}
|
||||
if (callbackFn) { callbackFn(callbackObj); }
|
||||
});
|
||||
}
|
||||
else if (callbackFn) { callbackFn(callbackObj); }
|
||||
},
|
||||
|
||||
switchOffAutoHideShow: function() {
|
||||
autoHideShow = false;
|
||||
},
|
||||
|
||||
ua: ua,
|
||||
|
||||
getFlashPlayerVersion: function() {
|
||||
return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
|
||||
},
|
||||
|
||||
hasFlashPlayerVersion: hasPlayerVersion,
|
||||
|
||||
createSWF: function(attObj, parObj, replaceElemIdStr) {
|
||||
if (ua.w3) {
|
||||
return createSWF(attObj, parObj, replaceElemIdStr);
|
||||
}
|
||||
else {
|
||||
return undefined;
|
||||
}
|
||||
},
|
||||
|
||||
showExpressInstall: function(att, par, replaceElemIdStr, callbackFn) {
|
||||
if (ua.w3 && canExpressInstall()) {
|
||||
showExpressInstall(att, par, replaceElemIdStr, callbackFn);
|
||||
}
|
||||
},
|
||||
|
||||
removeSWF: function(objElemIdStr) {
|
||||
if (ua.w3) {
|
||||
removeSWF(objElemIdStr);
|
||||
}
|
||||
},
|
||||
|
||||
createCSS: function(selStr, declStr, mediaStr, newStyleBoolean) {
|
||||
if (ua.w3) {
|
||||
createCSS(selStr, declStr, mediaStr, newStyleBoolean);
|
||||
}
|
||||
},
|
||||
|
||||
addDomLoadEvent: addDomLoadEvent,
|
||||
|
||||
addLoadEvent: addLoadEvent,
|
||||
|
||||
getQueryParamValue: function(param) {
|
||||
var q = doc.location.search || doc.location.hash;
|
||||
if (q) {
|
||||
if (/\?/.test(q)) { q = q.split("?")[1]; } // strip question mark
|
||||
if (param == null) {
|
||||
return urlEncodeIfNecessary(q);
|
||||
}
|
||||
var pairs = q.split("&");
|
||||
for (var i = 0; i < pairs.length; i++) {
|
||||
if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
|
||||
return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=") + 1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
return "";
|
||||
},
|
||||
|
||||
// For internal usage only
|
||||
expressInstallCallback: function() {
|
||||
if (isExpressInstallActive) {
|
||||
var obj = getElementById(EXPRESS_INSTALL_ID);
|
||||
if (obj && storedAltContent) {
|
||||
obj.parentNode.replaceChild(storedAltContent, obj);
|
||||
if (storedAltContentId) {
|
||||
setVisibility(storedAltContentId, true);
|
||||
if (ua.ie && ua.win) { storedAltContent.style.display = "block"; }
|
||||
}
|
||||
if (storedCallbackFn) { storedCallbackFn(storedCallbackObj); }
|
||||
}
|
||||
isExpressInstallActive = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
}();
|
|
@ -0,0 +1 @@
|
|||
@import '../ext-theme-access/ext-theme-access-all.css';
|
|
@ -0,0 +1 @@
|
|||
@import '../ext-theme-gray/ext-theme-gray-all.css';
|
|
@ -0,0 +1 @@
|
|||
@import '../ext-theme-neptune/ext-theme-neptune-all.css';
|
|
@ -0,0 +1 @@
|
|||
@import '../ext-theme-classic/ext-theme-classic-all.css';
|
|
@ -0,0 +1 @@
|
|||
@import '../ext-theme-classic-sandbox/ext-theme-classic-sandbox-all.css';
|
|
@ -0,0 +1,3 @@
|
|||
# ext-theme-access/resources
|
||||
|
||||
This folder contains static resources (typically an `"images"` folder as well).
|
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1010 B |
After Width: | Height: | Size: 1005 B |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 810 B |
After Width: | Height: | Size: 843 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 99 B |
After Width: | Height: | Size: 106 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 166 B |
After Width: | Height: | Size: 134 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 220 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 220 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 217 B |