• Tor Lillqvist's avatar
    Be less eager to use a fallback in SfxViewShell::SetLOKLanguageTag() · e07f85a6
    Tor Lillqvist yazdı
    If the fallback language tag based on available localisations would
    have the same language as the original Bcp47 tag string, use a tag
    based on the original.
    
    For example, if the user locale is 'de-CH', the localisation for plain
    'de' will be used automatically anyway, without making the LOK
    language tag 'de' which would actually end up being stored as 'de-DE'
    and thus be misleading.
    
    We will need to know that it's the 'de-CH' locale we are actually
    working with when handling Swiss German translations by replacing 'ß'
    characters in a generic German translation with 'ss'.
    
    Do it only when comphelper::LibreOfficeKit::isActive() to avoid
    modifying behaviour in the "normal" cases.
    
    Change-Id: Ib5bdfe07fd53251b42122389cb81782ef87b65c5
    Reviewed-on: https://gerrit.libreoffice.org/63446
    Tested-by: Jenkins
    Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
    e07f85a6
Adı
Son kayıt (commit)
Son güncelleme
..
classification Loading commit data...
doc Loading commit data...
emojiconfig Loading commit data...
inc Loading commit data...
qa Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
AllLangMoTarget_sfx2.mk Loading commit data...
CppunitTest_sfx2_classification.mk Loading commit data...
CppunitTest_sfx2_controlleritem.mk Loading commit data...
CppunitTest_sfx2_dialogs_test.mk Loading commit data...
CppunitTest_sfx2_metadatable.mk Loading commit data...
CppunitTest_sfx2_misc.mk Loading commit data...
CustomTarget_classification.mk Loading commit data...
JunitTest_sfx2_complex.mk Loading commit data...
JunitTest_sfx2_unoapi.mk Loading commit data...
Library_sfx.mk Loading commit data...
Makefile Loading commit data...
Module_sfx2.mk Loading commit data...
Package_classification.mk Loading commit data...
Package_emoji.mk Loading commit data...
PythonTest_sfx2_python.mk Loading commit data...
README Loading commit data...
UIConfig_sfx.mk Loading commit data...