From 4748d72d5941e847b4e200d4f3b63498b373d496 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 26 Nov 2023 20:11:26 +0700 Subject: [PATCH] Update translations --- better-xcloud.user.js | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/better-xcloud.user.js b/better-xcloud.user.js index 4768346..e9098ff 100644 --- a/better-xcloud.user.js +++ b/better-xcloud.user.js @@ -618,7 +618,7 @@ const Translations = { }, "enable-remote-play-feature": { "de-DE": "\"Remote Play\" Funktion aktivieren", - "en-US": "Enable \"Remote Play\" feature", + "en-US": "Enable the \"Remote Play\" feature", "ja-JP": "リモートプレイ機能を有効化", "pl-PL": "Włącz funkcję \"Gra zdalna\"", "tr-TR": "\"Uzaktan Oynama\" özelliğini aktive et", @@ -925,7 +925,7 @@ const Translations = { "de-DE": "Ausgeschaltet", "en-US": "Powered off", "it-IT": "Spento", - "ja-JP": "電源オフ", + "ja-JP": "本体オフ", "pl-PL": "Zasilanie wyłączone", "pt-BR": "Desligado", "tr-TR": "Kapalı", @@ -936,7 +936,7 @@ const Translations = { "de-DE": "Eingeschaltet", "en-US": "Powered on", "it-IT": "Acceso", - "ja-JP": "電源オン", + "ja-JP": "本体オン", "pl-PL": "Zasilanie włączone", "pt-BR": "Ligado", "tr-TR": "Açık", @@ -2106,17 +2106,6 @@ class RemotePlay { RemotePlay.#$content.parentElement.replaceChild($fragment, RemotePlay.#$content); } - static #onLoad() { - const CE = createElement; - const $ui = CE('div', {'class': 'bx-container'}, - CE('h2', {}, __('remote-play')), - CE('div', {'id': 'bxUi'}, __('getting-consoles-list')), - ); - - const $landingPageHeader = document.querySelector('h2[class*=LandingPage-module__header]'); - $landingPageHeader.parentElement.insertBefore($ui, $landingPageHeader); - } - static detect() { if (!PREFS.get(Preferences.REMOTE_PLAY_ENABLED)) { return;