Translation robot of a package I am translating refuses to accept line breaks for paragraphs longer than 80 characters. The text string should remain as is. Lokalize wraps all lines at 80 without providing an option for turning it on / off. It requires rework after every bit of translation to remove line breaks.
There's actually an option for that in the code but it doesn't show up in the Project widget. I'm checking it
Meanwhile you can add the following line in your project's .lokalize file [RegExps] WordWrap=-1 https://github.com/KDE/lokalize/commit/2fe86a2eb97153590bdc63564dc5a779a9490165
Git commit b1988488c00a71286b52c9d6549cf607d3130b73 by Simon Depiets. Committed on 30/07/2018 at 01:38. Pushed by sdepiets into branch 'master'. Add a project configuration menu entry for the Word Wrap feature Summary: There is a word wrap flag in the project.lokalize file but there was no ui widget to change it. Reviewers: #localization, aacid, ltoscano, shaforostoff, mlaurent, huftis Reviewed By: #localization, aacid Tags: #localization Differential Revision: https://phabricator.kde.org/D14311 M +24 -4 src/project/prefs_project_advanced.ui https://commits.kde.org/lokalize/b1988488c00a71286b52c9d6549cf607d3130b73
Git commit 84e6644d4fc742c21de574eab5cd069c7a0f48c7 by Simon Depiets. Committed on 31/07/2018 at 03:05. Pushed by sdepiets into branch 'master'. Add a project configuration menu entry for the Word Wrap feature Summary: There is a word wrap flag in the project.lokalize file but there was no ui widget to change it. Reviewers: #localization, aacid, ltoscano, shaforostoff, mlaurent, huftis Reviewed By: #localization, aacid Tags: #localization Differential Revision: https://phabricator.kde.org/D14311 M +2 -0 src/catalog/gettext/gettextexport.cpp https://commits.kde.org/lokalize/84e6644d4fc742c21de574eab5cd069c7a0f48c7
Git commit 2c9be462edc2167e56a5ccb294413b6af0b2297c by Simon Depiets. Committed on 31/07/2018 at 03:15. Pushed by sdepiets into branch 'master'. Add a project configuration menu entry for the Word Wrap feature Summary: There is a word wrap flag in the project.lokalize file but there was no ui widget to change it. Reviewers: #localization, aacid, ltoscano, shaforostoff, mlaurent, huftis Reviewed By: #localization, aacid Tags: #localization Differential Revision: https://phabricator.kde.org/D14311 M +1 -1 src/catalog/gettext/gettextexport.cpp https://commits.kde.org/lokalize/2c9be462edc2167e56a5ccb294413b6af0b2297c