settings: Add periods to end of bot permissions strings.

This improves consistency with how all of our other settings tip
elements are written.
This commit is contained in:
Tim Abbott
2021-09-15 09:59:15 -07:00
parent 06f46cc146
commit 9c623a1b3e

View File

@@ -192,12 +192,12 @@ export function update_bot_settings_tip() {
let tip_text; let tip_text;
if (current_permission === permission_type.admins_only.code) { if (current_permission === permission_type.admins_only.code) {
tip_text = $t({ tip_text = $t({
defaultMessage: "Only organization administrators can add bots to this organization", defaultMessage: "Only organization administrators can add bots to this organization.",
}); });
} else if (current_permission === permission_type.restricted.code) { } else if (current_permission === permission_type.restricted.code) {
tip_text = $t({defaultMessage: "Only organization administrators can add generic bots"}); tip_text = $t({defaultMessage: "Only organization administrators can add generic bots."});
} else { } else {
tip_text = $t({defaultMessage: "Anyone in this organization can add bots"}); tip_text = $t({defaultMessage: "Anyone in this organization can add bots."});
} }
$(".bot-settings-tip").text(tip_text); $(".bot-settings-tip").text(tip_text);
} }