add extjs 6.0.1 sources

from http://cdn.sencha.com/ext/gpl/ext-6.0.1-gpl.zip
This commit is contained in:
Dietmar Maurer 2017-01-25 17:28:32 +01:00
commit 6527f4294c
40226 changed files with 3763536 additions and 0 deletions

1775
extjs/.sencha/package/Boot.js vendored Normal file

File diff suppressed because it is too large Load Diff

958
extjs/.sencha/package/Microloader.js vendored Normal file
View File

@ -0,0 +1,958 @@
// here, the extra check for window['Ext'] is needed for use with cmd-test
// code injection. we need to make that this file will sync up with page global
// scope to avoid duplicate Ext.Boot state. That check is after the initial Ext check
// to allow the sandboxing template to inject an appropriate Ext var and prevent the
// global detection.
var Ext = Ext || window['Ext'] || {};
//<editor-fold desc="Microloader">
/**
* @Class Ext.Microloader
* @singleton
*/
Ext.Microloader = Ext.Microloader || (function () {
var Boot = Ext.Boot,
//<debug>
_debug = function (message) {
//console.log(message);
},
//</debug>
_warn = function (message) {
console.log("[WARN] " + message);
},
_privatePrefix = '_ext:' + location.pathname,
/**
* The Following combination is used to create isolated local storage keys
* '_ext' is used to scope all the local storage keys that we internally by Ext
* 'location.pathname' is used to force each assets to cache by an absolute URL (/build/MyApp) (dev vs prod)
* 'url' is used to force each asset to cache relative to the page (app.json vs resources/app.css)
* 'profileId' is used to differentiate the builds of an application (neptune vs crisp)
* 'Microloader.appId' is unique to the application and will differentiate apps on the same host (dev mode running app watch against multiple apps)
*/
getStorageKey = function(url, profileId) {
return _privatePrefix + url + '-' + (profileId ? profileId + '-' : '') + Microloader.appId;
},
postProcessor, _storage;
try {
_storage = window['localStorage'];
} catch(ex) {
// ignore
}
var _cache = window['applicationCache'],
// Local Storage Controller
LocalStorage = {
clearAllPrivate: function(manifest) {
if(_storage) {
//Remove the entry for the manifest first
_storage.removeItem(manifest.key);
var i, key,
removeKeys = [],
suffix = manifest.profile + '-' + Microloader.appId,
ln = _storage.length;
for (i = 0; i < ln; i++) {
key = _storage.key(i);
// If key starts with the private key and the suffix is present we can clear this entry
if (key.indexOf(_privatePrefix) === 0 && key.indexOf(suffix) !== -1) {
removeKeys.push(key);
}
}
for(i in removeKeys) {
//<debug>
_debug("Removing "+ removeKeys[i] + " from Local Storage");
//</debug>
_storage.removeItem(removeKeys[i]);
}
}
},
/**
* private
*/
retrieveAsset: function (key) {
try {
return _storage.getItem(key);
}
catch (e) {
// Private browsing mode
return null;
}
},
setAsset: function(key, content) {
try {
if (content === null || content == '') {
_storage.removeItem(key);
} else {
_storage.setItem(key, content);
}
}
catch (e) {
if (_storage && e.code == e.QUOTA_EXCEEDED_ERR) {
//<debug>
_warn("LocalStorage Quota exceeded, cannot store " + key + " locally");
//</debug>
}
}
}
};
var Asset = function (cfg) {
if (typeof cfg.assetConfig === 'string') {
this.assetConfig = {
path: cfg.assetConfig
};
} else {
this.assetConfig = cfg.assetConfig;
}
this.type = cfg.type;
this.key = getStorageKey(this.assetConfig.path, cfg.manifest.profile);
if (cfg.loadFromCache) {
this.loadFromCache();
}
};
Asset.prototype = {
shouldCache: function() {
return _storage && this.assetConfig.update && this.assetConfig.hash && !this.assetConfig.remote;
},
is: function (asset) {
return (!!asset && this.assetConfig && asset.assetConfig && (this.assetConfig.hash === asset.assetConfig.hash))
},
cache: function(content) {
if (this.shouldCache()) {
LocalStorage.setAsset(this.key, content || this.content);
}
},
uncache: function() {
LocalStorage.setAsset(this.key, null);
},
updateContent: function (content) {
this.content = content;
},
getSize: function () {
return this.content ? this.content.length : 0;
},
loadFromCache: function() {
if (this.shouldCache()) {
this.content = LocalStorage.retrieveAsset(this.key);
}
}
};
var Manifest = function (cfg) {
if (typeof cfg.content === "string") {
this.content = JSON.parse(cfg.content);
} else {
this.content = cfg.content;
}
this.assetMap = {};
this.url = cfg.url;
this.fromCache = !!cfg.cached;
this.assetCache = !(cfg.assetCache === false);
this.key = getStorageKey(this.url);
// Pull out select properties for repetitive use
this.profile = this.content.profile;
this.hash = this.content.hash;
this.loadOrder = this.content.loadOrder;
this.deltas = this.content.cache ? this.content.cache.deltas : null;
this.cacheEnabled = this.content.cache ? this.content.cache.enable : false;
this.loadOrderMap = (this.loadOrder) ? Boot.createLoadOrderMap(this.loadOrder) : null;
var tags = this.content.tags,
platformTags = Ext.platformTags;
if (tags) {
if (tags instanceof Array) {
for (var i = 0; i < tags.length; i++) {
platformTags[tags[i]] = true;
}
} else {
Boot.apply(platformTags, tags);
}
// re-apply the query parameters, so that the params as specified
// in the url always has highest priority
Boot.apply(platformTags, Boot.loadPlatformsParam());
}
// Convert all assets into Assets
this.js = this.processAssets(this.content.js, 'js');
this.css = this.processAssets(this.content.css, 'css');
};
Manifest.prototype = {
processAsset: function(assetConfig, type) {
var processedAsset = new Asset({
manifest: this,
assetConfig: assetConfig,
type: type,
loadFromCache: this.assetCache
});
this.assetMap[assetConfig.path] = processedAsset;
return processedAsset;
},
processAssets: function(assets, type) {
var results = [],
ln = assets.length,
i, assetConfig;
for (i = 0; i < ln; i++) {
assetConfig = assets[i];
results.push(this.processAsset(assetConfig, type));
}
return results;
},
useAppCache: function() {
return true;
},
// Concatenate all assets for easy access
getAssets: function () {
return this.css.concat(this.js);
},
getAsset: function (path) {
return this.assetMap[path];
},
shouldCache: function() {
return this.hash && this.cacheEnabled;
},
cache: function(content) {
if (this.shouldCache()) {
LocalStorage.setAsset(this.key, JSON.stringify(content || this.content));
}
//<debug>
else {
_debug("Manifest caching is disabled.");
}
//</debug>
},
is: function(manifest) {
//<debug>
_debug("Testing Manifest: " + this.hash + " VS " + manifest.hash);
//</debug>
return this.hash === manifest.hash;
},
// Clear the manifest from local storage
uncache: function() {
LocalStorage.setAsset(this.key, null);
},
exportContent: function() {
return Boot.apply({
loadOrderMap: this.loadOrderMap
}, this.content);
}
};
/**
* Microloader
* @type {Array}
* @private
*/
var _listeners = [],
_loaded = false,
Microloader = {
init: function () {
Ext.microloaded = true;
// data-app is in the dev template for an application and is also
// injected into the app my CMD for production
// We use this to prefix localStorage cache to prevent collisions
var microloaderElement = document.getElementById('microloader');
Microloader.appId = microloaderElement ? microloaderElement.getAttribute('data-app') : '';
if (Ext.beforeLoad) {
postProcessor = Ext.beforeLoad(Ext.platformTags);
}
var readyHandler = Ext._beforereadyhandler;
Ext._beforereadyhandler = function () {
if (Ext.Boot !== Boot) {
Ext.apply(Ext.Boot, Boot);
Ext.Boot = Boot;
}
if (readyHandler) {
readyHandler();
}
};
},
applyCacheBuster: function(url) {
var tstamp = new Date().getTime(),
sep = url.indexOf('?') === -1 ? '?' : '&';
url = url + sep + "_dc=" + tstamp;
return url;
},
run: function() {
Microloader.init();
var manifest = Ext.manifest;
if (typeof manifest === "string") {
var extension = ".json",
url = manifest.indexOf(extension) === manifest.length - extension.length
? manifest
: manifest + ".json",
key = getStorageKey(url),
content = LocalStorage.retrieveAsset(key);
// Manifest found in local storage, use this for immediate boot except in PhantomJS environments for building.
if (content) {
//<debug>
_debug("Manifest file, '" + url + "', was found in Local Storage");
//</debug>
manifest = new Manifest({
url: url,
content: content,
cached: true
});
if (postProcessor) {
postProcessor(manifest);
}
Microloader.load(manifest);
// Manifest is not in local storage. Fetch it from the server
} else {
Boot.fetch(Microloader.applyCacheBuster(url), function (result) {
//<debug>
_debug("Manifest file was not found in Local Storage, loading: " + url);
//</debug>
manifest = new Manifest({
url: url,
content: result.content
});
manifest.cache();
if (postProcessor) {
postProcessor(manifest);
}
Microloader.load(manifest);
});
}
// Embedded Manifest into JS file
} else {
//<debug>
_debug("Manifest was embedded into application javascript file");
//</debug>
manifest = new Manifest({
content: manifest
});
Microloader.load(manifest);
}
},
/**
*
* @param {Manifest} manifest
*/
load: function (manifest) {
Microloader.urls = [];
Microloader.manifest = manifest;
Ext.manifest = Microloader.manifest.exportContent();
var assets = manifest.getAssets(),
cachedAssets = [],
asset, i, len, include, entry;
for (len = assets.length, i = 0; i < len; i++) {
asset = assets[i];
include = Microloader.filterAsset(asset);
if (include) {
// Asset is using the localStorage caching system
if (manifest.shouldCache() && asset.shouldCache()) {
// Asset already has content from localStorage, instantly seed that into boot
if (asset.content) {
//<debug>
_debug("Asset: " + asset.assetConfig.path + " was found in local storage. No remote load for this file");
//</debug>
entry = Boot.registerContent(asset.assetConfig.path, asset.type, asset.content);
if (entry.evaluated) {
_warn("Asset: " + asset.assetConfig.path + " was evaluated prior to local storage being consulted.");
}
//load via AJAX and seed content into Boot
} else {
//<debug>
_debug("Asset: " + asset.assetConfig.path + " was NOT found in local storage. Adding to load queue");
//</debug>
cachedAssets.push(asset);
}
}
Microloader.urls.push(asset.assetConfig.path);
Boot.assetConfig[asset.assetConfig.path] = Boot.apply({type: asset.type}, asset.assetConfig);
}
}
// If any assets are using the caching system and do not have local versions load them first via AJAX
if (cachedAssets.length > 0) {
Microloader.remainingCachedAssets = cachedAssets.length;
while (cachedAssets.length > 0) {
asset = cachedAssets.pop();
//<debug>
_debug("Preloading/Fetching Cached Assets from: " + asset.assetConfig.path);
//</debug>
Boot.fetch(asset.assetConfig.path, (function(asset) {
return function(result) {
Microloader.onCachedAssetLoaded(asset, result);
}
})(asset));
}
} else {
Microloader.onCachedAssetsReady();
}
},
// Load the asset and seed its content into Boot to be evaluated in sequence
onCachedAssetLoaded: function (asset, result) {
var checksum;
result = Microloader.parseResult(result);
Microloader.remainingCachedAssets--;
if (!result.error) {
checksum = Microloader.checksum(result.content, asset.assetConfig.hash);
if (!checksum) {
_warn("Cached Asset '" + asset.assetConfig.path + "' has failed checksum. This asset will be uncached for future loading");
// Un cache this asset so it is loaded next time
asset.uncache();
}
//<debug>
_debug("Checksum for Cached Asset: " + asset.assetConfig.path + " is " + checksum);
//</debug>
Boot.registerContent(asset.assetConfig.path, asset.type, result.content);
asset.updateContent(result.content);
asset.cache();
} else {
_warn("There was an error pre-loading the asset '" + asset.assetConfig.path + "'. This asset will be uncached for future loading");
// Un cache this asset so it is loaded next time
asset.uncache();
}
if (Microloader.remainingCachedAssets === 0) {
Microloader.onCachedAssetsReady();
}
},
onCachedAssetsReady: function(){
Boot.load({
url: Microloader.urls,
loadOrder: Microloader.manifest.loadOrder,
loadOrderMap: Microloader.manifest.loadOrderMap,
sequential: true,
success: Microloader.onAllAssetsReady,
failure: Microloader.onAllAssetsReady
});
},
onAllAssetsReady: function() {
_loaded = true;
Microloader.notify();
if (navigator.onLine !== false) {
//<debug>
_debug("Application is online, checking for updates");
//</debug>
Microloader.checkAllUpdates();
}
else {
//<debug>
_debug("Application is offline, adding online listener to check for updates");
//</debug>
if(window['addEventListener']) {
window.addEventListener('online', Microloader.checkAllUpdates, false);
}
}
},
onMicroloaderReady: function (listener) {
if (_loaded) {
listener();
} else {
_listeners.push(listener);
}
},
/**
* @private
*/
notify: function () {
//<debug>
_debug("notifying microloader ready listeners.");
//</debug>
var listener;
while((listener = _listeners.shift())) {
listener();
}
},
// Delta patches content
patch: function (content, delta) {
var output = [],
chunk, i, ln;
if (delta.length === 0) {
return content;
}
for (i = 0,ln = delta.length; i < ln; i++) {
chunk = delta[i];
if (typeof chunk === 'number') {
output.push(content.substring(chunk, chunk + delta[++i]));
}
else {
output.push(chunk);
}
}
return output.join('');
},
checkAllUpdates: function() {
//<debug>
_debug("Checking for All Updates");
//</debug>
if(window['removeEventListener']) {
window.removeEventListener('online', Microloader.checkAllUpdates, false);
}
if(_cache) {
Microloader.checkForAppCacheUpdate();
}
// Manifest came from a cached instance, check for updates
if (Microloader.manifest.fromCache) {
Microloader.checkForUpdates();
}
},
checkForAppCacheUpdate: function() {
//<debug>
_debug("Checking App Cache status");
//</debug>
if (_cache.status === _cache.UPDATEREADY || _cache.status === _cache.OBSOLETE) {
//<debug>
_debug("App Cache is already in an updated");
//</debug>
Microloader.appCacheState = 'updated';
} else if (_cache.status !== _cache.IDLE && _cache.status !== _cache.UNCACHED) {
//<debug>
_debug("App Cache is checking or downloading updates, adding listeners");
//</debug>
Microloader.appCacheState = 'checking';
_cache.addEventListener('error', Microloader.onAppCacheError);
_cache.addEventListener('noupdate', Microloader.onAppCacheNotUpdated);
_cache.addEventListener('cached', Microloader.onAppCacheNotUpdated);
_cache.addEventListener('updateready', Microloader.onAppCacheReady);
_cache.addEventListener('obsolete', Microloader.onAppCacheObsolete);
} else {
//<debug>
_debug("App Cache is current or uncached");
//</debug>
Microloader.appCacheState = 'current';
}
},
checkForUpdates: function() {
// Fetch the Latest Manifest from the server
//<debug>
_debug("Checking for updates at: " + Microloader.manifest.url);
//</debug>
Boot.fetch(Microloader.applyCacheBuster(Microloader.manifest.url), Microloader.onUpdatedManifestLoaded);
},
onAppCacheError: function(e) {
_warn(e.message);
Microloader.appCacheState = 'error';
Microloader.notifyUpdateReady();
},
onAppCacheReady: function() {
_cache.swapCache();
Microloader.appCacheUpdated();
},
onAppCacheObsolete: function() {
Microloader.appCacheUpdated();
},
appCacheUpdated: function() {
//<debug>
_debug("App Cache Updated");
//</debug>
Microloader.appCacheState = 'updated';
Microloader.notifyUpdateReady();
},
onAppCacheNotUpdated: function() {
//<debug>
_debug("App Cache Not Updated Callback");
//</debug>
Microloader.appCacheState = 'current';
Microloader.notifyUpdateReady();
},
filterAsset: function(asset) {
var cfg = (asset && asset.assetConfig) || {};
if(cfg.platform || cfg.exclude) {
return Boot.filterPlatform(cfg.platform, cfg.exclude);
}
return true;
},
onUpdatedManifestLoaded: function (result) {
result = Microloader.parseResult(result);
if (!result.error) {
var currentAssets, newAssets, currentAsset, newAsset, prop,
assets, deltas, deltaPath, include,
updatingAssets = [],
manifest = new Manifest({
url: Microloader.manifest.url,
content: result.content,
assetCache: false
});
Microloader.remainingUpdatingAssets = 0;
Microloader.updatedAssets = [];
Microloader.removedAssets = [];
Microloader.updatedManifest = null;
Microloader.updatedAssetsReady = false;
// If the updated manifest has turned off caching we need to clear out all local storage
// and trigger a appupdate as all content is now uncached
if (!manifest.shouldCache()) {
//<debug>
_debug("New Manifest has caching disabled, clearing out any private storage");
//</debug>
Microloader.updatedManifest = manifest;
LocalStorage.clearAllPrivate(manifest);
Microloader.onAllUpdatedAssetsReady();
return;
}
// Manifest itself has changed
if (!Microloader.manifest.is(manifest)) {
Microloader.updatedManifest = manifest;
currentAssets = Microloader.manifest.getAssets();
newAssets = manifest.getAssets();
// Look through new assets for assets that do not exist or assets that have different versions
for (prop in newAssets) {
newAsset = newAssets[prop];
currentAsset = Microloader.manifest.getAsset(newAsset.assetConfig.path);
include = Microloader.filterAsset(newAsset);
if (include && (!currentAsset || (newAsset.shouldCache() && (!currentAsset.is(newAsset))))) {
//<debug>
_debug("New/Updated Version of Asset: " + newAsset.assetConfig.path + " was found in new manifest");
//</debug>
updatingAssets.push({_new: newAsset, _current: currentAsset});
}
}
// Look through current assets for stale/old assets that have been removed
for (prop in currentAssets) {
currentAsset = currentAssets[prop];
newAsset = manifest.getAsset(currentAsset.assetConfig.path);
//New version of this asset has been filtered out
include = !Microloader.filterAsset(newAsset);
if (!include || !newAsset || (currentAsset.shouldCache() && !newAsset.shouldCache())) {
//<debug>
_debug("Asset: " + currentAsset.assetConfig.path + " was not found in new manifest, has been filtered out or has been switched to not cache. Marked for removal");
//</debug>
Microloader.removedAssets.push(currentAsset);
}
}
// Loop through all assets that need updating
if (updatingAssets.length > 0) {
Microloader.remainingUpdatingAssets = updatingAssets.length;
while (updatingAssets.length > 0) {
assets = updatingAssets.pop();
newAsset = assets._new;
currentAsset = assets._current;
// Full Updates will simply download the file and replace its current content
if (newAsset.assetConfig.update === "full" || !currentAsset) {
//<debug>
if (newAsset.assetConfig.update === "delta") {
_debug("Delta updated asset found without current asset available: " + newAsset.assetConfig.path + " fetching full file");
} else {
_debug("Full update found for: " + newAsset.assetConfig.path + " fetching");
}
//</debug>
// Load the asset and cache its its content into Boot to be evaluated in sequence
Boot.fetch(newAsset.assetConfig.path, (function (asset) {
return function (result) {
Microloader.onFullAssetUpdateLoaded(asset, result)
};
}(newAsset))
);
// Delta updates will be given a delta patch
} else if (newAsset.assetConfig.update === "delta") {
deltas = manifest.deltas;
deltaPath = deltas + "/" + newAsset.assetConfig.path + "/" + currentAsset.assetConfig.hash + ".json";
// Fetch the Delta Patch and update the contents of the asset
//<debug>
_debug("Delta update found for: " + newAsset.assetConfig.path + " fetching");
//</debug>
Boot.fetch(deltaPath,
(function (asset, oldAsset) {
return function (result) {
Microloader.onDeltaAssetUpdateLoaded(asset, oldAsset, result)
};
}(newAsset, currentAsset))
);
}
}
} else {
//<debug>
_debug("No Assets needed updating");
//</debug>
Microloader.onAllUpdatedAssetsReady();
}
} else {
//<debug>
_debug("Manifest files have matching hash's");
//</debug>
Microloader.onAllUpdatedAssetsReady();
}
} else {
_warn("Error loading manifest file to check for updates");
Microloader.onAllUpdatedAssetsReady();
}
},
onFullAssetUpdateLoaded: function(asset, result) {
var checksum;
result = Microloader.parseResult(result);
Microloader.remainingUpdatingAssets--;
if (!result.error) {
checksum = Microloader.checksum(result.content, asset.assetConfig.hash);
//<debug>
_debug("Checksum for Full asset: " + asset.assetConfig.path + " is " + checksum);
//</debug>
if (!checksum) {
//<debug>
_debug("Full Update Asset: " + asset.assetConfig.path + " has failed checksum. This asset will be uncached for future loading");
//</debug>
// uncache this asset as there is a new version somewhere that has not been loaded.
asset.uncache();
} else {
asset.updateContent(result.content);
Microloader.updatedAssets.push(asset);
}
} else {
//<debug>
_debug("Error loading file at" + asset.assetConfig.path + ". This asset will be uncached for future loading");
//</debug>
// uncache this asset as there is a new version somewhere that has not been loaded.
asset.uncache();
}
if (Microloader.remainingUpdatingAssets === 0) {
Microloader.onAllUpdatedAssetsReady();
}
},
onDeltaAssetUpdateLoaded: function(asset, oldAsset, result) {
var json, checksum, content;
result = Microloader.parseResult(result);
Microloader.remainingUpdatingAssets--;
if (!result.error) {
//<debug>
_debug("Delta patch loaded successfully, patching content");
//</debug>
try {
json = JSON.parse(result.content);
content = Microloader.patch(oldAsset.content, json);
checksum = Microloader.checksum(content, asset.assetConfig.hash);
//<debug>
_debug("Checksum for Delta Patched asset: " + asset.assetConfig.path + " is " + checksum);
//</debug>
if (!checksum) {
//<debug>
_debug("Delta Update Asset: " + asset.assetConfig.path + " has failed checksum. This asset will be uncached for future loading");
//</debug>
// uncache this asset as there is a new version somewhere that has not been loaded.
asset.uncache();
} else {
asset.updateContent(content);
Microloader.updatedAssets.push(asset);
}
} catch (e) {
_warn("Error parsing delta patch for " + asset.assetConfig.path + " with hash " + oldAsset.assetConfig.hash + " . This asset will be uncached for future loading");
// uncache this asset as there is a new version somewhere that has not been loaded.
asset.uncache();
}
} else {
_warn("Error loading delta patch for " + asset.assetConfig.path + " with hash " + oldAsset.assetConfig.hash + " . This asset will be uncached for future loading");
// uncache this asset as there is a new version somewhere that has not been loaded.
asset.uncache();
}
if (Microloader.remainingUpdatingAssets === 0) {
Microloader.onAllUpdatedAssetsReady();
}
},
//TODO: Make this all transaction based to allow for reverting if quota is exceeded
onAllUpdatedAssetsReady: function() {
var asset;
Microloader.updatedAssetsReady = true;
if (Microloader.updatedManifest) {
while (Microloader.removedAssets.length > 0) {
asset = Microloader.removedAssets.pop();
//<debug>
_debug("Asset: " + asset.assetConfig.path + " was removed, un-caching");
//</debug>
asset.uncache();
}
if (Microloader.updatedManifest) {
//<debug>
_debug("Manifest was updated, re-caching");
//</debug>
Microloader.updatedManifest.cache();
}
while (Microloader.updatedAssets.length > 0) {
asset = Microloader.updatedAssets.pop();
//<debug>
_debug("Asset: " + asset.assetConfig.path + " was updated, re-caching");
//</debug>
asset.cache();
}
}
Microloader.notifyUpdateReady();
},
notifyUpdateReady: function () {
if (Microloader.appCacheState !== 'checking' && Microloader.updatedAssetsReady) {
if (Microloader.appCacheState === 'updated' || Microloader.updatedManifest) {
//<debug>
_debug("There was an update here you will want to reload the app, trigger an event");
//</debug>
Microloader.appUpdate = {
updated: true,
app: Microloader.appCacheState === 'updated',
manifest: Microloader.updatedManifest && Microloader.updatedManifest.exportContent()
};
Microloader.fireAppUpdate();
}
//<debug>
else {
_debug("AppCache and LocalStorage Cache are current, no updating needed");
Microloader.appUpdate = {};
}
//</debug>
}
},
fireAppUpdate: function() {
if (Ext.GlobalEvents) {
// We defer dispatching this event slightly in order to let the application finish loading
// as we are still very early in the lifecycle
Ext.defer(function() {
Ext.GlobalEvents.fireEvent('appupdate', Microloader.appUpdate);
}, 100);
}
},
checksum: function(content, hash) {
if(!content || !hash) {
return false;
}
var passed = true,
hashLn = hash.length,
checksumType = content.substring(0, 1);
if (checksumType == '/') {
if (content.substring(2, hashLn + 2) !== hash) {
passed = false;
}
} else if (checksumType == 'f') {
if (content.substring(10, hashLn + 10) !== hash) {
passed = false;
}
} else if (checksumType == '.') {
if (content.substring(1, hashLn + 1) !== hash) {
passed = false;
}
}
return passed;
},
parseResult: function(result) {
var rst = {};
if ((result.exception || result.status === 0) && !Boot.env.phantom) {
rst.error = true;
} else if ((result.status >= 200 && result.status < 300) || result.status === 304
|| Boot.env.phantom
|| (result.status === 0 && result.content.length > 0)
) {
rst.content = result.content;
} else {
rst.error = true;
}
return rst;
}
};
return Microloader;
}());
/**
* @type {String/Object}
*/
Ext.manifest = Ext.manifest || "bootstrap";
Ext.Microloader.run();

