Merge pull request #547 from h3poteto/title

Add title to display description when hover icon
This commit is contained in:
AkiraFukushima 2018-08-21 21:28:47 +09:00 committed by GitHub
commit 8d7292f549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 393 additions and 268 deletions

View File

@ -34,9 +34,15 @@
"jump_to": "Springe zu"
}
},
"global_header": {
"add_new_account": "Neues Konto hinzufügen"
},
"side_menu": {
"profile": "Profil",
"show_profile": "Profil ansehen",
"edit_profile": "Profil bearbeiten",
"collapse": "Zusammenbruch",
"expand": "Erweitern",
"home": "Home",
"notification": "Benachrichtigung",
"favourite": "Favorit",
@ -60,7 +66,9 @@
"title": "Filter",
"placeholder": "Mit regulären Ausdrücken filtern",
"apply": "Übernehmen"
}
},
"new_toot": "Toot",
"reload": "Neu laden"
},
"preferences": {
"title": "Einstellungen",
@ -125,7 +133,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..."
@ -147,13 +159,21 @@
"open_in_browser": "Im Browser öffnen",
"copy_link_to_toot": "Link zum Toot kopieren",
"delete": "Löschen",
"via": "via {{application}}"
"via": "via {{application}}",
"reply": "Antworten",
"reblog": "Reblog",
"fav": "Favorit",
"detail": "Toot details"
}
},
"side_bar": {
"account_profile": {
"follows_you": "Folgt dir",
"doesnt_follow_you": "Folgt dir nicht",
"detail": "Detail",
"follow": "Folgen",
"unfollow": "Nicht folgen",
"follow_requested": "Folgen Sie angefordert",
"open_in_browser": "Im Browser öffnen",
"manage_list_memberships": "Listen-Mitgliedschaften verwalten",
"toots": "Toots",

View File

@ -34,9 +34,15 @@
"jump_to": "Jump to"
}
},
"global_header": {
"add_new_account": "Add new account"
},
"side_menu": {
"profile": "Profile",
"show_profile": "Show profile",
"edit_profile": "Edit profile",
"collapse": "Collapse",
"expand": "Expand",
"home": "Home",
"notification": "Notification",
"favourite": "Favourite",
@ -60,7 +66,9 @@
"title": "Filter",
"placeholder": "Filter out by regular expressions",
"apply": "Apply"
}
},
"new_toot": "Toot",
"reload": "Reload"
},
"preferences": {
"title": "Preferences",
@ -125,7 +133,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..."
@ -147,13 +159,21 @@
"open_in_browser": "Open in Browser",
"copy_link_to_toot": "Copy Link to Toot",
"delete": "Delete",
"via": "via {{application}}"
"via": "via {{application}}",
"reply": "Reply",
"reblog": "Reblog",
"fav": "Favourite",
"detail": "Toot details"
}
},
"side_bar": {
"account_profile": {
"follows_you": "Follows you",
"doesnt_follow_you": "Doesn't follow you",
"detail": "Detail",
"follow": "Follow",
"unfollow": "Unfollow",
"follow_requested": "Follow requested",
"open_in_browser": "Open in Browser",
"manage_list_memberships": "Manage List Memberships",
"toots": "Toots",

View File

@ -34,9 +34,15 @@
"jump_to": "Aller à"
}
},
"global_header": {
"add_new_account": "Ajouter un nouveau compte"
},
"side_menu": {
"profile": "Profil",
"show_profile": "Voir le profil",
"edit_profile": "Éditer mon profil",
"collapse": "Effondrer",
"expand": "Développer",
"home": "Accueil",
"notification": "Notifications",
"favourite": "Favoris",
@ -60,7 +66,9 @@
"title": "Filtrer",
"placeholder": "Filtrer par une expression régulière",
"apply": "Appliquer"
}
},
"new_toot": "Pouet",
"reload": "Recharger"
},
"preferences": {
"title": "Préférences",
@ -125,7 +133,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 à..."
@ -147,13 +159,21 @@
"open_in_browser": "Ouvrir dans un navigateur",
"copy_link_to_toot": "Copier le lien du pouet",
"delete": "Effacer",
"via": "par {{application}}"
"via": "par {{application}}",
"reply": "Répondre",
"reblog": "Du partage du pouet",
"fav": "Préféré",
"detail": "Détails"
}
},
"side_bar": {
"account_profile": {
"follows_you": "Abonné⋅e",
"doesnt_follow_you": "Pas abonné⋅e",
"detail": "Détail",
"follow": "Suivre",
"unfollow": "Ne pas suivre",
"follow_requested": "Suivre demande",
"open_in_browser": "Ouvrir dans un navigateur",
"manage_list_memberships": "Inscriptions aux listes",
"toots": "Pouets",

View File

@ -34,9 +34,15 @@
"jump_to": "ジャンプ"
}
},
"global_header": {
"add_new_account": "アカウントを追加"
},
"side_menu": {
"profile": "プロフィール",
"show_profile": "プロフィール確認",
"edit_profile": "プロフィール編集",
"collapse": "縮小",
"expand": "拡大",
"home": "ホーム",
"notification": "通知",
"favourite": "お気に入り",
@ -60,7 +66,9 @@
"title": "フィルター",
"placeholder": "正規表現でフィルター",
"apply": "適用"
}
},
"new_toot": "トゥート",
"reload": "再読み込み"
},
"preferences": {
"title": "設定",
@ -125,7 +133,11 @@
"toot": "トゥート!",
"close_confirm": "本当に閉じますか?",
"close_confirm_ok": "閉じる",
"close_confirm_cancel": "キャンセル"
"close_confirm_cancel": "キャンセル",
"add_image": "画像を添付",
"change_visibility": "プライバシー設定",
"add_cw": "閲覧注意を追加",
"change_sensitive": "メディアの閲覧注意設定"
},
"jump": {
"jump_to": "移動..."
@ -147,13 +159,21 @@
"open_in_browser": "ブラウザで開く",
"copy_link_to_toot": "コピー",
"delete": "削除する",
"via": "{{application}} より"
"via": "{{application}} より",
"reply": "返信",
"reblog": "ブースト",
"fav": "お気に入り",
"detail": "詳細"
}
},
"side_bar": {
"account_profile": {
"follows_you": "フォローされています",
"doesnt_follow_you": "フォローされていません",
"detail": "詳細",
"follow": "フォローする",
"unfollow": "フォロー解除する",
"follow_requested": "フォロー承認待ち",
"open_in_browser": "ブラウザで開く",
"manage_list_memberships": "リストの管理",
"toots": "トゥート",

View File

@ -34,9 +34,15 @@
"jump_to": "이동하기"
}
},
"global_header": {
"add_new_account": "새 계정 추가"
},
"side_menu": {
"profile": "프로필",
"show_profile": "프로필 보이기",
"edit_profile": "프로필 변경",
"collapse": "무너짐",
"expand": "넓히다",
"home": "홈",
"notification": "알림",
"favourite": "즐겨찾기",
@ -60,7 +66,9 @@
"title": "필터",
"placeholder": "정규식 필터링",
"apply": "적용"
}
},
"new_toot": "툿",
"reload": "다시로드"
},
"preferences": {
"title": "설정",
@ -125,7 +133,11 @@
"toot": "툿",
"close_confirm": "정말로 툿 작성을 그만두시겠습니까?",
"close_confirm_ok": "예",
"close_confirm_cancel": "취소"
"close_confirm_cancel": "취소",
"add_image": "내용 추가 경고",
"change_visibility": "공개 설정 변경",
"add_cw": "내용 추가 경고",
"change_sensitive": "민감한 변경"
},
"jump": {
"jump_to": "이동하기"
@ -147,13 +159,21 @@
"open_in_browser": "브라우저에서 열기",
"copy_link_to_toot": "툿 링크 열기",
"delete": "삭제",
"via": "{{application}}으로 열기"
"via": "{{application}}으로 열기",
"reply": "댓글",
"reblog": "수 없습니다",
"fav": "특히 잘하는",
"detail": "세부 묘사"
}
},
"side_bar": {
"account_profile": {
"follows_you": "사용자를 팔로우하고 있습니다",
"doesnt_follow_you": "사용자를 팔로우하고 있지 않습니다",
"detail": "세부 묘사",
"follow": "따르다",
"unfollow": "팔로우 해제",
"follow_requested": "팔로우하기",
"open_in_browser": "브라우저에서 열기",
"manage_list_memberships": "리스트 멤버 관리",
"toots": "툿",

View File

@ -34,8 +34,15 @@
"jump_to": "Przejdź do"
}
},
"global_header": {
"add_new_account": "Dodaj nowe konto"
},
"side_menu": {
"profile": "Profil",
"show_profile": "Pokaż profil",
"edit_profile": "Edytuj profil",
"collapse": "Zawalić się",
"expand": "Rozszerzać",
"home": "Strona główna",
"notification": "Powiadomienia",
"favourite": "Ulubione",
@ -59,7 +66,9 @@
"title": "Filtruj",
"placeholder": "Filtruj z użyciem wyrażeń regularnych",
"apply": "Zastosuj"
}
},
"new_toot": "Wpisy",
"reload": "Przeładować"
},
"preferences": {
"title": "Preferencje",
@ -124,7 +133,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…"
@ -146,13 +159,21 @@
"open_in_browser": "Otwórz w przeglądarce",
"copy_link_to_toot": "Skopiuj odnośnik do wpisu",
"delete": "Usuń",
"via": "przez {{application}}"
"via": "przez {{application}}",
"reply": "Odpowiadać",
"reblog": "Podbić wpisu",
"fav": "Ulubiony",
"detail": "Szczegół"
}
},
"side_bar": {
"account_profile": {
"follows_you": "Śledzi Cię",
"doesnt_follow_you": "Nie śledzi Cię",
"detail": "Szczegół",
"follow": "Śledzić",
"unfollow": "Nie obserwuj",
"follow_requested": "Śledź prośbę",
"open_in_browser": "Otwórz w przeglądarce",
"manage_list_memberships": "Zarządzaj przynależnością do grup",
"toots": "Wpisy",

View File

@ -20,7 +20,7 @@ export default {
key: 'ko'
},
pl: {
name: 'polski',
name: 'Polski',
key: 'pl'
}
}

View File

@ -13,7 +13,7 @@
<img v-else :src="account.avatar" class="avatar" :title="account.username + '@' + account.domain" />
<span slot="title">{{ account.domain }}</span>
</el-menu-item>
<el-menu-item index="/login" @click="login">
<el-menu-item index="/login" @click="login" :title="$t('global_header.add_new_account')">
<i class="el-icon-plus"></i>
<span slot="new">New</span>
</el-menu-item>

View File

@ -35,7 +35,7 @@
{{ $t('cards.toot.sensitive') }}
</el-button>
<div v-show="isShowAttachments(message)">
<el-button v-show="sensitive(message) && isShowAttachments(message)" class="hide-sensitive" type="text" @click="showAttachments = false">
<el-button v-show="sensitive(message) && isShowAttachments(message)" class="hide-sensitive" type="text" @click="showAttachments = false" :title="$t('cards.toot.hide')">
<icon name="eye" class="hide"></icon>
</el-button>
<div class="media" v-for="media in mediaAttachments(message)">
@ -54,7 +54,7 @@
</span>
</div>
<div class="tool-box">
<el-button type="text" @click="openReply(message)" class="reply">
<el-button type="text" @click="openReply(message)" class="reply" :title="$t('cards.toot.reply')">
<icon name="reply" scale="0.9"></icon>
</el-button>
<el-button v-show="locked(message)" type="text" class="locked">
@ -63,13 +63,13 @@
<el-button v-show="directed(message)" type="text" class="directed">
<icon name="envelope" scale="0.9"></icon>
</el-button>
<el-button v-show="!locked(message)&&!directed(message)" type="text" @click="changeReblog(originalMessage(message))" :class="originalMessage(message).reblogged ? 'reblogged' : 'reblog'">
<el-button v-show="!locked(message)&&!directed(message)" type="text" @click="changeReblog(originalMessage(message))" :class="originalMessage(message).reblogged ? 'reblogged' : 'reblog'" :title="$t('cards.toot.reblog')">
<icon name="retweet" scale="0.9"></icon>
</el-button>
<span class="count">
{{ reblogsCount(message) }}
</span>
<el-button type="text" @click="changeFavourite(originalMessage(message))" :class="originalMessage(message).favourited ? 'favourited animated bounceIn' : 'favourite'">
<el-button type="text" @click="changeFavourite(originalMessage(message))" :class="originalMessage(message).favourited ? 'favourited animated bounceIn' : 'favourite'" :title="$t('cards.toot.fav')">
<icon name="star" scale="0.9"></icon>
</el-button>
<span class="count">
@ -92,7 +92,7 @@
</li>
</ul>
</div>
<el-button slot="reference" type="text">
<el-button slot="reference" type="text" :title="$t('cards.toot.detail')">
<icon name="ellipsis-h" scale="0.9"></icon>
</el-button>
</popper>

View File

@ -26,7 +26,7 @@
</ul>
</div>
<el-button slot="reference" type="text">
<el-button slot="reference" type="text" :title="$t('side_bar.account_profile.detail')">
<icon name="cog" scale="1.4"></icon>
</el-button>
</popper>
@ -35,13 +35,13 @@
<img :src="account.avatar" />
</div>
<div class="follow-status" v-if="relationship !== null && relationship !== '' && account.username!==user.username">
<div v-if="relationship.following" class="unfollow" @click="unfollow(account)">
<div v-if="relationship.following" class="unfollow" @click="unfollow(account)" :title="$t('side_bar.account_profile.unfollow')">
<icon name="user-times" scale="1.5"></icon>
</div>
<div v-else-if="relationship.requested">
<div v-else-if="relationship.requested" :title="$t('side_bar.account_profile.follow_requested')">
<icon name="hourglass" scale="1.5"></icon>
</div>
<div v-else class="follow" @click="follow(account)">
<div v-else class="follow" @click="follow(account)" :title="$t('side_bar.account_profile.follow')">
<icon name="user-plus" scale="1.5"></icon>
</div>
</div>

View File

@ -2,10 +2,10 @@
<div id="header_menu">
<div class="channel">{{ title }}</div>
<div class="tools">
<el-button type="text" class="action" @click="openNewTootModal">
<el-button type="text" class="action" @click="openNewTootModal" :title="$t('header_menu.new_toot')">
<icon name="regular/edit"></icon>
</el-button>
<el-button v-show="reloadable()" type="text" class="action" @click="reload">
<el-button v-show="reloadable()" type="text" class="action" @click="reload" :title="$t('header_menu.reload')">
<icon name="sync-alt"></icon>
</el-button>
<el-popover
@ -24,7 +24,7 @@
</el-form-item>
</el-form>
</div>
<el-button v-show="filterable()" slot="reference" type="text" class="action">
<el-button v-show="filterable()" slot="reference" type="text" class="action" :title="$t('header_menu.filter.title')">
<icon name="sliders-h"></icon>
</el-button>
</el-popover>

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>

View File

@ -6,7 +6,7 @@
</div>
<div class="profile-wide" v-else>
<div>@{{ account.username }}
<el-dropdown trigger="click" @command="handleProfile">
<el-dropdown trigger="click" @command="handleProfile" :title="$t('side_menu.profile')">
<span class="el-dropdown-link">
<i class="el-icon-arrow-down el-icon--right"></i>
</span>
@ -19,10 +19,10 @@
<span>{{ account.domain }}</span>
</div>
<div class="collapse">
<el-button type="text" class="release-collapse" @click="releaseCollapse" v-if="collapse">
<el-button type="text" class="release-collapse" @click="releaseCollapse" v-if="collapse" :title="$t('side_menu.expand')">
<i class="el-icon-arrow-right"></i>
</el-button>
<el-button type="text" class="do-collapse" @click="doCollapse" v-else>
<el-button type="text" class="do-collapse" @click="doCollapse" v-else :title="$t('side_menu.collapse')">
<i class="el-icon-arrow-left"></i>
</el-button>
</div>