schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
427 stars 291 forks source link

Typo in dumper note #586

Open garak opened 4 months ago

garak commented 4 months ago
Q A
Bundle version latest
Symfony version irrelevant
PHP version irrelevant

Expected behavior

The XliffDumper should provide the correct English note:

The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimited string such as "form.label.firstname", then the developer has not provided a default message.

Actual behavior

This note is provided:

The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.

Steps to reproduce

Just take a look at the source at https://github.com/schmittjoh/JMSTranslationBundle/blob/97bb596ca4b8feeb2c0264fd4477271fcc0d0949/Translation/Dumper/XliffDumper.php#L115