- a file path provided on the command line now will now trigger the import
process
- if anki was already running on win/lin, send the import to that process
- if no profile was open, wait until profile opened before importing
- don't do that for password-protected profiles, as it could be used abusively
in a school environment
- drop the old pid-based instance check
- set the default webview font to the system font
- remove explicit font size settings in favour of the default
- remove card list size customization in favour of the default
Instead of maintaining a list of recent colours, remember last colour and
provide the option of picking a different colour, like in MS Word/LibreOffice.
Because Qt translations need to be initialized before any widgets are created,
and because the Qt language needs to match the gettext language in order for
translated shortcuts to work, per-profile language settings aren't possible.
So instead of storing the language in the profile, we use
pm.meta['defaultLang'] for all profiles and initialize language handling in
__init__.py
The language selection in the preferences has been removed, because in a
school setting a student fiddling with the language could potentially cause
other students to be unable to navigate the UI. Instead, Anki will accept
-l/--lang passed on the command line to override the original language chosen
at first program startup.