|
|
|
@ -23,7 +23,7 @@ namespace OCP; |
|
|
|
|
interface IL10N { |
|
|
|
|
/** |
|
|
|
|
* Translating |
|
|
|
|
* @param $text String The text we need a translation for |
|
|
|
|
* @param string $text The text we need a translation for |
|
|
|
|
* @param array $parameters default:array() Parameters for sprintf |
|
|
|
|
* @return \OC_L10N_String Translation or the same text |
|
|
|
|
* |
|
|
|
@ -34,9 +34,9 @@ interface IL10N { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Translating |
|
|
|
|
* @param $text_singular String the string to translate for exactly one object |
|
|
|
|
* @param $text_plural String the string to translate for n objects |
|
|
|
|
* @param $count Integer Number of objects |
|
|
|
|
* @param string $text_singular the string to translate for exactly one object |
|
|
|
|
* @param string $text_plural the string to translate for n objects |
|
|
|
|
* @param integer $count Number of objects |
|
|
|
|
* @param array $parameters default:array() Parameters for sprintf |
|
|
|
|
* @return \OC_L10N_String Translation or the same text |
|
|
|
|
* |
|
|
|
@ -51,8 +51,8 @@ interface IL10N { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Localization |
|
|
|
|
* @param $type Type of localization |
|
|
|
|
* @param $params parameters for this localization |
|
|
|
|
* @param string $type Type of localization |
|
|
|
|
* @param array $data parameters for this localization |
|
|
|
|
* @return String or false |
|
|
|
|
* |
|
|
|
|
* Returns the localized data. |
|
|
|
|