Skip to content

Fix untranslated speakers#21483

Merged
PunkPun merged 1 commit intoOpenRA:bleedfrom
JovialFeline:fix-tanyas-tale-speakers
Jul 17, 2024
Merged

Fix untranslated speakers#21483
PunkPun merged 1 commit intoOpenRA:bleedfrom
JovialFeline:fix-tanyas-tale-speakers

Conversation

@JovialFeline
Copy link
Contributor

@JovialFeline JovialFeline commented Jul 14, 2024

There are messages in Tanya's Tale where the text is fine but the translation for a speaker goes unused.

I didn't find a mismatch like this in other scripts. SpeakerMismatchCheck

A similar search turned up untranslated messages in RA's Situation Critical and D2k's atreides-04, so I've tossed in a fix for those.

@JovialFeline JovialFeline force-pushed the fix-tanyas-tale-speakers branch from 8f494f6 to ef49ffb Compare July 15, 2024 21:56
@JovialFeline JovialFeline changed the title Fix allies-05abc speaker translations Fix untranslated speakers Jul 15, 2024
if TanyaType == "e7.noautotarget" then
Trigger.AfterDelay(DateTime.Seconds(1), function()
Media.DisplayMessage(UserInterface.Translate("tanya-rules-of-engagement"), "Tanya")
Media.DisplayMessage(UserInterface.Translate("tanya-rules-of-engagement"), UserInterface.Translate("tanya"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you thing, would it be better to reuse actor names? actor-e7.name

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should at least add comments of the new uses of the translations keys in en.ftl

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you thing, would it be better to reuse actor names? actor-e7.name

I'm practically just a mapper but I wouldn't mind. I referenced the same key through tanya.TooltipName in Negotiations, and the guide also used their tooltip name.

Copy link
Member

@Mailaender Mailaender Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People who might translate this would have trouble with a cryptic key like actor-e7.name as it requires studying the game rules to understand.

@JovialFeline JovialFeline force-pushed the fix-tanyas-tale-speakers branch from db143b9 to e4ea4c9 Compare July 17, 2024 16:11

if #units > 0 then
Media.DisplayMessage("Harkonnen units approaching!", "Fremen Leader")
Media.DisplayMessage(UserInterface.Translate("harkonnen-units-approaching"), UserInterface.Translate("fremen-leader"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it doesn't looks like SendAttack is even called anywhere

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, it's supposed to be called by ProduceUnits(), but I can't get this notification ingame

@PunkPun PunkPun merged commit 0138bc9 into OpenRA:bleed Jul 17, 2024
@PunkPun
Copy link
Member

PunkPun commented Jul 17, 2024

changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants