From aca0f41951f46ef98bb039bb3636e9c4648ca388 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 5 Jan 2014 18:36:18 +0530 Subject: [PATCH] =?UTF-8?q?Add=20L=C2=B4=20and=20D=C2=B4=20as=20recognized?= =?UTF-8?q?=20articles=20when=20automatically=20computing=20sort=20strings?= =?UTF-8?q?=20for=20French.=20Fixes=20#1264172=20[list=20of=20words=20cons?= =?UTF-8?q?ider=20as=20"articles"=20for=20sort=20in=20french](https://bugs?= =?UTF-8?q?.launchpad.net/calibre/+bug/1264172)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/default_tweaks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index a3008d7a5d..207137914c 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -223,8 +223,8 @@ per_language_title_sort_articles = { 'spa' : (r'El\s+', r'La\s+', r'Lo\s+', r'Los\s+', r'Las\s+', r'Un\s+', r'Una\s+', r'Unos\s+', r'Unas\s+'), # French - 'fra' : (r'Le\s+', r'La\s+', r"L'", r'Les\s+', r'Un\s+', r'Une\s+', - r'Des\s+', r'De\s+La\s+', r'De\s+', r"D'"), + 'fra' : (r'Le\s+', r'La\s+', r"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´'), # Italian 'ita' : (r'Lo\s+', r'Il\s+', r"L'", r'La\s+', r'Gli\s+', r'I\s+', r'Le\s+', ),