Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing message captions #7

Open
cooljeanius opened this issue Apr 21, 2021 · 16 comments
Open

Missing message captions #7

cooljeanius opened this issue Apr 21, 2021 · 16 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@cooljeanius
Copy link
Collaborator

From cooljeanius/A_New_Order/6. I filled in captions for most of the messages that were missing them, but there are still a few remaining where giving them a caption would involve something a little more complicated than just copying the 1st parameter to the 3rd parameter. I tried to mark all the ones I could find with TODO comments, so they should be easy to notice.

@cooljeanius
Copy link
Collaborator Author

After PR #17 there'll only be like 2 or 3 spots left where this will still be an issue.

@cooljeanius
Copy link
Collaborator Author

cooljeanius commented Oct 12, 2021

After PR #17 there'll only be like 2 or 3 spots left where this will still be an issue.

OK, so that's merged now... remaining spots that I can see are:

# TODO: fill in 3rd parameter; {WHO} can be either "unit" or "second_unit" so I dunno how to handle both:
{MESSAGE ({WHO}) () () _"Traitors! How can you be so dishonorable as to fight against your own rightful king!"}

and:

# FIXME: can't use "{A}" for message captions here because that can lead to the caption being displayed as literally "second_unit":
{MESSAGE ({A}) () () _"Wait! Before we cross our blades, I must know something. Tell me your name: for I think I saw your face some time ago, and now... Maybe I heard it wrong, but aren't your people calling you Gawen Hagarthen?"}
{MSGm_Gawen _"I am Gawen Hagarthen."}
{MESSAGE ({A}) () () _"Gawen Hagarthen, king of Vakladia?"}

@cooljeanius
Copy link
Collaborator Author

After PR #17 there'll only be like 2 or 3 spots left where this will still be an issue.

OK, so that's merged now... remaining spots that I can see are:

# TODO: fill in 3rd parameter; {WHO} can be either "unit" or "second_unit" so I dunno how to handle both:
{MESSAGE ({WHO}) () () _"Traitors! How can you be so dishonorable as to fight against your own rightful king!"}

and:

# FIXME: can't use "{A}" for message captions here because that can lead to the caption being displayed as literally "second_unit":
{MESSAGE ({A}) () () _"Wait! Before we cross our blades, I must know something. Tell me your name: for I think I saw your face some time ago, and now... Maybe I heard it wrong, but aren't your people calling you Gawen Hagarthen?"}
{MSGm_Gawen _"I am Gawen Hagarthen."}
{MESSAGE ({A}) () () _"Gawen Hagarthen, king of Vakladia?"}

Would ${WHO}.name and ${A}.name work for these?

@cooljeanius
Copy link
Collaborator Author

Update: I found a few more while doing #53

@cooljeanius cooljeanius added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels May 29, 2022
@cooljeanius
Copy link
Collaborator Author

Would ${WHO}.name and ${A}.name work for these?

^The "question" tag is for the above... which I guess I could just try and see if it works, but idk, I still kinda want to know if it's supposed to work first...

@nemaara
Copy link
Owner

nemaara commented Nov 30, 2022

Your guess is as good as mine unfortunately. I'd say try it out and see if it works...

@cooljeanius
Copy link
Collaborator Author

An email from @kele17 has reminded me to check how this affects translatability; will have to look at it later...

@cooljeanius
Copy link
Collaborator Author

...so... yeah, after rechecking the [message] documentation, it looks like I'm going to need to add translation marks to all 3rd parameters of the {MESSAGE} parameter, which will be... a lot of busywork, to say the least. And I'm not sure that it can be automated, since some cases need manual review... *sigh*

cooljeanius added a commit to cooljeanius/A_New_Order that referenced this issue Jan 5, 2023
I can confirm that the idea for changing a message caption here that I'd had in nemaara/A_New_Order#7 works as expected
cooljeanius added a commit to cooljeanius/A_New_Order that referenced this issue Jan 5, 2023
@MultiSeptim
Copy link
Contributor

Looks fine to me.

@cooljeanius
Copy link
Collaborator Author

Looks fine to me.

...which part specifically? Are you saying adding translation marks to all the captions would be fine, or that it already looks fine as-is, and I don't need to?

cooljeanius referenced this issue in cooljeanius/A_New_Order-1 Feb 27, 2023
This addresses some feedback from @Toranks
Changes include:
- addresses issue #7
- clarify Barnon's gold mechanic a bit further
- extra debug messages for reinforcement scattering
- ensure Gawen is *really* always poisoned in the first scenario
- some additional tuning of the second scenario
- fix team coloring of kneeling Akladian lords in the coronation cutscene (S03)
- additional recruiting space in Barnon on NORMAL, too
- fix Hoyre returning on NIGHTMARE; closes issue nemaara#78
cooljeanius added a commit that referenced this issue Feb 27, 2023
…feedback

Addresses some feedback from @Toranks

Changes include:
- addresses issue #7
- clarify Barnon's gold mechanic a bit further (still might need a further update for issue #14 though)
- extra debug messages for reinforcement scattering in S04
- ensure Gawen is really always poisoned in the first scenario
- some additional tuning of the second scenario
- fix team coloring of kneeling Akladian lords in the coronation cutscene (S03)
- additional recruiting space in Barnon on NORMAL, too
- fix Hoyre returning on NIGHTMARE; closes issue #78
@MultiSeptim
Copy link
Contributor

I meant the improvements mentioned before my last comment.

@cooljeanius
Copy link
Collaborator Author

PR #117 fixes another case of using the correct name, but doesn't make any decision about adding translation marks or not yet

cooljeanius added a commit that referenced this issue Mar 7, 2023
- add @Toranks to the credits
- new portrait for Kyobaine's winter clothing, contributed by OneHourLate, a.k.a. Mells or ohlyf (from Discord, who I also commissioned my last few portraits from)
- I made an attempt at improving the issue #19 situation, but it didn't exactly work out to my liking, so it's hidden behind debug mode for now.
- New debug mode contextual menu option for displaying messages from arbitrary units, for the purposes of testing issue #16 
- Add a macro that I thought I'd included in #109 (and even used there), but looks like I actually forgot... (it's for giving experience to units)
- New scenario! This commit includes S15c, "Raedwood East", which is probably enough to fix issue #72 for now (the scenario still isn't fully complete yet, but it's finished enough for the purposes of closing that issue)
- Mark more units as unrenamable. Closes issue #114 
- Adjust recruitment patterns. Closes issue #116 
- fix #112 
- Something for issue #7 that I thought I'd already submitted in a previous PR (but, actually hadn't)
cooljeanius added a commit that referenced this issue Jul 10, 2023
…wesnoth-map-diff/json5-2.2.3

Bump json5 from 2.2.0 to 2.2.3 in /utils/wesnoth-map-diff
@cooljeanius
Copy link
Collaborator Author

OK so now I'm running the validator on this add-on, and apparently adding translation marks is what the validator wants me to do, so I guess it's time to do that now...

@cooljeanius
Copy link
Collaborator Author

one problem with this is that making the message captions translatable often screws up which string certain po: comments get associated with in the potfile... I really ought to just do like the game is telling me and write out the [message] tags in full... or maybe wesnoth/wesnoth#7540 will help once merged...

cooljeanius added a commit to cooljeanius/A_New_Order that referenced this issue Aug 15, 2023
@cooljeanius
Copy link
Collaborator Author

#144 could help simplify this a bit.

@cooljeanius
Copy link
Collaborator Author

found another place where there's a caption missing in cooljeanius/A_New_Order@1063046

cooljeanius referenced this issue in cooljeanius/A_New_Order Sep 8, 2023
cooljeanius referenced this issue in cooljeanius/A_New_Order-1 Jan 1, 2024
- new linting workflow
- recompression of images
- start of work on some lua
- validator fixes
- updated README
see the following issues:
- #7
- #32
- #33, checkbox 2
- #57 (a bit)
- nemaara#73 (gets started with it at least; I'm holding back on some other parts I've written for it until they're more submittable)
- nemaara#81 (adds FIXMEs about it)
- nemaara#144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants