mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +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;
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user