t()
t(string $text, array $parameters = array()) : \OC_L10N_String
Translating
Parameters
string | $text | The text we need a translation for |
array | $parameters | default:array() Parameters for sprintf |
Returns
\OC_L10N_String —Translation or the same text
Returns the translation. If no translation is found, $text will be returned.