From 418d6ba07b1305fc4ae68386318f6ad3f08cc8b8 Mon Sep 17 00:00:00 2001 From: penicillin0 Date: Tue, 14 Dec 2021 21:43:27 +0900 Subject: [PATCH 1/2] make _locale file --- public/_locales/en/messages.json | 5 +++++ public/_locales/ja/messages.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 public/_locales/en/messages.json create mode 100644 public/_locales/ja/messages.json diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json new file mode 100644 index 0000000..1cd233e --- /dev/null +++ b/public/_locales/en/messages.json @@ -0,0 +1,5 @@ +{ + "appDescription": { + "message": "A chrome extension for Customizing list marker of Scrapbox." + } +} diff --git a/public/_locales/ja/messages.json b/public/_locales/ja/messages.json new file mode 100644 index 0000000..6570aef --- /dev/null +++ b/public/_locales/ja/messages.json @@ -0,0 +1,5 @@ +{ + "appDescription": { + "message": "Scrapboxのリストマーカーをカスタマイズするための拡張機能です。" + } +} From d67cfb4b238f8e516ba8659dd02dbd1d632f24d0 Mon Sep 17 00:00:00 2001 From: penicillin0 Date: Tue, 14 Dec 2021 21:43:38 +0900 Subject: [PATCH 2/2] set manidest internationalisation --- public/manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/manifest.json b/public/manifest.json index f95474f..7566528 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,8 @@ { "name": "Scrapbox List Marker", - "description": "Customize the scrapbox list marker.", + "description": "__MSG_appDescription__", "version": "1.3.0", + "default_locale": "en", "manifest_version": 3, "action": {