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

Allow paragraph-wise translations #7

Merged
merged 7 commits into from
Apr 15, 2018
Merged

Allow paragraph-wise translations #7

merged 7 commits into from
Apr 15, 2018

Conversation

humenda
Copy link
Contributor

@humenda humenda commented Mar 9, 2018

This brings paragraph-wise translations while maintaining full backward-compatibility to previous versions. It also adds a configuration option to enable this behaviour.

humenda added 3 commits March 7, 2018 19:41
-   add configuration option to translate document paragraph-wise
    instead of line-wise (disabled by default)
-   add stub for paragraph identification function
-   refactor main plugin class to consider configuration variable both
    during POT creation and during translation
-   paragraph-wise translation does not work yet, only stubs exist
-   current implementation maintains full backward compatibility
@humenda
Copy link
Contributor Author

humenda commented Mar 9, 2018

I've tested the PR with python3, both in line-wise (old-style) mode and paragraph-wise. If you like these changes, I would appreciate if you could release a new version.

@pjgrizel pjgrizel merged commit c2b0943 into numericube:master Apr 15, 2018
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.

2 participants