1
0
mirror of https://akkoma.dev/lamp/akkoma-fe.git synced 2025-04-14 19:54:03 -04:00

Merge branch 'feature/i18n-for-user-timeline' into 'develop'

i18n for User Timeline

Closes 

See merge request 
This commit is contained in:
lambda 2018-03-12 09:31:34 +00:00
commit 90e3ab45d4
3 changed files with 8 additions and 2 deletions
README.md
src
components/user_profile
i18n

@ -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

@ -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>

@ -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: 'Лента пользователя'
}
}