From 9158426d0ac8123e982f8747efcc7eae3c27f4b3 Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Mon, 29 Apr 2019 14:51:04 +0900 Subject: [PATCH] Improve usability --- locales/ja-JP.yml | 2 ++ .../views/components/page-editor/page-editor.script-block.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 9a7e68fa41..d9a69931fb 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1906,6 +1906,8 @@ pages: text: "テキスト" multiLineText: "テキスト(複数行)" textList: "テキストのリスト" + _textList: + info: "ひとつひとつを改行で区切ってください" add: "+ 足す" _add: arg1: "A" diff --git a/src/client/app/common/views/components/page-editor/page-editor.script-block.vue b/src/client/app/common/views/components/page-editor/page-editor.script-block.vue index 3122832030..9554c75d04 100644 --- a/src/client/app/common/views/components/page-editor/page-editor.script-block.vue +++ b/src/client/app/common/views/components/page-editor/page-editor.script-block.vue @@ -16,8 +16,8 @@ <section v-else-if="value.type === 'multiLineText'" class="tbwccoaw"> <textarea v-model="value.value"></textarea> </section> - <section v-else-if="value.type === 'textList'" class="frvuzvoi"> - <ui-textarea v-model="value.value"></ui-textarea> + <section v-else-if="value.type === 'textList'" class="tbwccoaw"> + <textarea v-model="value.value" :placeholder="$t('script.blocks._textList.info')"></textarea> </section> <section v-else-if="value.type === 'number'" class="tbwccoaw"> <input v-model="value.value" type="number"/>