mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-17 05:34:37 +00:00
Update HeadsUpMessage.ts to support translations (#981)
## Description: This change fixes the spawn message to use `translateText()`. I'll ensure I don't miss this again.  ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: .spicydll
This commit is contained in:
@@ -164,5 +164,8 @@
|
||||
"Balanced": "difficulty.Balanced",
|
||||
"Intense": "difficulty.Intense",
|
||||
"Impossible": "difficulty.Impossible"
|
||||
},
|
||||
"heads_up_message": {
|
||||
"choose_spawn": "heads_up_message.choose_spawn"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -428,5 +428,8 @@
|
||||
"copied": "Copied!",
|
||||
"failed_copy": "Failed to copy",
|
||||
"desync_notice": "You are desynced from other players. What you see might differ from other players."
|
||||
},
|
||||
"heads_up_message": {
|
||||
"choose_spawn": "Choose a starting location"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user