From dd2e9df0238c2ae9497f05f04c6b5d449aedec06 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Tue, 28 Dec 2021 16:37:30 +0000 Subject: [PATCH] add translator notice to jp guide --- site/.vuepress/components/JPTranslatorNotice.vue | 4 ++-- site/ja/guide.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/site/.vuepress/components/JPTranslatorNotice.vue b/site/.vuepress/components/JPTranslatorNotice.vue index 6af6ab6..d319b86 100644 --- a/site/.vuepress/components/JPTranslatorNotice.vue +++ b/site/.vuepress/components/JPTranslatorNotice.vue @@ -44,7 +44,7 @@ export default { }, mounted() { try { - if (localStorage.getItem('notice-dismissed') !== 'y') { + if (localStorage.getItem('jp-translator-notice-dismissed') !== 'y') { this.dismissed = false; } } catch {} @@ -52,7 +52,7 @@ export default { methods: { onDismiss() { try { - localStorage.setItem('notice-dismissed', 'y'); + localStorage.setItem('jp-translator-notice-dismissed', 'y'); this.dismissed = true; } catch {} }, diff --git a/site/ja/guide.md b/site/ja/guide.md index 64866ba..a175fdc 100644 --- a/site/ja/guide.md +++ b/site/ja/guide.md @@ -2,6 +2,8 @@ sidebar: auto --- + + # 導入ガイド