mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 14:43:52 +00:00
Fix trigger difficulty level (9daa7520ef) for translation
Discussed with elexis Trac Tickets: #4931 Differential Revision: https://code.wildfiregames.com/D1207 This was SVN commit r20790.
This commit is contained in:
@@ -1575,7 +1575,7 @@ function reloadTriggerDifficulties()
|
||||
g_TriggerDifficultyList = prepareForDropdown(
|
||||
triggerDifficultyList.map(diff => ({
|
||||
"Id": diff.Difficulty,
|
||||
"Title": diff.Name,
|
||||
"Title": diff.Title,
|
||||
"Description": diff.Tooltip,
|
||||
"Default": diff.Name == g_GameAttributes.settings.SupportedTriggerDifficulties.Default
|
||||
})));
|
||||
|
||||
@@ -599,9 +599,17 @@
|
||||
{
|
||||
"extractor": "json",
|
||||
"filemasks": [
|
||||
"simulation/data/settings/map_sizes.json",
|
||||
"simulation/data/settings/trigger_difficulties.json"
|
||||
],
|
||||
"options": {
|
||||
"keywords": ["Title", "Tooltip"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"extractor": "json",
|
||||
"filemasks": [
|
||||
"simulation/data/settings/map_sizes.json",
|
||||
],
|
||||
"options": {
|
||||
"keywords": [
|
||||
"Name",
|
||||
|
||||
@@ -1,30 +1,35 @@
|
||||
{
|
||||
"TranslatedKeys": ["Name", "Tooltip"],
|
||||
"TranslatedKeys": ["Title", "Tooltip"],
|
||||
"Data":
|
||||
[
|
||||
{
|
||||
"Difficulty": 1,
|
||||
"Name": "Very Easy",
|
||||
"Title": "Very Easy",
|
||||
"Tooltip": "Choose this difficulty if you are discovering 0 A.D."
|
||||
},
|
||||
{
|
||||
"Difficulty": 2,
|
||||
"Name": "Easy",
|
||||
"Title": "Easy",
|
||||
"Tooltip": "Choose this difficulty if you do not like being knocked down."
|
||||
},
|
||||
{
|
||||
"Difficulty": 3,
|
||||
"Name": "Medium",
|
||||
"Title": "Medium",
|
||||
"Tooltip": "Choose this difficulty if you have already a good experience with 0 A.D."
|
||||
},
|
||||
{
|
||||
"Difficulty": 4,
|
||||
"Name": "Hard",
|
||||
"Title": "Hard",
|
||||
"Tooltip": "Choose this difficulty if you want to be really challenged."
|
||||
},
|
||||
{
|
||||
"Difficulty": 5,
|
||||
"Name": "Very Hard",
|
||||
"Title": "Very Hard",
|
||||
"Tooltip": "Choose this difficulty if you do not mind being swept out."
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user