From 3f0b5e431814348510c32bbb0dd48e7aaaf70ec6 Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Sat, 23 Jun 2018 23:03:25 +0900 Subject: [PATCH] :v: --- locales/ja.yml | 1 + src/client/app/desktop/views/pages/user/user.header.vue | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/locales/ja.yml b/locales/ja.yml index 23ee6a625..d3d04eb28 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -763,6 +763,7 @@ desktop/views/pages/user/user.header.vue: posts: "投稿" following: "フォロー" followers: "フォロワー" + is-bot: "このアカウントはBotです" desktop/views/pages/user/user.timeline.vue: default: "投稿" diff --git a/src/client/app/desktop/views/pages/user/user.header.vue b/src/client/app/desktop/views/pages/user/user.header.vue index 76b7c3f38..ab0880d9b 100644 --- a/src/client/app/desktop/views/pages/user/user.header.vue +++ b/src/client/app/desktop/views/pages/user/user.header.vue @@ -6,10 +6,10 @@ <div class="title"> <p class="name">{{ user | userName }}</p> <div> - <template v-if="user.isBot">%fa:robot%</template> + <p v-if="user.isBot" title="%i18n:@is-bot%">%fa:robot%</p> <p class="username"><mk-acct :user="user"/></p> - <p class="location" v-if="user.host === null && user.profile.location">%fa:map-marker%{{ user.profile.location }}</p> - <p class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake%{{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' }} ({{ age }}歳)</p> + <p class="location" v-if="user.host === null && user.profile.location">%fa:map-marker% {{ user.profile.location }}</p> + <p class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' }} ({{ age }}歳)</p> </div> </div> </div> @@ -158,9 +158,6 @@ root(isDark) line-height 20px opacity 0.8 - > i - margin-right 4px - > .avatar display block position absolute