Skip to content

Commit

Permalink
Fix reference to non-existing translation in the exports page. (masto…
Browse files Browse the repository at this point in the history
…don#15894)

The exports page showed a different "CSV" capitalisation in the
"Bookmarks" row ("Csv") compared to the other rows ("CSV").
This was due to a referece to a translation string that does not exist,
`bookmarks.csv`, defaulting to the key's last segment in title case.

This issue was introduced in commit dcd8620 (PR mastodon#14956).

(h/t @meqif for helping with figuring out the bug)
  • Loading branch information
shello authored and chrisguida committed Feb 26, 2022
1 parent 40fea7a commit d6365e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/settings/exports/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
%tr
%th= t('exports.bookmarks')
%td= number_with_delimiter @export.total_bookmarks
%td= table_link_to 'download', t('bookmarks.csv'), settings_exports_bookmarks_path(format: :csv)
%td= table_link_to 'download', t('exports.csv'), settings_exports_bookmarks_path(format: :csv)

%hr.spacer/

Expand Down

0 comments on commit d6365e3

Please sign in to comment.