make error message translatable

This commit is contained in:
scossar
2016-03-15 10:02:10 -07:00
parent 0cbeda8414
commit 1914495e88
2 changed files with 2 additions and 1 deletions

View File

@@ -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