Skip to content

Commit

Permalink
ServerPushSetupBanner: Change "Remind me later" button text to "Dismiss"
Browse files Browse the repository at this point in the history
And also on ServerCompatBanner, since it seems right to be
consistent between the two banners.

Fixes-partly: zulip#5785
  • Loading branch information
chrisbobbe committed Jan 3, 2024
1 parent 80bfbca commit 8e0a43b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/ServerCompatBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function ServerCompatBanner(props: Props): Node {
buttons={[
{
id: 'dismiss',
label: 'Remind me later',
label: 'Dismiss',
onPress: () => {
dispatch(dismissCompatNotice());
},
Expand Down
2 changes: 1 addition & 1 deletion src/common/ServerPushSetupBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function ServerPushSetupBanner(props: Props): Node {
const buttons = [];
buttons.push({
id: 'dismiss',
label: 'Remind me later',
label: 'Dismiss',
onPress: () => {
dispatch(dismissServerPushSetupNotice());
},
Expand Down
2 changes: 1 addition & 1 deletion static/translations/messages_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"Share canceled": "Share canceled",
"Zulip terms": "Zulip terms",
"Terms for {realmName}": "Terms for {realmName}",
"Remind me later": "Remind me later",
"Dismiss": "Dismiss",
"Push notifications are not enabled for {realmName}.": "Push notifications are not enabled for {realmName}.",
"The Zulip server at {realm} has not yet registered your device token. A request is in progress.": "The Zulip server at {realm} has not yet registered your device token. A request is in progress.",
"The Zulip server at {realm} has not yet registered your device token.": "The Zulip server at {realm} has not yet registered your device token.",
Expand Down

0 comments on commit 8e0a43b

Please sign in to comment.