label.example_param = Example: {0}
label.select_file_format_before_saving = You must select a file format before saving!
label.file_format_not_specified = File format not specified
-label.couldnt_save_file = Couldn't save file: {0}
+label.couldnt_save_file = Couldn''t save file: {0}
label.error_saving_file = Error Saving File
label.remove_from_default_list = Remove from default list?
label.remove_user_defined_colour = Remove user defined colour
label.backupfiles_confirm_save_file_backupfiles_roll_wrong = Something possibly went wrong with the backups of this file.
label.backupfiles_confirm_save_new_saved_file_ok = The new saved file seems okay.
label.backupfiles_confirm_save_new_saved_file_not_ok = The new saved file might not be okay.
+label.continue_operation = Continue operation?
label.backups = Backups
label.backup = Backup
label.backup_files = Backup Files
label.backupfiles_confirm_save_file_backupfiles_roll_wrong = Posiblemente algo está mal con los archivos de respaldos.
label.backupfiles_confirm_save_new_saved_file_ok = El nuevo archivo guardado parece estar bien.
label.backupfiles_confirm_save_new_saved_file_not_ok = El nuevo archivo guardado podría no estar bien.
+label.continue_operation = ¿Continuar operación?
label.backups = Respaldos
label.backup = Respaldo
label.backup_files = Archivos de respaldos
statusBar.setText(MessageManager.formatMessage(
"label.successfully_saved_to_file_in_format", new Object[]
- { fileName, format }));
+ { file, format }));
return;
}
Cache.log.error(
"ALIGNFRAME Something happened writing the temp file");
Cache.log.error(e.getMessage());
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
} catch (Exception ex)
{
lastSaveSuccessful = false;
Cache.log.error(
"ALIGNFRAME Something else happened writing the temp file");
Cache.log.error(ex.getMessage());
- Cache.log.debug(ex.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(ex));
}
if (doBackup)
Cache.log
.error("Could not create temp file to save to (IOException)");
Cache.log.error(e.getMessage());
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
} catch (Exception e)
{
Cache.log.error("Exception creating temp file for saving");
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
}
this.setTempFile(temp);
}
Cache.log.error(
"IOException when getting Canonical Path of temp file '"
+ this.getTempFile().getName() + "'");
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
}
return path;
}
Cache.log.error(
"Could not get canonical path for file '" + file + "'");
Cache.log.error(e.getMessage());
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
return false;
}
String filename = file.getName();
Cache.log.error(
"Error occurred, probably making new temp file for '"
+ fileToBeDeleted.getName() + "'");
- Cache.log.error(e.getStackTrace());
+ Cache.log.error(Cache.getStackTraceString(e));
}
// reset
"label.backupfiles_confirm_save_new_saved_file_not_ok"));
// "The new saved file might not be okay."
}
+ if (messageSB.length() > 0)
+ {
+ messageSB.append("\n");
+ }
+ messageSB
+ .append(MessageManager.getString("label.continue_operation"));
int confirmButton = Platform.isHeadless() ? JvOptionPane.OK_OPTION
: JvOptionPane.showConfirmDialog(Desktop.desktop,
Cache.log.warn("Could not move file '" + oldPath.toString() + "' to '"
+ newPath.toString() + "'");
Cache.log.error(e.getMessage());
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
ret = false;
} catch (Exception e)
{
Cache.log.error(e.getMessage());
- Cache.log.debug(e.getStackTrace());
+ Cache.log.debug(Cache.getStackTraceString(e));
ret = false;
}
return ret;