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
This commit is contained in:
		
							parent
							
								
									ed73376f1c
								
							
						
					
					
						commit
						c8d82ef3c3
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -8,8 +8,8 @@
 | 
				
			||||||
  .filter-subset
 | 
					  .filter-subset
 | 
				
			||||||
    %strong= t 'relationships.relationship'
 | 
					    %strong= t 'relationships.relationship'
 | 
				
			||||||
    %ul
 | 
					    %ul
 | 
				
			||||||
      %li= filter_link_to t('accounts.following', count: current_account.following_count), relationship: nil
 | 
					      %li= filter_link_to t('relationships.following'), relationship: nil
 | 
				
			||||||
      %li= filter_link_to t('accounts.followers', count: current_account.followers_count), relationship: 'followed_by'
 | 
					      %li= filter_link_to t('relationships.followers'), relationship: 'followed_by'
 | 
				
			||||||
      %li= filter_link_to t('relationships.mutual'), relationship: 'mutual'
 | 
					      %li= filter_link_to t('relationships.mutual'), relationship: 'mutual'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .filter-subset
 | 
					  .filter-subset
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -925,6 +925,8 @@ en:
 | 
				
			||||||
  relationships:
 | 
					  relationships:
 | 
				
			||||||
    activity: Account activity
 | 
					    activity: Account activity
 | 
				
			||||||
    dormant: Dormant
 | 
					    dormant: Dormant
 | 
				
			||||||
 | 
					    followers: Followers
 | 
				
			||||||
 | 
					    following: Following
 | 
				
			||||||
    last_active: Last active
 | 
					    last_active: Last active
 | 
				
			||||||
    most_recent: Most recent
 | 
					    most_recent: Most recent
 | 
				
			||||||
    moved: Moved
 | 
					    moved: Moved
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue