summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-23 23:03:25 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-23 23:03:25 +0900
commit3f0b5e431814348510c32bbb0dd48e7aaaf70ec6 (patch)
tree0b835d704af3820c68d0f41e7727ec2def8a379f
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-3f0b5e431814348510c32bbb0dd48e7aaaf70ec6.tar.gz
sharkey-3f0b5e431814348510c32bbb0dd48e7aaaf70ec6.tar.bz2
sharkey-3f0b5e431814348510c32bbb0dd48e7aaaf70ec6.zip
:v:
-rw-r--r--locales/ja.yml1
-rw-r--r--src/client/app/desktop/views/pages/user/user.header.vue9
2 files changed, 4 insertions, 6 deletions
diff --git a/locales/ja.yml b/locales/ja.yml
index 23ee6a625a..d3d04eb28a 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 76b7c3f381..ab0880d9bd 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