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
|
||||
* @param $text The text we need a translation for
|
||||
* @param $parameters default:array() Parameters for sprintf
|
||||
* @returns Translation or the same text
|
||||
*
|
||||
* Returns the translation. If no translation is found, $text will be
|
||||
* returned.
|
||||
*/
|
||||
/**
|
||||
* @brief Translating
|
||||
* @param $text String The text we need a translation for
|
||||
* @param array|\default $parameters default:array() Parameters for sprintf
|
||||
* @return \OC_L10N_String Translation or the same text
|
||||
*
|
||||
* Returns the translation. If no translation is found, $text will be
|
||||
* returned.
|
||||
*/
|
||||
public function t($text, $parameters = array()){
|
||||
return new OC_L10N_String($this, $text, $parameters);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue