We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\n
When trying to import a translation memory this fails with the following error message:
Failed to parse JSON file: 'Error reading config file {filename!r}:\n{error_msg}' does not match '^(.+)$' Failed validating 'pattern' in schema['items']['properties']['source']: {'$id': '#/items/properties/source', 'default': '', 'examples': ['Hello'], 'pattern': '^(.+)$', 'title': 'The Source String', 'type': 'string'} On instance[79]['source']: 'Error reading config file {filename!r}:\n{error_msg}'
As you can see, the string contains \n.
Additional information
''
To Reproduce the bug
Steps to reproduce the behavior:
/tmp/bug.json
Expected behavior
Importing translation memoires containing such strings passes and line-feed is preserved.
Server configuration and status
Weblate installation: self-hosted from PyPI
Weblate 4.3.2 weblate-language-data 2020.11
(Sorry, I don't have console access, So I can't run ./manage.py list_versions)
Weblate deploy checks
(Sorry, I don't have console access, So I can't run this command)
The text was updated successfully, but these errors were encountered:
0457924
Thank you for your report, the issue you have reported has just been fixed.
Sorry, something went wrong.
nijel
No branches or pull requests
When trying to import a translation memory this fails with the following error message:
As you can see, the string contains
\n
.Additional information
\n
by a space, it fails with the next string containing a\n
(which of course is the translated string).''
(empty string)To Reproduce the bug
Steps to reproduce the behavior:
/tmp/bug.json
/tmp/bug.json
)Expected behavior
Importing translation memoires containing such strings passes and line-feed is preserved.
Server configuration and status
Weblate installation: self-hosted from PyPI
Weblate 4.3.2
weblate-language-data 2020.11
(Sorry, I don't have console access, So I can't run ./manage.py list_versions)
Weblate deploy checks
(Sorry, I don't have console access, So I can't run this command)
The text was updated successfully, but these errors were encountered: