}
}
- /**
- * @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);
}