kopia lustrzana https://github.com/hholzgra/maposmatic/
fix broken language sorting (Issue #106)
needs some more love to e.g. have "Österreich" at the correct sorting position (not that for Austria) but works for nowsite-osm-baustelle
rodzic
f704b6c264
commit
1afc0f6f25
|
@ -311,8 +311,9 @@ MAP_LANGUAGES = {
|
||||||
# "C": _(u"No localization"),
|
# "C": _(u"No localization"),
|
||||||
}
|
}
|
||||||
|
|
||||||
MAP_LANGUAGES_LIST= sorted(MAP_LANGUAGES.items(), key=lambda p: p[1])
|
MAP_LANGUAGES_LIST= list(MAP_LANGUAGES.items())
|
||||||
MAP_LANGUAGES_LIST.append(("C", _(u"No localization")))
|
#MAP_LANGUAGES_LIST= sorted(MAP_LANGUAGES.items(), key=lambda p: p[1]) # See issue #106
|
||||||
|
#MAP_LANGUAGES_LIST.append(("C", _(u"No localization")))
|
||||||
|
|
||||||
# Job page refresh frequency, in seconds, for when the job is waiting in queue
|
# Job page refresh frequency, in seconds, for when the job is waiting in queue
|
||||||
# and when the job is currently being rendered.
|
# and when the job is currently being rendered.
|
||||||
|
|
Ładowanie…
Reference in New Issue