View File

@ -0,0 +1,62 @@
<project name="bootstrap-impl">
<!--
This macrodef regenerates the bootstrap.js class system metadata, which includes
relative file paths, class names, alternate class names, and class alias data
-->
<macrodef name="x-bootstrap">
<attribute name="file"/>
<attribute name="basedir"/>
<attribute name="coreFilesFile" default="@{file}"/>
<attribute name="classMetadataFile" default="@{file}"/>
<attribute name="overridesFile" default="@{file}"/>
<attribute name="includeBoot" default="true"/>
<attribute name="includeManifest" default="false"/>
<attribute name="includeCoreFiles" default="false"/>
<attribute name="includeMetadata" default="true"/>
<attribute name="includeOverrides" default="true"/>
<attribute name="appendCoreFiles" default="true"/>
<attribute name="appendClassMetadata" default="true"/>
<attribute name="appendOverrides" default="true"/>
<attribute name="manifestTpl" default="var Ext = Ext || '{' '}'; Ext.manifest = {0};"/>
<attribute name="coreFilesJsonpTpl" default="Ext.Boot.loadSync"/>
<attribute name="loaderConfigJsonpTpl" default="Ext.Loader.addClassPathMappings"/>
<attribute name="overrideTpl" default='Ext.Loader.loadScriptsSync'/>
<attribute name="overrideTplType" default="jsonp"/>
<attribute name="overrideExcludeTags" default="package-core,package-sencha-core,package-${framework.name},package-${toolkit.name}"/>
<text name="launchcode" optional="true"/>
<sequential>
<local name="temp.file"/>
<tempfile property="temp.file"
deleteonexit="true"
createfile="true"/>
<echo file="${temp.file}">@{launchcode}</echo>
<x-compile refid="${compiler.ref.id}">
<![CDATA[
bootstrap
-baseDir=@{basedir}
-file=@{file}
-coreFilesFile=@{coreFilesFile}
-classMetadataFile=@{classMetadataFile}
-overridesFile=@{overridesFile}
-includeBoot=@{includeBoot}
-includeManifest=@{includeManifest}
-includeCoreFiles=@{includeCoreFiles}
-includeMetadata=@{includeMetadata}
-includeOverrides=@{includeOverrides}
-appendCoreFiles=@{appendCoreFiles}
-appendClassMetadata=@{appendClassMetadata}
-appendOverrides=@{appendOverrides}
-manifestTpl=@{manifestTpl}
-coreFilesJsonpTpl=@{coreFilesJsonpTpl}
-loaderConfigJsonpTpl=@{loaderConfigJsonpTpl}
-overrideTpl=@{overrideTpl}
-overrideType=@{overrideTplType}
-overrideExcludeTags=@{overrideExcludeTags}
-launchContentFile=${temp.file}
]]>
</x-compile>
<delete file="${temp.file}"/>
</sequential>
</macrodef>
</project>

362
extjs/.sencha/package/build-impl.xml vendored Normal file
View File

@ -0,0 +1,362 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
********************************** DO NOT EDIT **********************************
This file will be replaced during upgrades so DO NOT EDIT this file. If you need to
adjust the process, reading and understanding this file is the first step.
In most cases, the adjustments can be achieved by setting properties or providing one
of the "hooks" in the form of a "-before-" or "-after-" target. Whenever possible, look
for one of these solutions.
Failing that, you can copy whole targets to your build.xml file and it will overrride
the target provided here. Doing that can create problems for upgrading to newer
versions of Cmd so it is not recommended but it will be easier to manage than editing
this file in most cases.
-->
<project name="x-pkg-build-impl">
<!--
===============================================================
Find Cmd
uses targets from find-cmd-impl.xml to detect the current
install of Sencha Cmd
===============================================================
-->
<import file="${basedir}/.sencha/package/find-cmd-impl.xml"/>
<target name="init-cmd"
depends="find-cmd-in-path,
find-cmd-in-environment,
find-cmd-in-shell">
<echo>Using Sencha Cmd from ${cmd.dir} for ${ant.file}</echo>
<!--
load the sencha.jar ant task definitions.
NOTE: the 'loaderref' attribute stores this task def's class loader
on the project by that name, so it will be sharable across sub-projects.
This fixes out-of-memory issues, as well as increases performance.
To supoprt this, it is recommended that any customizations that use
'ant' or 'antcall' tasks set 'inheritrefs=true' on those tasks, in order
to propagate the senchaloader reference to those subprojects.
The sencha 'x-ant-call' task, which extends 'antcall' and defaults
'inheritrefs' to true, may be used in place of antcall in
build process customizations.
-->
<taskdef resource="com/sencha/ant/antlib.xml"
classpath="${cmd.dir}/sencha.jar"
loaderref="senchaloader"/>
<!--
Some operations require sencha.jar in the current java classpath,
so this will extend the java.lang.Thread#contextClassLoader with the
specified java classpath entries
-->
<x-extend-classpath>
<jar path="${cmd.dir}/sencha.jar"/>
</x-extend-classpath>
</target>
<!--
===============================================================
Init
uses targets from init-impl.xml to load Sencha Cmd config
system properties and ant task definitions
===============================================================
-->
<import file="${basedir}/.sencha/package/refresh-impl.xml"/>
<import file="${basedir}/.sencha/package/init-impl.xml"/>
<target name="init"
depends="init-local,
init-cmd,
-before-init,
-init,
-after-init,
-before-init-defaults,
-init-defaults,
-after-init-defaults,
-init-compiler,
-init-web-server"/>
<!--
===============================================================
Build
this is the starting point for the build process. The 'depends'
attribute on the -build target controls the ordering of the
different build phases
===============================================================
-->
<target name="-before-build"/>
<target name="-build"
depends="js,
inherit-resources,
copy-resources,
slice,
sass,
subpkgs,
examples,
pkg"/>
<target name="-after-build"/>
<target name="build"
depends="init,-before-build,-build,-after-build"
description="Builds the package"/>
<!--
===============================================================
Clean
removes all artifacts from the output build directories
===============================================================
-->
<target name="-before-clean"/>
<target name="-after-clean"/>
<target name="-clean">
<delete dir="${package.output.base}"/>
<delete dir="${build.temp.dir}"/>
</target>
<target name="clean"
depends="init"
description="Removes all build output produced by the 'build' target">
<x-ant-call>
<target name="-before-clean"/>
<target name="-clean"/>
<target name="clean-subpkgs"/>
<target name="clean-examples"/>
<target name="-after-clean"/>
</x-ant-call>
</target>
<!--
===============================================================
JS
uses targets from js-impl.xml to produce the output js files
containing package js classes
===============================================================
-->
<import file="${basedir}/.sencha/package/js-impl.xml"/>
<target name="js"
depends="init"
description="Builds the JS files">
<x-ant-call unless="skip.js">
<target name="-before-js"/>
<target name="-js"/>
<target name="-after-js"/>
</x-ant-call>
</target>
<!--
===============================================================
Resources
uses targets from resources-impl.xml the package's resources
to the output directory
===============================================================
-->
<import file="${basedir}/.sencha/package/resources-impl.xml"/>
<target name="inherit-resources"
depends="init"
description="Performs the resource folder inheritance from base theme(s)">
<x-ant-call unless="skip.inherit">
<target name="-before-inherit-resources"/>
<target name="-inherit-resources"/>
<target name="-after-inherit-resources"/>
</x-ant-call>
</target>
<target name="copy-resources"
depends="init"
description="Copy theme resources to folder">
<x-ant-call unless="skip.resources">
<target name="-before-copy-resources"/>
<target name="-copy-resources"/>
<target name="-after-copy-resources"/>
</x-ant-call>
</target>
<!--
===============================================================
Sass
uses targets from sass-impl.xml to produce the output css
files for the package's styling
===============================================================
-->
<import file="${basedir}/.sencha/package/sass-impl.xml"/>
<target name="sass"
depends="init"
description="Builds the SASS files using Compass">
<x-ant-call unless="skip.sass">
<target name="-before-sass"/>
<target name="-sass"/>
<target name="-after-sass"/>
</x-ant-call>
</target>
<!--
===============================================================
Slice
uses targets from slice-impl.xml to extract theme images from
the package's styling for use with older browsers that don't
support modern css features
===============================================================
-->
<import file="${basedir}/.sencha/package/slice-impl.xml"/>
<target name="slice"
depends="init"
description="Slices CSS3 theme to produce non-CSS3 images and sprites">
<x-ant-call unless="skip.slice">
<target name="-before-slice"/>
<target name="-slice"/>
<target name="-after-slice"/>
</x-ant-call>
</target>
<!--
===============================================================
Sub Builds
uses targets from sub-builds.xml to process other packages
and example applications contained within this package.
Only the "subpkgs" and "examples" targets are part of the
main build sequence.
===============================================================
-->
<import file="sub-builds.xml"/>
<!--
sub packages
-->
<target name="subpkgs"
depends="init"
description="Builds all sub-packages">
<x-ant-call unless="skip.subpkgs">
<target name="-before-subpkgs"/>
<target name="-subpkgs"/>
<target name="-after-subpkgs"/>
</x-ant-call>
</target>
<target name="clean-subpkgs"
depends="init"
description="Cleans all sub-packages">
<x-ant-call unless="skip.clean.subpkgs">
<target name="-before-clean-subpkgs"/>
<target name="-clean-subpkgs"/>
<target name="-after-clean-subpkgs"/>
</x-ant-call>
</target>
<target name="upgrade-subpkgs"
depends="init"
description="Upgrades all sub-packages">
<x-ant-call unless="skip.upgrade.subpkgs">
<target name="-before-upgrade-subpkgs"/>
<target name="-upgrade-subpkgs"/>
<target name="-after-upgrade-subpkgs"/>
</x-ant-call>
</target>
<!--
example applications
-->
<target name="examples"
depends="init"
description="Builds all examples">
<x-ant-call unless="skip.examples">
<target name="-before-examples"/>
<target name="-examples"/>
<target name="-after-examples"/>
</x-ant-call>
</target>
<target name="clean-examples"
depends="init"
description="Upgrades all examples">
<x-ant-call unless="skip.clean.examples">
<target name="-before-clean-examples"/>
<target name="-clean-examples"/>
<target name="-after-clean-examples"/>
</x-ant-call>
</target>
<target name="upgrade-examples"
depends="init"
description="Upgrades all examples">
<x-ant-call unless="skip.upgrade.examples">
<target name="-before-upgrade-examples"/>
<target name="-upgrade-examples"/>
<target name="-after-upgrade-examples"/>
</x-ant-call>
</target>
<!--
Build PKG
-->
<target name="-before-pkg"/>
<target name="-after-pkg"/>
<target name="-pkg">
<x-make-pkg dir="${package.dir}"
files="${build.pkg.manifest}"
pkg="${pkg.build.dir}/${pkg.file.name}"
temp="${build.temp.dir}"/>
</target>
<target name="pkg"
depends="init"
description="Builds the PKG file">
<x-ant-call unless="skip.pkg">
<target name="-before-pkg"/>
<target name="-pkg"/>
<target name="-after-pkg"/>
</x-ant-call>
</target>
<!--
===============================================================
Help - properties
displays all current ant properties
===============================================================
-->
<target name=".props" depends="init"
description="Lists all properties defined for the build">
<echoproperties/>
</target>
<!--
===============================================================
Help - docs
displays the help message
===============================================================
-->
<target name=".help" depends="init"
description="Provides help on the build script">
<x-get-project-targets property="help.message"/>
<echo><![CDATA[${help.message}
This is the main build script for your package.
The following properties can be used to disable certain steps in the build
process.
* skip.pkg Do not build the PKG file
* skip.sass Do not build the SASS.
* skip.js Do not build the JS files.
For details about how these options affect your build, see
${basedir}/.sencha/package/build-impl.xml
These options can be stored in a local.properties file in this folder or in the
local.properties file in the workspace.
Alternatively, these can be supplied on the command line. For example:
sencha ant -Dskip.sass=1 build
To see all currently defined properties, do this:
sencha ant .props
]]></echo>
</target>
</project>

View File

@ -0,0 +1,9 @@
# =============================================================================
# This file provides an override point for default variables defined in
# defaults.properties.
#
# IMPORTANT - Sencha Cmd will merge your changes with its own during upgrades.
# To avoid potential merge conflicts avoid making large, sweeping changes to
# this file.
# =============================================================================

146
extjs/.sencha/package/codegen.json vendored Normal file
View File

@ -0,0 +1,146 @@
{
"sources": {
"package.json.tpl.merge": {
"9c7e7135be031f8d06045d338200cbf4a4222f88": "eJx1kD9PwzAQxfd+CitiREmYkJgZgaUIBuhwjS+pW9tn/AcRRfnuxMYxylBP997vfH7naceWU2lQWD2wajKX4WWp5+r2D/jRFPC61AV0FsGTjQw06VFRcCtzQSmwY2T7E1nPViNzjh6ERP6IrrPCeEE69j6RHhj/9xj1zEB3gQHXm99oXe6+q9u6LWlIGfBvV2hPVoFPdokoRYcx/ZR08s5u0R9FxzNtVOpa3jnFUTefoW3vjzlgzYWdGwfONfgDykhsuuA8qfq8fstminDvgg/on0GLHl0M523ATeNc1CFVc85OwZvgr2U4BiH5uqakDmSenS2LX0FYTLsedvMvLXaLQg\u003d\u003d"
},
"theme.html.tpl.merge": {
"2c775eb1b3eb10df6efa0743d8aa426af3f9a562": "eJx1U8GO0zAQvfcrZnOCqm7ahQPqJr2URYCQQNpy4Og608a7jm3saZIK8e/YTqHpAj4k8rx5855n7OLm7efN9tuXe6ipUetJccPYBAA2xp6cPNQEL8RLuF0sb1n4vJrDA2pRc/igxXzCWCCceTXyah2ZUJAkhev7nuDjA2xrbBDec6fR+yIfsCGvQeJBlizD70fZltnGaEJNbHuymIEYdmVG2FMeZe4gSDuPVH7dvmNvsnEdzRsss1ZiZ42jEbuTFdVlha0UyNJmBlJLklwxL7jCcjmDhveyOTaXwNGjSzu+CwFtgtYgdu4PfDK8Aq4UuGjeYQVK6icPXFfghZOWfMqLPUrECIdkVWaeTgp9jRhsUjjq+YTC+wxqh/syw543VuE8hfJzgaHqmPHIWz5EM/BOlNnOGPLkuJ0/+mxd5AP423rSHYrFNQ/NOCCx2CkuNTr48QeLq+HuIPUKlgvb310hqYsreL34C7HGh86awAon5SRbvMZNi26vTLeCVnoZWnuBf04uznrmVRiXYxQ8IM3+i8D0mWljuZB0Cq7/WTmfAmp/dAg7U52gMuhBG0q+FLdANYIzR12FeQoT7qzzYPawd+F2VWC5RpV3Ulemg65GDdGM1AeY5mOLKY9FhSvnAzHFn7necfF0SLorCOPT3nIXLu/4CGmC+XmERT56brFemHX6RSS9x1+JIiOn"
},
"build.properties.merge": {
"8b81315dbe73ce9c08478f4c1d2df84f456efcf5": "eJytkEtOxEAMRPdzipKyhbkBCzQrFnzE5AKetJNYdOzI3UnE7XGA3GC8K5f9/GnwdM84NWhHKeglM2a3VRIXkMJWdg+B2UQrenMk7mnJFSu50C1HXWREOUEUAfr3yzk4M3sVLudTE8bL68f7Z/v81uIRV9ZuJFymhE1yxsQ+ML5tcUReh6BuUkdILbBNkRYXHbDMg1P6BaI10GqSYrXKWoUOSmfaZ+mi88+f6GvvzRTmA8rGPO/6mFMtYPW4fiff97U/al6C1w\u003d\u003d"
},
"config.rb.tpl.merge": {
"33f446bd02c3fd24eb27891582eff6a2e789796b": "eJxLLi2KT8ksUrBVcMvMSdUDMvMSc1M14uPdPH1c4+M1ufJLSwpKS+KLSypzUoGqrPJSi0tSU7gALskTcA\u003d\u003d"
},
"all.scss.merge": {
"da39a3ee5e6b4b0d3255bfef95601890afd80709": "eJwDAAAAAAE\u003d"
},
"custom.js.merge": {
"199e99bbd15c3c0415569425cb21e77c95e9042a": "eJxlj0FOxDAMRfdziq9ZwUjTHIAlYslquIAncdtA4lSxC8PtSdoREmIV6f/4+dmdDjjhbY6KMSZGeycWrmQcQAqCGlWLMmEpUQzXb1xY/Ex4zgFnRMNXTAlSWseovCTybbbUDl6XsJHa1FH3sYX8B03cqqlS4OPQ//2V8CQ7K5fPriEBNjPU17gYjCZE6UnmYbacfj/GsaUNslUIhbVzu5lwq/2qVjIohGixCCVkkjiyWrOFzqWaXw0sViPr0IRYGVQ7yq+55X2HdObg7meo45udt4XnKyk7Je0Z5SWxqyyB6/Cu/Uh3ODj3crNhN28ar/f1D49P/7rLXUd7+QPuPI9g"
},
"testing.properties.merge": {
"e65f969c42eb4f355c850fc58fea852582f20db8": "eJyVkUFywyAQBO9+xVb5oIutH/gX+QCCkbUOAooFOf59FsmqpHKKOFEwOzM0Z7r9f53O9DGx0Mge5DBygFDKMSEX1m0VOBpepLqhsndXnpPvv2Z/oefEdiKdLRNoMAJqdyqMI5lAJiXP1hSOQbbZ5msh0mskmuOvnDHHWY32JjbmDEkxOCqxBai6K5DC4d693RAWzjHMCOVCkmB5ZLhW9EWdINjJtBJv9T7cU0vXsk/2rWwxn9AisHA6AooLcgNhqi8riYXdimAn0P+07vXsCOuD8rNimLWaiDKkmBrK7UOUyR0B2RRQdzXedyp+CMVaUi0rQn3ninMxvurPspjBQ/54jjHvYLbHycGKG5Fm2SIf0u/ut9M3l43NIg\u003d\u003d"
},
"sencha.cfg.tpl.merge": {
"057f5f361104adf05c1c49b01b08cd389b3822b2": "eJytkDFyw0AIRfs9BWOlteLOlRvnAHGRMg1eIYnRatGwSBpnxnc3TqIbmPJ/PvCo4KsnaCU1pGA9GkTJhpwLlPm6nzAO2FEBad3lAv9CDZ853WDBxI2nFXat4kir6LAL1dYFdpuoDlXYUj5yGrpSN6ynt+/5cDieN8ul+/u2LoTq9NLymz7mYjLCRWUiNXamPVwSRoL46/APGotzXynJ+kebODuEAC7inCNpRz7JP9QmjlZgZesh0+q/W0jLMx4e5yNt/w\u003d\u003d"
},
"sass-page.html.tpl.merge": {
"e27edf75982e4b8e1e05a4112718424540b46b10": "eJytU8FuEzEQvecrpnuCCMdp4VClm1xCESAkkJoeODreSdat1zaeySYRot+OvRsgCXBB+LArz/Ob9+xnlxevP84Xnz/dQs2NnQ3KCyEGADD3YR/NumZ4pp/D1fjySqTPyxHcodO1gndOjwZCJMKBV6OqZpkJJRu2OLvdMby/g0WNDcJbFR0SlbLH+nUNskqyHAR+2Zh2Wsy9Y3QsFvuABeh+Ni0YdyyzzA0k6UjI0/vFG3FdzAZ9o4Nn+OBVBcpaiLlhxAqscY8EylVAOprA1K3LvjtiXwROegeZB9WqvloART0t5JNuKpkgdGS8I0ndAYiVojrN5dl/9EDFrJR9i/+nQopIaN8EYzH+o8bSeyaOKpzxDw14/yOYPEZbU62RRQ5BGYcRvv7E8mhUXBs3gctx2N2cIInI9QRejX9DgifDaTeTlI9VbFo8xX2LcWX9dgKtIbO0R/C3wS9nO0HWaIyCkwfkF39FYHhm2gelDe+T6z92lkNIx7+JCEtf7aHySOA8d76sCsA1QvQbV6WLpX260JHAr2AVVZMqQTm0cmtc5bewrdFBNmPcGoby2GK3TmSFE+c9saufuV4q/bjudCeQ4nMUVEzv4ngLXYLyEGEpj95i7pey7n4Z6R7rd2BDMTo\u003d"
},
"fashion.html.tpl.merge": {
"5117b27d384b8c5ae0bd4aafdb1fad14eaddcc62": "eJytVE2P0zAQvfdXzOYEq7ppFw6om/RSFgFCAmnLgePUmTbedWxjT9NWiP3tOE6hH8AF4UOsmeeZ9+xnp7h6/XG++PLpDmpu9GxQXAkxAIC5dXuv1jXDM/kcbsaTGxE/L0ZwT0bWCO+MHA2EiAWHupqwmnWVULBiTbO7HcP7e1jU1BC8RW8ohCLvsX5dQ4yRlp2grxvVltncGibDYrF3lIHsozJj2nHe0dxCpPaBuPy8eCNeZad9DDZUZq2irbOeT6q3quK6rKhVkkQKhqCMYoVaBImayskQGtypZtMcE5tAPkW4jAljI1dPdjgf+GCxAtQafCfeUwVamccAaCoI0ivHIa3rzigV9knguLfDlh6wxT6bQfCyzPIn2VR5hMgEZU3IQzpsscJQxzi/mEcPIZsVed/i/7EEDEFI2zilyf8jx9JaDuzRXdQfGvD+5yXoxii6siYWnWWoDHn49gvrRoN+rcwUJmO3uz1Dkp1TeDn+DXE2RIttrPKkkVVL57htya+03U6hVUFFj4/w98FR2U4EHe+NFxw1EA//isD1hWjrUCreR9V/7JxfQzz+jSdY2moPlaUAxnLSpdEB1wTebkwVL5a08fH4AHYFKx+veQUODel8q0xlt7CtyUAnRpk1XOenEtM60TGcKe8LU/5C9RLl4zrxTiHaZ4JDH1/R6RaSg/nBwiI/efddv+h1mjok/Rh+ACC6Vqw\u003d"
}
},
"targets": {
".sencha/package/testing.properties": {
"source": "testing.properties.merge",
"version": "e65f969c42eb4f355c850fc58fea852582f20db8",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
".sencha/package/build.properties": {
"source": "build.properties.merge",
"version": "8b81315dbe73ce9c08478f4c1d2df84f456efcf5",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"package.json": {
"source": "package.json.tpl.merge",
"version": "9c7e7135be031f8d06045d338200cbf4a4222f88",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/example/theme.html": {
"source": "theme.html.tpl.merge",
"version": "2c775eb1b3eb10df6efa0743d8aa426af3f9a562",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/example/custom.js": {
"source": "custom.js.merge",
"version": "199e99bbd15c3c0415569425cb21e77c95e9042a",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/etc/all.scss": {
"source": "all.scss.merge",
"version": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/config.rb": {
"source": "config.rb.tpl.merge",
"version": "33f446bd02c3fd24eb27891582eff6a2e789796b",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
".sencha/package/sencha.cfg": {
"source": "sencha.cfg.tpl.merge",
"version": "057f5f361104adf05c1c49b01b08cd389b3822b2",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/example/sass-page.html": {
"source": "sass-page.html.tpl.merge",
"version": "e27edf75982e4b8e1e05a4112718424540b46b10",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
},
"sass/example/fashion.html": {
"source": "fashion.html.tpl.merge",
"version": "5117b27d384b8c5ae0bd4aafdb1fad14eaddcc62",
"parameters": {
"extRelPath": "",
"pkgName": "ext",
"pkgType": "framework",
"senchadir": ".sencha",
"touchRelPath": "../touch"
}
}
}
}

View File

@ -0,0 +1,225 @@
# =============================================================================
# This file defines properties used by build-impl.xml and the associated
# *-impl.xml files (sass-impl.xml, js-impl.xml, etc.), which are the core of
# the applications build process.
#
# IMPORTANT - This file is not modifiable by a package, and will be overwritten
# during each app upgrade. Please use build.properties for defining package
# customizations to these properties.
# =============================================================================
# ===========================================
# properties defining various directory
# locations
# ===========================================
build.dir=${package.build.dir}
package.output=${build.dir}
package.output.base=${package.output}
package.output.js=
package.output.css=resources
package.output.sass=${package.output.js}
package.output.resources=${package.output.css}
build.out.js.dir=${package.output.base}/${package.output.js}
build.out.css.dir=${package.output.base}/${package.output.css}
build.out.sass.dir=${package.output.base}/${package.output.sass}
build.out.resources.dir=${package.output.base}/${package.output.resources}
# a temporary output directory used for staging intermediate build artifacts
build.temp.dir=${workspace.build.dir}/temp/${package.name}
build.resources.dir=${build.out.resources.dir}
package.resources.dir=${package.dir}/resources
package.sass.dir=${package.dir}/sass
package.licenses.dir=${package.dir}/licenses
# ===========================================
# definitions of various file name patterns
# used for output artifacts
# ===========================================
build.name.prefix=${package.name}
build.name.css.prefix=${build.resources.dir}/${package.name}
build.name.ruby=config.rb
build.debug.suffix=-debug
build.all.suffix=-all
build.rtl.suffix=-rtl
build.all.debug.suffix=${build.all.suffix}${build.debug.suffix}
build.all.rtl.suffix=${build.all.suffix}${build.rtl.suffix}
build.all.rtl.debug.suffix=${build.all.suffix}${build.rtl.suffix}${build.debug.suffix}
# ===========================================
# define the output js file names for dev,
# debug, and compressed (no suffix)
# ===========================================
build.all.js=${build.out.js.dir}/${build.name.prefix}.js
build.all.debug.js=${build.out.js.dir}/${build.name.prefix}${build.debug.suffix}.js
package.sass.build.dir=${build.out.sass.dir}
# ===========================================
# output file names for the scss files
# ===========================================
build.all.scss=${package.sass.build.dir}/${build.name.prefix}${build.all.debug.suffix}.scss
build.all.rtl.scss=${package.sass.build.dir}/${build.name.prefix}${build.all.rtl.debug.suffix}.scss
# ===========================================
# output file names for the css files
# generated from the scss files by running
# a compass compilation
# ===========================================
build.all.css.debug.prefix=${package.name}${build.all.debug.suffix}
build.all.css.debug=${build.out.css.dir}/${build.all.css.debug.prefix}.css
build.all.rtl.css.debug.prefix=${package.name}${build.all.rtl.debug.suffix}
build.all.rtl.css.debug=${build.out.css.dir}/${build.all.rtl.css.debug.prefix}.css
build.all.css.prefix=${package.name}${build.all.suffix}
build.all.css=${build.out.css.dir}/${build.all.css.prefix}.css
build.all.rtl.css.prefix=${package.name}${build.all.rtl.suffix}
build.all.rtl.css=${build.out.css.dir}/${build.all.rtl.css.prefix}.css
build.all.ruby=${package.sass.build.dir}/${build.name.ruby}
# ===========================================
# options to pass to the 'sencha fs slice' command
# ===========================================
build.slice.options=
# ===========================================
# preprocessor options used when generating
# concatenated js output files
# ===========================================
build.compile.js.debug.options=debug:true
build.compile.js.options=debug:false
# enables / disables removing text references from
# package js build files
build.remove.references=false
# This property can be modified to change general build options
# such as excluding files from the set. The format expects newlines
# for each argument, for example:
#
# build.operations=\
# exclude\n \
# -namespace=Ext\n
#
# NOTE: modifications to build.operations are intended to be
# placed in an override of the "-after-init" target, where it
# can be calculated based on other
# ant properties
#
# build.operations=
# ===========================================
# compression option used to generate '-all'
# js output file
# ===========================================
build.compile.js.compress=+yui
build.compile.temp.dir=${build.temp.dir}/sencha-compiler
# controles whether to keep the temp compile dir after the build
build.compile.temp.dir.keep=true
# ===========================================
# selector count threshold to use when
# splitting a single css file into multiple
# css files (IE selector limit workaround)
# ===========================================
build.css.selector.limit=4095
# controls the ruby command used to execute compass. a full path
# to ruby may be specified rather than allowing the system shell
# to resolve the command
build.ruby.path=ruby
# controls the working directory of the child compass process
# and the output location for the .sass-cache folder
compass.working.dir=${package.sass.build.dir}
# enables / disables console highlighting for compass
compass.compile.boring=false
# enables / disables forced rebuilds for compass
compass.compile.force=true
# enables / disables stack traces in compass failure output
compass.compile.trace=true
# the directory containing sass files for compass to compile
compass.sass.dir=${package.sass.build.dir}
# the output directory where compass should place built css files
compass.css.dir=${build.out.css.dir}
# the directory containing the ruby config file for compass
compass.config.file=${build.all.ruby}
compass.cache.dir=${workspace.build.dir}/.sass-cache
# ===========================================
# Options for sub-packages
# Set to true/1 to enable build.version inheritance by sub-pacakges
build.subpkgs.inherit.version=0
# ===========================================
# theme slicing example page settings
# ===========================================
package.example.dir=${package.dir}/sass/example
package.example.build.dir=${build.temp.dir}/slicer-temp
package.example.base=${build.all.rtl.css.debug.prefix}
package.example.css=${package.example.build.dir}/${package.example.base}.css
package.example.scss=${package.example.build.dir}/${package.example.base}.scss
package.example.theme.html=${package.example.dir}/theme.html
package.example.fashion.html=${package.example.dir}/fashion.html
# the name of the intermediate screenshot file used for image slicing
build.capture.png=${package.example.build.dir}/theme-capture.png
# the name of the intermediate widget manifest file used for image slicing
build.capture.json=${package.example.build.dir}/theme-capture.json
# the microloader to use for bootstrapping operations
package.microloader.bootstrap=${package.microloader.dir}/${package.microloader.development}
build.boot.name=Boot.js
build.boot.file=${package.config.dir}/${build.boot.name}
build.slicer.microloader.name=Microloader.js
build.slicer.microloader.file=${package.config.dir}/${build.slicer.microloader.name}
# the ruby compass config file to generate for slicer page scss
package.example.out.ruby=${package.example.build.dir}/config.rb
package.example.compass.config=${package.example.out.ruby}
bootstrap.base.path=${package.example.dir}
bootstrap.example.js=${package.example.dir}/bootstrap.js
bootstrap.example.json=${package.example.dir}/bootstrap.json
# ===========================================
# options controlling output packaging
# operations for output '.pkg' file
# ===========================================
pkg.build.dir=${workspace.build.dir}/${package.name}
pkg.file.name=${package.name}.pkg
pkg.includes=**/*
pkg.excludes=package.json
# the port number to start the local web server on
build.web.port=1841
# the directory representing the root web folder
build.web.root=${workspace.dir}

58
extjs/.sencha/package/find-cmd-impl.xml vendored Normal file
View File

@ -0,0 +1,58 @@
<project name="x-find-cmd-impl">
<!--
Run "sencha which" to find the Sencha Cmd basedir and get "cmd.dir" setup. We
need to execute the command with curdir set properly for Cmd to pick up that we
are running for an application.
-->
<target name="find-cmd-in-path" unless="cmd.dir">
<exec executable="sencha"
dir="${basedir}"
failifexecutionfails="false"
outputproperty="exec.error">
<arg value="which"/>
<arg value="-p=cmd.dir"/>
<arg value="-o=$cmddir$"/>
</exec>
<!-- Now read the generated properties file and delete it -->
<property file="$cmddir$"/>
<delete file="$cmddir$"/>
</target>
<!--
Run "sencha which" again, similar to the above target, but explicitly check
for the 'SENCHA_CMD' environment variable to have been set, in case sencha
cmd isn't on the current path settings for the user
-->
<target name="find-cmd-in-environment" unless="cmd.dir">
<exec executable="${env.SENCHA_CMD}/sencha"
dir="${basedir}"
failifexecutionfails="false">
<arg value="which"/>
<arg value="-p=cmd.dir"/>
<arg value="-o=$cmddir$"/>
</exec>
<property file="$cmddir$"/>
<delete file="$cmddir$"/>
</target>
<!--
== Mac OSX launchd fix ==
create a child shell process that will source in ~/.bash_profile
and then attempt to call 'sencha which' with the current user's
shell profile settings. sencha which will create a properties file
that can then be loaded into this (the parent) process.
This allows ant integrations in IDE's like netbeans or eclipse to properly
locate Sencha Cmd, even if the IDE was launched via launchd (Finder)
-->
<target name="find-cmd-in-shell" unless="cmd.dir">
<delete quiet="true" file="$cmddir$"/>
<echo file="tmp.sh"> source ~/.bash_profile; sencha which -p cmd.dir -o '$cmddir$'</echo>
<exec executable="/bin/sh"><arg value="tmp.sh"/></exec>
<property file="$cmddir$"/>
<delete file="tmp.sh"/>
<delete file="$cmddir$"/>
</target>
</project>

299
extjs/.sencha/package/init-impl.xml vendored Normal file
View File

@ -0,0 +1,299 @@
<project name="x-init-impl">
<!--
Init-Local
-->
<target name="-before-init-local"/>
<target name="-init-local">
<!--
${basedir} is actually the basedir of build.xml, in the app root
so this imports ${app.dir}/local.properties, if present
-->
<property file="${basedir}/local.properties"/>
<!--
This will traverse upwards in the file system, starting at the
app root directory, looking for the workspace. Once found,
${workspace.dir}/local.properties will be imported into this
project
-->
<script language="javascript">
<![CDATA[
var f = new java.io.File(project.getProperty("basedir"));
var sub = ".sencha/workspace/sencha.cfg";
for (var p = f; p; p = p.getParentFile()) {
var t = new java.io.File(p, sub);
if (t.exists()) {
// we found the workspace folder!
t = new java.io.File(p, "local.properties");
if (t.exists()) {
var loader = project.createTask("property");
loader.setFile(new java.io.File(t.getCanonicalPath()));
loader.execute();
}
break;
}
}
]]>
</script>
</target>
<target name="-after-init-local"/>
<target name="init-local"
depends="-before-init-local,-init-local,-after-init-local"/>
<!--
Apply Version
-->
<target name="-before-apply-version"/>
<target name="-after-apply-version"/>
<target name="apply-version" if="build.version">
<echo>Switch package version to ${build.version}</echo>
<antcall target="-before-apply-version"/>
<x-set-json-version file="${basedir}/package.json"
version="${build.version}"/>
<antcall target="-after-apply-version"/>
</target>
<target name="-before-init"/>
<target name="-init" unless="internal.x-sencha-initialized">
<antcall target="apply-version"/>
<!--
Now, apply various project updates, such as ant class loader path
updates, as well as loading Sencha Cmd config system properties
into ant property space
-->
<x-sencha-init prefix=""/>
<!--
default the build environment to production if it is unset by this point
-->
<property name="build.environment" value="production"/>
<property name="CR" value="&#10;"/>
<property name="build.version" value="${package.version}"/>
<x-load-properties>
<file path="${package.config.dir}/${build.environment}.properties" required="false"/>
<file path="${package.config.dir}/build.properties" required="false"/>
<file path="${package.config.dir}/defaults.properties" required="true"/>
</x-load-properties>
<!--
See if there is a ./resources subfolder
-->
<if>
<not>
<available file="${package.resources.dir}" type="dir"/>
</not>
<then>
<property name="skip.resources" value="1"/>
<property name="skip.slice" value="1"/>
</then>
</if>
<!--
See if there is a ./sass subfolder
-->
<if>
<not>
<available file="${package.sass.dir}" type="dir"/>
</not>
<then>
<property name="skip.sass" value="1"/>
</then>
</if>
<!--
Slicing operations are not needed when using the touch framework
or for non-theme packages
-->
<if>
<or>
<not>
<equals arg1="theme" arg2="${package.type}"/>
</not>
<equals arg1="touch" arg2="${framework.name}"/>
</or>
<then>
<property name="skip.slice" value="1"/>
</then>
</if>
<!--
See if there is an ./examples subfolder full of example applications.
-->
<if>
<and>
<not>
<available file="${package.examples.dir}" type="dir"/>
</not>
<not>
<isset property="package.example.path"/>
</not>
</and>
<then>
<property name="skip.examples" value="1"/>
</then>
</if>
<!--
See if there is a ./packages subfolder full of packages. This is only allowed
for framework packages.
-->
<if>
<not>
<and>
<or>
<equals arg1="${package.type}" arg2="framework"/>
<equals arg1="${package.type}" arg2="toolkit"/>
</or>
<available file="${package.subpkgs.dir}" type="dir"/>
</and>
</not>
<then>
<property name="skip.subpkgs" value="1"/>
</then>
</if>
<if>
<not>
<isset property="package.framework"/>
</not>
<then>
<property name="skip.style" value="1"/>
</then>
</if>
<if>
<isset property="skip.style"/>
<then>
<property name="skip.sass" value="1"/>
<property name="skip.capture" value="1"/>
<property name="skip.slice" value="1"/>
</then>
</if>
<if>
<not>
<isset property="package.base.names"/>
</not>
<then>
<property name="skip.inherit" value="1"/>
</then>
</if>
<!--
this id string is used to share a common compiler instance
for all x-compile calls in this project
-->
<property name="compiler.ref.id" value="package-compiler"/>
<fileset id="pkg.files"
dir="${package.dir}"
includes="${pkg.includes}"
excludes="${pkg.excludes}">
<exclude name="**/.sass-cache/**/*"/>
<exclude name="**/.sass-cache"/>
<exclude name="**/theme-capture.*"/>
</fileset>
<if>
<isset property="package.toolkit"/>
<then>
<property name="package.sass.fashion" value="true"/>
</then>
</if>
<property name="package.sass.fashion" value="false"/>
<property name="package.sass.rhino" value="false"/>
<property name="package.sass.dynamic" value="false"/>
<!--
this property is set indicating we've reached the end of the
core init phase. it's presence will indicate that we've already
executed this target, and will bypass firing the init code
repeatedly in sub projects (antcall, x-ant-call)
See the above 'unless' attribute on the -init target
-->
<property name="internal.x-sencha-initialized" value="true"/>
</target>
<target name="-after-init"/>
<target name="-before-init-defaults"/>
<target name="-init-defaults">
<!--
This property can be modified to change general build options
such as excluding files from the set. The format expects newlines
for each argument, for example:
<property name="build.operations"/>
exclude
-namespace=Ext
</property>
-->
<property name="build.operations" value=""/>
<!--
This property can be modified to change concatenation
specific options
-strip-comments: comment suppression
-remove-text-references: transform string literal class references to objects
-beautify: unpack the source
<property name="build.concat.options"/>
-strip-comments
-remove-text-references
-beautify
</property>
-->
<property name="build.concat.options" value=""/>
<property name="build.concat.debug.options" value=""/>
<property name="build.pkg.manifest" value="pkg.files"/>
</target>
<target name="-after-init-defaults"/>
<!--
Initializes the compiler instances, reading in the app.json and package.json
definitions, as well as scanning and parsing all js files found on the
various classpath entries for the framework, workspace, packages, and app
-->
<target name="-init-compiler" depends="-init">
<x-compile refid="${compiler.ref.id}"
dir="${package.dir}"
initOnly="true"
inheritAll="true">
<![CDATA[
# base build command
-tempDir=${build.compile.temp.dir}
-keepTempDir=${build.compile.temp.dir.keep}
include
-all
and
save
package-${package.name}-all
]]>
</x-compile>
</target>
<target name="-init-web-server">
<x-server port="${build.web.port}"
portPropertyName="build.web.port"
defaultSassFile="${package.example.scss}"
defaultCssFile="${package.example.css}"
refid="package.web.server">
<mapping name="~cmd" path="${cmd.dir}"/>
<mapping name="" path="${build.web.root}"/>
</x-server>
<x-echo>Package web server available at http://localhost:${build.web.port}</x-echo>
</target>
</project>

71
extjs/.sencha/package/js-impl.xml vendored Normal file
View File

@ -0,0 +1,71 @@
<project name="x-js-impl">
<target name="-init-compile-js" depends="-init-compiler">
<if>
<equals arg1="theme" arg2="${package.type}"/>
<then>
<property name="build.compile.js.filter">
<![CDATA[
union
-tag=package-${package.name}
and
include
-tag=package-${package.name}-base
and
${build.operations}
]]>
</property>
</then>
<else>
<property name="build.compile.js.filter">
<![CDATA[
union
-tag=package-${package.name}
and
${build.operations}
]]>
</property>
</else>
</if>
</target>
<target name="-compile-js-debug" depends="-init-compile-js">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
restore
package-${package.name}-all
and
-options=${build.compile.js.debug.options}
${build.compile.js.filter}
and
concatenate
-remove-text-references=${build.remove.references}
-output-file=${build.all.debug.js}
${build.concat.debug.options}
]]>
</x-compile>
</target>
<target name="-compile-js-non-debug" depends="-init-compile-js">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
restore
package-${package.name}-all
and
-options=${build.compile.js.options}
${build.compile.js.filter}
and
concatenate
-remove-text-references=${build.remove.references}
${build.compile.js.compress}
-output-file=${build.all.js}
${build.concat.options}
]]>
</x-compile>
</target>
<target name="-before-js"/>
<target name="-after-js"/>
<target name="-js"
depends="-compile-js-debug,-compile-js-non-debug"/>
</project>

32
extjs/.sencha/package/plugin.xml vendored Normal file
View File

@ -0,0 +1,32 @@
<project basedir=".">
<!--
This file can be freely edited, so long as the <import file="${sencha.workspace.config.dir}/plugin.xml"/>
statement is not removed.
One of the purposes of this file is to hook various Sencha Command operations and do
processing before or after the command is processed. To do this, simply provide the
logic in a <target> using one of these names:
-before-generate-app Called before an application is generated
-after-generate-app Called after an application is generated
-before-generate-controller Called before a controller is generated
-after-generate-controller Called after a controller is generated
-before-generate-model Called before a model is generated
-after-generate-model Called after a model is generated
-before-generate-profile Called before a profile is generated
-after-generate-profile Called after a profile is generated
-->
<import file="${workspace.config.dir}/plugin.xml"/>
<!--
<target name="-after-generate-model">
... use ${args.path}, ${args.name} and ${args.fields} as needed ...
</target>
Other targets are similar. There are properties prefixed with "args." and the name of
the command line option that hold the parameters for the command.
-->
</project>

11
extjs/.sencha/package/refresh-impl.xml vendored Normal file
View File

@ -0,0 +1,11 @@
<project name="x-refresh-impl">
<import file="bootstrap-impl.xml"/>
<target name="-refresh-pkg" depends="init"/>
<!--
Refresh app
-->
<target name="-before-refresh"/>
<target name="-refresh" depends="-refresh-pkg"/>
<target name="-after-refresh"/>
</project>

View File

@ -0,0 +1,45 @@
<project name="x-resources-impl">
<target name="-before-inherit-resources"/>
<target name="-after-inherit-resources"/>
<target name="-inherit-resources">
<for list="${package.base.packages}" param="base">
<sequential>
<local name="base.path"/>
<local name="base.resource.path"/>
<property name="base.path" location="@{base}"/>
<property name="base.resource.path" location="${base.path}/resources"/>
<echo>Merging resources from base package ${base.path}</echo>
<if>
<available file="${base.resource.path}" type="dir"/>
<then>
<copy todir="${build.out.resources.dir}/" overwrite="true">
<fileset dir="${base.resource.path}" includes="**/*"/>
</copy>
</then>
</if>
</sequential>
</for>
</target>
<target name="-before-copy-resources"/>
<target name="-after-copy-resources"/>
<target name="-copy-resources">
<echo>Merging resources from current package ${package.resources.dir}</echo>
<copy todir="${build.out.resources.dir}" overwrite="true">
<fileset dir="${package.resources.dir}" includes="**/*"/>
</copy>
<property name="target.json.resources.dir" value="${package.output.base}"/>
<property name="target.config.resources.dir" value="${build.resources.dir}"/>
<x-compile refid="${compiler.ref.id}">
<![CDATA[
resources
-excludes=-all*.css
-out=${target.config.resources.dir}
and
resources
-model=true
-out=${target.json.resources.dir}
]]>
</x-compile>
</target>
</project>

313
extjs/.sencha/package/sass-impl.xml vendored Normal file
View File

@ -0,0 +1,313 @@
<project name="x-sass-impl">
<target name="-init-sass-compiler" depends="-init-compiler">
<x-normalize-path path="${build.out.resources.dir}"
property="image.search.path"/>
<condition property="is.theme.package" value="true">
<equals arg1="${package.type}" arg2="theme"/>
</condition>
</target>
<target name="-compile-sass-rtl-theme" depends="-init-sass-compiler" if="is.theme.package">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
include
-all
and
sass
-etc=true
-vars=true
-rules=true
-class-name-vars=true
-variable=$image-search-path:'${image.search.path}' !default
-variable=$theme-name: '${package.name}' !default
-output=${build.all.rtl.scss}
-forward=${package.sass.dynamic}
and
sass
-ruby=true
-output=${build.all.ruby}
]]>
</x-compile>
</target>
<target name="-compile-sass-ltr-theme" depends="-init-sass-compiler" if="is.theme.package">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
exclude
-all
and
include
-not
-namespace=Ext.rtl
and
sass
-etc=true
-vars=true
-rules=true
-class-name-vars=true
-variable=$image-search-path:'${image.search.path}' !default
-variable=$theme-name: '${theme.name}' !default
-output=${build.all.scss}
-forward=${package.sass.dynamic}
and
sass
-ruby=true
-output=${build.all.ruby}
]]>
</x-compile>
</target>
<target name="-compile-sass-rtl" depends="-init-sass-compiler" unless="is.theme.package">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
exclude
-all
and
include
-tag=package-${package.name}
and
save
pkg
and
sass
-class-name-vars=true
-variable=$image-search-path:'${image.search.path}' !default
-variable=$theme-name: '${theme.name}' !default
-output=${build.all.rtl.scss}
-forward=${package.sass.dynamic}
and
include
-all
and
save
all
and
sass
-etc=true
-vars=true
+append
-output=${build.all.rtl.scss}
-forward=${package.sass.dynamic}
and
restore
pkg
and
sass
-rules=true
+append
-output=${build.all.rtl.scss}
and
sass
-ruby=true
-output=${build.all.ruby}
]]>
</x-compile>
</target>
<target name="-compile-sass-ltr" depends="-init-sass-compiler" unless="is.theme.package">
<x-compile refid="${compiler.ref.id}">
<![CDATA[
exclude
-all
and
include
-tag=package-${package.name}
and
save
pkg
and
sass
-class-name-vars=true
-variable=$image-search-path:'${image.search.path}' !default
-variable=$theme-name: '${theme.name}' !default
-output=${build.all.scss}
-forward=${package.sass.dynamic}
and
exclude
-all
and
include
-not
-namespace=Ext.rtl
and
save
all-rtl
and
sass
-etc=true
-vars=true
+append
-output=${build.all.scss}
-forward=${package.sass.dynamic}
and
restore
pkg
and
sass
-rules=true
+append
-output=${build.all.scss}
and
sass
-ruby=true
-output=${build.all.ruby}
]]>
</x-compile>
</target>
<target name="-compile-sass"
depends="-compile-sass-rtl-theme,-compile-sass-ltr-theme,-compile-sass-rtl,-compile-sass-ltr">
<echo file="${package.example.compass.config}">
require '${build.all.ruby}'
cache_path = '${compass.cache.dir}'
</echo>
</target>
<macrodef name="x-compress-css-files">
<attribute name="dir"/>
<attribute name="prefix"/>
<attribute name="outprefix"/>
<sequential>
<x-split-css file="@{dir}/@{prefix}.css"
outdir="${build.resources.dir}"
limit="${build.css.selector.limit}"/>
<for param="cssfile">
<fileset dir="@{dir}" includes="@{prefix}*.css"/>
<sequential>
<local name="css.output.name"/>
<local name="pattern"/>
<property name="pattern" value="(.*?)(@{prefix})(_\d{1,2})*\.css"/>
<propertyregex property="css.output.name"
input="@{cssfile}"
regexp="${pattern}"
select="\1@{outprefix}\3.css"
override="true"/>
<x-echo>Compressing @{cssfile} to ${css.output.name}</x-echo>
<x-compress-css srcfile="@{cssfile}"
outfile="${css.output.name}"/>
</sequential>
</for>
<replaceregexp file="@{dir}/@{outprefix}.css"
match="@import '@{prefix}(_\d\d).css';"
replace="@import '@{outprefix}\1.css';"
flags="g"/>
</sequential>
</macrodef>
<macrodef name="x-fashion-build-css">
<attribute name="dir"/>
<attribute name="outdir"/>
<attribute name="suffix"/>
<attribute name="compress"/>
<sequential>
<for param="cssfile">
<fileset dir="@{dir}" includes="*.scss"/>
<sequential>
<local name="css.output.name"/>
<x-script-def name="x-calc-path">
<attribute name="file"/>
<attribute name="dir"/>
<attribute name="outdir"/>
<attribute name="suffix"/>
<![CDATA[
importPackage(java.io);
var file = attributes.get('file') + '',
dir = attributes.get('dir') + '',
outdir = attributes.get('outdir') + '',
name = new File(file).getName() + '',
suffix = attributes.get('suffix') + '',
outName;
name = name.replace(/-debug\.scss/g, suffix + '.css');
outName = new File(outdir, name).getAbsolutePath();
project.setProperty('css.output.name', outName);
]]>
</x-script-def>
<x-calc-path file="@{cssfile}"
dir="@{dir}"
outdir="@{outdir}"
suffix="@{suffix}"/>
<x-echo>Building @{cssfile} to ${css.output.name}</x-echo>
<x-sass-build input="@{cssfile}"
output="${css.output.name}"
refId="package.web.server"
split="${build.css.selector.limit}"
compress="@{compress}"/>
</sequential>
</for>
</sequential>
</macrodef>
<target name="-compass-compile" depends="-load-sass-page,-compile-sass">
<if>
<x-is-true value="${package.sass.fashion}"/>
<then>
<if>
<x-is-false value="${package.sass.rhino}"/>
<then>
<x-fashion-build-css
dir="${package.sass.build.dir}"
outdir="${build.resources.dir}"
suffix="-debug"
compress="false"/>
<x-fashion-build-css
dir="${package.sass.build.dir}"
outdir="${build.resources.dir}"
suffix=""
compress="true"/>
</then>
<else>
<x-fashion-compile
file="${compass.sass.dir}"
toFile="${compass.css.dir}"/>
</else>
</if>
</then>
<else>
<x-compass-compile
rubyPath="${build.ruby.path}"
trace="${compass.compile.trace}"
boring="${compass.compile.boring}"
force="${compass.compile.force}"
dir="${compass.working.dir}"
sassdir="${compass.sass.dir}"
cssdir="${compass.css.dir}"
config="${package.example.compass.config}"/>
</else>
</if>
</target>
<target name="-compile-css" depends="-compass-compile">
<if>
<not><x-is-true value="${package.sass.fashion}"/></not>
<then>
<x-compress-css-files
dir="${build.resources.dir}"
prefix="${build.all.css.debug.prefix}"
outprefix="${build.all.css.prefix}"/>
<x-compress-css-files
dir="${build.resources.dir}"
prefix="${build.all.rtl.css.debug.prefix}"
outprefix="${build.all.rtl.css.prefix}"/>
</then>
</if>
</target>
<target name="-before-sass"/>
<target name="-sass" depends="-compile-css"/>
<target name="-after-sass"/>
</project>

12
extjs/.sencha/package/sencha.cfg vendored Normal file
View File

@ -0,0 +1,12 @@
# The folder that contains sub-packages of this package. Only valid for "framework"
# package type.
#
package.subpkgs.dir=${package.dir}
#==============================================================================
# Custom Properties - Place customizations below this line to avoid merge
# conflicts with newer versions
package.cmd.version=6.0.1.67
skip.examples=1

273
extjs/.sencha/package/slice-impl.xml vendored Normal file
View File

@ -0,0 +1,273 @@
<project name="x-slice-impl">
<target name="-load-sass-page"
depends="-generate-slicer-bootstrap,
-generate-slicer-manifest">
<x-run-if-true value="${package.sass.fashion}">
<if>
<x-is-false value="${package.sass.rhino}"/>
<then>
<x-get-relative-path from="${build.web.root}"
to="${package.example.fashion.html}"
property="package.example.fashion.html.relative"/>
<property name="example.page.url"
value="http://localhost:${build.web.port}/${package.example.fashion.html.relative}"/>
<x-sass-page page="${package.example.fashion.html}"
url="${example.page.url}"
refId="package.web.server"/>
</then>
</if>
</x-run-if-true>
</target>
<!--
Uses the compiler to generate a special theme-only scss file containing
rules for all framework / package / app components. This is then used
by the slicer example page to capture theme sprites
-->
<target name="-compile-slicer-sass" depends="-init-compiler">
<local name="package.example.scss.tmp"/>
<property name="package.example.scss.tmp" value="${package.example.scss}.tmp"/>
<x-normalize-path
path="${build.out.resources.dir}"
property="image.search.path"/>
<x-compile refid="${compiler.ref.id}">
<![CDATA[
restore
package-${package.name}-all
and
include
-all
and
sass
+class-name-vars
+etc
+vars
+rules
-variable=$image-search-path:'${image.search.path}'
-variable=$theme-name: '${theme.name}' !default
-output=${package.example.scss.tmp}
-forward=${package.sass.dynamic}
and
restore
package-${package.name}-all
and
sass
+ruby
-output=${package.example.out.ruby}
]]>
</x-compile>
<if>
<not>
<filesmatch file1="${package.example.scss.tmp}" file2="${package.example.scss}"/>
</not>
<then>
<copy file="${package.example.scss.tmp}" tofile="${package.example.scss}" overwrite="true"/>
</then>
</if>
</target>
<!--
Compiles the scss file for the theme slicer page
-->
<target name="-compass-compile-slicer-css" depends="-compile-slicer-sass">
<if>
<not>
<x-is-true value="${package.sass.fashion}"/>
</not>
<then>
<x-compass-compile
dir="${package.example.build.dir}"
trace="${compass.compile.trace}"
boring="${compass.compile.boring}"
force="${compass.compile.force}"
sassdir="${package.example.build.dir}"
cssdir="${package.example.build.dir}"
config="${package.example.compass.config}"/>
</then>
</if>
</target>
<!--
Compiles the scss file for the theme slicer page
-->
<target name="-fashion-compile-slicer-css" depends="-compile-slicer-sass">
<if>
<x-is-true value="${package.sass.fashion}"/>
<then>
<if>
<x-is-true value="${package.sass.rhino}"/>
<then>
<x-fashion-compile file="${package.example.build.dir}"
tofile="${package.example.build.dir}"/>
</then>
<else>
<x-sass-build input="${package.example.build.dir}"
output="${package.example.build.dir}"
refId="package.web.server"/>
</else>
</if>
</then>
</if>
</target>
<target name="-generate-slicer-manifest" depends="-compass-compile-slicer-css" if="framework.isV5">
<condition property="remove.slicer.css.bootstrap.entries" value="true">
<and>
<x-is-true value="${package.sass.fashion}"/>
<x-is-false value="${package.sass.rhino}"/>
</and>
</condition>
<property name="remove.slicer.css.bootstrap.entries" value="false"/>
<x-compile refid="${compiler.ref.id}">
<![CDATA[
slicer-manifest
-removeBootstrapCssEntries=${remove.slicer.css.bootstrap.entries}
-cssFile=${package.example.css}
-basePath=${bootstrap.base.path}
-out=${bootstrap.example.json}
and
microload
-operation=microloader
-microloaderPath=${build.slicer.microloader.file}
-bootPath=${build.boot.file}
-out=${bootstrap.example.js}
]]>
</x-compile>
</target>
<target name="-generate-slicer-bootstrap" depends="-init-compiler" unless="framework.isV5">
<local name="relpath"/>
<x-get-relative-path from="${bootstrap.base.path}"
to="${framework.packages.dir}"
property="relpath"/>
<local name="override.tpl"/>
<local name="override.tpl.type"/>
<property name="override.tpl.type" value="tpl"/>
<property name="override.tpl" value='Ext.Loader.loadScriptFile("{0}", Ext.emptyFn);'/>
<x-bootstrap file="${bootstrap.example.js}"
basedir="${bootstrap.base.path}"
includeBoot="true"
includeCoreFiles="true"
overrideTpl="${override.tpl}"
overrideTplType="${override.tpl.type}"
overrideExcludeTags="">
<![CDATA[
Ext.Boot.loadSync([
"render.js",
"${relpath}/ext-theme-base/sass/example/manifest.js",
"${relpath}/ext-theme-base/sass/example/shortcuts.js",
"custom.js"
]);
]]>
</x-bootstrap>
</target>
<target name="-update-slicer-css">
<x-get-relative-path
from="${package.example.dir}"
to="${package.example.css}"
property="package.example.css.path"
/>
<!--update the app's example to point to the build output-->
<echo file="${package.example.dir}/example.css">
/*
* This file is generated by Sencha Cmd and should NOT be edited. It redirects
* to the most recently built CSS file for the application to allow theme.html
* to load properly for image slicing (required to support non-CSS3 browsers
* such as IE9 and below).
*/
@import '${package.example.css.path}';
</echo>
</target>
<target name="-capture-theme-image"
depends="-generate-slicer-bootstrap,-generate-slicer-manifest,-update-slicer-css">
<if>
<or>
<x-is-false value="${package.sass.fashion}"/>
<x-is-true value="${package.sass.rhino}"/>
</or>
<then>
<echo>Capture theme image to ${build.dir}/theme-capture.png</echo>
<x-sencha-command dir="${package.dir}">
<![CDATA[
theme
capture
-page=${package.example.theme.html}
-image=${build.capture.png}
-manifest=${build.capture.json}
]]>
</x-sencha-command>
</then>
</if>
</target>
<target name="-capture-sass-page-image">
<if>
<and>
<x-is-true value="${package.sass.fashion}"/>
<x-is-false value="${package.sass.rhino}"/>
</and>
<then>
<echo>Capture theme image to ${build.capture.png}</echo>
<x-capture-slicer-data manifestPath="${build.capture.json}"
imagePath="${build.capture.png}"
refId="package.web.server"/>
</then>
</if>
</target>
<target name="-slice-theme-images" depends="-capture-theme-image">
<echo>Slicing theme images to ${build.resources.dir}</echo>
<x-sencha-command dir="${package.dir}">
<![CDATA[
fs
slice
${build.slice.options}
-image=${build.capture.png}
-manifest=${build.capture.json}
-out=${build.resources.dir}
]]>
</x-sencha-command>
</target>
<target name="-slice-sass-page"
depends="-load-sass-page,
-update-slicer-css,
-fashion-compile-slicer-css,
-capture-sass-page-image,
-slice-theme-images"/>
<target name="-fashion-slice-images" depends="-slice-sass-page"></target>
<target name="-compass-slice-images" depends="-slice-theme-images"></target>
<target name="-slice-package-images">
<if>
<x-is-true value="${package.sass.fashion}"/>
<then>
<x-ant-call target="-fashion-slice-images"/>
</then>
<else>
<x-ant-call target="-compass-slice-images"/>
</else>
</if>
</target>
<target name="-before-slice"/>
<target name="-after-slice"/>
<target name="-slice"
depends="-slice-package-images"/>
</project>

274
extjs/.sencha/package/sub-builds.xml vendored Normal file
View File

