From 2620f6685a3b12415255ccb412c9ecc8626a2eec Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 27 Jan 2022 22:05:47 +0530 Subject: [PATCH] Dont remove articles for titles in the polish language. Fixes #1959220 [Wrong/Unnecessary Title Sorting of Polish Titles Begninning with Word "A"](https://bugs.launchpad.net/calibre/+bug/1959220) --- resources/default_tweaks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index 32e15e0418..e36b98d201 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -250,6 +250,8 @@ per_language_title_sort_articles = { # French 'fra' : (r'Le\s+', r'La\s+', r"L'", u'L´', u'L’', r'Les\s+', r'Un\s+', r'Une\s+', r'Des\s+', r'De\s+La\s+', r'De\s+', r"D'", u'D´', u'L’'), + # Polish + 'pol': (), # Italian 'ita': ('Lo\\s+', 'Il\\s+', "L'", 'L´', 'La\\s+', 'Gli\\s+', 'I\\s+', 'Le\\s+', 'Uno\\s+', 'Un\\s+', 'Una\\s+', "Un'",