Fix unnecessary downcasing of some words in moderation/settings interface

Fixes #37358
pull/37364/head
Claire 5 days ago
parent bc3f68b46a
commit df947750b5

@ -12,13 +12,13 @@
\-
- else
= friendly_number_to_human account.statuses_count
%small= t('accounts.posts', count: account.statuses_count).downcase
%small= t('accounts.posts', count: account.statuses_count)
%td.accounts-table__count.optional
- if account.unavailable? || account.user_pending?
\-
- else
= friendly_number_to_human account.followers_count
%small= t('accounts.followers', count: account.followers_count).downcase
%small= t('accounts.followers', count: account.followers_count)
%td.accounts-table__count
= relevant_account_timestamp(account)
%small= t('accounts.last_active')

@ -8,10 +8,10 @@
%td= account_link_to account
%td.accounts-table__count.optional
= friendly_number_to_human account.statuses_count
%small= t('accounts.posts', count: account.statuses_count).downcase
%small= t('accounts.posts', count: account.statuses_count)
%td.accounts-table__count.optional
= friendly_number_to_human account.followers_count
%small= t('accounts.followers', count: account.followers_count).downcase
%small= t('accounts.followers', count: account.followers_count)
%td.accounts-table__count
- if account.last_status_at.present?
%time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at

@ -24,13 +24,13 @@
.account-card__counters
.account-card__counters__item
= friendly_number_to_human report.target_account.statuses_count
%small= t('accounts.posts', count: report.target_account.statuses_count).downcase
%small= t('accounts.posts', count: report.target_account.statuses_count)
.account-card__counters__item
= friendly_number_to_human report.target_account.followers_count
%small= t('accounts.followers', count: report.target_account.followers_count).downcase
%small= t('accounts.followers', count: report.target_account.followers_count)
.account-card__counters__item
= friendly_number_to_human report.target_account.following_count
%small= t('accounts.following', count: report.target_account.following_count).downcase
%small= t('accounts.following', count: report.target_account.following_count)
.account-card__actions__button
= link_to t('admin.reports.view_profile'), admin_account_path(report.target_account_id), class: 'button'
.report-header__details.report-header__details--horizontal

@ -10,10 +10,10 @@
%td= account_link_to account
%td.accounts-table__count.optional
= friendly_number_to_human account.statuses_count
%small= t('accounts.posts', count: account.statuses_count).downcase
%small= t('accounts.posts', count: account.statuses_count)
%td.accounts-table__count.optional
= friendly_number_to_human account.followers_count
%small= t('accounts.followers', count: account.followers_count).downcase
%small= t('accounts.followers', count: account.followers_count)
%td.accounts-table__count
- if account.last_status_at.present?
%time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at.to_date

Loading…
Cancel
Save