pub fn translate_status_text(app: &AppState, text: &str) -> StringExpand description
What: Translate Arch systems status text from English to the current locale.
Inputs:
app: Application state containing translationstext: English status text to translate
Output:
- Translated status text, or original text if translation not found
Details:
- Parses English status messages and maps them to translation keys
- Handles dynamic parts like percentages and service names
- Falls back to original text if pattern doesn’t match