From d828c0b64c94723a83ef598cd4eb51fa74eefef3 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 11 Oct 2022 19:02:44 -0700 Subject: [PATCH] remove "VESSEL" since we can just use "Vessel" for map marker --- NewHorizons/Assets/translations/chinese_simple.json | 3 +-- NewHorizons/Assets/translations/english.json | 3 +-- NewHorizons/Assets/translations/french.json | 3 +-- NewHorizons/Assets/translations/german.json | 3 +-- NewHorizons/Assets/translations/italian.json | 3 +-- NewHorizons/Assets/translations/japanese.json | 3 +-- NewHorizons/Assets/translations/korean.json | 3 +-- NewHorizons/Assets/translations/polish.json | 3 +-- NewHorizons/Assets/translations/portuguese_br.json | 3 +-- NewHorizons/Assets/translations/russian.json | 3 +-- NewHorizons/Assets/translations/spanish_la.json | 3 +-- NewHorizons/Assets/translations/turkish.json | 3 +-- NewHorizons/Handlers/EyeSceneHandler.cs | 2 +- NewHorizons/Handlers/VesselWarpHandler.cs | 2 +- 14 files changed, 14 insertions(+), 26 deletions(-) diff --git a/NewHorizons/Assets/translations/chinese_simple.json b/NewHorizons/Assets/translations/chinese_simple.json index 152c30c3..74470395 100644 --- a/NewHorizons/Assets/translations/chinese_simple.json +++ b/NewHorizons/Assets/translations/chinese_simple.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "飞船", - "VESSEL": "飞船" + "Vessel": "飞船" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/english.json b/NewHorizons/Assets/translations/english.json index 86444c74..d844ac63 100644 --- a/NewHorizons/Assets/translations/english.json +++ b/NewHorizons/Assets/translations/english.json @@ -22,8 +22,7 @@ "DEBUG_PLACE_TEXT": "Place Nomai Text", "DEBUG_UNDO": "Undo", "DEBUG_REDO": "Redo", - "Vessel": "Vessel", - "VESSEL": "VESSEL" + "Vessel": "Vessel" }, "AchievementTranslations": { "NH_EATEN_OUTSIDE_BRAMBLE": { diff --git a/NewHorizons/Assets/translations/french.json b/NewHorizons/Assets/translations/french.json index e86e82ea..c268d415 100644 --- a/NewHorizons/Assets/translations/french.json +++ b/NewHorizons/Assets/translations/french.json @@ -17,8 +17,7 @@ "RICH_PRESENCE_WARPING": "En route vers {0}.", "OUTDATED_VERSION_WARNING": "AVERTISSEMENT\n\nNew Horizons fonctionne seulement sur la version {0} ou plus récente. Vous êtes sur la version {1}.\n\nVeuillez mettre à jour votre jeu ou désinstaller NH.", "JSON_FAILED_TO_LOAD": "Fichier(s) invalide(s): {0}", - "Vessel": "Vaisseau", - "VESSEL": "VAISSEAU" + "Vessel": "Vaisseau" }, "AchievementTranslations": { "NH_EATEN_OUTSIDE_BRAMBLE": { diff --git a/NewHorizons/Assets/translations/german.json b/NewHorizons/Assets/translations/german.json index 54428e6f..d153a088 100644 --- a/NewHorizons/Assets/translations/german.json +++ b/NewHorizons/Assets/translations/german.json @@ -10,7 +10,6 @@ "FREQ_STATUE": "Nomai-Statue", "FREQ_WARP_CORE": "Anti-Gravitations Flux", "FREQ_UNKNOWN": "???", - "Vessel": "Gefährts", - "VESSEL": "GEFÄHRTS" + "Vessel": "Gefährts" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/italian.json b/NewHorizons/Assets/translations/italian.json index dbec19c8..5ed2e16c 100644 --- a/NewHorizons/Assets/translations/italian.json +++ b/NewHorizons/Assets/translations/italian.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "Vascello", - "VESSEL": "VASCELLO" + "Vessel": "Vascello" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/japanese.json b/NewHorizons/Assets/translations/japanese.json index aeff16ae..b67fb1fe 100644 --- a/NewHorizons/Assets/translations/japanese.json +++ b/NewHorizons/Assets/translations/japanese.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "船", - "VESSEL": "船" + "Vessel": "船" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/korean.json b/NewHorizons/Assets/translations/korean.json index 5e6ec691..6e23b0fd 100644 --- a/NewHorizons/Assets/translations/korean.json +++ b/NewHorizons/Assets/translations/korean.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "함선", - "VESSEL": "함선" + "Vessel": "함선" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/polish.json b/NewHorizons/Assets/translations/polish.json index d5b70708..d3d9bcda 100644 --- a/NewHorizons/Assets/translations/polish.json +++ b/NewHorizons/Assets/translations/polish.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "Statku", - "VESSEL": "STATKU" + "Vessel": "Statku" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/portuguese_br.json b/NewHorizons/Assets/translations/portuguese_br.json index 56f62415..cac86858 100644 --- a/NewHorizons/Assets/translations/portuguese_br.json +++ b/NewHorizons/Assets/translations/portuguese_br.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "Hospedeiro", - "VESSEL": "HOSPEDEIRO" + "Vessel": "Hospedeiro" } } \ No newline at end of file diff --git a/NewHorizons/Assets/translations/russian.json b/NewHorizons/Assets/translations/russian.json index ae238900..2744a7e4 100644 --- a/NewHorizons/Assets/translations/russian.json +++ b/NewHorizons/Assets/translations/russian.json @@ -12,7 +12,6 @@ "FREQ_UNKNOWN": "???", "ENGAGE_WARP_PROMPT": "Телепортироваться к {0}", "WARP_LOCKED": "АВТОПИЛОТ ЗАКРЕПЛЁН НА:\n{0}", - "Vessel": "Звездолёта", - "VESSEL": "ЗВЕЗДОЛЁТА" + "Vessel": "Звездолёта" } } diff --git a/NewHorizons/Assets/translations/spanish_la.json b/NewHorizons/Assets/translations/spanish_la.json index 053b3659..8cd19d82 100644 --- a/NewHorizons/Assets/translations/spanish_la.json +++ b/NewHorizons/Assets/translations/spanish_la.json @@ -12,8 +12,7 @@ "FREQ_UNKNOWN": "???", "ENGAGE_WARP_PROMPT": "Iniciar teletransporte a {0}", "WARP_LOCKED": "Piloto automático fijado en:\n{0}", - "Vessel": "Nave", - "VESSEL": "NAVE" + "Vessel": "Nave" }, "AchievementTranslations": { "NH_EATEN_OUTSIDE_BRAMBLE": { diff --git a/NewHorizons/Assets/translations/turkish.json b/NewHorizons/Assets/translations/turkish.json index faedc4d7..7b82267a 100644 --- a/NewHorizons/Assets/translations/turkish.json +++ b/NewHorizons/Assets/translations/turkish.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/translation_schema.json", "UIDictionary": { - "Vessel": "Tekne", - "VESSEL": "TEKNE" + "Vessel": "Tekne" } } \ No newline at end of file diff --git a/NewHorizons/Handlers/EyeSceneHandler.cs b/NewHorizons/Handlers/EyeSceneHandler.cs index e2152b37..c6c4d797 100644 --- a/NewHorizons/Handlers/EyeSceneHandler.cs +++ b/NewHorizons/Handlers/EyeSceneHandler.cs @@ -44,7 +44,7 @@ namespace NewHorizons.Handlers vesselAO._type = AstroObject.Type.SpaceStation; vesselAO.Register(); vesselMapMarker._markerType = MapMarker.MarkerType.Moon; - vesselMapMarker._labelID = (UITextType)TranslationHandler.AddUI("VESSEL"); + vesselMapMarker._labelID = (UITextType)TranslationHandler.AddUI("Vessel"); RFVolumeBuilder.Make(vessel, vesselBody, 600, new External.Modules.ReferenceFrameModule { localPosition = new MVector3(0, 0, -207.375f) }); // Resize vessel sector so that the vessel is fully collidable. diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs index eadd5b22..011db3cc 100644 --- a/NewHorizons/Handlers/VesselWarpHandler.cs +++ b/NewHorizons/Handlers/VesselWarpHandler.cs @@ -164,7 +164,7 @@ namespace NewHorizons.Handlers if (system.Config.Vessel?.warpExitRotation != null) vesselWarpController._targetWarpPlatform.transform.localEulerAngles = system.Config.Vessel.warpExitRotation; - vesselObject.GetComponent()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL"); + vesselObject.GetComponent()._labelID = (UITextType)TranslationHandler.AddUI("Vessel"); EyeSpawnPoint eyeSpawnPoint = vesselObject.GetComponentInChildren(true); system.SpawnPoint = eyeSpawnPoint;