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

Keep empty strings #36

Closed
cdfre opened this issue Apr 4, 2012 · 1 comment
Closed

Keep empty strings #36

cdfre opened this issue Apr 4, 2012 · 1 comment

Comments

@cdfre
Copy link
Contributor

cdfre commented Apr 4, 2012

If i change a translation to an empty string, the value is overwritten.

example 1:

my:
    example:
        key: ''

Without @desc / | desc in code / twig and the option "--keep", the result is:

my:
    example:
        key: my.example.key

example 2:

my:
    example:
        # Desc: Mein Beispiel Schlüssel
        key: ''

The result is:

my:
    example:
        # Desc: Mein Beispiel Schlüssel
        key: 'Mein Beispiel Schlüssel'
@schmittjoh
Copy link
Owner

Fixed by #43

fchris82 pushed a commit to fchris82/JMSTranslationBundle2 that referenced this issue Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants