By making dictionary keys be sensible strings, we make it so the i18n function returns something legible when there are no dictionaries included in a build. This means that strings from the Graticule, Permalink, LayerSwitcher, and Scale controls will be displayed in English without having to include the English dictionary (as is the case in our full build).
Note that if you use the OpenLayers.i18n method in your applications, five of the dictionary keys have changed. Use the following replacements:
* "permalink" -> "Permalink"
* "overlays" -> "Overlays"
* "baseLayer" -> "Base Layer"
* "scale" -> "Scale = 1 : ${scaleDenom}"
* "graticule" -> "Graticule"
r=ahocevar (closes #3364)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
62 lines
2.1 KiB
JavaScript
62 lines
2.1 KiB
JavaScript
/* Translators (2009 onwards):
|
|
* - Mvrban
|
|
*/
|
|
|
|
/**
|
|
* @requires OpenLayers/Lang.js
|
|
*/
|
|
|
|
/**
|
|
* Namespace: OpenLayers.Lang["hr"]
|
|
* Dictionary for Hrvatski. Keys for entries are used in calls to
|
|
* <OpenLayers.Lang.translate>. Entry bodies are normal strings or
|
|
* strings formatted for use with <OpenLayers.String.format> calls.
|
|
*/
|
|
OpenLayers.Lang["hr"] = OpenLayers.Util.applyDefaults({
|
|
|
|
'unhandledRequest': "Nepodržani zahtjev ${statusText}",
|
|
|
|
'Permalink': "Permalink",
|
|
|
|
'Overlays': "Overlays",
|
|
|
|
'Base Layer': "Osnovna karta",
|
|
|
|
'sameProjection': "Pregledna karta radi jedino kao je u istoj projekciji kao i glava karta",
|
|
|
|
'readNotImplemented': "Čitanje nije implementirano.",
|
|
|
|
'writeNotImplemented': "Pisanje nije implementirano.",
|
|
|
|
'noFID': "Ne mogu ažurirati značajku za koju ne postoji FID.",
|
|
|
|
'errorLoadingGML': "Greška u učitavanju GML datoteke ${url}",
|
|
|
|
'browserNotSupported': "Vaš preglednik ne podržava vektorsko renderiranje. Trenutno podržani rendereri su: ${renderers}",
|
|
|
|
'componentShouldBe': "addFeatures : komponenta bi trebala biti ${geomType}",
|
|
|
|
'getFeatureError': "getFeatureFromEvent je pozvao Layer bez renderera. Ovo obično znači da ste uništiili Layer, a ne neki Handler koji je povezan s njim.",
|
|
|
|
'commitSuccess': "WFS Transakcija: USPJEŠNA ${response}",
|
|
|
|
'commitFailed': "WFS Transakcija: NEUSPJEŠNA ${response}",
|
|
|
|
'Scale = 1 : ${scaleDenom}': "Mjerilo = 1 : ${scaleDenom}",
|
|
|
|
'layerAlreadyAdded': "Pokušali ste dodati layer: ${layerName} na kartu, ali je već dodan",
|
|
|
|
'methodDeprecated': "Ova metoda nije odobrena i biti će maknuta u 3.0. Koristite ${newMethod}.",
|
|
|
|
'boundsAddError': "Morate dati obje vrijednosti , x i y da bi dodali funkciju.",
|
|
|
|
'lonlatAddError': "Morate dati obje vrijednosti , (lon i lat) da bi dodali funkciju.",
|
|
|
|
'pixelAddError': "Morate dati obje vrijednosti , x i y da bi dodali funkciju.",
|
|
|
|
'unsupportedGeometryType': "Nepodržani tip geometrije: ${geomType}",
|
|
|
|
'pagePositionFailed': "OpenLayers.Util.pagePosition nije uspjelo: element sa id ${elemId} može biti krivo smješten."
|
|
|
|
});
|