This commit is contained in:
syuilo 2018-04-15 05:57:30 +09:00
parent f78ae399f2
commit d3b3a7fc4e
4 changed files with 551 additions and 640 deletions

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@ const loadLang = lang => yaml.safeLoad(
const native = loadLang('ja');
const langs = {
//'en': loadLang('en'),
'en': loadLang('en'),
'ja': native
};

View file

@ -33,8 +33,6 @@ common:
confused: "こまこまのこまり"
pudding: "Pudding"
input-message-here: "ここにメッセージを入力"
send: "送信"
delete: "削除"
loading: "読み込み中"
ok: "わかった"
@ -78,6 +76,8 @@ common/views/components/messaging-room.vue:
new-message: "新しいメッセージがあります"
common/views/components/messaging-room.form.vue:
input-message-here: "ここにメッセージを入力"
send: "送信"
attach-from-local: "PCからファイルを添付する"
attach-from-drive: "ドライブからファイルを添付する"

View file

@ -8,12 +8,12 @@
ref="textarea"
@keypress="onKeypress"
@paste="onPaste"
placeholder="%i18n:common.input-message-here%"
placeholder="%i18n:@input-message-here%"
v-autocomplete="'text'"
></textarea>
<div class="file" @click="file = null" v-if="file">{{ file.name }}</div>
<mk-uploader ref="uploader" @uploaded="onUploaded"/>
<button class="send" @click="send" :disabled="!canSend || sending" title="%i18n:common.send%">
<button class="send" @click="send" :disabled="!canSend || sending" title="%i18n:@send%">
<template v-if="!sending">%fa:paper-plane%</template><template v-if="sending">%fa:spinner .spin%</template>
</button>
<button class="attach-from-local" @click="chooseFile" title="%i18n:@attach-from-local%">