From e077b319a00a01e0a20495dc8b97d4038bec9985 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Oct 2021 01:34:23 +0900 Subject: [PATCH] =?UTF-8?q?refactor(client):=20=E3=83=80=E3=83=9F=E3=83=BC?= =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=9D=E3=83=BC=E3=83=8D=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=82=92=E4=BD=BF=E3=81=A3=E3=81=A6=E3=83=8E=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=83=97=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 2 +- src/client/components/note-preview.vue | 98 ++++++++++++++++++++++++++ src/client/components/post-form.vue | 18 ++--- 3 files changed, 103 insertions(+), 15 deletions(-) create mode 100644 src/client/components/note-preview.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 311176818..358da897d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -766,7 +766,7 @@ middle: "中" low: "低" emailNotConfiguredWarning: "メールアドレスの設定がされていません。" ratio: "比率" -notePreview: "ノートをプレビュー" +previewNoteText: "本文をプレビュー" customCss: "カスタムCSS" customCssWarn: "この設定は必ず知識のある方が行ってください。不適切な設定を行うとクライアントが正常に使用できなくなる恐れがあります。" global: "グローバル" diff --git a/src/client/components/note-preview.vue b/src/client/components/note-preview.vue new file mode 100644 index 000000000..a474a0134 --- /dev/null +++ b/src/client/components/note-preview.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue index 3b8db2109..7b4c5db46 100644 --- a/src/client/components/post-form.vue +++ b/src/client/components/post-form.vue @@ -17,7 +17,7 @@ - + @@ -41,7 +41,7 @@ - +