syncthing/gui/default/syncthing
tomasz1986 c396124bc9
gui: Don't use italic text for CJK languages (#8172)
Even though technically possible, CJK languages normally don't use
italic text at all, as not only does it make the characters/letters look
unnatural, but also, in the case of complex characters, unreadable too.
For these reasons, it is usually recommended not to use the italic font
style at all [1][2].

This commit changes the default font-style of the i element for Chinese,
Japanese, and Korean langauge to "normal" instead of "italic". In order
to do so, the HTML lang attribute is also changed following each change
of the GUI language.

[1] https://bobtung.medium.com/best-practice-in-chinese-layout-f933aff1728f
[2] https://devblogs.microsoft.com/oldnewthing/20060914-02/?p=29743

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-02-08 07:07:22 +01:00
..
core gui: Don't use italic text for CJK languages (#8172) 2022-02-08 07:07:22 +01:00
development gui: Reformat HTML & JS for consistent white space 2018-12-25 14:26:46 +01:00
device gui: Make device ID read-only and hide "nearby devices" when adding a new pending device (fixes #8083) (#8091) 2022-01-28 09:15:56 +01:00
folder gui: Fix and align folder editing states (fixes #8145) (#8147) 2022-01-30 17:43:39 +01:00
settings gui: Generate version-specific documentation link URLs (#8108) 2022-01-24 19:36:11 +01:00
transfer all: Remove untrusted feature flag (fixes #109) (#7567) 2021-04-13 10:12:56 +02:00
usagereport lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
app.js gui: Refactor to make encryption diff smaller (#7049) 2020-10-23 08:27:02 +02:00