[OpenLayers-Commits] r12127 - in trunk/openlayers: lib/OpenLayers/Control lib/OpenLayers/Lang tests

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Jun 24 16:12:13 EDT 2011


Author: tschaub
Date: 2011-06-24 13:12:12 -0700 (Fri, 24 Jun 2011)
New Revision: 12127

Modified:
   trunk/openlayers/lib/OpenLayers/Control/Graticule.js
   trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js
   trunk/openlayers/lib/OpenLayers/Control/Permalink.js
   trunk/openlayers/lib/OpenLayers/Control/Scale.js
   trunk/openlayers/lib/OpenLayers/Lang/ar.js
   trunk/openlayers/lib/OpenLayers/Lang/be-tarask.js
   trunk/openlayers/lib/OpenLayers/Lang/bg.js
   trunk/openlayers/lib/OpenLayers/Lang/br.js
   trunk/openlayers/lib/OpenLayers/Lang/ca.js
   trunk/openlayers/lib/OpenLayers/Lang/cs-CZ.js
   trunk/openlayers/lib/OpenLayers/Lang/da-DK.js
   trunk/openlayers/lib/OpenLayers/Lang/de.js
   trunk/openlayers/lib/OpenLayers/Lang/el.js
   trunk/openlayers/lib/OpenLayers/Lang/en.js
   trunk/openlayers/lib/OpenLayers/Lang/es.js
   trunk/openlayers/lib/OpenLayers/Lang/fi.js
   trunk/openlayers/lib/OpenLayers/Lang/fr.js
   trunk/openlayers/lib/OpenLayers/Lang/fur.js
   trunk/openlayers/lib/OpenLayers/Lang/gl.js
   trunk/openlayers/lib/OpenLayers/Lang/gsw.js
   trunk/openlayers/lib/OpenLayers/Lang/hr.js
   trunk/openlayers/lib/OpenLayers/Lang/hsb.js
   trunk/openlayers/lib/OpenLayers/Lang/hu.js
   trunk/openlayers/lib/OpenLayers/Lang/ia.js
   trunk/openlayers/lib/OpenLayers/Lang/id.js
   trunk/openlayers/lib/OpenLayers/Lang/io.js
   trunk/openlayers/lib/OpenLayers/Lang/is.js
   trunk/openlayers/lib/OpenLayers/Lang/it.js
   trunk/openlayers/lib/OpenLayers/Lang/ja.js
   trunk/openlayers/lib/OpenLayers/Lang/km.js
   trunk/openlayers/lib/OpenLayers/Lang/ksh.js
   trunk/openlayers/lib/OpenLayers/Lang/lt.js
   trunk/openlayers/lib/OpenLayers/Lang/nb.js
   trunk/openlayers/lib/OpenLayers/Lang/nds.js
   trunk/openlayers/lib/OpenLayers/Lang/nl.js
   trunk/openlayers/lib/OpenLayers/Lang/nn.js
   trunk/openlayers/lib/OpenLayers/Lang/oc.js
   trunk/openlayers/lib/OpenLayers/Lang/pt-BR.js
   trunk/openlayers/lib/OpenLayers/Lang/pt.js
   trunk/openlayers/lib/OpenLayers/Lang/ru.js
   trunk/openlayers/lib/OpenLayers/Lang/sk.js
   trunk/openlayers/lib/OpenLayers/Lang/sv-SE.js
   trunk/openlayers/lib/OpenLayers/Lang/te.js
   trunk/openlayers/lib/OpenLayers/Lang/vi.js
   trunk/openlayers/lib/OpenLayers/Lang/zh-CN.js
   trunk/openlayers/lib/OpenLayers/Lang/zh-TW.js
   trunk/openlayers/tests/Lang.html
Log:
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)



Modified: trunk/openlayers/lib/OpenLayers/Control/Graticule.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/Graticule.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Control/Graticule.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -113,7 +113,7 @@
      */
     initialize: function(options) {
         options = options || {};
-        options.layerName = options.layerName || OpenLayers.i18n("graticule");
+        options.layerName = options.layerName || OpenLayers.i18n("Graticule");
         OpenLayers.Control.prototype.initialize.apply(this, [options]);
         
         this.labelSymbolizer.stroke = false;

Modified: trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Control/LayerSwitcher.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -505,14 +505,14 @@
         OpenLayers.Element.addClass(this.layersDiv, "layersDiv");
 
         this.baseLbl = document.createElement("div");
-        this.baseLbl.innerHTML = OpenLayers.i18n("baseLayer");
+        this.baseLbl.innerHTML = OpenLayers.i18n("Base Layer");
         OpenLayers.Element.addClass(this.baseLbl, "baseLbl");
         
         this.baseLayersDiv = document.createElement("div");
         OpenLayers.Element.addClass(this.baseLayersDiv, "baseLayersDiv");
 
         this.dataLbl = document.createElement("div");
-        this.dataLbl.innerHTML = OpenLayers.i18n("overlays");
+        this.dataLbl.innerHTML = OpenLayers.i18n("Overlays");
         OpenLayers.Element.addClass(this.dataLbl, "dataLbl");
         
         this.dataLayersDiv = document.createElement("div");

Modified: trunk/openlayers/lib/OpenLayers/Control/Permalink.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/Permalink.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Control/Permalink.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -147,7 +147,7 @@
           
         if (!this.element && !this.anchor) {
             this.element = document.createElement("a");
-            this.element.innerHTML = OpenLayers.i18n("permalink");
+            this.element.innerHTML = OpenLayers.i18n("Permalink");
             this.element.href="";
             this.div.appendChild(this.element);
         }

Modified: trunk/openlayers/lib/OpenLayers/Control/Scale.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/Scale.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Control/Scale.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -92,7 +92,7 @@
             scale = Math.round(scale);
         }    
         
