Merge r9410 and r9520 from

source:/sandbox/roberthl/openlayers/lib/OpenLayers/Lang. These patches import
the latest work from the MediaWiki translation team, and only impact the
language files. This closes #2158 and #2159. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@9582 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2009-07-23 15:29:19 +00:00
parent 82cbb8c7cb
commit 547371f107
32 changed files with 1356 additions and 888 deletions

View File

@@ -2,6 +2,9 @@
* license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/* Translators (2009 onwards):
*/
/**
* @requires OpenLayers/Lang.js
*/
@@ -12,7 +15,7 @@
* <OpenLayers.Lang.translate>. Entry bodies are normal strings or
* strings formatted for use with <OpenLayers.String.format> calls.
*/
OpenLayers.Lang.en = {
OpenLayers.Lang["en"] = OpenLayers.Util.applyDefaults({
'unhandledRequest': "Unhandled request return ${statusText}",
@@ -22,102 +25,50 @@ OpenLayers.Lang.en = {
'baseLayer': "Base Layer",
'sameProjection':
"The overview map only works when it is in the same projection as the main map",
'sameProjection': "The overview map only works when it is in the same projection as the main map",
'readNotImplemented': "Read not implemented.",
'writeNotImplemented': "Write not implemented.",
'noFID': "Can't update a feature for which there is no FID.",
'noFID': "Can\'t update a feature for which there is no FID.",
'errorLoadingGML': "Error in loading GML file ${url}",
'browserNotSupported':
"Your browser does not support vector rendering. Currently supported renderers are:\n${renderers}",
'browserNotSupported': "Your browser does not support vector rendering. Currently supported renderers are:\n${renderers}",
'componentShouldBe': "addFeatures : component should be an ${geomType}",
'componentShouldBe': "addFeatures: component should be a ${geomType}",
// console message
'getFeatureError':
"getFeatureFromEvent called on layer with no renderer. This usually means you " +
"destroyed a layer, but not some handler which is associated with it.",
'getFeatureError': "getFeatureFromEvent has been called on a layer with no renderer. This usually means you destroyed a layer, but not some handler which is associated with it.",
// console message
'minZoomLevelError':
"The minZoomLevel property is only intended for use " +
"with the FixedZoomLevels-descendent layers. That this " +
"wfs layer checks for minZoomLevel is a relic of the" +
"past. We cannot, however, remove it without possibly " +
"breaking OL based applications that may depend on it." +
" Therefore we are deprecating it -- the minZoomLevel " +
"check below will be removed at 3.0. Please instead " +
"use min/max resolution setting as described here: " +
"http://trac.openlayers.org/wiki/SettingZoomLevels",
'minZoomLevelError': "The minZoomLevel property is only intended for use with the FixedZoomLevels-descendent layers. That this WFS layer checks for minZoomLevel is a relic of the past. We cannot, however, remove it without possibly breaking OpenLayers based applications that may depend on it. Therefore we are deprecating it -- the minZoomLevel check below will be removed at 3.0. Please instead use min/max resolution setting as described here: http://trac.openlayers.org/wiki/SettingZoomLevels",
'commitSuccess': "WFS Transaction: SUCCESS ${response}",
'commitSuccess': "WFS Transaction: Success ${response}",
'commitFailed': "WFS Transaction: FAILED ${response}",
'commitFailed': "WFS Transaction: Failed ${response}",
'googleWarning':
"The Google Layer was unable to load correctly.<br><br>" +
"To get rid of this message, select a new BaseLayer " +
"in the layer switcher in the upper-right corner.<br><br>" +
"Most likely, this is because the Google Maps library " +
"script was either not included, or does not contain the " +
"correct API key for your site.<br><br>" +
"Developers: For help getting this working correctly, " +
"<a href='http://trac.openlayers.org/wiki/Google' " +
"target='_blank'>click here</a>",
'googleWarning': "The Google Layer was unable to load correctly.\x3cbr\x3e\x3cbr\x3eTo get rid of this message, select a new BaseLayer in the layer switcher in the upper-right corner.\x3cbr\x3e\x3cbr\x3eMost likely, this is because the Google Maps library script was either not included, or does not contain the correct API key for your site.\x3cbr\x3e\x3cbr\x3eDevelopers: See \x3ca href=\'http://trac.openlayers.org/wiki/Google\' target=\'_blank\'\x3ethe wiki\x3c/a\x3e for help getting this working correctly.",
'getLayerWarning':
"The ${layerType} Layer was unable to load correctly.<br><br>" +
"To get rid of this message, select a new BaseLayer " +
"in the layer switcher in the upper-right corner.<br><br>" +
"Most likely, this is because the ${layerLib} library " +
"script was not correctly included.<br><br>" +
"Developers: For help getting this working correctly, " +
"<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
"target='_blank'>click here</a>",
'getLayerWarning': "The ${layerType} layer was unable to load correctly.\x3cbr\x3e\x3cbr\x3eTo get rid of this message, select a new BaseLayer in the layer switcher in the upper-right corner.\x3cbr\x3e\x3cbr\x3eMost likely, this is because the ${layerLib} library script was not correctly included.\x3cbr\x3e\x3cbr\x3eDevelopers: See \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3ethe wiki\x3c/a\x3e for help getting this working correctly.",
'scale': "Scale = 1 : ${scaleDenom}",
// console message
'layerAlreadyAdded':
"You tried to add the layer: ${layerName} to the map, but it has already been added",
'layerAlreadyAdded': "You tried to add the layer: ${layerName} to the map, but it has already been added",
// console message
'reprojectDeprecated':
"You are using the 'reproject' option " +
"on the ${layerName} layer. This option is deprecated: " +
"its use was designed to support displaying data over commercial " +
"basemaps, but that functionality should now be achieved by using " +
"Spherical Mercator support. More information is available from " +
"http://trac.openlayers.org/wiki/SphericalMercator.",
'reprojectDeprecated': "You are using the \'reproject\' option on the ${layerName} layer. This option is deprecated: its use was designed to support displaying data over commercial basemaps, but that functionality should now be achieved by using Spherical Mercator support. More information is available from http://trac.openlayers.org/wiki/SphericalMercator.",
// console message
'methodDeprecated':
"This method has been deprecated and will be removed in 3.0. " +
"Please use ${newMethod} instead.",
'methodDeprecated': "This method has been deprecated and will be removed in 3.0. Please use ${newMethod} instead.",
// console message
'boundsAddError': "You must pass both x and y values to the add function.",
// console message
'lonlatAddError': "You must pass both lon and lat values to the add function.",
// console message
'pixelAddError': "You must pass both x and y values to the add function.",
// console message
'unsupportedGeometryType': "Unsupported geometry type: ${geomType}",
// console message
'pagePositionFailed':
"OpenLayers.Util.pagePosition failed: element with id ${elemId} may be misplaced.",
'end': '',
'pagePositionFailed': "OpenLayers.Util.pagePosition failed: element with id ${elemId} may be misplaced.",
'filterEvaluateNotImplemented': "\'evaluate\' is not implemented for this filter type.",
// console message
'filterEvaluateNotImplemented': "evaluate is not implemented for this filter type."
};