Return correct type form include_i18n!(), don't write duplciate msgids #2
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: plume/gettext-macros#2
Loading…
Reference in a new issue
No description provided.
Delete branch "plume/gettext-macros:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
format!("msgid {}", message)
exists before writing it. This fixes gettext errors when duplicate msgids are present.Vec<(&'static str, Catalog)>
frominclude_i18n!()
instead of justVec<Catalog>
cargo fmt
I already published a 0.2.0 version on crates.io containing a fix for the duplicate message problem, I just forgot to push it to GitHub too. Sorry. 😬 I will try to merge our changes nicely this evening.
And thank you for your help. 🙂