FIX: correct link to list of watched words
This commit is contained in:
parent
b7830680b6
commit
9acd851b9a
|
@ -21,7 +21,7 @@ class ReviewableScoreSerializer < ApplicationSerializer
|
|||
def reason
|
||||
return unless object.reason
|
||||
|
||||
if text = I18n.t("reviewables.reasons.#{object.reason}", default: nil)
|
||||
if text = I18n.t("reviewables.reasons.#{object.reason}", base_url: Discourse.base_url, default: nil)
|
||||
# Create a convenient link to any site settings if the user is staff
|
||||
settings_url = "#{Discourse.base_url}/admin/site_settings/category/all_results?filter="
|
||||
|
||||
|
|
|
@ -4460,7 +4460,7 @@ en:
|
|||
new_topics_unless_trust_level: "Users at low trust levels must have topics approved by staff. See `approve_new_topics_unless_trust_level`."
|
||||
fast_typer: "New user typed their first post suspiciously fast, suspected bot or spammer behavior. See `min_first_post_typing_time`."
|
||||
auto_silence_regexp: "New user whose first post matches the `auto_silence_first_post_regex` setting."
|
||||
watched_word: "This post included a Watched Word. See your <a href='%{base_path}/admin/logs/watched_words'>list of watched words</a>."
|
||||
watched_word: "This post included a Watched Word. See your <a href='%{base_url}/admin/logs/watched_words'>list of watched words</a>."
|
||||
staged: "New topics and posts for staged users must be approved by staff. See `approve_unless_staged`."
|
||||
category: "Posts in this category require manual approval by staff. See the category settings."
|
||||
must_approve_users: "All new users must be approved by staff. See `must_approve_users`."
|
||||
|
|
Loading…
Reference in New Issue