A platform for community discussion. Free, open, simple.
FIX: correct link to list of watched words
Arpit Jalan9acd851b9afa
diff --git a/app/serializers/reviewable_score_serializer.rb b/app/serializers/reviewable_score_serializer.rbindex 8bb4d5ef1b2..8bcf0890986 100644--- a/app/serializers/reviewable_score_serializer.rb+++ b/app/serializers/reviewable_score_serializer.rb@@ -21,7 +21,7 @@ class ReviewableScoreSerializer < ApplicationSerializerdef reasonreturn 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 staffsettings_url = "#{Discourse.base_url}/admin/site_settings/category/all_results?filter="diff --git a/config/locales/server.en.yml b/config/locales/server.en.ymlindex a7faabfcb68..9d2025d8ba3 100644--- a/config/locales/server.en.yml+++ b/config/locales/server.en.yml@@ -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`."