Skip to content

Commit

Permalink
notifs: Revise test-notification messaging for pre-8.0 servers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe authored and gnprice committed Dec 21, 2023
1 parent 38ca48a commit 28cf744
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/settings/PerAccountNotificationSettingsGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ export default function PerAccountNotificationSettingsGroup(props: Props): Node
let testNotificationDisabled = false;
if (zulipFeatureLevel < 217) {
testNotificationDisabled = {
title: 'Server upgrade required',
title: 'Feature not available',
message: {
text: 'This feature requires {zulipServerVersion} or higher.',
values: { zulipServerVersion: 'Zulip Server 8' },
text: 'This feature is only available for organizations on {zulipServerNameWithMinVersion}+.',
values: { zulipServerNameWithMinVersion: 'Zulip Server 8.0' },
},
learnMoreButton: {
url: new URL('https://zulip.readthedocs.io/en/latest/production/upgrade.html'),
text: 'How to upgrade (for server administrators)',
url: new URL('https://zulip.readthedocs.io/en/stable/production/upgrade.html'),
text: 'Upgrade instructions for server administrators',
},
};
} else if (pushToken == null) {
Expand Down
6 changes: 3 additions & 3 deletions static/translations/messages_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@
"Troubleshooting": "Troubleshooting",
"Send a test notification": "Send a test notification",
"Failed to send test notification": "Failed to send test notification",
"Server upgrade required": "Server upgrade required",
"This feature requires {zulipServerVersion} or higher.": "This feature requires {zulipServerVersion} or higher.",
"How to upgrade (for server administrators)": "How to upgrade (for server administrators)",
"Feature not available": "Feature not available",
"This feature is only available for organizations on {zulipServerNameWithMinVersion}+.": "This feature is only available for organizations on {zulipServerNameWithMinVersion}+.",
"Upgrade instructions for server administrators": "Upgrade instructions for server administrators",
"Cannot send test notification": "Cannot send test notification",
"Please tap “{troubleshootingPageTitle}” for more details.": "Please tap “{troubleshootingPageTitle}” for more details.",
"Request in progress": "Request in progress",
Expand Down

0 comments on commit 28cf744

Please sign in to comment.