From 84205d79cdd9abae20629ab736194938f0c8cdd9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 2 Jul 2014 12:31:57 +0530 Subject: [PATCH] Recognize leading articles for the Esperanto language when auto-generating title sorts. Fixes #1336639 [Esperanto alphabetization](https://bugs.launchpad.net/calibre/+bug/1336639) --- resources/default_tweaks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index bff4ce3e72..d4eb5141cf 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -219,6 +219,10 @@ save_template_title_series_sorting = 'library_order' per_language_title_sort_articles = { # English 'eng' : (r'A\s+', r'The\s+', r'An\s+'), + + # Esperanto + 'epo': (r'La\s+', r"L'", 'L\xb4'), + # Spanish '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+'),