mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
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:
@@ -192,12 +192,12 @@ export function update_bot_settings_tip() {
|
||||
let tip_text;
|
||||
if (current_permission === permission_type.admins_only.code) {
|
||||
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) {
|
||||
tip_text = $t({defaultMessage: "Only organization administrators can add generic bots"});
|
||||
tip_text = $t({defaultMessage: "Only organization administrators can add generic bots."});
|
||||
} 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user