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

raidboss: Fix minor bug with TimelineParser.Translate #531

Merged

Conversation

valarnin
Copy link
Collaborator

@valarnin valarnin commented Dec 5, 2024

Noticed a minor bug with TimelineParser.Translate. The opening/closing curly braces were being duplicated. This is visible in the output from translate_timeline and in the cactbot config UI's timeline editor:

Original timeline entry:

14.6 "Cyclonic Break 1 (targeted)" Ability { id: "9CD1", source: "Fatebreaker" }

"translated" line before bugfix:

14.6 "Cyclonic Break 1 (targeted)" Ability { {"id":"9CD1","source":"Fatebreaker"} }

"translated" line after bugfix:

14.6 "Cyclonic Break 1 (targeted)" Ability {"id":"9CD1","source":"Fatebreaker"}

It wasn't really causing any problems since these translated timelines weren't being re-parsed by anything, but it was bothering me.

@github-actions github-actions bot added raidboss /ui/raidboss module needs-review Awaiting review labels Dec 5, 2024
Copy link
Collaborator

@MaikoTan MaikoTan left a comment

Choose a reason for hiding this comment

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

LGTM

And make me recalled that my vscode extension's translate feature was broken and I still not fixed it >_<

@github-actions github-actions bot removed the needs-review Awaiting review label Dec 6, 2024
@valarnin valarnin merged commit 0d662ce into OverlayPlugin:main Dec 6, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
raidboss /ui/raidboss module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants