Skip to content

Translate comments in SpellAuras.cpp from French to English#2755

Merged
ratkosrb merged 7 commits into
vmangos:developmentfrom
DeltaF1:french-buff-translation
Sep 22, 2024
Merged

Translate comments in SpellAuras.cpp from French to English#2755
ratkosrb merged 7 commits into
vmangos:developmentfrom
DeltaF1:french-buff-translation

Conversation

@DeltaF1
Copy link
Copy Markdown
Contributor

@DeltaF1 DeltaF1 commented Sep 7, 2024

🍰 Pullrequest

Working on translating aura descriptions from french to english

Issues

Todo / Checklist

  • Random code comments
  • _IsExclusiveSpellAura buff list comments

- Translate some easy comments. Some like "Onyxia buff" are ambiguous
@0blu
Copy link
Copy Markdown
Collaborator

0blu commented Sep 7, 2024

Just in case you want to translate even more stuff:
In *commands.cpp there are a lot of "oui"/"non" instead of "yes" /"no" .

(Reminds me of the Futurama gag https://www.youtube.com/watch?v=pwODwwgE6rA 🤣)

@DeltaF1
Copy link
Copy Markdown
Contributor Author

DeltaF1 commented Sep 7, 2024

In *commands.cpp there are a lot of "oui"/"non" instead of "yes" /"no" .

What does PSendSysMessage do? Are there scripts or something that depend on those values being OUI/NON?

@0blu
Copy link
Copy Markdown
Collaborator

0blu commented Sep 8, 2024

PSendSysMessage is just a function that sends a message back to the player.
There should be no conflict with any script or other dependency.

@DeltaF1
Copy link
Copy Markdown
Contributor Author

DeltaF1 commented Sep 8, 2024

I know that people do things like write scripts to parse combat log messages which is why I asked. I'll make a separate PR for it just in case.

- Translate a couple of small comments
- Expand comment about Gobl/Gnomish Rocket Boot probabilities. FIXME:
  Research this on retail
- Google translated a comment that seemed more conversational than
  technical, since I was unsure of its intent
- Expand description of Ghost Wolf/Water Walking interaction
@DeltaF1 DeltaF1 marked this pull request as ready for review September 10, 2024 07:33
@DeltaF1
Copy link
Copy Markdown
Contributor Author

DeltaF1 commented Sep 14, 2024

@0blu Are you able to review this PR? No rush at all, I just want to make sure it's not in limbo since it started as a draft

@ratkosrb
Copy link
Copy Markdown
Contributor

I don't think he speaks French to be able to review it.

Copy link
Copy Markdown
Collaborator

@0blu 0blu left a comment

Choose a reason for hiding this comment

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

Unfortunately I don't speak French, but I used deepL to get a second opinion on the translations.
Other than my addition your changes look good.
Many thanks for your effort!

@@ -952,6 +952,7 @@ bool Aura::CanProcFrom(SpellEntry const* spell, uint32 EventProcEx, uint32 procE
uint64 mask = sSpellMgr.GetSpellAffectMask(GetId(), GetEffIndex());

// Nostalrius: c'est la moindre des choses d'utiliser un peu 'spell_proc_event' non ?
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you please replace this too, no need to put the translation below it.
Although I am unsure what this means in this context.
@ratkosrb maybe you can give us a bit of context.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah I was confused about what this means. I took it as more of a conversational note rather than explaining what the code was doing, so I wasn't sure whether to translate it at all or just leave it as-is

Comment thread src/game/Spells/SpellAuras.cpp Outdated
Co-authored-by: _BLU <dot0blu@gmail.com>
@ratkosrb ratkosrb merged commit 2c0e3ad into vmangos:development Sep 22, 2024
case 18192: // Increased Agility
case 18191: // Increased Stamina
case 25661: // Increased Stamina
case 24427: // Toasty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why was this changed to Toasty? Spell 24427 is Diamond Flask.
There is no spell named Toasty in vanilla.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I pulled the data for these comments straight from the vmangos database. It looks like it was called Toasty in one of the older builds. I can try to write a query to only pull the latest names if that's most useful.

name build
Toasty 4695
Diamond Flask 4878
Diamond Flask 5302

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants