From 4b02bc5ab1475ffa0c848687d8da5df77f29d22f Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 20 Mar 2008 18:16:00 +0000 Subject: [PATCH] Adding Czech translation from jachym. Only en.js is included in single-file builds. Edit your configuration for a single-file build with translation support. r=me (closes #1454) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6569 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- build/full.cfg | 1 + build/library.cfg | 4 ++ build/lite.cfg | 5 ++ lib/OpenLayers/Lang/cs-CZ.js | 120 +++++++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 lib/OpenLayers/Lang/cs-CZ.js diff --git a/build/full.cfg b/build/full.cfg index c438263672..8a14840987 100644 --- a/build/full.cfg +++ b/build/full.cfg @@ -16,3 +16,4 @@ Firebug/firebugx.js OpenLayers/Lang/de.js OpenLayers/Lang/en-CA.js OpenLayers/Lang/fr.js +OpenLayers/Lang/cs-CZ.js diff --git a/build/library.cfg b/build/library.cfg index 1df4c4fdc0..af69691806 100644 --- a/build/library.cfg +++ b/build/library.cfg @@ -46,5 +46,9 @@ OpenLayers/Renderer/Elements.js OpenLayers/Renderer/SVG.js OpenLayers/Renderer/VML.js OpenLayers/Renderer.js +OpenLayers/Lang/de.js +OpenLayers/Lang/en-CA.js +OpenLayers/Lang/fr.js +OpenLayers/Lang/cs-CZ.js diff --git a/build/lite.cfg b/build/lite.cfg index 81375307f3..23532f0c23 100644 --- a/build/lite.cfg +++ b/build/lite.cfg @@ -21,3 +21,8 @@ OpenLayers/Tile/Image.js [exclude] Firebug/firebug.js Firebug/firebugx.js +OpenLayers/Lang/de.js +OpenLayers/Lang/en-CA.js +OpenLayers/Lang/fr.js +OpenLayers/Lang/cs-CZ.js + diff --git a/lib/OpenLayers/Lang/cs-CZ.js b/lib/OpenLayers/Lang/cs-CZ.js new file mode 100644 index 0000000000..9daf2510d8 --- /dev/null +++ b/lib/OpenLayers/Lang/cs-CZ.js @@ -0,0 +1,120 @@ +/* Copyright (c) 2006-2008 MetaCarta, Inc., published under the Clear BSD + * license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the + * full text of the license. */ + +/** + * @requires OpenLayers/Lang.js + */ + +/** + * Namespace: OpenLayers.Lang["cs-CZ"] + * Dictionary for Czech. Keys for entries are used in calls to + * . Entry bodies are normal strings or + * strings formatted for use with calls. + */ +OpenLayers.Lang["cs-CZ"] = { + + 'unhandledRequest': "Nezpracovaná návratová hodnota ${statusText}", + + 'permalink': "Odkaz na aktuální mapu", + + 'overlays': "Překryvné vrstvy", + + 'baseLayer': "Podkladové vrstvy", + + 'sameProjection': + "Přehledka pracuje správně pouze pokud je ve stejné projekci, jako hlavní mapa", + + 'readNotImplemented': "Read není implementováno.", + + 'writeNotImplemented': "Write není implementováno.", + + 'noFID': "Nelze aktualizovat prvek, pro který neexistuje FID.", + + 'errorLoadingGML': "Chyba při načítání souboru GML ${url}", + + 'browserNotSupported': + "Váš prohlížeč nepodporuje vykreslování vektorů. Momentálně podporované nástroje jsou::\n${renderers}", + + 'componentShouldBe': "addFeatures : komponenta by měla být ${geomType}", + + // console message + 'getFeatureError': + "getFeatureFromEvent bylo zavoláno na vrstvě, která nemá vykreslovač. To obyčejně znamená, že " + + "jste odstranil vrstvu, ale ne rutinu s ní asociovanou.", + + // console message + 'minZoomLevelError': + "Vlastnost minZoomLevel by se měla používat pouze " + + "s potomky FixedZoomLevels vrstvami. To znamená, že " + + "vrstva wfs kontroluje, zda-li minZoomLevel není zbytek z minulosti." + + "Nelze to ovšem vyjmout bez možnosti, že bychom rozbili " + + "aplikace postavené na OL, které by na tom mohly záviset. " + + "Proto tuto vlastnost nedoporučujeme používat -- kontrola minZoomLevel " + + "bude odstraněna ve verzi 3.0. Použijte prosím " + + "raději nastavení min/max podle příkaldu popsaného na: " + + "http://trac.openlayers.org/wiki/SettingZoomLevels", + + 'commitSuccess': "WFS Transaction: ÚSPĚCH ${response}", + + 'commitFailed': "WFS Transaction: CHYBA ${response}", + + 'googleWarning': + "Nepodařilo se správně načíst vrstvu Google.

" + + "Abyste se zbavili této zprávy, zvolte jinou základní vrstvu " + + "v přepínači vrstev.

" + + "To se většinou stává, pokud " + + "nebyl načten skript, nebo neobsahuje správný " + + "klíč pro API pro tuto stránku.

" + + "Vývojáři: Pro pomoc, aby tohle fungovalo , " + + "klikněte sem", + + 'getLayerWarning': + "The ${layerType} Layer was unable to load correctly.

" + + "To get rid of this message, select a new BaseLayer " + + "in the layer switcher in the upper-right corner.

" + + "Most likely, this is because the ${layerLib} library " + + "script was either not correctly included.

" + + "Developers: For help getting this working correctly, " + + "click here", + + 'scale': "Měřítko = 1 : ${scaleDenom}", + + // console message + 'layerAlreadyAdded': + "Pokusili jste se přidat vrstvu: ${layerName} do mapy, ale tato vrstva je již v mapě přítomna.", + + // console message + 'reprojectDeprecated': + "Použil jste volbu 'reproject' " + + "ve vrstvě ${layerName}. Tato volba není doporučená: " + + "byla zde proto, aby bylo možno zobrazovat data z okomerčních serverů, " + + "ale tato funkce je nyní zajištěna pomocí podpory " + + "Spherical Mercator. Více informací naleznete na " + + "http://trac.openlayers.org/wiki/SphericalMercator.", + + // console message + 'methodDeprecated': + "Tato metodat není doporučená a bude vyjmuta ve verzi 3.0. " + + "Prosím, použijte raději ${newMethod}.", + + // console message + 'boundsAddError': "Pro přídavnou funkci musíte zadat obě souřadnice x a y.", + + // console message + 'lonlatAddError': "Pro přídavnou funkci musíte zadat obě souřadnice lon a lat.", + + // console message + 'pixelAddError': "Pro přídavnou funkci musíte zadat obě souřadnice x a y.", + + // console message + 'unsupportedGeometryType': "Nepodporovaný typ geometrie: ${geomType}", + + // console message + 'pagePositionFailed': + "OpenLayers.Util.pagePosition selhalo: element s id ${elemId} je asi umístěn chybně.", + + 'end': '' +};