mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-18 10:32:54 -05:00
Html: move translate one level deeper
This commit is contained in:
parent
162c19c023
commit
78f02ad403
2 changed files with 6 additions and 6 deletions
|
|
@ -89,12 +89,6 @@ abstract class BaseElement extends Html
|
|||
);
|
||||
}
|
||||
|
||||
protected function translate($msg)
|
||||
{
|
||||
// TODO: Not so nice
|
||||
return mt('businessprocess', $msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the given something can be rendered
|
||||
*
|
||||
|
|
|
|||
|
|
@ -101,6 +101,12 @@ class Html implements Renderable
|
|||
return implode($this->contentSeparator, $html);
|
||||
}
|
||||
|
||||
protected function translate($msg)
|
||||
{
|
||||
// TODO: Not so nice
|
||||
return mt('businessprocess', $msg);
|
||||
}
|
||||
|
||||
public static function element($name, $attributes = null)
|
||||
{
|
||||
// TODO: This might be anything here, add a better check
|
||||
|
|
|
|||
Loading…
Reference in a new issue