Skip to content

Commit d6365e3

Browse files
shellochrisguida
authored andcommitted
Fix reference to non-existing translation in the exports page. (mastodon#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)
1 parent 40fea7a commit d6365e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/settings/exports/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
%tr
4040
%th= t('exports.bookmarks')
4141
%td= number_with_delimiter @export.total_bookmarks
42-
%td= table_link_to 'download', t('bookmarks.csv'), settings_exports_bookmarks_path(format: :csv)
42+
%td= table_link_to 'download', t('exports.csv'), settings_exports_bookmarks_path(format: :csv)
4343

4444
%hr.spacer/
4545

0 commit comments

Comments
 (0)