Add title on new toot

This commit is contained in:
AkiraFukushima 2018-08-21 09:18:11 +09:00
parent f99fe3d99f
commit 48f1a43075
7 changed files with 38 additions and 10 deletions

View File

@ -127,7 +127,11 @@
"toot": "Toot", "toot": "Toot",
"close_confirm": "Möchtest du wirklich schließen?", "close_confirm": "Möchtest du wirklich schließen?",
"close_confirm_ok": "Schließen", "close_confirm_ok": "Schließen",
"close_confirm_cancel": "Abbrechen" "close_confirm_cancel": "Abbrechen",
"add_image": "Bild hinzufügen",
"change_visibility": "Sichtbarkeit ändern",
"add_cw": "Inhalt hinzufügen Warnung",
"change_sensitive": "Ändern Sie empfindlich"
}, },
"jump": { "jump": {
"jump_to": "Springe zu..." "jump_to": "Springe zu..."

View File

@ -127,7 +127,11 @@
"toot": "Toot", "toot": "Toot",
"close_confirm": "Are you sure to close new toot?", "close_confirm": "Are you sure to close new toot?",
"close_confirm_ok": "OK", "close_confirm_ok": "OK",
"close_confirm_cancel": "Cancel" "close_confirm_cancel": "Cancel",
"add_image": "Add images",
"change_visibility": "Change visibility",
"add_cw": "Add contents warning",
"change_sensitive": "Change sensitive"
}, },
"jump": { "jump": {
"jump_to": "Jump to..." "jump_to": "Jump to..."

View File

@ -127,7 +127,11 @@
"toot": "Pouet!", "toot": "Pouet!",
"close_confirm": "Êtes-vous certain de vouloir fermer ce nouveau pouet ?", "close_confirm": "Êtes-vous certain de vouloir fermer ce nouveau pouet ?",
"close_confirm_ok": "Oui", "close_confirm_ok": "Oui",
"close_confirm_cancel": "Annuler" "close_confirm_cancel": "Annuler",
"add_image": "Ajouter une image",
"change_visibility": "Changer la visibilité",
"add_cw": "Ajouter un avertissement de contenu",
"change_sensitive": "Changer sensible"
}, },
"jump": { "jump": {
"jump_to": "Aller à..." "jump_to": "Aller à..."

View File

@ -127,7 +127,11 @@
"toot": "トゥート!", "toot": "トゥート!",
"close_confirm": "本当に閉じますか?", "close_confirm": "本当に閉じますか?",
"close_confirm_ok": "閉じる", "close_confirm_ok": "閉じる",
"close_confirm_cancel": "キャンセル" "close_confirm_cancel": "キャンセル",
"add_image": "画像を添付",
"change_visibility": "プライバシー設定",
"add_cw": "閲覧注意を追加",
"change_sensitive": "メディアの閲覧注意設定"
}, },
"jump": { "jump": {
"jump_to": "移動..." "jump_to": "移動..."

View File

@ -127,7 +127,11 @@
"toot": "툿", "toot": "툿",
"close_confirm": "정말로 툿 작성을 그만두시겠습니까?", "close_confirm": "정말로 툿 작성을 그만두시겠습니까?",
"close_confirm_ok": "예", "close_confirm_ok": "예",
"close_confirm_cancel": "취소" "close_confirm_cancel": "취소",
"add_image": "내용 추가 경고",
"change_visibility": "공개 설정 변경",
"add_cw": "내용 추가 경고",
"change_sensitive": "민감한 변경"
}, },
"jump": { "jump": {
"jump_to": "이동하기" "jump_to": "이동하기"

View File

@ -126,7 +126,11 @@
"toot": "Wyślij", "toot": "Wyślij",
"close_confirm": "Czy na pewno chcesz porzucić tworzenie wpisu?", "close_confirm": "Czy na pewno chcesz porzucić tworzenie wpisu?",
"close_confirm_ok": "OK", "close_confirm_ok": "OK",
"close_confirm_cancel": "Anuluj" "close_confirm_cancel": "Anuluj",
"add_image": "Dodaj obraz",
"change_visibility": "Zmień widoczność",
"add_cw": "Dodaj ostrzeżenie zawartości",
"change_sensitive": "Zmień wrażliwy"
}, },
"jump": { "jump": {
"jump_to": "Przejdź do…" "jump_to": "Przejdź do…"

View File

@ -24,12 +24,16 @@
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<div class="upload-image"> <div class="upload-image">
<el-button size="small" type="text" @click="selectImage"><icon name="camera"></icon></el-button> <el-button size="small" type="text" @click="selectImage" :title="$t('modals.new_toot.add_image')">
<icon name="camera"></icon>
</el-button>
<input name="image" type="file" class="image-input" ref="image" @change="onChangeImage" :key="attachedMediaId"/> <input name="image" type="file" class="image-input" ref="image" @change="onChangeImage" :key="attachedMediaId"/>
</div> </div>
<div class="privacy"> <div class="privacy">
<el-dropdown trigger="click" @command="changeVisibility"> <el-dropdown trigger="click" @command="changeVisibility">
<el-button size="small" type="text"><icon :name="visibilityIcon"></icon></el-button> <el-button size="small" type="text" :title="$t('modals.new_toot.change_visibility')">
<icon :name="visibilityIcon"></icon>
</el-button>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="visibilityList.Public.value"> <el-dropdown-item :command="visibilityList.Public.value">
<icon name="globe" class="privacy-icon"></icon> <icon name="globe" class="privacy-icon"></icon>
@ -51,13 +55,13 @@
</el-dropdown> </el-dropdown>
</div> </div>
<div class="sensitive" v-show="attachedMedias.length > 0"> <div class="sensitive" v-show="attachedMedias.length > 0">
<el-button size="small" type="text" @click="changeSensitive"> <el-button size="small" type="text" @click="changeSensitive" :title="$t('modals.new_toot.change_sensitive')">
<icon name="eye-slash" v-show="sensitive"></icon> <icon name="eye-slash" v-show="sensitive"></icon>
<icon name="eye" v-show="!sensitive"></icon> <icon name="eye" v-show="!sensitive"></icon>
</el-button> </el-button>
</div> </div>
<div class="content-warning"> <div class="content-warning">
<el-button size="small" type="text" @click="showContentWarning = !showContentWarning"> <el-button size="small" type="text" @click="showContentWarning = !showContentWarning" :title="$t('modals.new_toot.add_cw')">
CW CW
</el-button> </el-button>
</div> </div>