Update rocket_i18n and add gettext_macros #431
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#431
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "update-i18n"
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?
Internationalization now uses proc-macros that generate the .pot file
automatically.
Codecov Report
I'm getting
on every page. Any idea on what I did wrong? (or does it not work??)
I didn't have this error, but I'll try to reproduce it.
include_i18n!
returns aTranslation
according to docs, but routes try to load anI18n
, that may be the issue, but I don't know how you can not get the errorI18n
is just a request guard that selects the correctCatalog
for a given request, from the list of managed ones (Translation
), so I don't think it's here that the issue is.I can indeed reproduce. I'll try to fix the issue.
Ok, so the issue was just that I tested with my local version of gettext-macros, but there were a few changes that were not yet on crates.io.
I'll try to fix the conflict now…
I don't know what buildconfig is for, but it seems quiet tied to your specific configuration, can't it be made otherwise?
Seems good to me.
The buildconfig thing is already on master so it's not blocking
It is a file added by GNOME Builder I think… I should probably .gitignore it
👍