mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
make error message translatable
This commit is contained in:
@@ -12,7 +12,7 @@ class AllowUserLocaleEnabledValidator
|
||||
end
|
||||
|
||||
def error_message
|
||||
"You must first enable 'allow user locale' before enabling this setting."
|
||||
I18n.t("site_settings.errors.user_locale_not_enabled");
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user