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",
"close_confirm": "Möchtest du wirklich 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_to": "Springe zu..."

View File

@ -127,7 +127,11 @@
"toot": "Toot",
"close_confirm": "Are you sure to close new toot?",
"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_to": "Jump to..."

View File

@ -127,7 +127,11 @@
"toot": "Pouet!",
"close_confirm": "Êtes-vous certain de vouloir fermer ce nouveau pouet ?",
"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_to": "Aller à..."

View File

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

View File

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

View File

@ -126,7 +126,11 @@
"toot": "Wyślij",
"close_confirm": "Czy na pewno chcesz porzucić tworzenie wpisu?",
"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_to": "Przejdź do…"

View File

@ -24,12 +24,16 @@
</div>
<div slot="footer" class="dialog-footer">
<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"/>
</div>
<div class="privacy">
<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-item :command="visibilityList.Public.value">
<icon name="globe" class="privacy-icon"></icon>
@ -51,13 +55,13 @@
</el-dropdown>
</div>
<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" v-show="!sensitive"></icon>
</el-button>
</div>
<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
</el-button>
</div>