-        this.element.innerHTML = OpenLayers.i18n("scale", {'scaleDenom':scale});
+        this.element.innerHTML = OpenLayers.i18n("Scale = 1 : ${scaleDenom}", {'scaleDenom':scale});
     }, 
 
     CLASS_NAME: "OpenLayers.Control.Scale"

Modified: trunk/openlayers/lib/OpenLayers/Lang/ar.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ar.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ar.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -15,9 +15,9 @@
  */
 OpenLayers.Lang["ar"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "وصلة دائمة",
+    'Permalink': "وصلة دائمة",
 
-    'baseLayer': "الطبقة الاساسية",
+    'Base Layer': "الطبقة الاساسية",
 
     'readNotImplemented': "القراءة غير محققة.",
 
@@ -25,7 +25,7 @@
 
     'errorLoadingGML': "خطأ عند تحميل الملف جي ام ال ${url}",
 
-    'scale': "النسبة = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "النسبة = 1 : ${scaleDenom}",
 
     'W': "غ",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/be-tarask.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/be-tarask.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/be-tarask.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "Неапрацаваны вынік запыту ${statusText}",
 
-    'permalink': "Сталая спасылка",
+    'Permalink': "Сталая спасылка",
 
-    'overlays': "Слаі",
+    'Overlays': "Слаі",
 
-    'baseLayer': "Базавы слой",
+    'Base Layer': "Базавы слой",
 
     'sameProjection': "Аглядная мапа працуе толькі калі яна мае тую ж праекцыю, што і асноўная мапа",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "Немагчыма загрузіць слой ${layerType}.\x3cbr\x3e\x3cbr\x3eКаб пазбавіцца гэтага паведамленьня, выберыце новы базавы слой у сьпісе ў верхнім правым куце.\x3cbr\x3e\x3cbr\x3eХутчэй за ўсё, прычына ў тым, што скрыпт бібліятэкі ${layerLib} ня быў слушна ўключаны.\x3cbr\x3e\x3cbr\x3eРаспрацоўшчыкам: Для таго, каб даведацца як зрабіць так, каб усё працавала, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eнацісьніце тут\x3c/a\x3e",
 
-    'scale': "Маштаб = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Маштаб = 1 : ${scaleDenom}",
 
     'W': "З",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/bg.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/bg.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/bg.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,13 +14,13 @@
  */
 OpenLayers.Lang["bg"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "Постоянна препратка",
+    'Permalink': "Постоянна препратка",
 
-    'baseLayer': "Основен слой",
+    'Base Layer': "Основен слой",
 
     'errorLoadingGML': "Грешка при зареждане на GML файл ${url}",
 
-    'scale': "Мащаб = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Мащаб = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Опитахте да добавите слой ${layerName} в картата, но той вече е добавен",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/br.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/br.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/br.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Distro evel reked anveret ${statusText}",
 
-    'permalink': "Peurliamm",
+    'Permalink': "Peurliamm",
 
-    'overlays': "Gwiskadoù",
+    'Overlays': "Gwiskadoù",
 
-    'baseLayer': "Gwiskad diazez",
+    'Base Layer': "Gwiskad diazez",
 
     'sameProjection': "Ne\'z ar gartenn lec\'hiañ en-dro nemet pa vez heñvel ar banndres anezhi ha hini ar gartenn bennañ",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "N\'haller ket kargañ ar gwiskad ${layerType} ent reizh.\x3cbr\x3e\x3cbr\x3eEvit en em zizober eus ar c\'hemenn-mañ, dibabit ur BaseLayer nevez en diuzer gwiskadoù er c\'horn dehoù el laez.\x3cbr\x3e\x3cbr\x3eSur a-walc\'h eo peogwir n\'eo ket bet ensoc\'het mat al levraoueg ${layerLib}.\x3cbr\x3e\x3cbr\x3eDiorroerien : Evit gouzout penaos reizhañ an dra-se, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eclick here\x3c/a\x3e",
 
-    'scale': "Skeul = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Skeul = 1 : ${scaleDenom}",
 
     'W': "K",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/ca.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ca.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ca.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Resposta a petició no gestionada ${statusText}",
 
-    'permalink': "Enllaç permanent",
+    'Permalink': "Enllaç permanent",
 
-    'overlays': "Capes addicionals",
+    'Overlays': "Capes addicionals",
 
-    'baseLayer': "Capa Base",
+    'Base Layer': "Capa Base",
 
     'sameProjection':
         "El mapa de referència només funciona si té la mateixa projecció que el mapa principal",
@@ -76,14 +76,14 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>féu clic aquí</a>",
 
-    'scale': "Escala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala = 1 : ${scaleDenom}",
 
     //labels for the graticule control
     'W': 'O',
     'E': 'E',
     'N': 'N',
     'S': 'S',
-    'graticule': 'Retícula',    
+    'Graticule': 'Retícula',    
         
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/cs-CZ.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/cs-CZ.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/cs-CZ.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Nezpracovaná návratová hodnota ${statusText}",
 
-    'permalink': "Trvalý odkaz",
+    'Permalink': "Trvalý odkaz",
 
-    'overlays': "Překryvné vrstvy",
+    'Overlays': "Překryvné vrstvy",
 
-    'baseLayer': "Podkladové vrstvy",
+    'Base Layer': "Podkladové vrstvy",
 
     'sameProjection': "Přehledka pracuje správně pouze tehdy, pokud je ve stejné projekci jako hlavní mapa",
 
@@ -48,7 +48,7 @@
 
     '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 either not correctly included.\x3cbr\x3e\x3cbr\x3eDevelopers: For help getting this working correctly, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eclick here\x3c/a\x3e",
 
-    'scale': "Měřítko = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Měřítko = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Pokusili jste se přidat vrstvu: ${layerName} do mapy, ale tato vrstva je již v mapě přítomna.",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/da-DK.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/da-DK.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/da-DK.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "En ikke håndteret forespørgsel returnerede ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Kortlag",
+    'Overlays': "Kortlag",
 
-    'baseLayer': "Baggrundslag",
+    'Base Layer': "Baggrundslag",
 
     'sameProjection':
         "Oversigtskortet fungerer kun når det har samme projektion som hovedkortet",
@@ -78,7 +78,7 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>klik her</a>",
 
-    'scale': "Målforhold = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Målforhold = 1 : ${scaleDenom}",
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/de.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/de.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/de.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -18,11 +18,11 @@
 
     'unhandledRequest': "Unbehandelte Anfragerückmeldung ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Grundkarte",
+    'Base Layer': "Grundkarte",
 
     'sameProjection': "Die Übersichtskarte funktioniert nur, wenn sie dieselbe Projektion wie die Hauptkarte verwendet",
 
@@ -50,7 +50,7 @@
 
     'getLayerWarning': "Der ${layerType}-Layer konnte nicht korrekt geladen werden.\x3cbr\x3e\x3cbr\x3eUm diese Meldung nicht mehr zu erhalten, wählen Sie einen anderen Hintergrundlayer aus dem LayerSwitcher in der rechten oberen Ecke.\x3cbr\x3e\x3cbr\x3eSehr wahrscheinlich tritt dieser Fehler auf, weil das Skript der \'${layerLib}\'-Bibliothek nicht eingebunden wurde.\x3cbr\x3e\x3cbr\x3eEntwickler: Besuche \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3edas Wiki\x3c/a\x3e für Hilfe zum korrekten Einbinden von Layern",
 
-    'scale': "Maßstab = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Maßstab = 1 : ${scaleDenom}",
 
     'W': "W",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/el.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/el.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/el.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,6 +14,6 @@
  */
 OpenLayers.Lang["el"] = OpenLayers.Util.applyDefaults({
 
-    'scale': "Κλίμακα ~ 1 : ${scaleDenom}"
+    'Scale = 1 : ${scaleDenom}': "Κλίμακα ~ 1 : ${scaleDenom}"
 
 });

Modified: trunk/openlayers/lib/OpenLayers/Lang/en.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/en.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/en.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Unhandled request return ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Base Layer",
+    'Base Layer': "Base Layer",
 
     'sameProjection':
         "The overview map only works when it is in the same projection as the main map",
@@ -76,14 +76,14 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>click here</a>",
 
-    'scale': "Scale = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Scale = 1 : ${scaleDenom}",
     
     //labels for the graticule control
     'W': 'W',
     'E': 'E',
     'N': 'N',
     'S': 'S',
-    'graticule': 'Graticule',
+    'Graticule': 'Graticule',
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/es.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/es.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/es.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Respuesta a petición no gestionada ${statusText}",
 
-    'permalink': "Enlace permanente",
+    'Permalink': "Enlace permanente",
 
-    'overlays': "Capas superpuestas",
+    'Overlays': "Capas superpuestas",
 
-    'baseLayer': "Capa Base",
+    'Base Layer': "Capa Base",
 
     'sameProjection':
         "El mapa de vista general sólo funciona si está en la misma proyección que el mapa principal",
@@ -77,14 +77,14 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>haga clic aquí</a>",
 
-    'scale': "Escala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala = 1 : ${scaleDenom}",
 
     //labels for the graticule control
     'W': 'O',
     'E': 'E',
     'N': 'N',
     'S': 'S',
-    'graticule': 'Retícula',
+    'Graticule': 'Retícula',
     
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/fi.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/fi.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/fi.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -15,11 +15,11 @@
  */
 OpenLayers.Lang["fi"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "Ikilinkki",
+    'Permalink': "Ikilinkki",
 
-    'overlays': "Kerrokset",
+    'Overlays': "Kerrokset",
 
-    'baseLayer': "Peruskerros",
+    'Base Layer': "Peruskerros",
 
     'sameProjection': "Yleiskuvakarttaa voi käyttää vain, kun sillä on sama projektio kuin pääkartalla.",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/fr.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/fr.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/fr.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "Requête non gérée, retournant ${statusText}",
 
-    'permalink': "Permalien",
+    'Permalink': "Permalien",
 
-    'overlays': "Calques",
+    'Overlays': "Calques",
 
-    'baseLayer': "Calque de base",
+    'Base Layer': "Calque de base",
 
     'sameProjection': "La carte de situation ne fonctionne que lorsque sa projection est la même que celle de la carte principale",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "La couche ${layerType} n\'est pas en mesure de se charger correctement.\x3cbr\x3e\x3cbr\x3ePour supprimer ce message, choisissez une nouvelle BaseLayer dans le sélecteur de couche en haut à droite.\x3cbr\x3e\x3cbr\x3eCela est possiblement causé par la non-inclusion de la librairie ${layerLib}.\x3cbr\x3e\x3cbr\x3eDéveloppeurs : pour savoir comment corriger ceci, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3ecliquez ici\x3c/a\x3e",
 
-    'scale': "Echelle ~ 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Echelle ~ 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/fur.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/fur.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/fur.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,15 +14,15 @@
  */
 OpenLayers.Lang["fur"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "Leam Permanent",
+    'Permalink': "Leam Permanent",
 
-    'overlays': "Livei parsore",
+    'Overlays': "Livei parsore",
 
-    'baseLayer': "Livel di base",
+    'Base Layer': "Livel di base",
 
     'browserNotSupported': "Il to sgarfadôr nol supuarte la renderizazion vetoriâl. Al moment a son supuartâts:\n${renderers}",
 
-    'scale': "Scjale = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Scjale = 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/gl.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/gl.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/gl.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Solicitude non xerada; a resposta foi: ${statusText}",
 
-    'permalink': "Ligazón permanente",
+    'Permalink': "Ligazón permanente",
 
-    'overlays': "Capas superpostas",
+    'Overlays': "Capas superpostas",
 
-    'baseLayer': "Capa base",
+    'Base Layer': "Capa base",
 
     'sameProjection': "A vista xeral do mapa só funciona cando está na mesma proxección có mapa principal",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "A capa ${layerType} foi incapaz de cargarse correctamente.\x3cbr\x3e\x3cbr\x3ePara evitar esta mensaxe, escolla unha nova capa base no seleccionador de capas na marxe superior dereita.\x3cbr\x3e\x3cbr\x3eProbablemente, isto acontece porque a escritura da libraría ${layerLib} non foi ben incluída.\x3cbr\x3e\x3cbr\x3eDesenvolvedores: para axudar a facer funcionar isto correctamente, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3epremede aquí\x3c/a\x3e",
 
-    'scale': "Escala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala = 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/gsw.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/gsw.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/gsw.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Nit behandleti Aafrogsruckmäldig ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Iberlagerige",
+    'Overlays': "Iberlagerige",
 
-    'baseLayer': "Grundcharte",
+    'Base Layer': "Grundcharte",
 
     'sameProjection': "D Ibersichts-Charte funktioniert nume, wänn si di glych Projäktion brucht wie d Hauptcharte",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Dr ${layerType}-Layer het nit korräkt chenne glade wäre.\x3cbr\x3e\x3cbr\x3eGo die Mäldig nimi z kriege, wehl e andere Hintergrundlayer us em LayerSwitcher im rächte obere Ecke.\x3cbr\x3e\x3cbr\x3eDää Fähler git s seli hyfig, wel s Skript vu dr \'${layerLib}\'-Bibliothek nit yybunde woren isch oder wel s kei giltige API-Schlissel fir Dyy URL din het.\x3cbr\x3e\x3cbr\x3eEntwickler: Fir Hilf zum korräkte Yybinde vu Layer \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3edoo drucke\x3c/a\x3e",
 
-    'scale': "Maßstab = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Maßstab = 1 : ${scaleDenom}",
 
     'W': "W",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/hr.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/hr.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/hr.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Nepodržani zahtjev ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Osnovna karta",
+    'Base Layer': "Osnovna karta",
 
     'sameProjection': "Pregledna karta radi jedino kao je u istoj projekciji kao i glava karta",
 
@@ -42,7 +42,7 @@
 
     'commitFailed': "WFS Transakcija: NEUSPJEŠNA ${response}",
 
-    'scale': "Mjerilo = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Mjerilo = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Pokušali ste dodati layer:  ${layerName} na kartu, ali je već dodan",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/hsb.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/hsb.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/hsb.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Wotmołwa njewobdźěłaneho naprašowanja ${statusText}",
 
-    'permalink': "Trajny wotkaz",
+    'Permalink': "Trajny wotkaz",
 
-    'overlays': "Naworštowanja",
+    'Overlays': "Naworštowanja",
 
-    'baseLayer': "Zakładna runina",
+    'Base Layer': "Zakładna runina",
 
     'sameProjection': "Přehladowa karta jenož funguje, hdyž je w samsnej projekciji kaž hłowna karta",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Woršta ${layerType} njemóžeše so korektnje začitać.\x3cbr\x3e\x3cbr\x3eZo by tutu zdźělenku wotbył, wubjer nowy BaseLayer z wuběra worštow horjeka naprawo.\x3cbr\x3e\x3cbr\x3eNajskerje so to stawa, dokelž skript biblioteki ${layerLib} njebu korektnje zapřijaty.\x3cbr\x3e\x3cbr\x3eWuwiwarjo: Za pomoc ke korektnemu fungowanju worštow\n\x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3etu kliknyć\x3c/a\x3e",
 
-    'scale': "Měritko = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Měritko = 1 : ${scaleDenom}",
 
     'W': "Z",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/hu.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/hu.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/hu.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "Nem kezelt kérés visszatérése ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Rávetítések",
+    'Overlays': "Rávetítések",
 
-    'baseLayer': "Alapréteg",
+    'Base Layer': "Alapréteg",
 
     'sameProjection': "Az áttekintő térkép csak abban az esetben működik, ha ugyanazon a vetületen van, mint a fő térkép.",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "A(z) ${layerType} fólia nem töltődött be helyesen.\x3cbr\x3e\x3cbr\x3eAhhoz, hogy ez az üzenet eltűnjön, válasszon egy új BaseLayer fóliát a jobb felső sarokban található fóliakapcsoló segítségével.\x3cbr\x3e\x3cbr\x3eNagy valószínűséggel ez azért van, mert a(z) ${layerLib} könyvtár parancsfájlja helytelen.\x3cbr\x3e\x3cbr\x3eFejlesztőknek: A helyes működtetésre vonatkozó segítség az alábbi helyen érhető el, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3ekattintson ide\x3c/a\x3e",
 
-    'scale': "Lépték = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Lépték = 1 : ${scaleDenom}",
 
     'W': "Ny",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/ia.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ia.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ia.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Le responsa a un requesta non esseva maneate: ${statusText}",
 
-    'permalink': "Permaligamine",
+    'Permalink': "Permaligamine",
 
-    'overlays': "Superpositiones",
+    'Overlays': "Superpositiones",
 
-    'baseLayer': "Strato de base",
+    'Base Layer': "Strato de base",
 
     'sameProjection': "Le mini-carta functiona solmente si illo es in le mesme projection que le carta principal",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Le strato ${layerType} non poteva esser cargate correctemente.\x3cbr\x3e\x3cbr\x3ePro disfacer te de iste message, selige un nove BaseLayer in le selector de strato in alto a dextra.\x3cbr\x3e\x3cbr\x3eMulto probabilemente, isto es proque le script del libreria de ${layerLib} non esseva correctemente includite.\x3cbr\x3e\x3cbr\x3eDisveloppatores: Pro adjuta de corriger isto, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eclicca hic\x3c/a\x3e",
 
-    'scale': "Scala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Scala = 1 : ${scaleDenom}",
 
     'W': "W",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/id.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/id.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/id.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "Permintaan yang tak tertangani menghasilkan ${statusText}",
 
-    'permalink': "Pranala permanen",
+    'Permalink': "Pranala permanen",
 
-    'overlays': "Hamparan",
+    'Overlays': "Hamparan",
 
-    'baseLayer': "Lapisan Dasar",
+    'Base Layer': "Lapisan Dasar",
 
     'sameProjection': "Peta tinjauan hanya bekerja bila dalam proyeksi yang sama dengan peta utama",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "Lapisan ${layerType} tidak dapat dimuat dengan benar.\x3cbr\x3e\x3cbr\x3eUntuk menghilangkan pesan ini, pilih suatu BaseLayer baru melalui penukar lapisan (layer switcher) di ujung kanan atas.\x3cbr\x3e\x3cbr\x3eKemungkinan besar ini karena pustaka skrip Google Maps tidak disertakan dengan benar.\x3cbr\x3e\x3cbr\x3ePengembang: Untuk bantuan mengatasi masalah ini, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eklik di sini\x3c/a\x3e",
 
-    'scale': "Sekala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Sekala = 1 : ${scaleDenom}",
 
     'W': "B",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/io.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/io.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/io.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,6 +14,6 @@
  */
 OpenLayers.Lang["io"] = OpenLayers.Util.applyDefaults({
 
-    'scale': "Skalo = 1 : ${scaleDenom}"
+    'Scale = 1 : ${scaleDenom}': "Skalo = 1 : ${scaleDenom}"
 
 });

Modified: trunk/openlayers/lib/OpenLayers/Lang/is.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/is.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/is.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,11 +14,11 @@
  */
 OpenLayers.Lang["is"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "Varanlegur tengill",
+    'Permalink': "Varanlegur tengill",
 
-    'overlays': "Þekjur",
+    'Overlays': "Þekjur",
 
-    'baseLayer': "Grunnlag",
+    'Base Layer': "Grunnlag",
 
     'sameProjection': "Yfirlitskortið virkar aðeins ef það er í sömu vörpun og aðalkortið",
 
@@ -28,7 +28,7 @@
 
     'errorLoadingGML': "Villa kom upp við að hlaða inn GML skránni ${url}",
 
-    'scale': "Skali = 1 : ${scaleDenom}",
+    '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ð",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/it.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/it.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/it.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Codice di ritorno della richiesta ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Livello base",
+    'Base Layer': "Livello base",
 
     'sameProjection':
         "La mini mappa funziona solamente se ha la stessa proiezione della mappa principale",
@@ -76,7 +76,7 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>clicca qui</a>",
 
-    'scale': "Scala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Scala = 1 : ${scaleDenom}",
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/ja.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ja.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ja.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "未処理の要求は ${statusText} を返します",
 
-    'permalink': "パーマリンク",
+    'Permalink': "パーマリンク",
 
-    'overlays': "オーバーレイ",
+    'Overlays': "オーバーレイ",
 
-    'baseLayer': "基底レイヤー",
+    'Base Layer': "基底レイヤー",
 
     'sameProjection': "概観地図はメインの地図と同じ投影法をとる場合のみ機能します",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "${layerType} レイヤーが正しく読み込みを行えませんでした。\x3cbr\x3e\x3cbr\x3eこのメッセージを消すには、右上の隅にあるレイヤー切り替え部分で新しい基底レイヤーを選んでください。\x3cbr\x3e\x3cbr\x3eおそらく、これは ${layerLib} ライブラリのスクリプトが正しく組み込まれていないためです。\x3cbr\x3e\x3cbr\x3e開発者の方へ: 正しい動作をさせるために\x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eこちらのウィキ\x3c/a\x3eを参照してください。",
 
-    'scale': "縮尺 = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "縮尺 = 1 : ${scaleDenom}",
 
     'W': "西",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/km.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/km.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/km.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,12 +14,12 @@
  */
 OpenLayers.Lang["km"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "តំណភ្ជាប់អចិន្ត្រៃយ៍",
+    'Permalink': "តំណភ្ជាប់អចិន្ត្រៃយ៍",
 
-    'baseLayer': "ស្រទាប់បាត​",
+    'Base Layer': "ស្រទាប់បាត​",
 
     'errorLoadingGML': "កំហុសកំឡុងពេលផ្ទុកឯកសារ GML ${url}",
 
-    'scale': "មាត្រដ្ឋាន = ១ ៖ ${scaleDenom}"
+    'Scale = 1 : ${scaleDenom}': "មាត្រដ្ឋាន = ១ ៖ ${scaleDenom}"
 
 });

Modified: trunk/openlayers/lib/OpenLayers/Lang/ksh.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ksh.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ksh.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Met dä Antwoot op en Aanfrooch ham_mer nix aanjefange: ${statusText}",
 
-    'permalink': "Lengk op Duuer",
+    'Permalink': "Lengk op Duuer",
 
-    'overlays': "Drövver jelaat",
+    'Overlays': "Drövver jelaat",
 
-    'baseLayer': "Jrund-Nivoh",
+    'Base Layer': "Jrund-Nivoh",
 
     'sameProjection': "De Övverseeschs_Kaat deiht et bloß, wann se de sälve Projäxjuhn bruche deiht, wi de Houp_Kaat",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Dat Nivvoh \x3ccode\x3e${layerType}\x3c/code\x3e kunnt nit reschtesch jelaade wääde.\x3cbr /\x3e\x3cbr /\x3eÖm hee di Nohreesch loß ze krijje, donn en ander Jrund-Nivvoh ußsöhkre, rähß bovve en de Äk.\x3cbr /\x3e\x3cbr /\x3eWascheinlesch es dat, wiel dat Skrepp \x3ccode\x3e${layerLib}\x3c/code\x3e nit reschtesch enjebonge wood.\x3cbr /\x3e\x3cbr /\x3eFör Projrammierer jidd_Et Hölp do_drövver, \x3ca href=\"http://trac.openlayers.org/wiki/${layerLib}\" target=\"_blank\"\x3ewi mer dat aan et Loufe brengk\x3c/a\x3e.",
 
-    'scale': "Mohßshtaab = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Mohßshtaab = 1 : ${scaleDenom}",
 
     'W': "W",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/lt.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/lt.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/lt.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Neapdorota užklausa gražino ${statusText}",
 
-    'permalink': "Pastovi nuoroda",
+    'Permalink': "Pastovi nuoroda",
 
-    'overlays': "Papildomi sluoksniai",
+    'Overlays': "Papildomi sluoksniai",
 
-    'baseLayer': "Pagrindinis sluoksnis",
+    'Base Layer': "Pagrindinis sluoksnis",
 
     'sameProjection':
 	"Apžvalginis žemėlapis veikia tik tada, kai jis yra tos pačios projekcijos kaip ir pagrindinis",
@@ -42,14 +42,14 @@
 
     'commitFailed': "WFS Tranzakcija: ŽLUGO ${response}",
 
-    'scale': "Mastelis = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Mastelis = 1 : ${scaleDenom}",
     
     //labels for the graticule control
     'W': 'V',
     'E': 'R',
     'N': 'Š',
     'S': 'P',
-    'graticule': 'Tinklelis',
+    'Graticule': 'Tinklelis',
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/nb.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/nb.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/nb.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "Ubehandlet forespørsel returnerte ${statusText}",
 
-    'permalink': "Kobling til denne siden",
+    'Permalink': "Kobling til denne siden",
 
-    'overlays': "Kartlag",
+    'Overlays': "Kartlag",
 
-    'baseLayer': "Bakgrunnskart",
+    'Base Layer': "Bakgrunnskart",
 
     'sameProjection':
         "Oversiktskartet fungerer bare når det har samme projeksjon som hovedkartet",
@@ -77,7 +77,7 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>her</a>.",
 
-    'scale': "<strong>Skala</strong> 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "<strong>Skala</strong> 1 : ${scaleDenom}",
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/nds.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/nds.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/nds.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Unbehannelt Trüchmellels för de Anfraag ${statusText}",
 
-    'permalink': "Permalink",
+    'Permalink': "Permalink",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Achtergrundkoort",
+    'Base Layer': "Achtergrundkoort",
 
     'sameProjection': "De Översichtskoort geiht blot, wenn de sülve Projekschoon as bi de Hööftkoort bruukt warrt",
 
@@ -42,7 +42,7 @@
 
     'commitFailed': "WFS-Transakschoon: hett nich klappt ${response}",
 
-    'scale': "Skaal = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Skaal = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Du versöchst de Laag „${layerName}“ to de Koort totofögen, man de is al toföögt",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/nl.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/nl.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/nl.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Het verzoek is niet afgehandeld met de volgende melding: ${statusText}",
 
-    'permalink': "Permanente verwijzing",
+    'Permalink': "Permanente verwijzing",
 
-    'overlays': "Overlays",
+    'Overlays': "Overlays",
 
-    'baseLayer': "Achtergrondkaart",
+    'Base Layer': "Achtergrondkaart",
 
     'sameProjection': "De overzichtskaart werkt alleen als de projectie gelijk is aan de projectie van de hoofdkaart",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "De laag ${layerType} kon niet goed geladen worden.\x3cbr /\x3e\x3cbr /\x3e\nOm deze melding niet meer te krijgen, moet u een andere achtergrondkaart kiezen in de laagwisselaar in de rechterbovenhoek.\x3cbr /\x3e\x3cbr /\x3e\nDit komt waarschijnlijk doordat de bibliotheek ${layerLib} niet correct is ingevoegd.\x3cbr /\x3e\x3cbr /\x3e\nOntwikkelaars: \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eklik hier\x3c/a\x3e om dit werkend te krijgen.",
 
-    'scale': "Schaal = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Schaal = 1 : ${scaleDenom}",
 
     'W': "W",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/nn.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/nn.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/nn.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,7 +14,7 @@
  */
 OpenLayers.Lang["nn"] = OpenLayers.Util.applyDefaults({
 
-    'scale': "Skala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Skala = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Du freista å leggja til laget «${layerName}» på kartet, men det har alt vorte lagt til.",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/oc.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/oc.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/oc.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Requèsta pas gerida, retorna ${statusText}",
 
-    'permalink': "Permaligam",
+    'Permalink': "Permaligam",
 
-    'overlays': "Calques",
+    'Overlays': "Calques",
 
-    'baseLayer': "Calc de basa",
+    'Base Layer': "Calc de basa",
 
     'sameProjection': "La carta de situacion fonciona pas que quora sa projeccion es la meteissa que la de la carta principala",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Lo jaç ${layerType} es pas en mesura de se cargar corrèctament.\x3cbr\x3e\x3cbr\x3ePer suprimir aqueste messatge, causissètz una  BaseLayer novèla dins lo selector de jaç en naut a drecha.\x3cbr\x3e\x3cbr\x3eAquò es possiblament causat per la non-inclusion de la librariá ${layerLib}.\x3cbr\x3e\x3cbr\x3eDesvolopaires : per saber cossí corregir aquí, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eclicatz aicí\x3c/a\x3e",
 
-    'scale': "Escala ~ 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala ~ 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/pt-BR.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/pt-BR.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/pt-BR.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -17,11 +17,11 @@
 
     'unhandledRequest': "A requisição retornou um erro não tratado: ${statusText}",
 
-    'permalink': "Link para essa página",
+    'Permalink': "Link para essa página",
 
-    'overlays': "Camadas de Sobreposição",
+    'Overlays': "Camadas de Sobreposição",
 
-    'baseLayer': "Camada Base",
+    'Base Layer': "Camada Base",
 
     'sameProjection': "O mapa de referência só funciona quando ele está na mesma projeção do mapa principal",
 
@@ -49,7 +49,7 @@
 
     'getLayerWarning': "Não foi possível carregar a camada ${layerType} corretamente.\x3cbr\x3e\x3cbr\x3ePara se livrar dessa mensagem, selecione uma nova Camada Base, na ferramenta de alternação de camadas localização do canto superior direito.\x3cbr\x3e\x3cbr\x3eMuito provavelmente, isso foi causado porque o script da biblioteca ${layerLib} não foi incluído corretamente.\x3cbr\x3e\x3cbr\x3eDesenvolvedores: Para obter ajuda em solucionar esse problema \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3ecliquem aqui\x3c/a\x3e",
 
-    'scale': "Escala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala = 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/pt.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/pt.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/pt.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -18,11 +18,11 @@
 
     'unhandledRequest': "Servidor devolveu erro não contemplado ${statusText}",
 
-    'permalink': "Ligação permanente",
+    'Permalink': "Ligação permanente",
 
-    'overlays': "Sobreposições",
+    'Overlays': "Sobreposições",
 
-    'baseLayer': "Camada Base",
+    'Base Layer': "Camada Base",
 
     'sameProjection': "O mapa panorâmico só funciona quando está na mesma projeção que o mapa principal",
 
@@ -50,7 +50,7 @@
 
     'getLayerWarning': "A camada ${layerType} não foi correctamente carregada.\x3cbr\x3e\x3cbr\x3ePara desactivar esta mensagem, seleccione uma nova Camada-Base no \'\'switcher\'\' de camadas no canto superior direito.\x3cbr\x3e\x3cbr\x3eProvavelmente, isto acontece porque o \'\'script\'\' da biblioteca ${layerLib} não foi incluído correctamente.\x3cbr\x3e\x3cbr\x3eProgramadores: Para ajuda sobre como solucionar o problema \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eclique aqui\x3c/a\x3e .",
 
-    'scale': "Escala = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Escala = 1 : ${scaleDenom}",
 
     'W': "O",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/ru.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/ru.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/ru.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -19,11 +19,11 @@
 
     'unhandledRequest': "Необработанный запрос вернул ${statusText}",
 
-    'permalink': "Постоянная ссылка",
+    'Permalink': "Постоянная ссылка",
 
-    'overlays': "Слои",
+    'Overlays': "Слои",
 
-    'baseLayer': "Основной слой",
+    'Base Layer': "Основной слой",
 
     'sameProjection': "Обзорная карта работает только тогда, когда имеет ту же проекцию, что и основная",
 
@@ -51,7 +51,7 @@
 
     'getLayerWarning': "Слой ${layerType} не удалось нормально загрузить. \x3cbr\x3e\x3cbr\x3eЧтобы избавиться от этого сообщения, выбите другой основной слой в переключателе в правом верхнем углу.\x3cbr\x3e\x3cbr\x3eСкорее всего, причина в том, что библиотека ${layerLib} не была включена или была включена некорректно.\x3cbr\x3e\x3cbr\x3eРазработчикам: чтобы узнать, как сделать, чтобы всё заработало, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eщёлкните тут\x3c/a\x3e",
 
-    'scale': "Масштаб = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Масштаб = 1 : ${scaleDenom}",
 
     'W': "З",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/sk.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/sk.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/sk.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Neobslúžené požiadavky vracajú ${statusText}",
 
-    'permalink': "Trvalý odkaz",
+    'Permalink': "Trvalý odkaz",
 
-    'overlays': "Prekrytia",
+    'Overlays': "Prekrytia",
 
-    'baseLayer': "Základná vrstva",
+    'Base Layer': "Základná vrstva",
 
     'sameProjection': "Prehľadová mapka funguje iba vtedy, keď je v rovnakej projekcii ako hlavná mapa",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Vrstvu ${layerType} nebolo možné správne načítať.\x3cbr\x3e\x3cbr\x3eAby ste sa tejto správy zbavili vyberte novú BaseLayer v prepínači vrstiev v pravom hornom rohu.\x3cbr\x3e\x3cbr\x3eToto sa stalo pravdepodobne preto, že skript knižnice ${layerType} buď nebol načítaný alebo neobsahuje správny kľúč API pre vašu lokalitu.\x3cbr\x3e\x3cbr\x3eVývojári: Tu môžete získať \x3ca href=\'http://trac.openlayers.org/wiki/${layerType}\' target=\'_blank\'\x3epomoc so sfunkčnením\x3c/a\x3e",
 
-    'scale': "Mierka = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Mierka = 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Pokúsili ste sa do mapy pridať vrstvu ${layerName}, ale tá už bola pridaná",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/sv-SE.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/sv-SE.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/sv-SE.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Ej hanterad fråga retur ${statusText}",
 
-    'permalink': "Permalänk",
+    'Permalink': "Permalänk",
 
-    'overlays': "Kartlager",
+    'Overlays': "Kartlager",
 
-    'baseLayer': "Bakgrundskarta",
+    'Base Layer': "Bakgrundskarta",
 
     'sameProjection': "Översiktskartan fungerar endast när den har samma projektion som huvudkartan",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "${layerType}-lagret kunde inte laddas korrekt.\x3cbr\x3e\x3cbr\x3eFör att slippa detta meddelande, välj en annan bakgrundskarta i lagerväljaren i övre högra hörnet.\x3cbr\x3e\x3cbr\x3eSannolikt beror felet på att ${layerLib}-biblioteket inte är inkluderat på webbsidan.\x3cbr\x3e\x3cbr\x3eUtvecklare: hjälp för att åtgärda detta, \x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eklicka här\x3c/a\x3e.",
 
-    'scale': "\x3cstrong\x3eSkala\x3c/strong\x3e 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "\x3cstrong\x3eSkala\x3c/strong\x3e 1 : ${scaleDenom}",
 
     'layerAlreadyAdded': "Du försökte lägga till lagret: ${layerName} på kartan, men det har lagts till tidigare",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/te.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/te.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/te.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -14,7 +14,7 @@
  */
 OpenLayers.Lang["te"] = OpenLayers.Util.applyDefaults({
 
-    'permalink': "స్థిరలింకు",
+    'Permalink': "స్థిరలింకు",
 
     'W': "ప",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/vi.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/vi.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/vi.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -16,11 +16,11 @@
 
     'unhandledRequest': "Không xử lý được phản hồi ${statusText} cho yêu cầu",
 
-    'permalink': "Liên kết thường trực",
+    'Permalink': "Liên kết thường trực",
 
-    'overlays': "Lấp bản đồ",
+    'Overlays': "Lấp bản đồ",
 
-    'baseLayer': "Lớp nền",
+    'Base Layer': "Lớp nền",
 
     'sameProjection': "Bản đồ toàn cảnh chỉ hoạt động khi cùng phép chiếu với bản đồ chính",
 
@@ -48,7 +48,7 @@
 
     'getLayerWarning': "Không thể tải lớp ${layerType} đúng đắn.\x3cbr\x3e\x3cbr\x3eĐể tránh thông báo này lần sau, hãy chọn BaseLayer mới dùng điều khiển chọn lớp ở góc trên phải.\x3cbr\x3e\x3cbr\x3eChắc script thư viện ${layerLib} không được bao gồm đúng kiểu.\x3cbr\x3e\x3cbr\x3e\x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eTrợ giúp về tính năng này\x3c/a\x3e cho người phát triển.",
 
-    'scale': "Tỷ lệ = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Tỷ lệ = 1 : ${scaleDenom}",
 
     'W': "T",
 

Modified: trunk/openlayers/lib/OpenLayers/Lang/zh-CN.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/zh-CN.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/zh-CN.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -12,11 +12,11 @@
 
     'unhandledRequest': "未处理的请求,返回值为 ${statusText}",
 
-    'permalink': "永久链接",
+    'Permalink': "永久链接",
 
-    'overlays': "叠加层",
+    'Overlays': "叠加层",
 
-    'baseLayer': "基础图层",
+    'Base Layer': "基础图层",
 
     'sameProjection':
         "鹰眼地图只有在和主地图使用相同的投影的时候才能正常共工作",
@@ -76,7 +76,7 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>点击这里</a>",
 
-    'scale': "比例尺 = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "比例尺 = 1 : ${scaleDenom}",
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/lib/OpenLayers/Lang/zh-TW.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Lang/zh-TW.js	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/lib/OpenLayers/Lang/zh-TW.js	2011-06-24 20:12:12 UTC (rev 12127)
@@ -13,11 +13,11 @@
 
     'unhandledRequest': "未處理的請求,傳回值為 ${statusText}。",
 
-    'permalink': "永久連結",
+    'Permalink': "永久連結",
 
-    'overlays': "額外圖層",
+    'Overlays': "額外圖層",
 
-    'baseLayer': "基礎圖層",
+    'Base Layer': "基礎圖層",
 
     'sameProjection':
         "地圖縮覽(OverviewMap)只能在跟主地圖相同投影時起作用。",
@@ -77,7 +77,7 @@
         "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
         "target='_blank'>請按這裡</a>",
 
-    'scale': "Scale = 1 : ${scaleDenom}",
+    'Scale = 1 : ${scaleDenom}': "Scale = 1 : ${scaleDenom}",
 
     // console message
     'layerAlreadyAdded':

Modified: trunk/openlayers/tests/Lang.html
===================================================================
--- trunk/openlayers/tests/Lang.html	2011-06-24 18:21:49 UTC (rev 12126)
+++ trunk/openlayers/tests/Lang.html	2011-06-24 20:12:12 UTC (rev 12127)
@@ -70,19 +70,19 @@
         var keys = ['test1', 'test3', 'noKey'];
         var codes = ['en', 'en-CA', 'fr', 'fr-CA', 'sw'];
         var result = {
-            'en': {'overlays':'Overlays', 
+            'en': {'Overlays':'Overlays', 
                    'unhandledRequest':'Unhandled request return foo', 
                    'noKey':'noKey'},
-            'en-CA': {'overlays':'Overlays',
+            'en-CA': {'Overlays':'Overlays',
                    'unhandledRequest':'Unhandled request return foo', 
                       'noKey':'noKey'},
-            'fr': {'overlays':'Calques', 
+            'fr': {'Overlays':'Calques', 
                    'unhandledRequest':'Requête non gérée, retournant foo',
                   'noKey':'noKey'},
-            'fr-CA': {'overlays':'Calques', //this should result in 'fr'
+            'fr-CA': {'Overlays':'Calques', //this should result in 'fr'
                    'unhandledRequest':'Requête non gérée, retournant foo',
                   'noKey':'noKey'},
-            'sw': {'overlays':'Overlays', //this should result in 'en'
+            'sw': {'Overlays':'Overlays', //this should result in 'en'
                    'unhandledRequest':'Unhandled request return foo', 
                   'noKey':'noKey'}
         };
@@ -92,7 +92,7 @@
         for (var i=0; i<codes.length; ++i) {
             var code = codes[i];
             OpenLayers.Lang.setCode(code);
-            t.eq(OpenLayers.Lang.translate('overlays'), result[code]['overlays'], "simple key lookup in "+code);
+            t.eq(OpenLayers.Lang.translate('Overlays'), result[code]['Overlays'], "simple key lookup in "+code);
             t.eq(OpenLayers.Lang.translate('unhandledRequest',{'statusText':'foo'}), 
                         result[code]['unhandledRequest'], "lookup with argument substitution in "+code);
             t.eq(OpenLayers.Lang.translate('noKey'), result[code]['noKey'], "invalid key returns the key in "+code);



More information about the Commits mailing list