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

whitespace and newlines in translation key field #6031

Closed
swurzinger opened this issue May 17, 2021 · 2 comments
Closed

whitespace and newlines in translation key field #6031

swurzinger opened this issue May 17, 2021 · 2 comments
Assignees
Labels
bug Something is broken. ux Issues related to user experience.
Milestone

Comments

@swurzinger
Copy link

Describe the issue

A recent update added some whitespace for the key field (structured json). There is no whitespace in the JSON in the keys. Whitespace seems to be the same for all entries.

I already tried

Looked through the issues in GitHub and didn't find any similar one.
I have another translation using Java property files - there I can't spot the error.

To Reproduce the issue

browse translations for structured json translation.

Expected behavior

single line in key field.

Screenshots

image

Server configuration and status

Weblate installation: openshift

weblate@weblate-web-11-cb9qt:/$ weblate list_versions

  • Weblate: 4.6.2
  • Django: 3.2.2
  • siphashc: 2.1
  • translate-toolkit: 3.3.6
  • lxml: 4.6.3
  • Pillow: 8.2.0
  • bleach: 3.3.0
  • python-dateutil: 2.8.1
  • social-auth-core: 4.1.0
  • social-auth-app-django: 4.0.0
  • django-crispy-forms: 1.11.2
  • oauthlib: 3.1.0
  • django-compressor: 2.4.1
  • djangorestframework: 3.12.4
  • django-filter: 2.4.0
  • django-appconf: 1.0.4
  • user-agents: 2.2.0
  • filelock: 3.0.12
  • setuptools: 40.8.0
  • jellyfish: 0.8.2
  • openpyxl: 3.0.7
  • celery: 5.0.5
  • kombu: 5.0.2
  • translation-finder: 2.9
  • weblate-language-data: 2021.4
  • html2text: 2020.1.16
  • pycairo: 1.16.2
  • pygobject: 3.30.4
  • diff-match-patch: 20200713
  • requests: 2.25.1
  • django-redis: 4.12.1
  • hiredis: 2.0.0
  • sentry_sdk: 1.1.0
  • Cython: 0.29.23
  • misaka: 2.1.1
  • GitPython: 3.1.14
  • borgbackup: 1.1.16
  • pyparsing: 2.4.7
  • pyahocorasick: 1.4.2
  • python-redis-lock: 3.7.0
  • Python: 3.7.3
  • Git: 2.20.1
  • psycopg2: 2.8.6
  • psycopg2-binary: 2.8.6
  • phply: 1.2.5
  • chardet: 4.0.0
  • ruamel.yaml: 0.17.4
  • tesserocr: 2.5.1
  • akismet: 1.1
  • boto3: 1.17.69
  • zeep: 4.0.0
  • aeidon: 1.9
  • iniparse: 0.5
  • mysqlclient: 2.0.3
  • Mercurial: 5.8
  • git-svn: 2.20.1
  • git-review: 2.1.0
  • Redis server: 3.2.13
  • PostgreSQL server: 9.6.10
  • Database backends: django.db.backends.postgresql
  • Cache backends: default:RedisCache, avatar:FileBasedCache
  • Email setup: django.core.mail.backends.smtp.EmailBackend: localhost
  • OS encoding: filesystem=utf-8, default=utf-8
  • Celery: redis://:pJ4mvDTdTjvw4re0@weblate-cache:6379/1, redis://:pJ4mvDTdTjvw4re0@weblate-cache:6379/1, regular
  • Platform: Linux 4.18.0-193.47.1.el8_2.x86_64 (x86_64)
@nijel nijel added bug Something is broken. ux Issues related to user experience. labels May 17, 2021
@nijel nijel self-assigned this May 17, 2021
@nijel nijel added this to the 4.7 milestone May 17, 2021
@nijel
Copy link
Member

nijel commented May 17, 2021

It's just a display issue, it has been fixed today in 09c2638.

@nijel nijel closed this as completed May 17, 2021
@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken. ux Issues related to user experience.
Projects
None yet
Development

No branches or pull requests

2 participants