Revision 39623
branches/v2_0_0_prep/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text_en.properties | ||
---|---|---|
14 | 14 |
_Select_the_images=Select the images |
15 | 15 |
_Images=Images |
16 | 16 |
_Import_process_already_running_Wait_to_terminate_and_retry=Import process already running. Wait to terminate and retry. |
17 |
_Cancel=Cancel |
|
18 |
_File_{0}_already_exists_Overwrite=File {0} already exists. Overwrite? |
|
19 |
_Symbol_{0}_already_exists_Overwrite=Symbol {0} already exists. Overwrite? |
|
20 |
_Import_of_symbols_completed=Import of symbols completed |
|
21 |
_Import_of_symbols_aborted=Import of symbols aborted |
|
22 |
_Error_in_the_process_of_import_point_symbols_Some_symbols_cant_be_imported=Error in the import process. Some point symbols were not imported |
|
23 |
|
branches/v2_0_0_prep/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/resources/locale/text.properties | ||
---|---|---|
13 | 13 |
_Should_select_the_images_to_import=Debera seleccionar las imagenes a importar |
14 | 14 |
_Select_the_images=Seleccione las imagenes |
15 | 15 |
_Images=Imagenes |
16 |
_Import_process_already_running_Wait_to_terminate_and_retry=El proceso de importacion esta ejecutandose.Espere a que termine y reintentelo de nuevo. |
|
16 |
_Import_process_already_running_Wait_to_terminate_and_retry=El proceso de importacion esta ejecutandose.Espere a que termine y reintentelo de nuevo. |
|
17 |
_Cancel=Cancelar |
|
18 |
_File_{0}_already_exists_Overwrite=El archivo {0} ya existe. ?Desea sobreescribirlo? |
|
19 |
_Symbol_{0}_already_exists_Overwrite=El s?mbolo {0} ya existe. ?Desea sobreescribirlo? |
|
20 |
_Import_of_symbols_completed=Importaci?n de s?mbolos completada |
|
21 |
_Import_of_symbols_aborted=Importaci?n de s?mbolos abortada |
|
22 |
_Error_in_the_process_of_import_point_symbols_Some_symbols_cant_be_imported=Error en la importaci?n de s?mbolos puntuales. Algunos no se han importado |
|
23 |
|
branches/v2_0_0_prep/extensions/org.gvsig.symbology.app/org.gvsig.symbology.app.importsymbols/src/main/java/org/gvsig/symbology/app/importsymbols/ImportPictureMarkerSymbolsProcess.java | ||
---|---|---|
133 | 133 |
} |
134 | 134 |
status.add(); |
135 | 135 |
status.setRangeOfValues(1, this.getSelectedImageFiles().size()); |
136 |
for (int i = 1; i < this.getSelectedImageFiles().size(); i++) {
|
|
136 |
for (int i = 0; i < this.getSelectedImageFiles().size(); i++) {
|
|
137 | 137 |
if (status.isCancellationRequested()) { |
138 | 138 |
status.cancel(); |
139 | 139 |
return; |
... | ... | |
147 | 147 |
return; |
148 | 148 |
} |
149 | 149 |
if (!this.isQuietMode()) { |
150 |
application.message("_import_of_symbols_completed", |
|
151 |
JOptionPane.INFORMATION_MESSAGE); |
|
150 |
application.messageDialog( |
|
151 |
"_Import_of_symbols_completed", |
|
152 |
this.getName(), |
|
153 |
JOptionPane.INFORMATION_MESSAGE); |
|
152 | 154 |
} |
153 | 155 |
} catch (Exception e) { |
154 | 156 |
logger.info("Error in process", e); |
... | ... | |
209 | 211 |
case ASK: |
210 | 212 |
int resp = application |
211 | 213 |
.confirmDialog(application.translate( |
212 |
"_Symbol_{}_already_exists_Overwrite", |
|
214 |
"_Symbol_{0}_already_exists_Overwrite",
|
|
213 | 215 |
target_symbol.getAbsolutePath()), this |
214 | 216 |
.getName(), JOptionPane.YES_NO_OPTION, |
215 | 217 |
JOptionPane.QUESTION_MESSAGE); |
... | ... | |
268 | 270 |
case ASK: |
269 | 271 |
int resp = application |
270 | 272 |
.confirmDialog(application.translate( |
271 |
"_File_{}_already_exists_Overwrite", |
|
273 |
"_File_{0}_already_exists_Overwrite",
|
|
272 | 274 |
target.getAbsolutePath()), this.getName(), |
273 | 275 |
JOptionPane.YES_NO_OPTION, |
274 | 276 |
JOptionPane.QUESTION_MESSAGE); |
Also available in: Unified diff