pub fn tr(en: &'static str, pt: &'static str) -> &'static strExpand description
Translates a bilingual message by selecting the active variant.
v1.0.36 (M4): inputs are constrained to &'static str so the function
can return one of them directly without Box::leak. The previous
implementation leaked one allocation per call which accumulated in
long-running pipelines; this version is allocation-free. All in-tree
callers already pass string literals, which are &'static str.