summaryrefslogtreecommitdiffstats
path: root/lib/db/git@git.beyermatthi.as:syncthing
diff options
context:
space:
mode:
authortomasz1986 <twilczynski@naver.com>2024-08-31 22:47:10 +0200
committerGitHub <noreply@github.com>2024-08-31 22:47:10 +0200
commit9aa2d2c92f64aeded2bed3042031d5f615a71219 (patch)
tree7544e1d0a0b8838a8bbc4eca5cd83e4a3425be76 /lib/db/git@git.beyermatthi.as:syncthing
parentd1c5100c98b2f3677c90b341cdd1f9271ae4d7dc (diff)
gui: Fix incorrect UI language auto detection (fixes #9668) (#9669)HEADrelease-nightlymain
gui: Fix incorrect UI language auto detection (fixes #9668) Currently, the code only checks whether the detected language partially matches one of the available languages. This means that if the detected language is "fi" but among the available languages there is only "fil" and no "fi", then it will match "fi" with "fil", even though the two are completely different languages. With this change, the matching is only done when there is a hyphen in the language code, e.g. "en" will match with "en-US". Signed-off-by: Tomasz WilczyƄski <twilczynski@naver.com>
Diffstat (limited to 'lib/db/git@git.beyermatthi.as:syncthing')
0 files changed, 0 insertions, 0 deletions