Files
openlayers/lib/OpenLayers/Lang/is.js
Tim Schaub 0b26fa9a5e Making it so dictionary keys are the English values for strings displayed in the UI.
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
2011-06-24 20:12:12 +00:00

38 lines
1.1 KiB
JavaScript

/* Translators (2009 onwards):
* - Ævar Arnfjörð Bjarmason
*/
/**
* @requires OpenLayers/Lang.js
*/
/**
* Namespace: OpenLayers.Lang["is"]
* Dictionary for Íslenska. 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["is"] = OpenLayers.Util.applyDefaults({
'Permalink': "Varanlegur tengill",
'Overlays': "Þekjur",
'Base Layer': "Grunnlag",
'sameProjection': "Yfirlitskortið virkar aðeins ef það er í sömu vörpun og aðalkortið",
'readNotImplemented': "Skrifun er óútfærð.",
'writeNotImplemented': "Lestur er óútfærður.",
'errorLoadingGML': "Villa kom upp við að hlaða inn GML skránni ${url}",
'Scale = 1 : ${scaleDenom}': "Skali = 1 : ${scaleDenom}",
'layerAlreadyAdded': "Þú reyndir að bæta laginu ${layerName} á kortið en það er þegar búið að bæta því við",
'methodDeprecated': "Þetta fall hefur verið úrelt og verður fjarlægt í 3.0. Notaðu ${newMethod} í staðin."
});