Proper Japanese fonts
This commit is contained in:
parent
983477c354
commit
d9990c162e
2 changed files with 10 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
// Copyright 2015-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
$inter: Inter, 'Helvetica Neue', 'Source Sans Pro', 'Source Han Sans SC',
|
||||
'Source Han Sans CN', 'Hiragino Sans GB', 'Hiragino Kaku Gothic',
|
||||
'Microsoft Yahei UI', Helvetica, Arial, sans-serif;
|
||||
$inter: Inter, 'Helvetica Neue', 'Source Sans Pro', 'SF Pro JP',
|
||||
'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo,
|
||||
'MS Pゴシック', 'Source Han Sans SC', 'Source Han Sans CN',
|
||||
'Hiragino Sans GB', 'Microsoft Yahei UI', 'Helvetica Neue', Helvetica, Arial,
|
||||
sans-serif;
|
||||
|
||||
// -- V3 Colors
|
||||
|
||||
|
|
|
@ -500,6 +500,11 @@ export async function startApp(): Promise<void> {
|
|||
|
||||
window.document.title = window.getTitle();
|
||||
|
||||
document.documentElement.setAttribute(
|
||||
'lang',
|
||||
window.getLocale().replace('_', '-')
|
||||
);
|
||||
|
||||
KeyChangeListener.init(window.textsecure.storage.protocol);
|
||||
window.textsecure.storage.protocol.on('removePreKey', (ourUuid: UUID) => {
|
||||
const uuidKind = window.textsecure.storage.user.getOurUuidKind(ourUuid);
|
||||
|
|
Loading…
Add table
Reference in a new issue