@ -0,0 +1,274 @@
<project name="x-sub-builds-impl">
<macrodef name="x-process-sub-packages">
<attribute name="all" default="false"/>
<element name="tasks" implicit="true"/>
<sequential>
<if>
<and>
<isset property="package.subpkgs.dir"/>
<available file="${package.subpkgs.dir}" type="dir"/>
</and>
<then>
<local name="sub.packages.list"/>
<condition property="sub.packages.list" value="${package.subpkgs}">
<and>
<isset property="package.subpkgs"/>
<equals arg1="@{all}" arg2="false"/>
</and>
</condition>
<property name="sub.packages.list" value="*"/>
<for param="pkg-dir">
<dirset dir="${package.subpkgs.dir}" includes="${sub.packages.list}"/>
<sequential>
<if>
<available file="@{pkg-dir}/.sencha/package/sencha.cfg"/>
<then>
<tasks/>
</then>
</if>
</sequential>
</for>
</then>
</if>
</sequential>
</macrodef>
<macrodef name="x-process-examples">
<attribute name="all" default="false"/>
<element name="tasks" implicit="true"/>
<sequential>
<local name="example.apps"/>
<local name="example.path"/>
<local name="example.dir"/>
<condition property="example.apps" value="*">
<equals arg1="@{all}" arg2="true"/>
</condition>
<condition property="example.apps" value="${package.example.apps}">
<isset property="package.example.apps"/>
</condition>
<condition property="example.apps" value="${package.examples}">
<isset property="package.examples"/> <!-- legacy value -->
</condition>
<condition property="example.path" value="${package.example.path}">
<isset property="package.example.path"/>
</condition>
<condition property="example.path" value="${package.examples.dir}">
<isset property="package.examples.dir"/> <!-- legacy value -->
</condition>
<if>
<isset property="example.path"/>
<then>
<for list="${example.path}" delimiter="," param="dir">
<sequential>
<x-canonical-path property="example.dir" overwrite="true"
path="@{dir}"
basedir="${package.dir}"/>
<x-echo>Processing examples in "@{dir}" (${example.dir})</x-echo>
<if>
<isset property="example.apps"/>
<then>
<for list="${example.apps}" delimiter="," param="app">
<sequential>
<if>
<available file="${example.dir}/@{app}/.sencha/app/sencha.cfg"/>
<then>
<!--
Use for loop so <tasks> can use the
pieces @{app} and @{dir} of the full
path @{example-dir}
-->
<for param="example-dir">
<dirset dir="${example.dir}" includes="@{app}"/>
<sequential>
<tasks/>
</sequential>
</for>
</then>
<else>
<if>
<available file="${example.dir}/@{app}" type="dir"/>
<then>
<x-echo>No app at ${example.dir}/@{app}</x-echo>
</then>
</if>
</else>
</if>
</sequential>
</for>
</then>
<elseif>
<available file="@{dir}" type="dir"/>
<then>
<for param="example-dir">
<dirset dir="@{dir}" includes="*"/>
<sequential>
<if>
<available file="@{example-dir}/.sencha/app/sencha.cfg"/>
<then>
<tasks/>
</then>
</if>
</sequential>
</for>
</then>
</elseif>
</if>
</sequential>
</for>
</then>
</if>
</sequential>
</macrodef>
<macrodef name="x-run-sub-build">
<attribute name="dir"/>
<attribute name="target"/>
<element name="properties" implicit="true"/>
<sequential>
<if>
<available file="@{dir}/build.xml"/>
<then>
<local name="sub.name"/>
<basename file="@{dir}"
property="sub.name"/>
<ant dir="@{dir}"
inheritall="false"
inheritrefs="true"
target="@{target}">
<property name="compiler.ref.id" value="compiler-${sub.name}"/>
<properties/>
</ant>
</then>
</if>
</sequential>
</macrodef>
<macrodef name="x-sub-build">
<attribute name="dir"/>
<attribute name="target" default="build"/>
<attribute name="inherit-version" default="0"/>
<sequential>
<if>
<x-is-true value="@{inherit-version}"/>
<then>
<x-run-sub-build dir="@{dir}" target="@{target}">
<property name="cmd.dir" value="${cmd.dir}"/>
<property name="build.version" value="${build.version}"/>
</x-run-sub-build>
</then>
<else>
<x-run-sub-build dir="@{dir}" target="@{target}">
<property name="cmd.dir" value="${cmd.dir}"/>
</x-run-sub-build>
</else>
</if>
</sequential>
</macrodef>
<target name="-before-subpkgs"/>
<target name="-after-subpkgs"/>
<target name="-subpkgs">
<x-process-sub-packages>
<local name="sub.name"/>
<basename file="@{pkg-dir}"
property="sub.name"/>
<x-echo>Building sub package ${sub.name}</x-echo>
<if>
<x-is-true value="${build.subpkgs.inherit.version}"/>
<then>
<x-sencha-command dir="@{pkg-dir}" inheritall="false">
<property name="compiler.ref.id" value="compiler-${sub.name}"/>
<property name="build.version" value="${build.version}"/>
<property name="package.sass.rhino" value="${package.sass.rhino}"/>
package
build
</x-sencha-command>
</then>
<else>
<x-sencha-command dir="@{pkg-dir}" inheritall="false">
<property name="compiler.ref.id" value="compiler-${sub.name}"/>
<property name="package.sass.rhino" value="${package.sass.rhino}"/>
package
build
</x-sencha-command>
</else>
</if>
</x-process-sub-packages>
</target>
<target name="-before-clean-subpkgs"/>
<target name="-after-clean-subpkgs"/>
<target name="-clean-subpkgs">
<x-process-sub-packages>
<x-echo>Cleaning sub package in @{pkg-dir}</x-echo>
<x-sub-build dir="@{pkg-dir}"
target="clean"
inherit-version="${build.subpkgs.inherit.version}"/>
</x-process-sub-packages>
</target>
<target name="-before-upgrade-subpkgs"/>
<target name="-after-upgrade-subpkgs"/>
<target name="-upgrade-subpkgs">
<x-process-sub-packages>
<x-echo>Upgrading sub package in @{pkg-dir}</x-echo>
<x-sencha-command dir="@{pkg-dir}" inheritall="false">
<property name="args.force" value="true"/>
package
upgrade
</x-sencha-command>
<delete dir="@{example-dir}/.sencha_backup"/>
</x-process-sub-packages>
</target>
<target name="-before-examples"/>
<target name="-after-examples"/>
<target name="-examples">
<x-process-examples>
<x-echo>Building example in @{example-dir}</x-echo>
<x-sencha-command dir="@{example-dir}" inheritall="false">
<property name="app.sass.rhino" value="${package.sass.rhino}"/>
app
build
</x-sencha-command>
</x-process-examples>
</target>
<target name="-before-upgrade-examples"/>
<target name="-after-upgrade-examples"/>
<target name="-upgrade-examples">
<x-process-examples>
<x-echo>Upgrading example in @{example-dir}</x-echo>
<x-sencha-command dir="@{example-dir}" inheritall="false">
<property name="args.force" value="true"/>
app
upgrade
</x-sencha-command>
<delete dir="@{example-dir}/.sencha_backup"/>
</x-process-examples>
</target>
<target name="-before-clean-examples"/>
<target name="-after-clean-examples"/>
<target name="-clean-examples">
<x-process-examples>
<x-echo>Cleaning example in @{example-dir}</x-echo>
<x-sub-build dir="@{example-dir}"
target="clean"/>
</x-process-examples>
</target>
<target name="list-examples" depends="init"
description="List all example apps for this package">
<x-process-examples>
<x-echo> @{example-dir}</x-echo>
</x-process-examples>
</target>
</project>

View File

@ -0,0 +1,17 @@
# ===========================================
# This file defines properties used by
# build-impl.xml, which is the base impl
# of an applications build process. The
# properties from this file correspond to the
# 'testing' build environment, specified
# by 'sencha app build testing'. These will
# take precedence over defaults provided by
# build.properties.
# ===========================================
# ===========================================
# compression option used to generate '-all'
# js output file. this value disables
# compression for testing builds
# ===========================================
build.compile.js.compress=

11
extjs/.sencha/workspace/plugin.xml vendored Normal file
View File

@ -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>

23
extjs/.sencha/workspace/sencha.cfg vendored Normal file
View File

@ -0,0 +1,23 @@
# -----------------------------------------------------------------------------
# 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 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
# =============================================================================
# Customizations go below this divider to avoid merge conflicts on upgrade
# =============================================================================
ext.dir=${workspace.dir}
workspace.subpkg.prefix=${framework.dir}/build/${toolkit.name}

75
extjs/LICENSE Normal file
View File

@ -0,0 +1,75 @@
Ext JS 6.0.1.250 - JavaScript Library
Copyright (c) 2006-2015, 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.
Third Party Content
------------------------------------------------------------------------------------------
The following third party software is distributed with Ext JS and is
provided under other licenses and/or has source available from other locations.
Library: YUI 0.6 - drag-and-drop code
License: BSD
Location: http://developer.yahoo.com/yui
Library: JSON parser
License: Public Domain
Location: http://www.JSON.org/js.html
Library: flexible-js-formatting - date parsing and formatting
License: MIT
Location: http://code.google.com/p/flexible-js-formatting/
Library: sparkline.js - micro charts
License: BSD
Location: http://omnipotent.net/jquery.sparkline
Library: DeftJS
License: MIT
Location: http://deftjs.org/
Library: Open-Sans
License: Apache
Location: http://www.fontsquirrel.com/fonts/open-sans
Examples
Library: Silk icons
License: Creative Commons Attribution 2.5 License.
Location: http://www.famfamfam.com/lab/icons/silk/
--
THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND REPRESENTATIONS WHETHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY, FITNESS FOR A
PARTICULAR PURPOSE, DURABILITY, NON-INFRINGEMENT, PERFORMANCE AND THOSE ARISING BY STATUTE OR FROM CUSTOM OR USAGE OF TRADE
OR COURSE OF DEALING.

3
extjs/Readme.md Normal file
View File

@ -0,0 +1,3 @@
# Sencha Ext JS
This is the Sencha Ext JS Framework Package, or just "ext" for short.

622
extjs/build.xml vendored Normal file
View File

@ -0,0 +1,622 @@
<?xml version="1.0" encoding="utf-8"?>
<project name="ext" default=".help">
<!--
The build-impl.xml file imported here contains the guts of the build process. It is
a great idea to read that file to understand how the process works, but it is best to
limit your changes to this file.
-->
<import file="${basedir}/.sencha/package/build-impl.xml"/>
<!--
The following targets can be provided to inject logic before and/or after key steps
of the build process:
The "init-local" target is used to initialize properties that may be personalized
for the local machine.
<target name="-before-init-local"/>
<target name="-after-init-local"/>
The "clean" target is used to clean build output from the build.dir.
<target name="-before-clean"/>
<target name="-after-clean"/>
The general "init" target is used to initialize all other properties, including
those provided by Sencha Cmd.
<target name="-before-init"/>
<target name="-after-init"/>
The "build" target performs the call to Sencha Cmd to build the application.
<target name="-before-build"/>
<target name="-after-build"/>
-->
<target name="-before-init">
<property name="pkg.excludes"
value="all-licenses/**/*,
examples/**/*,
welcome/**/*,
build/welcome/**/*,
build/classic/**/*,
build/modern/**/*,
build/packages/**/*,
build/index.html,
test/**/*,
classic/classic/test/**/*,
modern/modern/test/**/*,
release-notes-*,
build/temp/**/*,
build/examples/**/*,
ext-all*.js,
ext-debug.js,
ext.js,
ext-modern*.js,
classic/*/test/**/*,
modern/*/test/**/*,
packages/*/test/**/*,
test_internal/**/*,
bootstrap*.js"/>
<condition property="repo.dev.mode" value="true">
<available file="${basedir}/../attic" type="dir"/>
</condition>
</target>
<target name="-after-init" depends="apply-production-settings"/>
<macrodef name="x-set-license">
<attribute name="license" default="${ext.license.name}"/>
<attribute name="version" default="${build.version}"/>
<sequential>
<replaceregexp replace="ext.license.name=@{license}"
file="${basedir}/cmd/sencha.cfg" byline="true">
<regexp pattern="ext.license.name=(.*)"/>
</replaceregexp>
<replaceregexp replace="$ext-version: '@{version}'"
file="${package.dir}/classic/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-version: '(.*)'"/>
</replaceregexp>
<replaceregexp replace="$ext-version: '@{version}'"
file="${package.dir}/modern/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-version: '(.*)'"/>
</replaceregexp>
<local name="watermark.setting"/>
<condition property="watermark.beta.setting" value="$ext-beta: true !default;">
<equals arg1="@{license}" arg2="beta"/>
</condition>
<property name="watermark.beta.setting" value="$ext-beta: false !default;"/>
<condition property="watermark.setting" value="$ext-trial: true !default;">
<equals arg1="@{license}" arg2="trial"/>
</condition>
<property name="watermark.setting" value="$ext-trial: false !default;"/>
<replaceregexp replace="${watermark.setting}"
file="${package.dir}/classic/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-trial: (.*) !default;"/>
</replaceregexp>
<replaceregexp replace="${watermark.setting}"
file="${package.dir}/modern/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-trial: (.*) !default;"/>
</replaceregexp>
<replaceregexp replace="${watermark.beta.setting}"
file="${package.dir}/classic/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-beta: (.*) !default;"/>
</replaceregexp>
<replaceregexp replace="${watermark.beta.setting}"
file="${package.dir}/modern/theme-base/sass/etc/all.scss">
<regexp pattern="\$ext-beta: (.*) !default;"/>
</replaceregexp>
<if>
<available file="${basedir}/all-licenses/@{license}" type="dir"/>
<then>
<copy todir="${basedir}/licenses" overwrite="true">
<fileset dir="${basedir}/all-licenses/@{license}" includes="**/*"/>
</copy>
</then>
</if>
</sequential>
</macrodef>
<target name="beta" depends="init">
<x-set-license license="beta"/>
</target>
<target name="commercial" depends="init">
<x-set-license license="commercial"/>
</target>
<target name="gpl" depends="init">
<x-set-license license="gpl"/>
</target>
<target name="trial" depends="init">
<x-set-license license="trial"/>
</target>
<target name="dev" depends="init">
<x-set-license license="dev"/>
</target>
<target name="init-version-properties" if="repo.dev.mode">
<property name="build.number" value="12345"/>
<property name="version.major" value="6"/>
<property name="version.minor" value="0"/>
<property name="version.patch" value="0"/>
<property name="version.build" value="${build.number}"/>
<property name="version.release" value="${version.major}.${version.minor}.${version.patch}"/>
<property name="version.full" value="${version.release}.${version.build}"/>
<property name="ext.version.number" value="${version.full}"/>
<property name="ext.license.name" value="dev"/>
</target>
<target name="detect-git-hash" if="repo.dev.mode">
<x-git-current-hash property="git.current.hash"/>
</target>
<target name="generate-version-properties"
depends="detect-git-hash,init-version-properties"
if="repo.dev.mode">
<propertyfile file="${package.dir}/version.properties">
<entry operation="="
key="version.major"
value="${version.major}"/>
<entry operation="="
key="version.minor"
value="${version.minor}"/>
<entry operation="="
key="version.patch"
value="${version.patch}"/>
<entry operation="="
key="version.build"
value="${version.build}"/>
<entry operation="="
key="version.release"
value="${version.release}"/>
<entry operation="="
key="version.full"
value="${version.full}"/>
<entry operation="="
key="git.current.hash"
value="${git.current.hash}"/>
</propertyfile>
</target>
<target name="load-version-properties" depends="generate-version-properties">
<property file="${package.dir}/version.properties"/>
</target>
<target name="set-build-production">
<property name="build.production" value="1"/>
<replace file="${basedir}/package.json"
token="&quot;local&quot;: true"
value="&quot;local&quot;: false"/>
</target>
<target name="apply-production-settings" if="build.production">
<x-property-file file="${package.dir}/.sencha/package/sencha.cfg">
<entry type="string" key="skip.examples" operation="=" value="1"/>
</x-property-file>
</target>
<target name="copy-license" depends="init,load-version-properties">
<tstamp>
<!-- sets DSTAMP=yyyyMMdd, TSTAMP=hhmm -->
<format property="THIS_YEAR" pattern="yyyy"/>
<format property="tstamp.datetime" pattern="yyyy-MM-dd HH:mm:ss"/>
<format property="tstamp.pretty" pattern="MMMM d, yyyy"/>
</tstamp>
<property name="product.name" value="Ext JS ${package.version}"/>
<!--
Ext JS is distrubted under GPL and Commercial licenses as well as a Beta license.
This target allows the package build to be leveraged while swapping out the files
with license information.
-->
<condition property="ext.license"
value="${package.dir}/../all-licenses/${ext.license.name}">
<available file="${package.dir}/../all-licenses/${ext.license.name}" type="dir"/>
</condition>
<property name="ext.license" value="${package.licenses.dir}"/>
<echo> loading file-header.txt </echo>
<!-- Load the appropriate license file header -->
<local name="file-header"/>
<loadfile property="file-header" srcfile="${ext.license}/file-header.txt">
<filterchain>
<expandproperties/>
</filterchain>
</loadfile>
<echo> expanding file-header.txt </echo>
<copy file="${ext.license}/file-header.txt"
tofile="${package.licenses.dir}/file-header.txt.final"
overwrite="true">
<filterchain>
<expandproperties/>
</filterchain>
</copy>
<rename src="${package.licenses.dir}/file-header.txt.final"
dest="${package.licenses.dir}/file-header.txt"
replace="true"/>
<!--
Create a JS/CSS compatible file with header inside a "/* */" block.
-->
<echo file="${package.licenses.dir}/file-header.js"
message="/*&#10;${file-header}&#10;*/&#10;"/>
<fixcrlf file="${package.licenses.dir}/file-header.js"/>
<!--
Copy in the appropriate license.txt file
-->
<mkdir dir="${package.licenses.dir}"/>
<copy file="${ext.license}/license.txt"
tofile="${package.licenses.dir}/license.txt.final"
overwrite="true">
<filterchain>
<expandproperties/>
</filterchain>
</copy>
<rename src="${package.licenses.dir}/license.txt.final"
dest="${package.licenses.dir}/license.txt"
replace="true"/>
<copy file="${package.licenses.dir}/license.txt"
tofile="${package.dir}/LICENSE" overwrite="true"/>
<!--
Lay down the file header so we can append the rest from the compiler.
-->
<for list="ext,ext-all,ext-all-rtl,ext-modern,ext-modern-all"
param="file">
<sequential>
<for list=".js,-debug.js" param="sfx">
<sequential>
<concat destfile="${build.dir}/@{file}@{sfx}.tmp" overwrite="true">
<fileset file="${package.licenses.dir}/file-header.js"/>
<fileset file="${build.dir}/@{file}@{sfx}"/>
</concat>
<delete>
<fileset file="${build.dir}/@{file}@{sfx}"/>
</delete>
<move file="${build.dir}/@{file}@{sfx}.tmp" tofile="${build.dir}/@{file}@{sfx}"/>
</sequential>
</for>
</sequential>
</for>
</target>
<target name="bootstrap-classic" depends="init"
description="Build Ext JS Bootstrap (Classic)">
<x-echo>=========================================</x-echo>
<x-echo>Building framework bootstrap (Classic)</x-echo>
<x-echo>=========================================</x-echo>
<x-sencha-command
dir="${package.dir}/classic/classic"
inheritall="false">
ant
bootstrap
</x-sencha-command>
</target>
<target name="bootstrap-modern" depends="init"
description="Build Ext JS Bootstrap (Modern)">
<x-echo>=========================================</x-echo>
<x-echo>Building framework bootstrap (Modern)</x-echo>
<x-echo>=========================================</x-echo>
<x-sencha-command
dir="${package.dir}/modern/modern"
inheritall="false">
ant
bootstrap
</x-sencha-command>
</target>
<target name="bootstrap" depends="bootstrap-classic,bootstrap-modern"
description="Build Ext JS Bootstrap"/>
<target name="build-examples-index">
<copy todir="${build.dir}/examples/" overwrite="true">
<fileset dir="${basedir}/examples/">
<include name="index.html"/>
<include name="main.css"/>
<include name="main.js"/>
<include name="examples.js"/>
</fileset>
</copy>
<copy todir="${build.dir}/examples/resources/" overwrite="true">
<fileset dir="${basedir}/examples/resources/" includes="**/*"/>
</copy>
</target>
<target name="build-non-app-examples">
<for param="example">
<dirset dir="${package.dir}/examples/classic" includes="*"/>
<sequential>
<if>
<not>
<available file="@{example}/app.json"/>
</not>
<then>
<local name="example.name"/>
<basename property="example.name" file="@{example}"/>
<copy todir="${build.dir}/examples/classic/${example.name}" overwrite="true">
<fileset dir="@{example}" includes="**/*"/>
</copy>
</then>
</if>
</sequential>
</for>
</target>
<target name="prep-build-folder" depends="init,build-examples-index,build-non-app-examples">
<copy todir="${build.dir}/welcome" overwrite="true">
<fileset dir="${basedir}/welcome"/>
</copy>
<copy file="${basedir}/index.html"
tofile="${build.dir}/index.html"
overwrite="true"/>
<replace file="${build.dir}/index.html"
token="build/examples/classic/index.html"
value="examples/classic/index.html"/>
<replace file="${build.dir}/examples/classic/shared/include-ext.js"
token="Ext.devMode = 2;"
value="Ext.devMode = 0;"/>
<replace file="${build.dir}/examples/classic/shared/include-ext.js"
token="Ext.devMode = 1;"
value="Ext.devMode = 0;"/>
</target>
<target name="-before-pkg" depends="init,copy-license">
<if>
<available file="${basedir}/release-notes.html"/>
<then>
<copy file="${basedir}/release-notes.html"
tofile="${build.dir}/release-notes.html"
overwrite="true"/>
</then>
</if>
</target>
<!--
******************************************************************
Targets to easily run builds for specific items
******************************************************************
-->
<target name="build-classic"
description="Build the Classic Theme (needed by unit tests)"
depends="init">
<x-sencha-command dir="${package.dir}/classic/theme-classic" inheritall="false">
package
build
</x-sencha-command>
</target>
<target name="build-crisp"
description="Build the Crisp Theme"
depends="init">
<x-sencha-command dir="${package.dir}/classic/theme-crisp" inheritall="false">
package
build
</x-sencha-command>
</target>
<target name="build-gray"
description="Build the Gray Theme"
depends="init">
<x-sencha-command dir="${package.dir}/classic/theme-gray" inheritall="false">
package
build
</x-sencha-command>
</target>
<target name="build-neptune"
description="Build the Neptune Theme"
depends="init">
<x-sencha-command dir="${package.dir}/classic/theme-neptune" inheritall="false">
package
build
</x-sencha-command>
</target>
<target name="build-triton"
description="Build the Triton Theme"
depends="init">
<x-sencha-command dir="${package.dir}/classic/theme-triton" inheritall="false">
package
build
</x-sencha-command>
</target>
<target name="themes"
description="Build all theme packages"
depends="build-neptune,build-crisp,build-triton,build-classic,build-gray"/>
<!--
******************************************************************
Targets used to produce deployment builds
******************************************************************
-->
<target name="docs" depends="init" description="Builds docs for Ext JS and sub-packages">
<mkdir dir="${package.build.dir}/docs"/>
<exec executable="jsduck">
<arg value="--output=${package.build.dir}/docs"/>
<arg value="--config=${package.dir}/docs/config.json"/>
</exec>
</target>
<!-- FIXME core should be the only package here, but we still have dependencies in the examples -->
<property name="static.packages" value="core,amf,charts,soap"/>
<target name="zip-impl" depends="init">
<property name="staging.dir" value="${workspace.dir}/staging"/>
<property name="display.version" value="${package.version}"/>
<property name="folder.display.version" value="${display.version}"/>
<property name="zip.display.version" value="${display.version}"/>
<property name="ext.staging.dir" value="${staging.dir}/${package.name}-${folder.display.version}"/>
<property name="ext.zip" value="${pkg.build.dir}/${package.name}-${zip.display.version}-${ext.license.name}.zip"/>
<delete dir="${staging.dir}"/>
<delete file="${ext.zip}"/>
<mkdir dir="${ext.staging.dir}"/>
<unzip src="${pkg.build.dir}/${pkg.file.name}" dest="${ext.staging.dir}"/>
<copy todir="${ext.staging.dir}">
<fileset dir="${package.dir}" includes="examples/**/*,build/examples/**/*"/>
</copy>
<copy todir="${ext.staging.dir}">
<fileset dir="${package.dir}" includes="examples/**/*,build/examples/**/*"/>
</copy>
<if>
<equals arg1="${repo.dev.mode}" arg2="true"/>
<then>
<copy todir="${ext.staging.dir}/.sencha/workspace">
<fileset dir="${package.dir}/../deployment_workspace"
includes="**/*"/>
</copy>
</then>
</if>
<copy todir="${ext.staging.dir}">
<fileset dir="${package.dir}"
includes="welcome/**/*,
build/**/*,
packages/core/test/specs*/**/*,
packages/core/test/resources/**/*,
packages/charts/test/specs*/**/*,
classic/classic/test/*.*,
classic/classic/test/resources/**/*,
classic/classic/test/local/**/*,
classic/classic/test/specs*/**/*,
modern/modern/test/*.*,
modern/modern/test/local/**/*,
modern/modern/test/specs*/**/*"/>
</copy>
<delete dir="${ext.staging.dir}/build/temp"/>
<delete dir="${ext.staging.dir}/build/ext"/>
<replace file="${ext.staging.dir}/examples/classic/shared/include-ext.js"
token="Ext.devMode = 2;"
value="Ext.devMode = 1;"/>
<zip destfile="${ext.zip}" basedir="${staging.dir}" level="9"/>
</target>
<target name="zip" depends="set-build-production,build,prep-build-folder,zip-impl"
description="Build package and create distribution ZIP file">
</target>
<target name="sass-rebuild" depends="init" if="false">
<x-process-sub-packages>
<x-sub-build dir="@{pkg-dir}"
target="sass"
inherit-version="${build.subpkgs.inherit.version}"/>
</x-process-sub-packages>
<x-process-examples>
<x-sencha-command dir="@{example-dir}" inheritall="false">
app
each
ant
sass
</x-sencha-command>
</x-process-examples>
</target>
<target name="quick-build" depends="init,js,prep-build-folder,pkg"/>
<target name="zip-only" depends="quick-build,zip-impl">
</target>
<macrodef name="x-sandbox">
<attribute name="file"/>
<attribute name="outfile" default="@{file}"/>
<attribute name="jsPrefix"/>
<attribute name="cssPrefix"/>
<sequential>
<concat destfile="@{outfile}">
<header trimleading="yes" filtering="no">
(function(Ext) {
Ext.sandboxName = '@{jsPrefix}';
Ext.isSandboxed = true;
Ext.buildSettings = { baseCSSPrefix: "@{cssPrefix}", scopeResetCSS: true };
</header>
<filelist files="@{file}"/>
<footer trimleading="yes" filtering="no">
})(this.@{jsPrefix} || (this.@{jsPrefix} = {}));
</footer>
</concat>
</sequential>
</macrodef>
<target name="-after-build">
<for list="ext-all,ext-all-rtl,ext-modern-all" param="file">
<sequential>
<for list=".js,-debug.js" param="sfx">
<sequential>
<x-sandbox file="${build.dir}/@{file}@{sfx}"
outfile="${build.dir}/@{file}-sandbox@{sfx}"
jsPrefix="Ext6"
cssPrefix="x6-"/>
</sequential>
</for>
</sequential>
</for>
</target>
<!--
******************************************************************
Targets for Test
******************************************************************
-->
<!--
<target name="test-ext" depends="bootstrap,build-classic,test-run"/>
<target name="test-all" depends="test-ext"/>
<target name="coverage-run" depends="init">
<x-sencha-command dir="${package.dir}">
<![CDATA[
config
-prop
cmd-test.specs.test-json=${package.dir}/test/specs/coverageTest.json
-prop
cmd-test.coverage.results.dir=${workspace.dir}/test/coverage-results
then
package
test
run
]]>
</x-sencha-command>
</target>
<target name="coverage-report" depends="init">
<x-shell dir="${workspace.dir}/test">
node istanbul_report.js ${workspace.dir}/test/coverage-results ${workspace.dir}
</x-shell>
</target>
<target name="coverage" depends="coverage-run,coverage-report"/>
-->
</project>

