mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-19 20:04:24 +02:00
SearchDashboard: Use t() instead of the view helper
Since it's library code we do not need to use the module-aware translation helper.
This commit is contained in:
parent
6ab61ba8e0
commit
8cc1970a9f
@ -72,7 +72,7 @@ class SearchDashboard extends Dashboard
|
||||
$pane->createDashlet(
|
||||
$searchUrl->title . ': ' . $searchString,
|
||||
Url::fromPath($searchUrl->url, array('q' => $searchString))
|
||||
)->setProgressLabel($this->view()->translate('Searching'));
|
||||
)->setProgressLabel(t('Searching'));
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user