about summary refs log tree commit diff
path: root/app/views/relationships
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2019-12-01 13:08:40 +0700
committerEugen Rochko <eugen@zeonfederated.com>2019-12-01 07:08:40 +0100
commitc8d82ef3c3cb6ef3be34787c28d1c6bf8edae441 (patch)
tree709edaea16f6405cb8e69055960ece8c536a84d0 /app/views/relationships
parented73376f1ca7ef5e254a3ec21e1ead85b2d34fd6 (diff)
Split relationships page strings (#12502)
Before this moment relationships managing page was using strings from
other context - from counters, but in order for translators to be able
to translate it relatively to the page, it must use separate strings.

I've split the strings for "Following" and "Followers" and put them to
"relationships" keyset in localization file. This should solve this
issue.

Fixes #10863
Diffstat (limited to 'app/views/relationships')
-rw-r--r--app/views/relationships/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/relationships/show.html.haml b/app/views/relationships/show.html.haml
index e6fff0ad6..0da1596ce 100644
--- a/app/views/relationships/show.html.haml
+++ b/app/views/relationships/show.html.haml
@@ -8,8 +8,8 @@
   .filter-subset
     %strong= t 'relationships.relationship'
     %ul
-      %li= filter_link_to t('accounts.following', count: current_account.following_count), relationship: nil
-      %li= filter_link_to t('accounts.followers', count: current_account.followers_count), relationship: 'followed_by'
+      %li= filter_link_to t('relationships.following'), relationship: nil
+      %li= filter_link_to t('relationships.followers'), relationship: 'followed_by'
       %li= filter_link_to t('relationships.mutual'), relationship: 'mutual'
 
   .filter-subset