v1.1.3
What's Changed
- Improve
t!
macro to support argument end with a comma,
.t!("hello", locale = "en", count = 100); // And also support t!("hello", locale = "en", count = 100,);
- Improve
t!
macro to support string var name.t!("messages.hello", name = "world"); // Support use string var name t!("messages.hello", "name" => "Jason", "count" => 3 + 2); t!("messages.hello", locale = "zh-HK", "name" => "Jason", "count" => 3 + 2);