* app/lib i18n (no callers) * tidy key names * callers deconstantified * delete ja.yml * update locale keys and calls * remove ja.yml * Revert "remove ja.yml" This reverts commit 6a6881e274b58424ece0411c887c862124a2ca87. * fix conflicts * remove ja.yml * Update general.rb
18 lines
558 B
Ruby
18 lines
558 B
Ruby
module Constants
|
|
module Settings
|
|
module RateLimit
|
|
def self.details
|
|
{
|
|
spam_trigger_terms: {
|
|
description: I18n.t("lib.constants.settings.rate_limit.spam.description"),
|
|
placeholder: I18n.t("lib.constants.settings.rate_limit.spam.placeholder")
|
|
},
|
|
user_considered_new_days: {
|
|
description: I18n.t("lib.constants.settings.rate_limit.new_days.description"),
|
|
placeholder: ::Settings::RateLimit.user_considered_new_days
|
|
}
|
|
}
|
|
end
|
|
end
|
|
end
|
|
end
|