View File

@ -0,0 +1,154 @@
/**
* 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"
});

View File

@ -0,0 +1 @@
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",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"});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"}});Ext.define("Ext.locale.af.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,258 @@
/**
* 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: "&#160;OK&#160;",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,294 @@
/**
* 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&#231;", "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 &#233;s anterior a la data m&#237;nima",
maxText: "Aquesta data &#233;s posterior a la data m&#224;xima",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Mes Seg&#252;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&#39;espai)",
format: "d/m/Y",
startDay: 1
});
Ext.define("Ext.locale.ca.picker.Month", {
override: "Ext.picker.Month",
okText: "&#160;Acceptar&#160;",
cancelText: "Cancel&#183;lar"
});
Ext.define("Ext.locale.ca.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "P&#224;gina",
afterPageText: "de {0}",
firstText: "Primera P&#224;gina",
prevText: "P&#224;gina Anterior",
nextText: "P&#224;gina Seg&#252;ent",
lastText: "Darrera P&#224;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&#39;aquest camp &#233;s inv&#224;lid"
});
Ext.define("Ext.locale.ca.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "El tamany m&#237;nim per aquest camp &#233;s {0}",
maxLengthText: "El tamany m&#224;xim per aquest camp &#233;s {0}",
blankText: "Aquest camp &#233;s obligatori",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.ca.form.field.Number", {
override: "Ext.form.field.Number",
decimalPrecision: 2,
minText: "El valor m&#237;nim per aquest camp &#233;s {0}",
maxText: "El valor m&#224;xim per aquest camp &#233;s {0}",
nanText: "{0} no &#233;s un nombre v&#224;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 &#233;s una data v&#224;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&#231;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&#233;s pot contenir lletres i _',
alphanumText: 'Aquest camp nom&#233;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&#231;:'
}, 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&#224;lica (Ctrl+I)',
text: 'Posa el text seleccionat en it&#224;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&#231;a una llista amb vinyetes.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Llista numerada',
text: 'Comen&#231;a una llista numerada.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Enlla&#231;',
text: 'Transforma el text seleccionat en un enlla&#231;.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Editar Codi',
text: 'Canvia al mode d\'edici&#243; de codi.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
Ext.define("Ext.locale.ca.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "Ordenaci&#243; Ascendent",
sortDescText: "Ordenaci&#243; Descendent",
columnsText: "Columnes"
});
Ext.define("Ext.locale.ca.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
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 &#233;s un hora v&#224;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 &#233;tem d\'aquest group"
});
Ext.define("Ext.locale.ca.form.RadioGroup", {
override: "Ext.form.RadioGroup",
blankText: "Ha de seleccionar un &#233;tem d\'aquest grup"
});
Ext.define("Ext.locale.ca.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "Acceptar",
cancel: "Cancel&#183;lar",
yes: "S&#237;",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,292 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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.form.field.File", {
override: "Ext.form.field.File",
buttonText: "Procházet..."
});
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,277 @@
/**
* 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: "&#160;OK&#160;",
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"
});
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,331 @@
/**
* 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.panel.Panel", {
override: "Ext.panel.Panel",
collapseToolText: "reduzieren",
expandToolText: "erweitern"
});
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: "&#160;OK&#160;",
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"
});
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,268 @@
/**
* 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.feature.Grouping
*/
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,403 @@
/**
* 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.data.validator.Bound", {
override: "Ext.data.validator.Bound",
emptyMessage: "Must be present"
});
Ext.define("Ext.locale.en.data.validator.Email", {
override: "Ext.data.validator.Email",
message: "Is not a valid email address"
});
Ext.define("Ext.locale.en.data.validator.Exclusion", {
override: "Ext.data.validator.Exclusion",
message: "Is a value that has been excluded"
});
Ext.define("Ext.locale.en.data.validator.Format", {
override: "Ext.data.validator.Format",
message: "Is in the wrong format"
});
Ext.define("Ext.locale.en.data.validator.Inclusion", {
override: "Ext.data.validator.Inclusion",
message: "Is not in the list of acceptable values"
});
Ext.define("Ext.locale.en.data.validator.Length", {
override: "Ext.data.validator.Length",
minOnlyMessage: "Length must be at least {0}",
maxOnlyMessage: "Length must be no more than {0}",
bothMessage: "Length must be between {0} and {1}"
});
Ext.define("Ext.locale.en.data.validator.Presence", {
override: "Ext.data.validator.Presence",
message: "Must be present"
});
Ext.define("Ext.locale.en.data.validator.Range", {
override: "Ext.data.validator.Range",
minOnlyMessage: "Must be must be at least {0}",
maxOnlyMessage: "Must be no more than than {0}",
bothMessage: "Must be between {0} and {1}",
nanMessage: "Must be numeric"
});
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: "&#160;OK&#160;",
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",
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.feature.Grouping",
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: '&#160;'
});
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.field.File", {
override: "Ext.form.field.File",
buttonText: "Browse..."
});
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"
}
});
Ext.define("Ext.locale.en.grid.filters.Filters", {
override: "Ext.grid.filters.Filters",
menuFilterText: "Filters"
});
Ext.define("Ext.locale.en.grid.filters.filter.Boolean", {
override: "Ext.grid.filters.filter.Boolean",
yesText: "Yes",
noText: "No"
});
Ext.define("Ext.locale.en.grid.filters.filter.Date", {
override: "Ext.grid.filters.filter.Date",
fields: {
lt: {text: 'Before'},
gt: {text: 'After'},
eq: {text: 'On'}
},
// Defaults to Ext.Date.defaultFormat
dateFormat: null
});
Ext.define("Ext.locale.en.grid.filters.filter.List", {
override: "Ext.grid.filters.filter.List",
loadingText: "Loading..."
});
Ext.define("Ext.locale.en.grid.filters.filter.Number", {
override: "Ext.grid.filters.filter.Number",
emptyText: "Enter Number..."
});
Ext.define("Ext.locale.en.grid.filters.filter.String", {
override: "Ext.grid.filters.filter.String",
emptyText: "Enter Filter Text..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.en.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,388 @@
/**
* 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.data.validator.Bound", {
override: "Ext.data.validator.Bound",
emptyMessage: "Must be present"
});
Ext.define("Ext.locale.en_AU.data.validator.Email", {
override: "Ext.data.validator.Email",
message: "Is not a valid email address"
});
Ext.define("Ext.locale.en_AU.data.validator.Exclusion", {
override: "Ext.data.validator.Exclusion",
message: "Is a value that has been excluded"
});
Ext.define("Ext.locale.en_AU.data.validator.Format", {
override: "Ext.data.validator.Format",
message: "Is in the wrong format"
});
Ext.define("Ext.locale.en_AU.data.validator.Inclusion", {
override: "Ext.data.validator.Inclusion",
message: "Is not in the list of acceptable values"
});
Ext.define("Ext.locale.en_AU.data.validator.Length", {
override: "Ext.data.validator.Length",
minOnlyMessage: "Length must be at least {0}",
maxOnlyMessage: "Length must be no more than {0}",
bothMessage: "Length must be between {0} and {1}"
});
Ext.define("Ext.locale.en_AU.data.validator.Presence", {
override: "Ext.data.validator.Presence",
message: "Must be present"
});
Ext.define("Ext.locale.en_AU.data.validator.Range", {
override: "Ext.data.validator.Range",
minOnlyMessage: "Must be must be at least {0}",
maxOnlyMessage: "Must be no more than than {0}",
bothMessage: "Must be between {0} and {1}",
nanMessage: "Must be numeric"
});
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: "&#160;OK&#160;",
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",
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.feature.Grouping",
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.field.File", {
override: "Ext.form.field.File",
buttonText: "Browse..."
});
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"
}
});
Ext.define("Ext.locale.en_AU.grid.filters.Filters", {
override: "Ext.grid.filters.Filters",
menuFilterText: "Filters"
});
Ext.define("Ext.locale.en_AU.grid.filters.filter.Boolean", {
override: "Ext.grid.filters.filter.Boolean",
yesText: "Yes",
noText: "No"
});
Ext.define("Ext.locale.en_AU.grid.filters.filter.Date", {
override: "Ext.grid.filters.filter.Date",
fields: {
lt: {text: 'Before'},
gt: {text: 'After'},
eq: {text: 'On'}
},
// Defaults to Ext.Date.defaultFormat
dateFormat: null
});
Ext.define("Ext.locale.en_AU.grid.filters.filter.List", {
override: "Ext.grid.filters.filter.List",
loadingText: "Loading..."
});
Ext.define("Ext.locale.en_AU.grid.filters.filter.Number", {
override: "Ext.grid.filters.filter.Number",
emptyText: "Enter Number..."
});
Ext.define("Ext.locale.en_AU.grid.filters.filter.String", {
override: "Ext.grid.filters.filter.String",
emptyText: "Enter Filter Text..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.en_AU.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,390 @@
/**
* 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.data.validator.Bound", {
override: "Ext.data.validator.Bound",
emptyMessage: "Must be present"
});
Ext.define("Ext.locale.en_GB.data.validator.Email", {
override: "Ext.data.validator.Email",
message: "Is not a valid email address"
});
Ext.define("Ext.locale.en_GB.data.validator.Exclusion", {
override: "Ext.data.validator.Exclusion",
message: "Is a value that has been excluded"
});
Ext.define("Ext.locale.en_GB.data.validator.Format", {
override: "Ext.data.validator.Format",
message: "Is in the wrong format"
});
Ext.define("Ext.locale.en_GB.data.validator.Inclusion", {
override: "Ext.data.validator.Inclusion",
message: "Is not in the list of acceptable values"
});
Ext.define("Ext.locale.en_GB.data.validator.Length", {
override: "Ext.data.validator.Length",
minOnlyMessage: "Length must be at least {0}",
maxOnlyMessage: "Length must be no more than {0}",
bothMessage: "Length must be between {0} and {1}"
});
Ext.define("Ext.locale.en_GB.data.validator.Presence", {
override: "Ext.data.validator.Presence",
message: "Must be present"
});
Ext.define("Ext.locale.en_GB.data.validator.Range", {
override: "Ext.data.validator.Range",
minOnlyMessage: "Must be must be at least {0}",
maxOnlyMessage: "Must be no more than than {0}",
bothMessage: "Must be between {0} and {1}",
nanMessage: "Must be numeric"
});
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: "&#160;OK&#160;",
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",
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.feature.Grouping",
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.field.File", {
override: "Ext.form.field.File",
buttonText: "Browse..."
});
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"
}
});
Ext.define("Ext.locale.en_GB.grid.filters.Filters", {
override: "Ext.grid.filters.Filters",
menuFilterText: "Filters"
});
Ext.define("Ext.locale.en_GB.grid.filters.filter.Boolean", {
override: "Ext.grid.filters.filter.Boolean",
yesText: "Yes",
noText: "No"
});
Ext.define("Ext.locale.en_GB.grid.filters.filter.Date", {
override: "Ext.grid.filters.filter.Date",
fields: {
lt: {text: 'Before'},
gt: {text: 'After'},
eq: {text: 'On'}
},
// Defaults to Ext.Date.defaultFormat
dateFormat: null
});
Ext.define("Ext.locale.en_GB.grid.filters.filter.List", {
override: "Ext.grid.filters.filter.List",
loadingText: "Loading..."
});
Ext.define("Ext.locale.en_GB.grid.filters.filter.Number", {
override: "Ext.grid.filters.filter.Number",
emptyText: "Enter Number..."
});
Ext.define("Ext.locale.en_GB.grid.filters.filter.String", {
override: "Ext.grid.filters.filter.String",
emptyText: "Enter Filter Text..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.en_GB.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,310 @@
/**
* 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.formatCodes.a = "(this.getHours() < 12 ? 'a.m.' : 'p.m.')";
Ext.Date.formatCodes.A = "(this.getHours() < 12 ? 'A.M.' : 'P.M.')";
// This will match am or a.m.
Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = {
g:1,
c:"if (/(a\\.?m\\.?)/i.test(results[{0}])) {\n"
+ "if (!h || h == 12) { h = 0; }\n"
+ "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
s:"(A\\.?M\\.?|P\\.?M\\.?|a\\.?m\\.?|p\\.?m\\.?)",
calcAtEnd: true
};
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: "&#160;Aceptar&#160;",
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",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,293 @@
/**
* 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: "&#160;OK&#160;",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,260 @@
/**
* 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: "&#160;OK&#160;",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,288 @@
/**
* Finnish Translations
* <tuomas.salo (at) iki.fi>
* 'ä' should read as lowercase 'a' with two dots on top (&auml;)
*/
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 (month + 1) + ".";
};
Ext.Date.monthNumbers = {
'tammikuu': 0,
'helmikuu': 1,
'maaliskuu': 2,
'huhtikuu': 3,
'toukokuu': 4,
'kesäkuu': 5,
'heinäkuu': 6,
'elokuu': 7,
'syyskuu': 8,
'lokakuu': 9,
'marraskuu': 10,
'joulukuu': 11
};
Ext.Date.getMonthNumber = function(name) {
if (name.match(/^(1?\d)\./)) {
return -1 + RegExp.$1;
} else {
return Ext.Date.monthNumbers[name];
}
};
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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,321 @@
/**
* 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 cet 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: "&#160;OK&#160;",
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",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,193 @@
/**
* 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 cet 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"
});

View File

@ -0,0 +1 @@
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(a){return Ext.Date.shortMonthNames[a]};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(a){return Ext.Date.monthNumbers[Ext.util.Format.capitalize(a)]};Ext.Date.dayNames=["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"];Ext.Date.getShortDayName=function(a){return Ext.Date.dayNames[a].substring(0,3)}}if(Ext.util&&Ext.util.Format){Ext.apply(Ext.util.Format,{thousandSeparator:".",decimalSeparator:",",currencySign:"$",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 cet onglet"});Ext.define("Ext.locale.fr_CA.form.field.Base",{override:"Ext.form.field.Base",invalidText:"La valeur de ce champ est invalide"});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"}});Ext.define("Ext.locale.fr_CA.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,149 @@
/**
* 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"
});

View File

@ -0,0 +1 @@
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",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:"Ç ôéìÞ óôï ðåäßï äåí åßíáé Ýãêõñç"});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:"¼÷é"}});Ext.define("Ext.locale.gr.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,284 @@
Ext.define('Ext.locale.container.Viewport', {
override: 'Ext.container.Viewport',
requires: [
'Ext.rtl.*'
],
rtl: true
});
/**
* 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: "&#160;אישור&#160;",
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.File", {
override: "Ext.form.field.File",
buttonText: "עיון ..."
});
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,274 @@
/**
* 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: "&#160;U redu&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,275 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,292 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,320 @@
/**
* 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: "&#160;OK&#160;",
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",
decimalPrecision: 2,
minText: "Il valore minimo \u00E8 {0}",
maxText: "Il valore massimo \u00E8 {0}",
nanText: "{0} non \u00E8 un valore numerico valido",
negativeText: "Il valore del campo non può essere negativo"
});
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.feature.Grouping",
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.column.Boolean", {
override: "Ext.grid.column.Boolean",
trueText: "vero",
falseText: "falso",
undefinedText: '&#160;'
});
Ext.define("Ext.locale.it.grid.column.Number", {
override: "Ext.grid.column.Number",
format: '0,000.00'
});
Ext.define("Ext.locale.it.grid.column.Date", {
override: "Ext.grid.column.Date",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,324 @@
/**
* 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.LoadMask", {
override: "Ext.LoadMask",
msg: "読み込み中..."
});
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: "&#160;OK&#160;",
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.File", {
override: "Ext.form.field.File",
buttonText: "参照..."
});
Ext.define("Ext.locale.ja.form.field.Number", {
override: "Ext.form.field.Number",
decimalPrecision: 2,
minText: "このフィールドの最小値は {0} です。",
maxText: "このフィールドの最大値は {0} です。",
nanText: "{0} は数値ではありません。",
negativeText: "負の値は無効です。"
});
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.column.Date", {
override: "Ext.grid.column.Date",
format: "Y/m/d"
});
Ext.define("Ext.locale.ja.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,245 @@
/**
* 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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,312 @@
/**
* 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: "&#160;Gerai&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,309 @@
/**
* List compiled by mystix on the extjs.com forums.
* Thank you Mystix!
*
* Latvian Translations
* initial translation by salix 17 April 2007
* updated and modified from en by Juris Vecvanags (2014)
*/
Ext.onReady(function() {
if (Ext.Date) {
Ext.Date.defaultDateFormat = "d.m.Y";
Ext.Date.monthNames = ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"];
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 = ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena"];
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', // Euro
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"
});
// 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: "'Šis datums ir mazāks par minimālo datumu",
maxText: "Šis 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} (Atstarpe)",
format: "d.m.Y",
startDay: 1
});
Ext.define("Ext.locale.lv.picker.Month", {
override: "Ext.picker.Month",
okText: "Labi",
cancelText: "Atcelt"
});
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: "Atjaunot",
displayMsg: "Kopā {2} ieraksti. Rādu ierakstus no {0} līdz {1}",
emptyMsg: 'Nav datu'
});
Ext.define("Ext.locale.lv.form.Basic", {
override: "Ext.form.Basic",
waitTitle: "Lūdzu gaidiet..."
});
Ext.define("Ext.locale.lv.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Aizvert šo cilni"
});
Ext.define("Ext.locale.lv.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "Vērtība šajā laukā nav pareiza"
});
Ext.define("Ext.locale.lv.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "Lauka minimālais garums ir {0}",
maxLengthText: "Lauka maksimālais garums ir {0}",
blankText: "Šis lauks ir obligāts",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.lv.form.field.Number", {
override: "Ext.form.field.Number",
decimalPrecision: 2,
minText: "Lauka minimālā vērtība ir {0}",
maxText: "Lauka maksimālā vērtība ir{0}",
nanText: "{0} nav 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} ir nepareizi noformēts datums. Datuma formāts: {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.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: 'Šis lauks paredzēts e-pasta adresei formātā "lietotājs@domēns.lv"',
urlText: ' Šis lauks paredžets URL formātā "http:/' + '/www.paraugs.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.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: 'Trekns (Ctrl+B)',
text: 'Pārveidot iezīmēto tekstu treknrakstā.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
italic: {
title: 'Kursīvs (Ctrl+I)',
text: 'Pārveidot iezīmēto tekstu slīprakstā.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
underline: {
title: 'Pasvītrot (Ctrl+U)',
text: 'Pasvītrot iezīmēto tekstu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
increasefontsize: {
title: 'Palielināt tekstu',
text: 'Palielināt rakstzīmju izmēru.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
decreasefontsize: {
title: 'Samazināt tekstu',
text: 'Samazināt rakstzīmju izmēru.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
backcolor: {
title: 'Fona krāsa',
text: 'Mainīt iezīmētā teskta fona krāsu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'Rakstzīmju krāsa',
text: 'Mainīt iezīmētā teskta krāsu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyleft: {
title: 'Centrēt pa kreisi',
text: 'Centrēt tekstu pa kreisi.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifycenter: {
title: 'Centrēt pa vidu',
text: 'Centrēt pa vidu',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
justifyright: {
title: 'Centrēt pa labi',
text: 'Centrēt tekstu pa labi.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertunorderedlist: {
title: 'Saraksts',
text: 'Sākt sarakstu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
insertorderedlist: {
title: 'Numurēts saraksts',
text: 'Sākt numurētu sarakstu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
createlink: {
title: 'Hipersaite',
text: 'Pārveidot iezīmēto tekstu par hipersaiti',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
sourceedit: {
title: 'Rediģēt pirmkodu',
text: 'Pārslēgt uz pirmkoda rediģēšanas režīmu.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
}
}
});
});
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.DateColumn", {
override: "Ext.grid.DateColumn",
format: 'd.m.Y'
});
Ext.define("Ext.locale.lv.grid.GroupingFeature", {
override: "Ext.grid.feature.Grouping",
emptyGroupText: '(Tukšs)',
groupByText: 'Grupēt izmantojot šo lauku',
showGroupsText: 'Rādīt grupās'
});
Ext.define("Ext.locale.lv.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "Nosaukums",
valueText: "Vērtība",
dateFormat: "j.m.Y",
trueText: "true",
falseText: "false"
});
Ext.define("Ext.locale.lv.form.field.Time", {
override: "Ext.form.field.Time",
minText: "Vērtībai šajā laukā jabūt pēc pl. {0}",
maxText: "Vērtībai šajā laukā jabūt vienādai vai mazākai par pl. {0}",
invalidText: "{0} ir nekorekts laiks",
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.lv.form.CheckboxGroup", {
override: "Ext.form.CheckboxGroup",
blankText: "Iezvēlaties vismaz vienu variantu no šis grupas"
});
Ext.define("Ext.locale.lv.form.RadioGroup", {
override: "Ext.form.RadioGroup",
blankText: "Iezvēlaties vienu variantu no šis grupas"
});
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,150 @@
/**
* 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"
});

View File

@ -0,0 +1 @@
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",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:"Вредноста во ова поле е невалидна"});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:"Не"}});Ext.define("Ext.locale.mk.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,297 @@
/**
* 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: '&#160;OK&#160;',
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",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,273 @@
/**
*
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,273 @@
/**
*
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,291 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,240 @@
/**
* 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&ccedil;o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
Ext.Date.dayNames = ["Domingo", "Segunda", "Ter&ccedil;a", "Quarta", "Quinta", "Sexta", "S&aacute;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 &eacute; inv&aacute;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 &eacute; anterior &agrave; menor data",
maxText: "Esta data &eacute; posterior &agrave; maior data",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'Pr&oacute;ximo M&ecirc;s (Control+Direita)',
prevText: 'M&ecirc;s Anterior (Control+Esquerda)',
monthYearText: 'Escolha um M&ecirc;s (Control+Cima/Baixo para mover entre os anos)',
todayTip: "{0} (Espa&ccedil;o)",
format: "d/m/Y",
startDay: 0
});
Ext.define("Ext.locale.pt.picker.Month", {
override: "Ext.picker.Month",
okText: "&#160;OK&#160;",
cancelText: "Cancelar"
});
Ext.define("Ext.locale.pt.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "P&aacute;gina",
afterPageText: "de {0}",
firstText: "Primeira P&aacute;gina",
prevText: "P&aacute;gina Anterior",
nextText: "Pr&oacute;xima P&aacute;gina",
lastText: "&Uacute;ltima P&aacute;gina",
refreshText: "Atualizar",
displayMsg: "<b>{0} &agrave; {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&iacute;nimo para este campo &eacute; {0}",
maxLengthText: "O tamanho m&aacute;ximo para este campo &eacute; {0}",
blankText: "Este campo &eacute; obrigat&oacute;rio.",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.pt.form.field.Number", {
override: "Ext.form.field.Number",
minText: "O valor m&iacute;nimo para este campo &eacute; {0}",
maxText: "O valor m&aacute;ximo para este campo &eacute; {0}",
nanText: "{0} n&atilde;o &eacute; um n&uacute;mero v&aacute;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&atilde;o &eacute; uma data v&aacute;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&ccedil;o de e-mail v&aacute;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&uacute;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 &agrave; Esquerda',
text: 'Alinha o texto &agrave; 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 &agrave; Direita',
text: 'Alinha o texto &agrave; 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&ccedil;&atilde;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&ccedil;&atilde;o de c&oacute;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&atilde;o"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.pt.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,274 @@
/**
* 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
* Update by Guilherme Portela
* 04 May 2015
*/
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.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "O valor para este campo é inválido"
});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.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.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.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.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.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 _'
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.pt_BR.Component", {
override: "Ext.Component"
});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.grid.feature.Grouping', {
override: 'Ext.grid.feature.Grouping',
emptyGroupText: '(Nenhum)',
groupByText: 'Agrupar por este campo',
showGroupsText: 'Mostrar agrupad'
});Ext.define('Ext.locale.pt_BR.grid.filters.Filters', {
override: 'Ext.grid.filters.Filters',
menuFilterText: 'Filtros'
});
Ext.define('Ext.locale.pt_BR.grid.filters.filter.Boolean', {
override: 'Ext.grid.filters.filter.Boolean',
yesText: 'Sim',
noText : 'Não'
});
Ext.define('Ext.locale.pt_BR.grid.filters.filter.Date', {
override: 'Ext.grid.filters.filter.Date',
getFields: function() {
return {
lt: {text: 'Antes'},
gt: {text: 'Depois'},
eq: {text: 'Em'}
};
}
});Ext.define('Ext.locale.pt_BR.grid.filters.filter.List', {
override: 'Ext.grid.filters.filter.List',
loadingText: 'Carregando...'
});
Ext.define('Ext.locale.pt_BR.grid.filters.filter.Number', {
override: 'Ext.grid.filters.filter.Number',
emptyText: 'Digite o número...'
});
Ext.define('Ext.locale.pt_BR.grid.filters.filter.String', {
override: 'Ext.grid.filters.filter.String',
emptyText: 'Digite o texto de filtro...'
});Ext.define('Ext.locale.pt_BR.grid.header.Container', {
override: 'Ext.grid.header.Container',
sortAscText: 'Ordem Ascendente',
sortDescText: 'Ordem Descendente',
columnsText: 'Colunas'
});Ext.define('Ext.locale.pt_BR.grid.locking.Lockable', {
override: 'Ext.grid.locking.Lockable',
lockText: 'Bloquear Coluna',
unlockText: 'Desbloquear Coluna'
});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.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "OK",
cancel: "Cancelar",
yes: "Sim",
no: "Não"
}
});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: "&#160;OK&#160;",
cancelText: "Cancelar"
});Ext.define("Ext.locale.pt_BR.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "Fechar"
});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'
});// 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.view.View", {
override: "Ext.view.View",
emptyText: ""
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,277 @@
/**
* 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: "&#160;OK&#160;",
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&ocirc;r de fundo do texto',
text: 'Altera a c&ocirc;r de fundo do texto.',
cls: Ext.baseCSSPrefix + 'html-editor-tip'
},
forecolor: {
title: 'C&ocirc;r do texo',
text: 'Altera a a&ocirc;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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,272 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,285 @@
/**
* 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: "&#160;OK&#160;",
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.feature.Grouping",
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: "Нет"
}
});
Ext.define("Ext.locale.ru.form.field.File", {
override: "Ext.form.field.File",
buttonText: "Обзор..."
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.ru.Component", {
override: "Ext.Component"
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,151 @@
/**
* 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"
});

View File

@ -0,0 +1 @@
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",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"});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"}});Ext.define("Ext.locale.sk.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,149 @@
/**
* 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"
});

View File

@ -0,0 +1 @@
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",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"});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"}});Ext.define("Ext.locale.sl.Component",{override:"Ext.Component"});

View File

@ -0,0 +1,153 @@
/**
* 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"
});

Some files were not shown because too many files have changed in this diff Show More