diff options
| author | lambda <pleromagit@rogerbraun.net> | 2018-03-12 09:31:34 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2018-03-12 09:31:34 +0000 |
| commit | 90e3ab45d4aee7b693b8e404321adfe8339595e1 (patch) | |
| tree | 8c7abac37584ae5f9fb67bf6617db52d9c3a89ad | |
| parent | cd3bf461dba72ddb04c4b1c3a4b736009b968cbe (diff) | |
| parent | 616043465af7c83fdc84df77a240c07c80de3a41 (diff) | |
Merge branch 'feature/i18n-for-user-timeline' into 'develop'
i18n for User Timeline
Closes #61
See merge request pleroma/pleroma-fe!212
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 2 | ||||
| -rw-r--r-- | src/i18n/messages.js | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -6,7 +6,7 @@ # For Translators -To translate Pleroma, add your language to i18n/messages.js. Pleroma will set your language by your browser locale, but you can temporarily force it in the code by changing the locale in main.js. +To translate Pleroma, add your language to [src/i18n/messages.js](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/src/i18n/messages.js). Pleroma will set your language by your browser locale, but you can temporarily force it in the code by changing the locale in main.js. # FOR ADMINS 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: 'Лента пользователя' } } |
