Skip to content
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

GUI: Replace "Close" by "Close library" #10043

Merged
merged 6 commits into from
Jul 1, 2023

Conversation

Luggas4you
Copy link
Contributor

@Luggas4you Luggas4you commented Jun 27, 2023

fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/213

After:
image

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • 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.

@@ -70,7 +70,7 @@ public enum StandardActions implements Action {
EXPORT_SELECTED(Localization.lang("Export selected entries"), KeyBinding.EXPORT_SELECTED),
CONNECT_TO_SHARED_DB(Localization.lang("Connect to shared database"), IconTheme.JabRefIcons.CONNECT_DB),
PULL_CHANGES_FROM_SHARED_DB(Localization.lang("Pull changes from shared database"), KeyBinding.PULL_CHANGES_FROM_SHARED_DATABASE),
CLOSE_LIBRARY(Localization.lang("Close"), Localization.lang("Close the current library"), IconTheme.JabRefIcons.CLOSE, KeyBinding.CLOSE_DATABASE),
CLOSE_LIBRARY(Localization.lang("Close library"), Localization.lang("Close the current library"), IconTheme.JabRefIcons.CLOSE, KeyBinding.CLOSE_DATABASE),
Copy link
Member

Choose a reason for hiding this comment

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

you will need to fix this in en.properties as well. file https://devdocs.jabref.org/code-howtos/localization.html

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is this one:
image

So I just delete this one:
image
?

Copy link
Member

@Siedlerchr Siedlerchr Jun 27, 2023

Choose a reason for hiding this comment

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

Add a new one with close library. I guess Close is used in other parts of the GUI as well.
Just run LocalizationConsistencyTest it will tell you
Edit// yes you can remove "Close" then

@ThiloteE
Copy link
Member

ThiloteE commented Jun 27, 2023

Please add following info to the pull-request comment:

  1. Link the issue from melting pot with github syntax similar to fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/10043. It is unclear which issue you mean. Also, melting-pot issues are hidden from view for non-admins.
  2. If it is a GUI change, please add pictures from "before" and "after".

@Siedlerchr
Copy link
Member

and don't forget a changelog entry :)

CHANGELOG.md Outdated
@@ -26,6 +26,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve

### Changed

- We replaced "Close" by "Close library" and placed it after "Save all" in the File tab. [#10043] (https://github.com/JabRef/jabref/pull/10043)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- We replaced "Close" by "Close library" and placed it after "Save all" in the File tab. [#10043] (https://github.com/JabRef/jabref/pull/10043)
- We replaced "Close" by "Close library" and placed it after "Save all" in the File menu. [#10043] (https://github.com/JabRef/jabref/pull/10043)

Copy link
Member

Choose a reason for hiding this comment

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

and no space after the []and the round ()ones

@Luggas4you
Copy link
Contributor Author

Luggas4you commented Jul 1, 2023

Applied all the suggestions. Code should be looking good now.

@ThiloteE ThiloteE changed the title Small gui change GUI: Replace "Close" by "Close library" Jul 1, 2023
@ThiloteE ThiloteE added the ui label Jul 1, 2023
@calixtus calixtus merged commit c98d078 into JabRef:main Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants