feat: new north american region info (#6091)

This commit is contained in:
Prospector
2026-05-19 11:49:41 -07:00
committed by GitHub
parent 302b60d89c
commit d6c8d4475b
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -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?"
+1 -1
View File
@@ -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',
+8 -2
View File
@@ -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?"
+16 -2
View File
@@ -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',
},