From d72c816af93da0065060b31694f0327b675f1341 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 8 Dec 2021 14:23:05 -0800 Subject: [PATCH] Revert "Proper Japanese fonts" This reverts commit d9990c162ee37e561d1a86762d865ad9beb83ac3. --- stylesheets/_variables.scss | 8 +++----- ts/background.ts | 5 ----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss index a46089d13a..bd0b5b5a83 100644 --- a/stylesheets/_variables.scss +++ b/stylesheets/_variables.scss @@ -1,11 +1,9 @@ // Copyright 2015-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only -$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; +$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; // -- V3 Colors diff --git a/ts/background.ts b/ts/background.ts index 77d758cbff..6b2a9e574c 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -455,11 +455,6 @@ export async function startApp(): Promise { 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);