don't translate error message and replace console log with exception
This commit is contained in:
@@ -18,23 +18,11 @@ OpenLayers.Lang['lt'] = OpenLayers.Util.applyDefaults({
|
||||
|
||||
'Base Layer': "Pagrindinis sluoksnis",
|
||||
|
||||
'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}",
|
||||
@@ -48,27 +36,11 @@ OpenLayers.Lang['lt'] = OpenLayers.Util.applyDefaults({
|
||||
'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}",
|
||||
|
||||
// **** end ****
|
||||
'end': ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user