From d6c8d4475bfc6146f95a1c715575ad8b15b175f2 Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Tue, 19 May 2026 11:49:41 -0700 Subject: [PATCH] feat: new north american region info (#6091) --- apps/frontend/src/locales/en-US/index.json | 2 +- apps/frontend/src/pages/hosting/index.vue | 2 +- packages/ui/src/locales/en-US/index.json | 10 ++++++++-- packages/ui/src/utils/regions.ts | 18 ++++++++++++++++-- 4 files changed, 26 insertions(+), 6 deletions(-) diff --git a/apps/frontend/src/locales/en-US/index.json b/apps/frontend/src/locales/en-US/index.json index 4638aaf64..ae6e2336a 100644 --- a/apps/frontend/src/locales/en-US/index.json +++ b/apps/frontend/src/locales/en-US/index.json @@ -1536,7 +1536,7 @@ "message": "Where are Modrinth Hosting servers located? Can I choose a region?" }, "hosting-marketing.faq.location.answer": { - "message": "We have servers available in North America, Europe, and Southeast Asia at the moment that you can choose upon purchase. More regions to come in the future! If you'd like to switch your region, please contact support." + "message": "We have servers available across North America, Europe, and Southeast Asia at the moment that you can choose upon purchase. More regions to come in the future! If you'd like to switch your region, please contact support." }, "hosting-marketing.faq.versions-loaders": { "message": "What Minecraft versions and loaders can be used?" diff --git a/apps/frontend/src/pages/hosting/index.vue b/apps/frontend/src/pages/hosting/index.vue index 8130053d8..bf9afe35d 100644 --- a/apps/frontend/src/pages/hosting/index.vue +++ b/apps/frontend/src/pages/hosting/index.vue @@ -868,7 +868,7 @@ const messages = defineMessages({ faqLocationAnswer: { id: 'hosting-marketing.faq.location.answer', defaultMessage: - "We have servers available in North America, Europe, and Southeast Asia at the moment that you can choose upon purchase. More regions to come in the future! If you'd like to switch your region, please contact support.", + "We have servers available across North America, Europe, and Southeast Asia at the moment that you can choose upon purchase. More regions to come in the future! If you'd like to switch your region, please contact support.", }, faqIncreaseStorage: { id: 'hosting-marketing.faq.increase-storage', diff --git a/packages/ui/src/locales/en-US/index.json b/packages/ui/src/locales/en-US/index.json index 2083686cc..da67d9372 100644 --- a/packages/ui/src/locales/en-US/index.json +++ b/packages/ui/src/locales/en-US/index.json @@ -3701,8 +3701,14 @@ "servers.region.custom.prompt-ram-only": { "defaultMessage": "RAM" }, - "servers.region.north-america": { - "defaultMessage": "North America" + "servers.region.north-america-central": { + "defaultMessage": "Central North America" + }, + "servers.region.north-america-east": { + "defaultMessage": "Eastern North America" + }, + "servers.region.north-america-west": { + "defaultMessage": "Western North America" }, "servers.region.prompt": { "defaultMessage": "Where would you like your server to be located?" diff --git a/packages/ui/src/utils/regions.ts b/packages/ui/src/utils/regions.ts index 35edfd198..a5d6b1bd9 100644 --- a/packages/ui/src/utils/regions.ts +++ b/packages/ui/src/utils/regions.ts @@ -1,10 +1,24 @@ import { defineMessage, type MessageDescriptor } from '../composables/i18n' export const regionOverrides = { + 'us-sjc': { + name: defineMessage({ + id: 'servers.region.north-america-west', + defaultMessage: 'Western North America', + }), + flag: 'https://flagcdn.com/us.svg', + }, + 'us-dal': { + name: defineMessage({ + id: 'servers.region.north-america-central', + defaultMessage: 'Central North America', + }), + flag: 'https://flagcdn.com/us.svg', + }, 'us-vin': { name: defineMessage({ - id: 'servers.region.north-america', - defaultMessage: 'North America', + id: 'servers.region.north-america-east', + defaultMessage: 'Eastern North America', }), flag: 'https://flagcdn.com/us.svg', },