diff --git a/README.md b/README.md index ffaea0b5..0aad8537 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ ![screenshot](https://my.mixtape.moe/kjzioz.PNG) +# 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. + # FOR ADMINS You don't need to build Pleroma yourself. Check out https://git.pleroma.social/pleroma/pleroma-fe/wikis/dual-boot-with-qvitter to see how to run Pleroma and Qvitter at the same time. @@ -23,12 +27,6 @@ npm run build # run unit tests npm run unit - -# run e2e tests -npm run e2e - -# run all tests -npm test ``` For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). diff --git a/package.json b/package.json index 63fd490d..e8d84274 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "sanitize-html": "^1.13.0", "sass-loader": "^4.0.2", "vue": "^2.3.4", + "vue-i18n": "^7.3.2", "vue-router": "^2.5.3", "vue-template-compiler": "^2.3.4", "vue-timeago": "^3.1.2", diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue index d4339778..aea841e9 100644 --- a/src/components/nav_panel/nav_panel.vue +++ b/src/components/nav_panel/nav_panel.vue @@ -4,22 +4,22 @@ diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 2ad7c488..dfc7b0c9 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -3,8 +3,8 @@
{{unseenCount}} - Notifications - + {{$t('notifications.notifications')}} +
@@ -44,7 +44,7 @@
- @{{ notification.action.user.screen_name }} followed you + @{{ notification.action.user.screen_name }} {{$t('notifications.followed_you')}}
diff --git a/src/components/settings/settings.vue b/src/components/settings/settings.vue index 6ff96fec..5978e4ed 100644 --- a/src/components/settings/settings.vue +++ b/src/components/settings/settings.vue @@ -1,40 +1,40 @@