Revision 105
org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.swing/org.gvsig.vectorediting.swing.impl/src/main/java/org/gvsig/vectorediting/swing/impl/DefaultEditingSwingManager.java | ||
---|---|---|
110 | 110 |
i18nManager.getTranslation("continue") }; |
111 | 111 |
|
112 | 112 |
String question = i18nManager |
113 |
.getTranslation("no_existe_writer_para_este_formato_de_capa_o_no_tiene_permisos_de_escritura_los_datos_que_desea_hacer");
|
|
113 |
.getTranslation("can_not_write_layer");
|
|
114 | 114 |
String firstLabel = i18nManager.getTranslation("export"); |
115 | 115 |
String firstDesc = i18nManager.getTranslation("export_to_another_format"); |
116 | 116 |
|
... | ... | |
119 | 119 |
|
120 | 120 |
int resp = JOptionPane.showOptionDialog( |
121 | 121 |
(Component) parent, explanation_panel, |
122 |
i18nManager.getTranslation("stop_edition"),
|
|
122 |
i18nManager.getTranslation("end_editing"),
|
|
123 | 123 |
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, |
124 | 124 |
options, options[2]); |
125 | 125 |
|
... | ... | |
133 | 133 |
} |
134 | 134 |
|
135 | 135 |
public int showPanelSaveOrDiscard(MapControl parent, String name) { |
136 |
Object[] options = { i18nManager.getTranslation("_Guardar"),
|
|
137 |
" " + i18nManager.getTranslation("_Descartar") + " ",
|
|
138 |
i18nManager.getTranslation("_Continuar") };
|
|
136 |
Object[] options = { i18nManager.getTranslation("save"),
|
|
137 |
" " + i18nManager.getTranslation("discard") + " ",
|
|
138 |
i18nManager.getTranslation("continue") };
|
|
139 | 139 |
|
140 | 140 |
String question = i18nManager |
141 |
.getTranslation("realmente_desea_guardar_la_capa");
|
|
141 |
.getTranslation("ask_save_layer");
|
|
142 | 142 |
question = question + " '" + name + "'?"; |
143 |
String firstLabel = i18nManager.getTranslation("guardar");
|
|
143 |
String firstLabel = i18nManager.getTranslation("save");
|
|
144 | 144 |
String firstDesc = i18nManager.getTranslation("save_changes_performed"); |
145 | 145 |
JPanel explanation_panel = getExplanationPanel(question, firstLabel, |
146 | 146 |
firstDesc); |
147 | 147 |
|
148 | 148 |
int resp = JOptionPane.showOptionDialog( |
149 | 149 |
(Component) parent, explanation_panel, |
150 |
i18nManager.getTranslation("stop_edition"),
|
|
150 |
i18nManager.getTranslation("end_editing"),
|
|
151 | 151 |
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, |
152 | 152 |
options, options[2]); |
153 | 153 |
|
org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties | ||
---|---|---|
7 | 7 |
insert_polygon = Insert polygon |
8 | 8 |
modify_symmetry = Symmetrical geometry |
9 | 9 |
modify_internal_polygon = Internal polygon |
10 |
|
|
11 | 10 |
selection=Selection |
12 | 11 |
first_point_of_symmetry_axis=First point of the symmetry axis |
13 | 12 |
second_point_of_symmetry_axis=Second point of the symmetry axis |
... | ... | |
26 | 25 |
inserts_L_to_change_to_line_mode_double_click_to_finish_indate_new_point= Inserts [L] to change to line mode. Double-click to finish. Indicates new point. |
27 | 26 |
inserts_A_to_change_to_arc_mode_double_click_to_finish_indate_new_point= Inserts [A] to change to arc mode. Double-click to finish. Indicates new point. |
28 | 27 |
select_new_tool= Select a new tool |
29 |
draw_geometry= Select tool to draw a internal polygon |
|
28 |
draw_geometry= Select tool to draw a internal polygon |
|
29 |
save = Save |
|
30 |
discard = Discard |
|
31 |
continue = Continue |
|
32 |
export = Export |
|
33 |
ask_save_layer = Would you really like to save the layer |
|
34 |
can_not_write_layer = There are not writer for this layer format or you don't have write permissions.\nWhat do you want to do? |
|
35 |
save_changes_performed = Save changed performed |
|
36 |
discard_and_loose_changes = Discard and loose changes |
|
37 |
export_to_another_format = Export to another format |
|
38 |
do_not_save_yet_stay_in_editing_mode = Do not save changes and continue editing |
org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
27 | 27 |
inserts_A_to_change_to_arc_mode_double_click_to_finish_indate_new_point= Introduzca [A] para cambiar al modo arco. Doble click para finalizar. Indique un nuevo punto. |
28 | 28 |
select_new_tool= Seleccione una nueva herramienta |
29 | 29 |
draw_geometry= Seleccione una herramienta para dibujar un poligono interno |
30 |
save = Guardar |
|
31 |
discard = Descartar |
|
32 |
continue = Continuar |
|
33 |
export = Exportar |
|
34 |
ask_save_layer = \u00bfDesea guardar la capa |
|
35 |
can_not_write_layer = No existe writer para este formato de capa o no tiene permisos de escritura.\n\u00bfQu\u00e9 desea hacer? |
|
36 |
save_changes_performed = Guardar cambios realizados |
|
37 |
discard_and_loose_changes = Descartar y perder los cambios |
|
38 |
export_to_another_format = Exportar a otro formato |
|
39 |
do_not_save_yet_stay_in_editing_mode = No guardar los cambios y seguir editando |
Also available in: Unified diff