1. David Jean Louis
  2. polib
Issue #20 wontfix

reformating of strings

Anonymous created an issue

I have following problem with Transifex (which claims that root of cause is polib). I upload translations, do no change, download it back. What I get back is very often reformated. E.g.:

: ../src/up2date_client/rhnreg_constants.py:48 ../data/rh_register.glade.h:34

msgid "" -"Access to the technical support experts at Red Hat or Red Hat's partners for " -"help with any issues you might encounter with this system." +"Access to the technical support experts at Red Hat or Red Hat's partners for" +" help with any issues you might encounter with this system."

Note the space after "for" at the end of line.

This make diff in our git repo bigger for no reason. Glezos claims that cause is polib (which Transifex use). I could not verify this claim.

Comments (3)

  1. David Jean Louis repo owner

    Making polib behave exactly like gettext tools concerning wrapping is going to be a really hard task. Unless someone comes with a patch and unit tests for this, I do not intend to work on it anytime soon.

  2. Log in to comment