Skip to content

Commit

Permalink
fix i18n linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jun 14, 2024
1 parent 69e763f commit 2a47324
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/uploads_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module UploadsHelper
def library_select_title(l)
title = [l.name]
if current_user.is_administrator?
title << t(".free_space",
title << t("uploads.index.free_space",
available: number_to_human_size(l.free_space),
precision: 2)
end
Expand Down
2 changes: 1 addition & 1 deletion config/locales/uploads/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ en:
files:
help: 'Supported file types: %{types}'
label: Select File
free_space: '(%{available} free)'
free_space: "(%{available} free)"
library:
help: The library to upload to.
scan:
Expand Down

0 comments on commit 2a47324

Please sign in to comment.