Localizations for most server-side strings
This commit is contained in:
parent
3ce6ac0ce2
commit
546c4718e7
33 changed files with 296 additions and 220 deletions
|
@ -2,9 +2,9 @@
|
|||
- if user_signed_in? && current_account.id != @account.id
|
||||
.controls
|
||||
- if current_account.following?(@account)
|
||||
= link_to 'Unfollow', unfollow_account_path(@account), data: { method: :post }, class: 'button'
|
||||
= link_to t('accounts.unfollow'), unfollow_account_path(@account), data: { method: :post }, class: 'button'
|
||||
- else
|
||||
= link_to 'Follow', follow_account_path(@account), data: { method: :post }, class: 'button'
|
||||
= link_to t('accounts.follow'), follow_account_path(@account), data: { method: :post }, class: 'button'
|
||||
|
||||
.avatar= image_tag @account.avatar.url(:large)
|
||||
%h1.name
|
||||
|
@ -17,13 +17,13 @@
|
|||
.details-counters
|
||||
.counter{ class: active_nav_class(account_url(@account)) }
|
||||
= link_to account_url(@account) do
|
||||
%span.counter-label Posts
|
||||
%span.counter-label= t('accounts.posts')
|
||||
%span.counter-number= @account.statuses.count
|
||||
.counter{ class: active_nav_class(following_account_url(@account)) }
|
||||
= link_to following_account_url(@account) do
|
||||
%span.counter-label Following
|
||||
%span.counter-label= t('accounts.following')
|
||||
%span.counter-number= @account.following.count
|
||||
.counter{ class: active_nav_class(followers_account_url(@account)) }
|
||||
= link_to followers_account_url(@account) do
|
||||
%span.counter-label Followers
|
||||
%span.counter-label= t('accounts.followers')
|
||||
%span.counter-number= @account.followers.count
|
||||
|
|
|
@ -1 +1 @@
|
|||
%p.nothing-here There is nothing here!
|
||||
%p.nothing-here= t('accounts.nothing_here')
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
- content_for :page_title do
|
||||
People who follow
|
||||
= display_name(@account)
|
||||
= t('accounts.people_who_follow', name: display_name(@account))
|
||||
|
||||
= render partial: 'header'
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
- content_for :page_title do
|
||||
People whom
|
||||
= display_name(@account)
|
||||
follows
|
||||
= t('accounts.people_followed_by', name: display_name(@account))
|
||||
|
||||
= render partial: 'header'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue