org settings: Standardize strings in Other permissions section.

Also, options are now ordered from most restrictive to least restrictive.
A standard style here will be easier to understand and maintain as we add
more settings here.
This commit is contained in:
Rishi Gupta
2019-05-21 22:58:00 -07:00
committed by Tim Abbott
parent 9096affe77
commit 799d6b9203
3 changed files with 13 additions and 13 deletions

View File

@@ -149,17 +149,17 @@ exports.generate_botserverrc_content = function (email, api_key, token) {
};
exports.bot_creation_policy_values = {
everyone: {
code: 1,
description: i18n.t("Members and admins"),
},
admins_only: {
code: 3,
description: i18n.t("Admins only"),
description: i18n.t("Admins"),
},
everyone: {
code: 1,
description: i18n.t("Admins and members"),
},
restricted: {
code: 2,
description: i18n.t("Members and admins, but only admins can add generic bots"),
description: i18n.t("Admins and members, but only admins can add generic bots"),
},
};