anki-custom-shortcuts
anki-custom-shortcuts copied to clipboard
Reduce console noise
The PR contains the following:
- Strip use of anki.lang._() as it in current Anki implementation only prints a deprecation message to console and returns the string untouched.
- Remove anki.utils.json import as it is not used and the import results in a warning in the console.
- Change tr(TR.MESSAGE) to tr.message() as per Anki recommendations.
- Change Qt Key constants to new format (Qt.Key_Return ⇒ Qt.Key.Key_Return), however string version is not changed (as it is likely used in other places.
Added the new browser bury
shortcut (ctrl+shift+j
)