mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 15:02:33 -05:00
add i18n
This commit is contained in:
1 parent
3c60fb4ee6
commit
e9d728fa4a
132 files changed
+1121
-600
No files matched your search
@@ -13,9 +13,9 @@ class NotificationsSettingsController < ApplicationController
|
||||
|
||||
def create
|
||||
if @account_config.value.present? ? @account_config.save : @account_config.delete
|
||||
redirect_back fallback_location: settings_notifications_path, notice: 'Changes have been saved'
|
||||
redirect_back fallback_location: settings_notifications_path, notice: I18n.t('changes_have_been_saved')
|
||||
else
|
||||
redirect_back fallback_location: settings_notifications_path, alert: 'Unable to save'
|
||||
redirect_back fallback_location: settings_notifications_path, alert: I18n.t('unable_to_save')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user