Merge branch 'main' into glitch-soc/merge-upstream

Conflicts:
- `app/views/settings/preferences/appearance/show.html.haml`:
  Upstream renamed some helper functions that were used in a part of the
  settings page which glitch-soc slightly changed the layout of.
  Ported the change.
This commit is contained in:
Claire
2022-02-09 17:28:33 +01:00
28 changed files with 645 additions and 141 deletions

View File

@ -13,7 +13,7 @@
- if preview_card.language.present?
= human_locale(preview_card.language)
= standard_locale_name(preview_card.language)
= t('admin.trends.links.shared_by_over_week', count: preview_card.history.reduce(0) { |sum, day| sum + day.accounts })