Fix incorrect language tags feeding to loleaflet
loleaflet expect a BCP47 language tag syntax while OC.getLocale returns
a lanugage tag where subtags are separated by '_' instead of '-'
(BCP47).
It seems safe to just replace '_' with '-' before feeding it to
loleaflet
(cherry picked from commit 5596ae17ce
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
pull/61/head
parent
674a6cb384
commit
f790f640b1
Loading…
Reference in New Issue