From bfb2d481bb88bec053d5ee4d7d453c22b4457f89 Mon Sep 17 00:00:00 2001 From: dtluna Date: Mon, 12 Mar 2018 03:59:03 +0300 Subject: [PATCH 1/2] Add i18n for User Timeline --- src/components/user_profile/user_profile.vue | 2 +- src/i18n/messages.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 @@
- + 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: 'Лента пользователя' } } From 616043465af7c83fdc84df77a240c07c80de3a41 Mon Sep 17 00:00:00 2001 From: dtluna Date: Mon, 12 Mar 2018 03:59:42 +0300 Subject: [PATCH 2/2] Add a link to src/i18n/messages.js in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d0ecdae..2174335a 100644 --- a/README.md +++ b/README.md @@ -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