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
83 lines
2.6 KiB
JavaScript
83 lines
2.6 KiB
JavaScript
/**
|
|
* @requires OpenLayers/Lang.js
|
|
*/
|
|
|
|
/**
|
|
* Namespace: OpenLayers.Lang["lt"]
|
|
* Dictionary for Lithuanian. 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['lt'] = OpenLayers.Util.applyDefaults({
|
|
|
|
'unhandledRequest': "Neapdorota užklausa gražino ${statusText}",
|
|
|
|
'Permalink': "Pastovi nuoroda",
|
|
|
|
'Overlays': "Papildomi sluoksniai",
|
|
|
|
'Base Layer': "Pagrindinis sluoksnis",
|
|
|
|
'sameProjection':
|
|
"Apžvalginis žemėlapis veikia tik tada, kai jis yra tos pačios projekcijos kaip ir pagrindinis",
|
|
|
|
'readNotImplemented': "Skaitymas nėra įgyvendintas.",
|
|
|
|
'writeNotImplemented': "Rašymas nėra įgyvendintas.",
|
|
|
|
'noFID': "Negaliu atnaujinti objekto, kuris neturi FID.",
|
|
|
|
'errorLoadingGML': "Klaida užkraunant GML failą ${url}",
|
|
|
|
'browserNotSupported':
|
|
"Jūsų naršyklė nemoka parodyti vektorių. Šiuo metu galima naudotis tokiais rodymo varikliais:\n{renderers}",
|
|
|
|
'componentShouldBe': "addFeatures : komponentas turi būti ${geomType}",
|
|
|
|
// console message
|
|
'getFeatureError':
|
|
"getFeatureFromEvent buvo iškviestas sluoksniui, kuris neturi priskirto paišymo variklio. Tai paprastai nutinka, kai jūs pašalinate sluoksnį, bet paliekate su juo susijusį [handler]",
|
|
|
|
'commitSuccess': "WFS Tranzakcija: PAVYKO ${response}",
|
|
|
|
'commitFailed': "WFS Tranzakcija: ŽLUGO ${response}",
|
|
|
|
'Scale = 1 : ${scaleDenom}': "Mastelis = 1 : ${scaleDenom}",
|
|
|
|
//labels for the graticule control
|
|
'W': 'V',
|
|
'E': 'R',
|
|
'N': 'Š',
|
|
'S': 'P',
|
|
'Graticule': 'Tinklelis',
|
|
|
|
// console message
|
|
'layerAlreadyAdded':
|
|
"Bandėte pridėti prie žemėlapio sluoksnį ${layerName}, tačiau jis jau yra pridėtas",
|
|
|
|
// console message
|
|
'methodDeprecated':
|
|
"Šis metodas yra pasenęs ir 3.0 versijoje bus pašalintas. " +
|
|
"Prašome naudoti ${newMethod}.",
|
|
|
|
// console message
|
|
'boundsAddError': "Add funkcijai reikia pateikti tiek x, tiek y reikšmes.",
|
|
|
|
// console message
|
|
'lonlatAddError': "Add funkcijai reikia pateikti tiek lon, tiek lat reikšmes",
|
|
|
|
// console message
|
|
'pixelAddError': "Add funkcijai būtina perduoti tiek x, tiek y reikšmes.",
|
|
|
|
// console message
|
|
'unsupportedGeometryType': "Nepalaikomas geometrijos tipas: ${geomType}",
|
|
|
|
// console message
|
|
'pagePositionFailed':
|
|
"OpenLayers.Util.pagePosition žlugo: elementas su id ${elemId} gali būti neteisingoje vietoje.",
|
|
|
|
// **** end ****
|
|
'end': ''
|
|
|
|
});
|