From 7516cd859f0c9bc078548f801cbb6a63b72ced97 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 7 Nov 2017 15:14:37 +0100 Subject: Prepare for i18n. --- src/components/nav_panel/nav_panel.vue | 8 +-- src/components/notifications/notifications.vue | 6 +- src/components/settings/settings.vue | 20 +++---- src/components/timeline/timeline.vue | 12 ++-- src/components/user_card/user_card.vue | 2 +- .../user_card_content/user_card_content.vue | 28 +++++---- src/components/user_settings/user_settings.vue | 32 +++++----- src/i18n/messages.js | 70 ++++++++++++++++++++++ src/main.js | 11 ++++ 9 files changed, 137 insertions(+), 52 deletions(-) create mode 100644 src/i18n/messages.js (limited to 'src') 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 @@