Skip to content

Refine text for update available #13010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ public NewVersionDialog(Version currentVersion,
Button defaultButton = (Button) this.getDialogPane().lookupButton(btnDownloadUpdate);
defaultButton.setDefaultButton(true);

Hyperlink lblMoreInformation = new Hyperlink(Localization.lang("To see what is new view the changelog."));
Hyperlink lblMoreInformation = new Hyperlink(Localization.lang("See what's new"));
lblMoreInformation.setOnAction(event ->
NativeDesktop.openBrowserShowPopup(latestVersion.getChangelogUrl(), dialogService, externalApplicationsPreferences)
);

VBox container = new VBox(
new Label(Localization.lang("A new version of JabRef has been released.")),
new Label(Localization.lang("Installed version") + ": " + currentVersion.getFullVersion()),
new Label(Localization.lang("A new version of JabRef is available!")),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The label text ends with an exclamation mark, which should be avoided as it is more for screaming. A period should be used instead.

new Label(Localization.lang("Latest version") + ": " + latestVersion.getFullVersion()),
new Label(Localization.lang("Installed version") + ": " + currentVersion.getFullVersion()),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels should not end with a colon. The colon should be removed to follow the guidelines for label text formatting.

lblMoreInformation
);
getDialogPane().setContent(container);
Expand Down