Add i18n for User Timeline

This commit is contained in:
dtluna 2018-03-12 03:59:03 +03:00
parent cd3bf461db
commit bfb2d481bb
2 changed files with 7 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<div v-if="user" class="user-profile panel panel-default base00-background">
<user-card-content :user="user" :switcher="true"></user-card-content>
</div>
<Timeline :title="'User Timeline'" v-bind:timeline="timeline" v-bind:timeline-name="'user'" :user-id="userId"/>
<Timeline :title="$t('user_profile.timeline_title')" :timeline="timeline" :timeline-name="'user'" :user-id="userId"/>
</div>
</template>

View file

@ -283,6 +283,9 @@ const en = {
general: {
submit: 'Submit',
apply: 'Apply'
},
user_profile: {
timeline_title: 'User Timeline'
}
}
@ -1135,6 +1138,9 @@ const ru = {
general: {
submit: 'Отправить',
apply: 'Применить'
},
user_profile: {
timeline_title: 'Лента пользователя'
}
}