Revision 37429
branches/v2_0_0_prep/libraries/org.gvsig.annotation/org.gvsig.annotation.lib/org.gvsig.annotation.lib.impl/src/main/resources/locale/text_en.properties | ||
---|---|---|
1 | 1 |
# Resource bundle texts for the English language locale (en) |
2 |
infofile_exception=Exception in installation file install.info |
|
3 |
infofile_not_found=File install.info not found |
|
4 |
infofile_property_not_found=The property %(propertyName) is mandatory but it is not in the install.info file |
|
5 |
infofile_found=File install.info exists |
|
6 |
infofile_reading_error=Error reading the install.info file |
|
7 |
infofile_writing_error=Error writing the install.info file |
|
8 |
plugin_to_install=Plugin to install |
|
9 |
plugin_description=Plugin description |
|
10 |
advanced_mode_selection=Advanced options |
|
11 |
ant_script=Ant script |
|
12 |
files_to_copy=Files to copy |
|
13 |
output_options=Output options |
|
14 |
progress=Install progress |
|
15 |
advanced_mode=The advanced mode option allows to copy resources that are located out of the plugin directory. We don't recommend to use this option. |
|
16 |
initializing=Inicializando |
|
17 |
create_output_file_exception=Error creating the output file |
|
18 |
select_installer=Select the installer |
|
19 |
select_plugins=Select the plugins to install |
|
20 |
execute_adding_error=Error adding a resource |
|
21 |
name=Name |
|
22 |
description=Description |
|
23 |
version=Version |
|
24 |
build=Build |
|
25 |
is_official=Is official |
|
26 |
status=Status |
|
27 |
code=Code |
|
28 |
enable_advanced_mode=Enable the advanced mode |
|
29 |
compressing=Compressing |
|
30 |
finished=Finished |
|
31 |
standard_installation=Standard installation |
|
32 |
installation_from_file=Installation from file |
|
33 |
official=Official |
|
34 |
not_official=Not official |
|
35 |
application_directory_not_found=Application directory not found |
|
36 |
package_not_found=The package has not been found |
|
37 |
make_plugin_package_exception=Exception creating the package for a plugin |
|
38 |
not_valid_xml=The XML is not a valid XML |
|
2 |
centroid=Centroid |
|
39 | 3 |
|
branches/v2_0_0_prep/extensions/org.gvsig.annotation.app/org.gvsig.annotation.app.extension/src/main/java/org/gvsig/annotation/app/extension/AnnotationExtension.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.annotation.app.extension; |
23 | 23 |
|
24 |
import java.util.Locale; |
|
25 |
|
|
24 | 26 |
import org.gvsig.andami.PluginServices; |
25 | 27 |
import org.gvsig.andami.messages.NotificationManager; |
26 | 28 |
import org.gvsig.andami.plugins.Extension; |
... | ... | |
38 | 40 |
import org.gvsig.fmap.mapcontext.MapContext; |
39 | 41 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
40 | 42 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
43 |
import org.gvsig.i18n.Messages; |
|
41 | 44 |
import org.gvsig.tools.ToolsLocator; |
42 | 45 |
import org.gvsig.tools.extensionpoint.ExtensionPoint; |
43 | 46 |
import org.gvsig.tools.extensionpoint.ExtensionPointManager; |
... | ... | |
63 | 66 |
"annotation-properties", |
64 | 67 |
AnnotationPreferencesPage.class.getClassLoader().getResource("images/AnnotationProperties.png") |
65 | 68 |
); |
69 |
|
|
70 |
if (!Messages.hasLocales()) { |
|
71 |
Messages.addLocale(Locale.getDefault()); |
|
72 |
} |
|
73 |
Messages.addResourceFamily("org.gvsig.annotation.app.extension.i18n.text", |
|
74 |
AnnotationExtension.class.getClassLoader(), |
|
75 |
AnnotationExtension.class.getClass().getName()); |
|
66 | 76 |
} |
67 | 77 |
|
68 | 78 |
@Override |
... | ... | |
72 | 82 |
// Asignamos el locator e iniciamos la instancia |
73 | 83 |
swingManager = AnnotationSwingLocator.getSwingManager(); |
74 | 84 |
|
75 |
swingManager.registerWindowManager(new GvSIGAnnotationWindowManager()); |
|
85 |
swingManager.registerWindowManager(new GvSIGAnnotationWindowManager()); |
|
86 |
|
|
76 | 87 |
} |
77 | 88 |
|
78 | 89 |
public void execute(String actionCommand) { |
branches/v2_0_0_prep/extensions/org.gvsig.annotation.app/org.gvsig.annotation.app.extension/src/main/resources/org/gvsig/annotation/app/extension/i18n/text.properties | ||
---|---|---|
1 |
# Resource bundle texts for the Spanish language locale (es) |
|
2 |
export_to_annotation=Exportar a anotaciones |
|
0 | 3 |
branches/v2_0_0_prep/extensions/org.gvsig.annotation.app/org.gvsig.annotation.app.extension/src/main/resources/org/gvsig/annotation/app/extension/i18n/text_en.properties | ||
---|---|---|
1 |
# Resource bundle texts for the English language locale (en) |
|
2 |
export_to_annotation=Export to anotation |
|
3 |
|
|
0 | 4 |
Also available in: Unified diff