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

Integrity hotkey #2198

Merged
merged 9 commits into from
Oct 28, 2016
Merged

Integrity hotkey #2198

merged 9 commits into from
Oct 28, 2016

Conversation

mairdl
Copy link
Contributor

@mairdl mairdl commented Oct 26, 2016

The "Check integrity"-action seems to be in need of a hotkey. (See #1908) I used CTRL + F8 for this action, because F8 is currently used to Cleanup entries. These 2 functions seem to be related so it would make sense to group them.

  • Change in CHANGELOG.md described
  • Manually tested changed features in running JabRef
  • If you changed the localization: Did you run gradle localizationUpdate?
  • internal qs

Copy link
Member

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@tschechlovdev tschechlovdev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@tschechlovdev tschechlovdev added status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers and removed stupro-ready-for-internal-review labels Oct 26, 2016
@@ -13,6 +13,7 @@
BACK("Back", Localization.lang("Back"), "alt LEFT"),
CLEANUP(
"Cleanup", Localization.lang("Cleanup entries"), "F8"),
CHECK_INTEGRITY("Check integrity", Localization.lang("Check integrity"), "ctrl F8"),
Copy link
Member

Choose a reason for hiding this comment

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

What was our last consensus about showing menu entries in the hotkey dialog? I think, I opted for using Localization.lang, but we might have decided to re-translate these entries. @boceckts Do you remember? I think, we had the discussion. @tobiasdiez Is that documented in our CodeHowTo in the Wiki?

Copy link
Contributor

Choose a reason for hiding this comment

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

The thing I rember was about the keybinding category where we should use Localization.menuTitle as you wrote in #1390 (comment). This affects only the javafx branch so far. Other than that I don't remeber a discussion about the menu entries in the hotkey dialog. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the KeyBinding.java only Localization.lang gets used. So I guess it must be right.

@@ -66,6 +66,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- [koppor#61](https://github.com/koppor/jabref/issues/61) Display gray background text in "Author" and "Editor" field to assist newcomers
- Updated Vietnam translation
- Added greyed-out suggestion for `year`/`date`/`url` fields
- [#1908] (https://github.com/JabRef/jabref/issues/1908) Add a shortcut for check integrity
Copy link
Member

Choose a reason for hiding this comment

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

Why is the new shortcut not listed here?

Copy link
Member

Choose a reason for hiding this comment

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

Why is there a space between the issue and the link?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Must have hapened out of habit, I'l fix your comments.

@mairdl mairdl changed the title [WIP] Integrity hotkey Integrity hotkey Oct 26, 2016
@@ -2300,3 +2300,5 @@ Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover
Firstname_Lastname=

This_might_be_caused_by_reaching_the_traffic_limitation_of_Google_Scholar_(see_'Help'_for_details).=

Check_integrity=?????_???????
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look right here?

@koppor
Copy link
Member

koppor commented Oct 27, 2016 via email

@mairdl
Copy link
Contributor Author

mairdl commented Oct 27, 2016

I changed it to menuTitle and removed the unused keys.

@stefan-kolb stefan-kolb merged commit 7b07f9e into JabRef:master Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants