Skip to content

[bug] tx push sometimes escapes question marks unintentionally #260

@mmattel

Description

@mmattel

tx 1.6.17 (latest at the time of writing)

  1. Prepare a directory for pulling and initialize it.
  2. Then pull using tx pull -s -t -all
  3. Replace in the config the project with an other
  4. Then push using tx push -s -t --all

In some strings that contain a ? it will be replaced on transifex (!), not locally by \? (escaping).
This escaping is not required in the string. In the webUI, you can change it back and when syncing to the repo, the question mark stays as it is and does not get escaped artifically.

Example:

Source:
Do you really want to remove these %s items?

webUI:
Do you really want to remove these %s items\?

Downloaded
Do you really want to remove these %s items\?

Corrected in the webUI
Do you really want to remove these %s items?

Downloaded
Do you really want to remove these %s items?

Expectation:
tx + the webUI must not escape automatically without constent. If an issue occurs, tx must file an error or warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions