[Commits] r1773 - in sandbox/redlining/ux/FeatureEditing: examples resources resources/lang ux/widgets
commits at geoext.org
commits at geoext.org
Tue Jan 19 05:41:08 CET 2010
Author: cmoullet
Date: 2010-01-19 05:41:08 +0100 (Tue, 19 Jan 2010)
New Revision: 1773
Added:
sandbox/redlining/ux/FeatureEditing/resources/lang/
sandbox/redlining/ux/FeatureEditing/resources/lang/fr.js
Modified:
sandbox/redlining/ux/FeatureEditing/examples/RedLiningPanelExample.html
sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js
Log:
Add language support
Modified: sandbox/redlining/ux/FeatureEditing/examples/RedLiningPanelExample.html
===================================================================
--- sandbox/redlining/ux/FeatureEditing/examples/RedLiningPanelExample.html 2010-01-19 04:15:41 UTC (rev 1772)
+++ sandbox/redlining/ux/FeatureEditing/examples/RedLiningPanelExample.html 2010-01-19 04:41:08 UTC (rev 1773)
@@ -7,6 +7,8 @@
<link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/examples/shared/examples.css" />
<script type="text/javascript" src="../../../trunk/openlayers/lib/OpenLayers.js"></script>
+ <script type="text/javascript" src="../../../trunk/openlayers/lib/OpenLayers/Lang/fr.js"></script>
+ <script type="text/javascript" src="../resources/lang/fr.js"></script>
<script type="text/javascript" src="../../../trunk/geoext/lib/GeoExt.js"></script>
<script type="text/javascript" src="http://dev.geoext.org/sandbox/cmoullet/ux/LayerManager/ux/downloadify/js/swfobject.js"></script>
Added: sandbox/redlining/ux/FeatureEditing/resources/lang/fr.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/resources/lang/fr.js (rev 0)
+++ sandbox/redlining/ux/FeatureEditing/resources/lang/fr.js 2010-01-19 04:41:08 UTC (rev 1773)
@@ -0,0 +1,27 @@
+OpenLayers.Util.extend(OpenLayers.Lang.fr, {
+ 'Attributes': 'Attributs',
+ 'Delete feature': 'Supprimer objet',
+ 'Delete Feature': 'Supprimer Objet',
+ 'Do you really want to delete this feature ?': 'Voulez-vous vraiment supprimer cet objet ?',
+ 'Delete': 'Supprimer',
+ 'Export KML': 'Exporter KML',
+ 'Export': 'Exporter',
+ 'Import KML': 'Importer KML',
+ 'Import': 'Importer',
+ 'Edit Feature': 'Editer Objet',
+ 'LineString': 'Ligne',
+ 'MultiLineString': 'MultiLigne',
+ 'Point': 'Point',
+ 'MultiPoint': 'MultiPoint',
+ 'Polygon': 'Polygone',
+ 'MultiPolygon': 'MultiPolygone',
+ 'Label': 'Etiquette',
+ 'Create point': 'Créer point',
+ 'Create line': 'Créer ligne',
+ 'Create polygon': 'Créer polygone',
+ 'Create label': 'Créer étiquette',
+ 'Delete all features': 'Supprimer tous les objets',
+ 'DeleteAll': 'Tous supprimer',
+ 'Delete All Features': 'Supprimer Tous Les Objets',
+ 'Do you really want to delete all features ?': 'Voulez-vous vraiment supprimer tous les objets ?'
+});
\ No newline at end of file
Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js 2010-01-19 04:15:41 UTC (rev 1772)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js 2010-01-19 04:41:08 UTC (rev 1773)
@@ -183,7 +183,7 @@
if (this.useIcons === true) {
actionOptions.iconCls = "gx-featureediting-editfeature";
} else {
- actionOptions.text = OpenLayers.i18n("EditFeature");
+ actionOptions.text = OpenLayers.i18n("Edit Feature");
}
var action = new GeoExt.Action(actionOptions);
@@ -454,7 +454,7 @@
// display the popup
var popup = new GeoExt.Popup({
feature: feature,
- title: OpenLayers.i18n('EditFeature'),
+ title: OpenLayers.i18n('Edit Feature'),
controler: this,
layout: 'fit',
width: 280,
More information about the Commits
mailing list