Narrative web: Sort problem with places. (#856)
* Narrative web: Sort problem with places. Fixes #10868. Places list is not sorted depending on the selected language. If you start gramps in english or another language then try to generated a narrative web report in another language, the navigation alphabet is incorrect. This is true for the place list and the person list. The problem was related to pyICU. * Narrative web: some pylint improvement.
This commit is contained in:
parent
bb255c8529
commit
bb8ce0cce6
@ -517,7 +517,6 @@ def first_letter(string, rlocale=glocale):
|
|||||||
# no special case
|
# no special case
|
||||||
return norm_unicode[0].upper()
|
return norm_unicode[0].upper()
|
||||||
|
|
||||||
dummy_rlocale = rlocale
|
|
||||||
def primary_difference(prev_key, new_key, rlocale=glocale):
|
def primary_difference(prev_key, new_key, rlocale=glocale):
|
||||||
"""
|
"""
|
||||||
The PyICU collation doesn't work if you want to sort in another language
|
The PyICU collation doesn't work if you want to sort in another language
|
||||||
|
Loading…
Reference in New Issue
Block a user