Skip to content

Commit

Permalink
[UX] Be more explicit about broken anticheat affecting multiplayer in…
Browse files Browse the repository at this point in the history
… copy (#3694)

Be more explicit about broken anticheat affecting multiplayer in copy
  • Loading branch information
arielj authored Apr 25, 2024
1 parent 925a0bd commit 7a7a558
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions public/locales/en/gamepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
"install": {
"anticheat-warning": {
"cancel": "No",
"install": "Yes (I understand it will not work)",
"message": "The anticheat support is broken or denied. The game will not work. Do you want to install it anyway?",
"install_anyway": "Yes (I understand the multiplayer features will not work)",
"multiplayer_message": "The anticheat support is broken or denied. The game may open but the multiplayer features will not work. Do you want to install it anyway?",
"title": "Anticheat Broken/Denied"
},
"disk-space-left": "Space Available",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Amazon Games": "Amazon Games",
"anticheat": {
"anticheats": "Anticheats",
"may_not_work": "It may not work due to denied or broken anticheat support.",
"multiplayer_may_not_work": "Multiplayer features may not work due to denied or broken anticheat support.",
"reference": "Reference",
"source": "Source",
"status": "Status",
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/components/UI/Anticheat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export default function Anticheat({ anticheatInfo }: Props) {
{mayNotWork && (
<p>
{t(
'anticheat.may_not_work',
'It may not work due to denied or broken anticheat support.'
'anticheat.multiplayer_may_not_work',
'Multiplayer features may not work due to denied or broken anticheat support.'
)}
</p>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,14 @@ export default function DownloadDialog({
showDialogModal({
title: t('install.anticheat-warning.title', 'Anticheat Broken/Denied'),
message: t(
'install.anticheat-warning.message',
'The anticheat support is broken or denied. The game will not work. Do you want to install it anyway?'
'install.anticheat-warning.multiplayer_message',
'The anticheat support is broken or denied. The game may open but the multiplayer features will not work. Do you want to install it anyway?'
),
buttons: [
{
text: t(
'install.anticheat-warning.install',
'Yes (I understand it will not work)'
'install.anticheat-warning.install_anyway',
'Yes (I understand the multiplayer features will not work)'
),
onClick: async () => handleInstall(path, true)
},
Expand Down

0 comments on commit 7a7a558

Please sign in to comment.