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"> <div v-if="user" class="user-profile panel panel-default base00-background">
<user-card-content :user="user" :switcher="true"></user-card-content> <user-card-content :user="user" :switcher="true"></user-card-content>
</div> </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> </div>
</template> </template>

View File

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