fixing button to add additional site
This commit is contained in:
parent
f188f6cc2f
commit
1e2d582123
18
lib/l10n.php
18
lib/l10n.php
|
@ -137,15 +137,15 @@ class OC_L10N{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Translating
|
* @brief Translating
|
||||||
* @param $text The text we need a translation for
|
* @param $text String The text we need a translation for
|
||||||
* @param $parameters default:array() Parameters for sprintf
|
* @param array|\default $parameters default:array() Parameters for sprintf
|
||||||
* @returns Translation or the same text
|
* @return \OC_L10N_String Translation or the same text
|
||||||
*
|
*
|
||||||
* Returns the translation. If no translation is found, $text will be
|
* Returns the translation. If no translation is found, $text will be
|
||||||
* returned.
|
* returned.
|
||||||
*/
|
*/
|
||||||
public function t($text, $parameters = array()){
|
public function t($text, $parameters = array()){
|
||||||
return new OC_L10N_String($this, $text, $parameters);
|
return new OC_L10N_String($this, $text, $parameters);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue