mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
make error message translatable
This commit is contained in:
parent
0cbeda8414
commit
1914495e88
2 changed files with 2 additions and 1 deletions
|
@ -1308,6 +1308,7 @@ en:
|
|||
pop3_polling_authentication_failed: "POP3 authentication failed. Please verify your pop3 credentials."
|
||||
reply_by_email_address_is_empty: "You must set a 'reply by email address' before enabling reply by email."
|
||||
pop3_polling_disabled: "You must first enabled POP3 polling before enabling reply by email."
|
||||
user_locale_not_enabled: "You must first enable 'allow user locale' before enabling this setting."
|
||||
|
||||
notification_types:
|
||||
group_mentioned: "%{group_name} was mentioned in %{link}"
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue