mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: add regular_categories field in site setting & user option. (#10477)
Like "default watching" and "default tracking" categories option now the "regular" categories support is added. It will be useful for sites that are muted by default. The user option will be displayed only if `mute_all_categories_by_default` site setting is enabled.
This commit is contained in:
@@ -984,6 +984,8 @@ en:
|
||||
muted_categories: "Muted"
|
||||
muted_categories_instructions: "You will not be notified of anything about new topics in these categories, and they will not appear on the categories or latest pages."
|
||||
muted_categories_instructions_dont_hide: "You will not be notified of anything about new topics in these categories."
|
||||
regular_categories: "Regular"
|
||||
regular_categories_instructions: "These category topics will be displayed in the `latest` and `top` topics list."
|
||||
no_category_access: "As a moderator you have limited category access, save is disabled."
|
||||
delete_account: "Delete My Account"
|
||||
delete_account_confirm: "Are you sure you want to permanently delete your account? This action cannot be undone!"
|
||||
|
||||
@@ -2172,6 +2172,7 @@ en:
|
||||
default_categories_tracking: "List of categories that are tracked by default."
|
||||
default_categories_muted: "List of categories that are muted by default."
|
||||
default_categories_watching_first_post: "List of categories in which first post in each new topic will be watched by default."
|
||||
default_categories_regular: "List of categories that are normal by default. Useful when `mute_all_categories_by_default` site setting is enabled."
|
||||
mute_all_categories_by_default: "Set the default notification level of all the categories to muted. Require users opt-in to categories for them to appear in 'latest' and 'categories' pages. If you wish to amend the defaults for anonymous users set 'default_categories_' settings."
|
||||
|
||||
default_tags_watching: "List of tags that are watched by default."
|
||||
|
||||
@@ -2174,6 +2174,9 @@ user_preferences:
|
||||
default_categories_watching_first_post:
|
||||
type: category_list
|
||||
default: ""
|
||||
default_categories_regular:
|
||||
type: category_list
|
||||
default: ""
|
||||
mute_all_categories_by_default:
|
||||
default: false
|
||||
client: true
|
||||
|
||||
Reference in New Issue
Block a user