From a06733fbfd6140e0f8ce481b04866e7b01914207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Fri, 7 Jun 2019 13:00:42 +0200 Subject: [PATCH] Translate network tab on the left profile page --- webapp/locales/de.json | 11 ++++++++++- webapp/locales/en.json | 11 ++++++++++- webapp/pages/profile/_id/_slug.vue | 14 +++++++------- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index a790e6461..6ad7d437e 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -25,7 +25,16 @@ "shouted": "Empfohlen", "commented": "Kommentiert", "userAnonym": "Anonymus", - "socialMedia": "Wo sonst finde ich" + "socialMedia": "Wo sonst finde ich", + "network": { + "title": "Netzwerk", + "following": "folgt:", + "followingNobody": "folgt niemandem.", + "followedBy": "wird gefolgt von:", + "followedByNobody": "wird von niemandem gefolgt.", + "and": "und", + "more": "weitere" + } }, "notifications": { "menu": { diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 289928f92..72b2d0a39 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -25,7 +25,16 @@ "shouted": "Shouted", "commented": "Commented", "userAnonym": "Anonymous", - "socialMedia": "Where else can I find" + "socialMedia": "Where else can I find", + "network": { + "title": "Network", + "following": "is following:", + "followingNobody": "follows nobody.", + "followedBy": "is followed by:", + "followedByNobody": "is followed by nobody.", + "and": "and", + "more": "more" + } }, "notifications": { "menu": { diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index 9a7af82ac..27f4994d0 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -69,11 +69,11 @@ - Netzwerk + {{ $t('profile.network.title') }} - Wem folgt {{ userName | truncate(15) }}? + {{ userName | truncate(15) }} {{ $t('profile.network.following')}} - Wer folgt {{ userName | truncate(15) }}? + {{ userName | truncate(15) }} {{ $t('profile.network.followedBy')}}