Add ability to use multiple translation locales:

- Add new `artist_locales` setting and remove old `artist_locale`.
- Add new translation locales selector and ordering screen.
- Cycle through selected translation locales until a match is found.
- Update tests.
This commit is contained in:
Bob Swift
2021-09-08 17:32:14 -06:00
parent e8aa0b3cd6
commit 3e5b060a37
8 changed files with 167 additions and 60 deletions

View File

@@ -6,6 +6,7 @@
# Copyright (C) 2017, 2019 Laurent Monin
# Copyright (C) 2018 Wieland Hoffmann
# Copyright (C) 2018-2021 Philipp Wolfer
# Copyright (C) 2021 Bob Swift
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -55,7 +56,7 @@ settings = {
"standardize_instruments": True,
"release_ars": True,
"preferred_release_countries": [],
"artist_locale": 'en',
"artist_locales": ['en'],
}