diff --git a/app/features/sendouq-settings/routes/q.settings.tsx b/app/features/sendouq-settings/routes/q.settings.tsx index 1099998a8..d2f06ddb3 100644 --- a/app/features/sendouq-settings/routes/q.settings.tsx +++ b/app/features/sendouq-settings/routes/q.settings.tsx @@ -33,6 +33,7 @@ import { assertUnreachable } from "~/utils/types"; import { SENDOUQ_PAGE, SENDOUQ_SETTINGS_PAGE, + SPLATTERCOLOR_SCREEN_TWITTER_URL, navIconUrl, preferenceEmojiUrl, } from "~/utils/urls"; @@ -673,13 +674,13 @@ function SoundCheckboxes() { function Misc() { const data = useLoaderData(); const [checked, setChecked] = React.useState(Boolean(data.settings.noScreen)); - const { t } = useTranslation(["common", "q"]); + const { t } = useTranslation(["common", "q", "weapons"]); const fetcher = useFetcher(); return (
-
Misc
+
{t("q:settings.misc.header")}
@@ -690,20 +691,20 @@ function Misc() { name="noScreen" />
- Accessibility concerns related to the new special have been raised.{" "} + {t("q:settings.avoid.explanation")}{" "} - Read more here + {t("q:settings.avoid.readMore")} - . Enabling this setting will make the special banned in SendouQ - lobbies and tournament matches you play via sendou.ink
{ban - ? "Weapons with Splattercolor Screen are not allowed in this match" - : "Weapons with Splattercolor Screen are allowed in this match"} + ? t("q:match.screen.ban", { + special: t("weapons:SPECIAL_19"), + }) + : t("q:match.screen.allowed", { + special: t("weapons:SPECIAL_19"), + })}
); diff --git a/app/utils/urls.ts b/app/utils/urls.ts index a806b5cc4..0a27a4855 100644 --- a/app/utils/urls.ts +++ b/app/utils/urls.ts @@ -70,6 +70,8 @@ export const ipLabsMaps = (pool: string) => export const SPLATOON_3_INK = "https://splatoon3.ink/"; export const RHODESMAS_FREESOUND_PROFILE_URL = "https://freesound.org/people/rhodesmas/"; +export const SPLATTERCOLOR_SCREEN_TWITTER_URL = + "https://twitter.com/ProChara/status/1730986554078945562"; export const twitterUrl = (accountName: string) => `https://twitter.com/${accountName}`; diff --git a/public/locales/en/q.json b/public/locales/en/q.json index 623c659ac..49b1755e8 100644 --- a/public/locales/en/q.json +++ b/public/locales/en/q.json @@ -63,7 +63,11 @@ "settings.sounds.likeReceived": "Like received", "settings.sounds.groupNewMember": "Group new member", "settings.sounds.matchStarted": "Match started", + "settings.misc.header": "Misc", "settings.banned": "Banned", + "settings.avoid.label": "Avoid {{special}}", + "settings.avoid.explanation": "Accessibility concerns related to the new special have been raised. Enabling this setting will make the special banned in SendouQ lobbies and tournament matches you play via sendou.ink.", + "settings.avoid.readMore": "Read more about the issues here", "looking.joiningGroupError": "Before joining another group, leave the current one", "looking.goToSettingsPrompt": "To help group finding set your weapon pool and voice chat status on the settings page", @@ -143,6 +147,8 @@ "match.reporting": "Reporting {{score}} {{outcome}}", "match.outcome.win": "win", "match.outcome.loss": "loss", + "match.screen.ban": "Weapons with {{special}} are not allowed in this match", + "match.screen.allowed": "Weapons with {{special}} are allowed in this match", "preparing.joinQ": "Join the queue",