From e2db2de68bd1b4b88b1893acf18e2c85e841adee Mon Sep 17 00:00:00 2001 From: yudejp Date: Tue, 25 May 2021 16:47:04 +0900 Subject: [PATCH] Show nothing when nothing playing --- locales/en/common.json | 3 +-- locales/ja/common.json | 3 +-- pages/components/DiscordPlaying.js | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/locales/en/common.json b/locales/en/common.json index 5ffa50e..45b7eca 100644 --- a/locales/en/common.json +++ b/locales/en/common.json @@ -2,6 +2,5 @@ "footer": "This page is licensed under the MIT License.", "source": "Source code", "tos": "yude.jp Terms of Service", - "yes_playing": "Playing {{playing}}", - "no_playing": "Nothing playing" + "yes_playing": "Playing {{playing}}" } \ No newline at end of file diff --git a/locales/ja/common.json b/locales/ja/common.json index b8350d6..4fb0686 100644 --- a/locales/ja/common.json +++ b/locales/ja/common.json @@ -2,6 +2,5 @@ "footer": "このページは MIT License の下でライセンスされています。", "source": "ソースコード", "tos": "yude.jp サービス利用規約", - "yes_playing": "{{playing}} をプレイ中", - "no_playing": "何もプレイしていません" + "yes_playing": "{{playing}} をプレイ中" } \ No newline at end of file diff --git a/pages/components/DiscordPlaying.js b/pages/components/DiscordPlaying.js index 12835ec..56f4126 100644 --- a/pages/components/DiscordPlaying.js +++ b/pages/components/DiscordPlaying.js @@ -20,7 +20,7 @@ const App = () => { if (playing){ return

{yes_playing}

}else{ - return

{no_playing}

+ return

} };