about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFilipe Rodrigues <shello@shello.org>2021-03-15 01:17:29 +0000
committerGitHub <noreply@github.com>2021-03-15 02:17:29 +0100
commit3dc94d9f917dcc493796c278a699a4d0628aec35 (patch)
tree8b972bb341e5123da7386b0e284853b9ed7d50a3 /app
parent43983bb332e2a2717fc9e268a9a96809f0dce30b (diff)
Fix reference to non-existing translation in the exports page. (#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 dcd86204 (PR #14956).

(h/t @meqif for helping with figuring out the bug)
Diffstat (limited to 'app')
-rw-r--r--app/views/settings/exports/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/exports/show.html.haml b/app/views/settings/exports/show.html.haml
index 18b52c0c2..c49613fdc 100644
--- a/app/views/settings/exports/show.html.haml
+++ b/app/views/settings/exports/show.html.haml
@@ -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/