From 8f09413283f77f79e87d0d7f90e89614414bf257 Mon Sep 17 00:00:00 2001 From: Polypheides Date: Sat, 15 Mar 2025 20:15:12 +0100 Subject: [PATCH] Add Swedish localization entries in JSON files --- Patch104pZH/ModBundleCoreAudioItems.json | 15 ++++++++ Patch104pZH/ModBundleCoreLanguageItems.json | 34 +++++++++++++++++++ Patch104pZH/ModBundleCorePacks.json | 14 ++++++++ Patch104pZH/ModBundleFullPacks.json | 21 ++++++++++++ Patch104pZH/ModBundleOptionalAudioItems.json | 27 +++++++++++++++ .../ModBundleOptionalLanguageItems.json | 24 +++++++++++++ 6 files changed, 135 insertions(+) diff --git a/Patch104pZH/ModBundleCoreAudioItems.json b/Patch104pZH/ModBundleCoreAudioItems.json index c3835bdaa..edd00c9d8 100644 --- a/Patch104pZH/ModBundleCoreAudioItems.json +++ b/Patch104pZH/ModBundleCoreAudioItems.json @@ -171,6 +171,21 @@ ] } ] + }, + { + "name": "CoreAudioSwedish", + "big": true, + "files": [ + { + "sourceParent": "GameFilesEdited", + "sourceTargetList": [ + { + "source": "Data/Audio/Sounds/English/*.wav", + "target": "Data/Audio/Sounds/English/*.wav" + } + ] + } + ] } ] } diff --git a/Patch104pZH/ModBundleCoreLanguageItems.json b/Patch104pZH/ModBundleCoreLanguageItems.json index 72f88a7d3..966338e95 100644 --- a/Patch104pZH/ModBundleCoreLanguageItems.json +++ b/Patch104pZH/ModBundleCoreLanguageItems.json @@ -396,6 +396,40 @@ } } ] + }, + { + "name": "CoreLangSwedish", + "big": true, + "setGameLanguageOnInstall": "English", + "files": [ + { + "sourceParent": "GameFilesEdited", + "sourceTargetList": [ + { + "source": "Data/Swedish/*.ini", + "target": "Data/English/*.ini" + } + ] + }, + { + "sourceParent": "GameFilesEdited", + "sourceTargetList": [ + { + "source": "Data/generals.str", + "target": "Data/English/generals.csf" + } + ], + "params": { + "language": "Swedish", + "excludeMarkersList": [ + [ + "//patch104p-optional-begin", + "//patch104p-optional-end" + ] + ] + } + } + ] } ] } diff --git a/Patch104pZH/ModBundleCorePacks.json b/Patch104pZH/ModBundleCorePacks.json index 4756b85f6..998cd473c 100644 --- a/Patch104pZH/ModBundleCorePacks.json +++ b/Patch104pZH/ModBundleCorePacks.json @@ -157,6 +157,20 @@ "CoreW3D", "CoreWindow" ] + }, + { + "name": "CoreSwedish", + "itemNames": [ + "CoreAudio", + "CoreAudioSwedish", + "CoreINI", + "CoreLangSwedish", + "CoreMaps", + "CoreMisc", + "CoreTextures", + "CoreW3D", + "CoreWindow" + ] } ] } diff --git a/Patch104pZH/ModBundleFullPacks.json b/Patch104pZH/ModBundleFullPacks.json index 9e210dce5..db5fb5be9 100644 --- a/Patch104pZH/ModBundleFullPacks.json +++ b/Patch104pZH/ModBundleFullPacks.json @@ -231,6 +231,27 @@ "CoreWindow", "RecoveredTextures" ] + }, + { + "name": "FullSwedish", + "itemNames": [ + "OptionalAudio", + "OptionalAudioSwedish", + "OptionalINI", + "OptionalLangSwedish", + "OptionalTextures", + "OptionalW3D", + "CoreAudio", + "CoreAudioSwedish", + "CoreINI", + "CoreLangSwedish", + "CoreMaps", + "CoreMisc", + "CoreTextures", + "CoreW3D", + "CoreWindow", + "RecoveredTextures" + ] } ] } diff --git a/Patch104pZH/ModBundleOptionalAudioItems.json b/Patch104pZH/ModBundleOptionalAudioItems.json index ecc238505..dd8fa576c 100644 --- a/Patch104pZH/ModBundleOptionalAudioItems.json +++ b/Patch104pZH/ModBundleOptionalAudioItems.json @@ -291,6 +291,33 @@ ] } ] + }, + { + "name": "OptionalAudioSwedish", + "big": true, + "files": [ + { + "sourceParent": "GameFilesOptional", + "sourceTargetList": [ + { + "source": "Data/Audio/Sounds/English/*.wav", + "target": "Data/Audio/Sounds/English/*.wav" + }, + { + "source": "Data/Audio/Sounds/Restoration/CommonVoice/*.wav", + "target": "Data/Audio/Sounds/English/*.wav" + }, + { + "source": "Data/Audio/Sounds/Restoration/EnglishVoice/*.wav", + "target": "Data/Audio/Sounds/English/*.wav" + }, + { + "source": "Data/Audio/Speech/Restoration/EnglishEva/*.wav", + "target": "Data/Audio/Speech/English/*.wav" + } + ] + } + ] } ] } diff --git a/Patch104pZH/ModBundleOptionalLanguageItems.json b/Patch104pZH/ModBundleOptionalLanguageItems.json index 49684aebb..1601928f3 100644 --- a/Patch104pZH/ModBundleOptionalLanguageItems.json +++ b/Patch104pZH/ModBundleOptionalLanguageItems.json @@ -244,6 +244,30 @@ } } ] + }, + { + "name": "OptionalLangSwedish", + "big": true, + "files": [ + { + "sourceParent": "GameFilesEdited", + "sourceTargetList": [ + { + "source": "Data/generals.str", + "target": "Data/Swedish/generals.csf" + } + ], + "params": { + "language": "Swedish", + "excludeMarkersList": [ + [ + "//patch104p-core-begin", + "//patch104p-core-end" + ] + ] + } + } + ] } ] }