We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This crate looks nice but before attempting to use it I'd like to see better documentation.
From what I can tell:
i18n!
t!
String
t!("foo", x = 1)
t!("foo", x => 1)
t!("foo", locale = "en")
locale
t!("foo", unused_param=5)
std::fmt::Display
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This crate looks nice but before attempting to use it I'd like to see better documentation.
From what I can tell:
i18n!
must be called from the crate root; it generates items which are expected to be found in the crate roott!
returns aString
t!("foo", x = 1)
is equivalent tot!("foo", x => 1)
(why support both?)t!("foo", locale = "en")
— parameterlocale
has special handlingt!("foo", unused_param=5)
are allowed and ignoredstd::fmt::Display
(even if unused)The text was updated successfully, but these errors were encountered: