From bdcdd539f68f8e40f17a34dfe3b165f89292660c Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 7 Jan 2026 16:34:39 +0100 Subject: [PATCH] Fix unnecessary downcasing of some words in moderation/settings interface (#37364) --- app/views/admin/accounts/_account.html.haml | 4 ++-- app/views/admin/follow_recommendations/_account.html.haml | 4 ++-- app/views/admin/reports/_header_card.html.haml | 6 +++--- app/views/relationships/_account.html.haml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/admin/accounts/_account.html.haml b/app/views/admin/accounts/_account.html.haml index 6682bf9788..6b5b5efbdc 100644 --- a/app/views/admin/accounts/_account.html.haml +++ b/app/views/admin/accounts/_account.html.haml @@ -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') diff --git a/app/views/admin/follow_recommendations/_account.html.haml b/app/views/admin/follow_recommendations/_account.html.haml index 00196dd01a..85ce708c1a 100644 --- a/app/views/admin/follow_recommendations/_account.html.haml +++ b/app/views/admin/follow_recommendations/_account.html.haml @@ -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 diff --git a/app/views/admin/reports/_header_card.html.haml b/app/views/admin/reports/_header_card.html.haml index 52e62b4499..2b8dfef3f3 100644 --- a/app/views/admin/reports/_header_card.html.haml +++ b/app/views/admin/reports/_header_card.html.haml @@ -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 diff --git a/app/views/relationships/_account.html.haml b/app/views/relationships/_account.html.haml index 23afcf7495..62ae0d05bd 100644 --- a/app/views/relationships/_account.html.haml +++ b/app/views/relationships/_account.html.haml @@ -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