summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwebmedia <peter@zwebmedia.com>2018-10-21 05:34:50 +0700
committersyuilo <Syuilotan@yahoo.co.jp>2018-10-21 07:34:50 +0900
commit35814faf8ac2d3d1f2c04760e0d1aedca38bdab0 (patch)
treec3dfa97e62af303cce0df417a52afa01f6fa2a10
parentBirthday translations (#2962) (diff)
downloadsharkey-35814faf8ac2d3d1f2c04760e0d1aedca38bdab0.tar.gz
sharkey-35814faf8ac2d3d1f2c04760e0d1aedca38bdab0.tar.bz2
sharkey-35814faf8ac2d3d1f2c04760e0d1aedca38bdab0.zip
Update user.header.vue (#2964)
Use new birthday translations in user.header.vue
-rw-r--r--src/client/app/desktop/views/pages/user/user.header.vue2
1 files changed, 1 insertions, 1 deletions
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 a8e7895f57..81398b9862 100644
--- a/src/client/app/desktop/views/pages/user/user.header.vue
+++ b/src/client/app/desktop/views/pages/user/user.header.vue
@@ -18,7 +18,7 @@
</div>
<div class="info">
<span class="location" v-if="user.host === null && user.profile.location">%fa:map-marker% {{ user.profile.location }}</span>
- <span class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' }} ({{ age }}歳)</span>
+ <span class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '%i18n:@year%').replace('-', '%i18n:@month%') + '%i18n:@day%' }} ({{ age }}%i18n:@years-old%)</span>
</div>
<div class="status">
<span class="notes-count"><b>{{ user.notesCount | number }}</b>%i18n:@posts%</span>