mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 17:35:58 +08:00
628873de24
Some plugins have names (e.g. discourse-x-yz) that are totally different from what they are actually called, and that causes issues when showing them in a sorted way in the admin plugin list. Now, we should use the setting category name from client.en.yml if it exists, otherwise fall back to the name, for sorting. This is what we do on the client to determine what text to show for the plugin name as well.
10 lines
204 B
YAML
10 lines
204 B
YAML
discourse_sample_plugin:
|
|
discourse_sample_plugin_enabled: true
|
|
site_settings:
|
|
plugin_setting:
|
|
default: "some value"
|
|
test_some_topic_id:
|
|
default: 0
|
|
test_some_other_topic_id:
|
|
default: 0
|