Skip to content

Duplicate entries in dart file #509

@zreptil

Description

@zreptil

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"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:intl_translationtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions