Skip to content

Commit

Permalink
Fix for Globals.lang call
Browse files Browse the repository at this point in the history
  • Loading branch information
IngvarJackal committed Aug 4, 2014
1 parent c54494e commit 2465459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/JabRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected JabRef(String[] args) {
Globals.journalAbbrev.readJournalList(new File(
personalJournalList));
} catch (FileNotFoundException e) {
JOptionPane.showMessageDialog(null, Globals.lang("Journal_file_not_found" + ": " + e.getMessage()), Globals.lang("Error_opening_file"), JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(null, Globals.lang("Journal file not found") + ": " + e.getMessage(), Globals.lang("Error opening file"), JOptionPane.ERROR_MESSAGE);
Globals.prefs.put("personalJournalList", "");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void actionPerformed(ActionEvent e) {
storeSettings();
dialog.dispose();
} catch (FileNotFoundException ex) {
JOptionPane.showMessageDialog(null, Globals.lang("Error_opening_file" + ": " + ex.getMessage()), Globals.lang("Error_opening_file"), JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(null, Globals.lang("Error opening file") + ": " + ex.getMessage(), Globals.lang("Error opening file"), JOptionPane.ERROR_MESSAGE);
}
}
}
Expand Down

0 comments on commit 2465459

Please sign in to comment.