pub fn t_fmt(app: &AppState, key: &str, args: &[&dyn Display]) -> StringExpand description
What: Get a translation with format arguments.
Inputs:
app:AppStatecontaining translation mapskey: Dot-notation keyargs: Format arguments (as Display trait objects)
Output:
- Formatted translated string
Details:
- Replaces placeholders in order: first {} gets first arg, etc.
- Supports multiple placeholders: β{} and {}β -> βarg1 and arg2β