protected function ensureTranslated(&$string)
    {
        if (is_object($string) && $string instanceof TranslationPromise) {
            $string = $string->translate($this->app->language);
        }
    }