diff --git a/app/controllers/admin/backups_controller.rb b/app/controllers/admin/backups_controller.rb index 2e4762c05f9..9d52e669b5c 100644 --- a/app/controllers/admin/backups_controller.rb +++ b/app/controllers/admin/backups_controller.rb @@ -204,7 +204,7 @@ class Admin::BackupsController < Admin::AdminController begin upload_url = store.generate_upload_url(filename) rescue BackupRestore::BackupStore::BackupFileExists - return render_json_error(I18n("backup.file_exists")) + return render_json_error(I18n.t("backup.file_exists")) rescue BackupRestore::BackupStore::StorageError => e return render_json_error(e) end