Fix translated status (#1328)

(cherry picked from commit bdb3861a95)
This commit is contained in:
Gianluca Piccolo 2026-03-02 16:47:26 +01:00 committed by Johannes Meyer
parent 3cf41b9b0a
commit 0ea47f12ad
2 changed files with 2 additions and 2 deletions

View file

@ -85,6 +85,6 @@ class HostState extends State
public function getStateTextTranslated(): string
{
return HostStates::text($this->soft_state);
return HostStates::translated($this->soft_state);
}
}

View file

@ -85,6 +85,6 @@ class ServiceState extends State
public function getStateTextTranslated(): string
{
return ServiceStates::text($this->soft_state);
return ServiceStates::translated($this->soft_state);
}
}