From 2ae8d9d1dfc1c7d519e76a454ff7ad11a50ee92f Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 3 Nov 2018 16:12:51 +0100 Subject: [PATCH] Fix error in l10n file: Toogle -> Toggle (#4453) --- src/main/java/org/jabref/gui/groups/GroupModeViewModel.java | 6 +++--- src/main/resources/l10n/JabRef_en.properties | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/jabref/gui/groups/GroupModeViewModel.java b/src/main/java/org/jabref/gui/groups/GroupModeViewModel.java index d88565f82ba..022941a97d5 100644 --- a/src/main/java/org/jabref/gui/groups/GroupModeViewModel.java +++ b/src/main/java/org/jabref/gui/groups/GroupModeViewModel.java @@ -8,7 +8,7 @@ public class GroupModeViewModel { - private GroupViewMode mode; + private final GroupViewMode mode; public GroupModeViewModel(GroupViewMode mode) { this.mode = mode; @@ -27,9 +27,9 @@ public Node getUnionIntersectionGraphic() { public Tooltip getUnionIntersectionTooltip() { if (mode == GroupViewMode.UNION) { - return new Tooltip(Localization.lang("Toogle intersection")); + return new Tooltip(Localization.lang("Toggle intersection")); } else if (mode == GroupViewMode.INTERSECTION) { - return new Tooltip(Localization.lang("Toogle union")); + return new Tooltip(Localization.lang("Toggle union")); } return new Tooltip(); } diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index e4bd843bed0..f7b09efbf18 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -2182,8 +2182,8 @@ Group\ view\ mode\ set\ to\ union=Group view mode set to union Open\ %0\ URL\ (%1)=Open %0 URL (%1) Open\ URL\ (%0)=Open URL (%0) Open\ file\ %0=Open file %0 -Toogle\ intersection=Toogle intersection -Toogle\ union=Toogle union +Toggle\ intersection=Toggle intersection +Toggle\ union=Toggle union Jump\ to\ entry=Jump to entry The\ group\ name\ contains\ the\ keyword\ separator\ "%0"\ and\ thus\ probably\ does\ not\ work\ as\ expected.=The group name contains the keyword separator "%0" and thus probably does not work as expected. Abbreviate\ journal\ names\ (ISO)=Abbreviate journal names (ISO)