i18n icon indicating copy to clipboard operation
i18n copied to clipboard

Duplicate entries in dart file

Open zreptil opened this issue 6 years ago • 8 comments

when running generate_from_arb there are duplicated entries in the resulting dart files. I think this is because i defined the same translation and variable in different source-files. But i think this should be handled by the translation-generator.

in my current project i have the following code in different html-template-files: file 1: <ng-container @i18n="title of settings">Einstellungen file2: <none @i18n="title for settings dialog">Einstellungen

In the dart file there are these entries: "Einstellungen" : MessageLookupByLibrary.simpleMessage("Einstellungen"), "Einstellungen" : MessageLookupByLibrary.simpleMessage("Einstellungen"),

zreptil avatar Oct 19 '18 10:10 zreptil