ongr-io / TranslationsBundle

Translations GUI for translating Symfony static strings
MIT License
5 stars 13 forks source link

Not intuitive configuration/command parameters behaviour during import #13

Open Im0rtality opened 9 years ago

Im0rtality commented 9 years ago

Current situation: Running app/console ongr:translations:import Foo\\BarBundle\\FooBarBundle imports only keys (no locale translations) due to nulled locales not matching anything. See: https://www.dropbox.com/s/wussq60g5v2qgix/Screenshot%202015-03-02%2014.06.35.png?dl=0

Running app/console ongr:translations:import imports everything.

Proposal: When specifying one filter option (bundle/domain/locale), others should remain match all, thus running app/console ongr:translations:import Foo\\BarBundle\\FooBarBundle actually imports something useful.

linasmo commented 9 years ago

Please try to provide bundle namespace in quotes.

Im0rtality commented 9 years ago

Same issue applies to running --config-only - default configuration does not match any locales/domains.