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

Tolerate newlines in translation file #179

Merged
merged 3 commits into from
Apr 28, 2024

Conversation

lvlvllvlvllvlvl
Copy link
Collaborator

Abstract

Accept strings in the translation file that have a newline between the quotation marks.

Action Taken

This doesn't appear to affect any of the english-language text exported by pypoe, but as of the recent patch, some translations in other languages have line breaks in them, which was causing the exporter to crash.

Caveats

This appears to not be semantic as it preceded by a \n escape sequence, which is how newlines are encoded in these files, so the newline is discarded and no space is inserted, but this may turn out to be an incorrect assumption.

@lvlvllvlvllvlvl lvlvllvlvllvlvl merged commit b0330fd into Project-Path-of-Exile-Wiki:dev Apr 28, 2024
1 check passed
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.

1 participant