Skip to content

Keep empty strings #36

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

2 participants

@cdfre
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 schmittjoh closed this May 31, 2012
@schmittjoh
Owner

Fixed by #43

@fchris82 fchris82 pushed a commit to fchris82/JMSTranslationBundle2 that referenced this issue Jul 14, 2015
@cdfre cdfre Keep empty strings aa21340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.