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
26 lines
786 B
JavaScript
26 lines
786 B
JavaScript
/* Translators (2009 onwards):
|
|
* - វ័ណថារិទ្ធ
|
|
*/
|
|
|
|
/**
|
|
* @requires OpenLayers/Lang.js
|
|
*/
|
|
|
|
/**
|
|
* Namespace: OpenLayers.Lang["km"]
|
|
* Dictionary for ភាសាខ្មែរ. 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["km"] = OpenLayers.Util.applyDefaults({
|
|
|
|
'Permalink': "តំណភ្ជាប់អចិន្ត្រៃយ៍",
|
|
|
|
'Base Layer': "ស្រទាប់បាត",
|
|
|
|
'errorLoadingGML': "កំហុសកំឡុងពេលផ្ទុកឯកសារ GML ${url}",
|
|
|
|
'Scale = 1 : ${scaleDenom}': "មាត្រដ្ឋាន = ១ ៖ ${scaleDenom}"
|
|
|
|
});
|