add i18n
This commit is contained in:
committed by
Oleksandr Turchyn
parent
3c60fb4ee6
commit
e9d728fa4a
@@ -33,7 +33,7 @@ class TemplatesUploadsController < ApplicationController
|
||||
|
||||
raise if Rails.env.local?
|
||||
|
||||
redirect_to root_path, alert: 'Unable to upload file'
|
||||
redirect_to root_path, alert: I18n.t('unable_to_update_file')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user