Skip to content

Commit 2bd1c42

Browse files
authored
fix donations url (#12925)
1 parent 254a0e5 commit 2bd1c42

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/main/java/org/jabref/gui/frame/MainMenu.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ private void createMenu() {
353353

354354
new SeparatorMenuItem(),
355355

356-
factory.createMenuItem(StandardActions.DONATE, new OpenBrowserAction(URLs.FORUM_URL, dialogService, preferences.getExternalApplicationsPreferences())),
356+
factory.createMenuItem(StandardActions.DONATE, new OpenBrowserAction(URLs.DONATION_URL, dialogService, preferences.getExternalApplicationsPreferences())),
357357
factory.createMenuItem(StandardActions.SEARCH_FOR_UPDATES, new SearchForUpdateAction(preferences, dialogService, taskExecutor)),
358358
factory.createSubMenu(StandardActions.WEB_MENU,
359359
factory.createMenuItem(StandardActions.OPEN_WEBPAGE, new OpenBrowserAction(URLs.WEBPAGE_URL, dialogService, preferences.getExternalApplicationsPreferences())),

src/main/java/org/jabref/gui/help/HelpAction.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ public HelpAction(HelpFile helpPage, DialogService dialogService, ExternalApplic
2323
}
2424

2525
void openHelpPage(HelpFile helpPage) {
26-
StringBuilder sb = new StringBuilder("https://docs.jabref.org/");
27-
sb.append(helpPage.getPageName());
28-
NativeDesktop.openBrowserShowPopup(sb.toString(), dialogService, externalApplicationPreferences
29-
);
26+
NativeDesktop.openBrowserShowPopup("https://docs.jabref.org/" + helpPage.getPageName(), dialogService, externalApplicationPreferences);
3027
}
3128

3229
@Override

src/main/java/org/jabref/gui/util/URLs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class URLs {
99
public static final String FACEBOOK_URL = "https://www.facebook.com/JabRef/";
1010
public static final String GITHUB_URL = "https://github.com/JabRef/jabref";
1111
public static final String MASTODON_URL = "https://foojay.social/@jabref";
12-
public static final String DONATE_URL = "https://donate.jabref.org";
12+
public static final String DONATE_URL = "https://donations.jabref.org";
1313
public static final String DEV_VERSION_LINK_URL = "https://builds.jabref.org/master/";
1414
public static final String CHANGELOG_URL = "https://github.com/JabRef/jabref/blob/main/CHANGELOG.md";
1515
public static final String HELP_URL = "https://docs.jabref.org/";

0 commit comments

Comments
 (0)