mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Recognize leading articles for the Esperanto language when auto-generating title sorts. Fixes #1336639 [Esperanto alphabetization](https://bugs.launchpad.net/calibre/+bug/1336639)
This commit is contained in:
parent
b4b4a6f179
commit
84205d79cd
@ -219,6 +219,10 @@ save_template_title_series_sorting = 'library_order'
|
|||||||
per_language_title_sort_articles = {
|
per_language_title_sort_articles = {
|
||||||
# English
|
# English
|
||||||
'eng' : (r'A\s+', r'The\s+', r'An\s+'),
|
'eng' : (r'A\s+', r'The\s+', r'An\s+'),
|
||||||
|
|
||||||
|
# Esperanto
|
||||||
|
'epo': (r'La\s+', r"L'", 'L\xb4'),
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
'spa' : (r'El\s+', r'La\s+', r'Lo\s+', r'Los\s+', r'Las\s+', r'Un\s+',
|
'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+'),
|
r'Una\s+', r'Unos\s+', r'Unas\s+'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user