mirror of https://github.com/zulip/zulip.git
settings: Italicize text inside parens for presence_enabled setting.
This commit is contained in:
parent
f151a4aa11
commit
fda471ab80
|
@ -45,8 +45,9 @@ function setup_settings_label() {
|
|||
settings_label = {
|
||||
// settings_notification
|
||||
presence_enabled: $t({
|
||||
defaultMessage: "Display my availability to other users (invisible mode off)",
|
||||
defaultMessage: "Display my availability to other users",
|
||||
}),
|
||||
presence_enabled_parens_text: $t({defaultMessage: "invisible mode off"}),
|
||||
send_stream_typing_notifications: $t({
|
||||
defaultMessage: "Let subscribers see when I'm typing messages in streams",
|
||||
}),
|
||||
|
|
|
@ -535,8 +535,9 @@ export const realm_user_settings_defaults_labels = {
|
|||
enable_digest_emails: $t({defaultMessage: "Send digest emails when user is away"}),
|
||||
|
||||
realm_presence_enabled: $t({
|
||||
defaultMessage: "Display availability to other users (invisible mode off)",
|
||||
defaultMessage: "Display availability to other users",
|
||||
}),
|
||||
realm_presence_enabled_parens_text: $t({defaultMessage: "invisible mode off"}),
|
||||
realm_enter_sends: $t({defaultMessage: "Enter sends when composing a message"}),
|
||||
realm_send_read_receipts: $t({defaultMessage: "Allow other users to view read receipts"}),
|
||||
};
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
setting_name="presence_enabled"
|
||||
is_checked=settings_object.presence_enabled
|
||||
label=settings_label.presence_enabled
|
||||
label_parens_text=settings_label.presence_enabled_parens_text
|
||||
help_link="/help/status-and-availability"
|
||||
prefix="user_"}}
|
||||
</div>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
setting_name="presence_enabled"
|
||||
is_checked=settings_object.presence_enabled
|
||||
label=settings_label.realm_presence_enabled
|
||||
label_parens_text=settings_label.realm_presence_enabled_parens_text
|
||||
help_link="/help/status-and-availability"
|
||||
prefix="realm_"}}
|
||||
{{> settings_checkbox
|
||||
|
|
|
@ -111,6 +111,8 @@ IGNORED_PHRASES = [
|
|||
r"to add a new line",
|
||||
# Used in showing Notification Bot read receipts message
|
||||
"Notification Bot",
|
||||
# Used in presence_enabled setting label
|
||||
r"invisible mode off",
|
||||
]
|
||||
|
||||
# Sort regexes in descending order of their lengths. As a result, the
|
||||
|
|
Loading…
Reference in New Issue