Skip to content

Commit

Permalink
minor localization fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed Sep 21, 2015
1 parent 97c0c36 commit 80ada27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public void actionPerformed(ActionEvent e) {
prefs.getKey(KeyBinds.OPEN_URL_OR_DOI),
IconTheme.getImage("openUrl"));
private final AbstractAction openSpires = new GeneralAction(Actions.OPEN_SPIRES,
Localization.menuTitle("Open SPIRES entry"),
Localization.lang("Open SPIRES entry"),
Localization.lang("Open SPIRES entry"),
prefs.getKey(KeyBinds.OPEN_SPIRES_ENTRY));
private final AbstractAction dupliCheck = new GeneralAction(Actions.DUPLI_CHECK,
Expand Down Expand Up @@ -2418,7 +2418,7 @@ class BibtexKeyPatternAction extends MnemonicAwareAction {


public BibtexKeyPatternAction() {
putValue(Action.NAME, Localization.menuTitle("Bibtex key patterns"));
putValue(Action.NAME, Localization.lang("Bibtex key patterns"));
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/RightClickMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private void populateTypeMenu() {
*/
public static void populateSpecialFieldMenu(JMenu menu, SpecialField field, JabRefFrame frame) {
//menu.removeAll();
menu.setText(Localization.lang(field.getMenuString()));
menu.setText(field.getMenuString());
menu.setIcon(field.getRepresentingIcon());
for (SpecialFieldValue val : field.getValues()) {
menu.add(val.getMenuAction(frame));
Expand Down

0 comments on commit 80ada27

Please sign in to comment.