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

Refine text for update available #13010

merged 2 commits into from
Apr 27, 2025

Conversation

subhramit
Copy link
Member

[Based on internal discussion]
Make the text to invite people to update (or at least check out changes in new version) more convincing.

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • [/] Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • [/] Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (if change is visible to the user)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

Signed-off-by: subhramit <[email protected]>
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.

Signed-off-by: subhramit <[email protected]>
Copy link

trag-bot bot commented Apr 27, 2025

@trag-bot didn't find any issues in the code! ✅✨

Copy link
Contributor

github-actions bot commented Apr 27, 2025

The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build.

@koppor koppor added this pull request to the merge queue Apr 27, 2025
Merged via the queue into main with commit 6547d18 Apr 27, 2025
2 checks passed
@koppor koppor deleted the new-version-text branch April 27, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants