Use different strings on exports page (#12569)

Currently the page re-uses strings from other contexts which doesn't fit
very well - strings incorrectly lowercase-d and pluralized, when they
don't need to be, because it's a table.

This commit changes page to re-use accounts.posts_tab_heading for toots,
and admin.accounts for "Following" and "Follows". This all should look
more aesthetically pleasing.
rebase/4.0.0rc2
Sasha Sorokin 2019-12-19 18:47:55 +07:00 committed by Eugen Rochko
parent dc0750abc3
commit 902c6bed5a
2 changed files with 3 additions and 4 deletions

View File

@ -9,11 +9,11 @@
%td= number_to_human_size @export.total_storage %td= number_to_human_size @export.total_storage
%td %td
%tr %tr
%th= t('accounts.posts', count: @export.total_statuses) %th= t('accounts.posts_tab_heading')
%td= number_with_delimiter @export.total_statuses %td= number_with_delimiter @export.total_statuses
%td %td
%tr %tr
%th= t('exports.follows') %th= t('admin.accounts.follows')
%td= number_with_delimiter @export.total_follows %td= number_with_delimiter @export.total_follows
%td= table_link_to 'download', t('exports.csv'), settings_exports_follows_path(format: :csv) %td= table_link_to 'download', t('exports.csv'), settings_exports_follows_path(format: :csv)
%tr %tr
@ -21,7 +21,7 @@
%td= number_with_delimiter @export.total_lists %td= number_with_delimiter @export.total_lists
%td= table_link_to 'download', t('exports.csv'), settings_exports_lists_path(format: :csv) %td= table_link_to 'download', t('exports.csv'), settings_exports_lists_path(format: :csv)
%tr %tr
%th= t('accounts.followers', count: @export.total_followers) %th= t('admin.accounts.followers')
%td= number_with_delimiter @export.total_followers %td= number_with_delimiter @export.total_followers
%td %td
%tr %tr

View File

@ -719,7 +719,6 @@ en:
blocks: You block blocks: You block
csv: CSV csv: CSV
domain_blocks: Domain blocks domain_blocks: Domain blocks
follows: You follow
lists: Lists lists: Lists
mutes: You mute mutes: You mute
storage: Media storage storage: Media storage