Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d920d6c

Browse files
committedMar 11, 2025
Fixed Localization issues
1 parent afa8b54 commit d920d6c

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
 

‎src/main/java/org/jabref/gui/WelcomeTab.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -183,25 +183,25 @@ private VBox createFooter() {
183183
HBox iconLinksContainer = new HBox(15);
184184
iconLinksContainer.setAlignment(Pos.CENTER);
185185

186-
Hyperlink onlineHelpLink = createFooterLink(Localization.lang("Online help"), StandardActions.HELP, IconTheme.JabRefIcons.HELP);
187-
Hyperlink forumLink = createFooterLink(Localization.lang("Forum for support"), StandardActions.OPEN_FORUM, IconTheme.JabRefIcons.FORUM);
188-
Hyperlink mastodonLink = createFooterLink(Localization.lang("Mastodon"), StandardActions.OPEN_MASTODON, IconTheme.JabRefIcons.MASTODON);
189-
Hyperlink linkedInLink = createFooterLink(Localization.lang("LinkedIn"), StandardActions.OPEN_LINKEDIN, IconTheme.JabRefIcons.LINKEDIN);
190-
Hyperlink donationLink = createFooterLink(Localization.lang("Donation"), StandardActions.DONATE, IconTheme.JabRefIcons.DONATE);
186+
Hyperlink onlineHelpLink = createFooterLink("Online help", StandardActions.HELP, IconTheme.JabRefIcons.HELP);
187+
Hyperlink forumLink = createFooterLink("Forum for support", StandardActions.OPEN_FORUM, IconTheme.JabRefIcons.FORUM);
188+
Hyperlink mastodonLink = createFooterLink("Mastodon", StandardActions.OPEN_MASTODON, IconTheme.JabRefIcons.MASTODON);
189+
Hyperlink linkedInLink = createFooterLink("LinkedIn", StandardActions.OPEN_LINKEDIN, IconTheme.JabRefIcons.LINKEDIN);
190+
Hyperlink donationLink = createFooterLink("Donation", StandardActions.DONATE, IconTheme.JabRefIcons.DONATE);
191191

192192
iconLinksContainer.getChildren().addAll(onlineHelpLink, forumLink, mastodonLink, linkedInLink, donationLink);
193193

194194
HBox textLinksContainer = new HBox(15);
195195
textLinksContainer.setAlignment(Pos.CENTER);
196196

197-
Hyperlink devVersionLink = createFooterLink(Localization.lang("Download Development version"), StandardActions.OPEN_DEV_VERSION_LINK, null);
198-
Hyperlink changelogLink = createFooterLink(Localization.lang("CHANGELOG"), StandardActions.OPEN_CHANGELOG, null);
197+
Hyperlink devVersionLink = createFooterLink("Download Development version", StandardActions.OPEN_DEV_VERSION_LINK, null);
198+
Hyperlink changelogLink = createFooterLink("CHANGELOG", StandardActions.OPEN_CHANGELOG, null);
199199

200200
textLinksContainer.getChildren().addAll(devVersionLink, changelogLink);
201201

202202
HBox versionContainer = new HBox(15);
203203
versionContainer.setAlignment(Pos.CENTER);
204-
Label versionLabel = new Label(Localization.lang("Current JabRef Version: ") + buildInfo.version);
204+
Label versionLabel = new Label(Localization.lang("Current JabRef version") + ": " + buildInfo.version);
205205
versionLabel.getStyleClass().add("welcome-footer-version");
206206
versionContainer.getChildren().add(versionLabel);
207207

‎src/main/resources/l10n/JabRef_en.properties

+2
Original file line numberDiff line numberDiff line change
@@ -2877,3 +2877,5 @@ Stay\ on\ top\ of\ your\ literature=Stay on top of your literature
28772877
Welcome\ to\ JabRef=Welcome to JabRef
28782878
Welcome=Welcome
28792879
Open\ welcome\ tab=Open welcome tab
2880+
Current\ JabRef\ version=Current JabRef version
2881+
Community=Community

0 commit comments

Comments
 (0)
Please sign in to comment.