aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordtluna <dtluna@tfwno.gf>2018-03-12 03:59:03 +0300
committerdtluna <dtluna@tfwno.gf>2018-03-12 03:59:03 +0300
commitbfb2d481bb88bec053d5ee4d7d453c22b4457f89 (patch)
tree9bd18e2cc50a382e9740a1277d8c37afc3b1bb37 /src
parentcd3bf461dba72ddb04c4b1c3a4b736009b968cbe (diff)
Add i18n for User Timeline
Diffstat (limited to 'src')
-rw-r--r--src/components/user_profile/user_profile.vue2
-rw-r--r--src/i18n/messages.js6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index ec90b8b0..359abfef 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -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>
diff --git a/src/i18n/messages.js b/src/i18n/messages.js
index c4a62128..a2ce3dff 100644
--- a/src/i18n/messages.js
+++ b/src/i18n/messages.js
@@ -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: 'Лента пользователя'
}
}