mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-27 10:03:59 +00:00
Merge pull request #252 from Sophist-UK/fix_PR_225_when_locale_not_en
Fix PR #225 when translate language is not en...
This commit is contained in:
@@ -129,7 +129,7 @@ def _translate_artist_node(node):
|
||||
transl, translsort = alias.text, alias.attribs["sort_name"]
|
||||
if alias.attribs.get("primary") == "primary":
|
||||
found_primary = True
|
||||
if lang == "en" and not transl:
|
||||
if not transl:
|
||||
translsort = node.sort_name[0].text
|
||||
transl = translate_from_sortname(node.name[0].text, translsort)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user