Skip to content

Commit

Permalink
Removing function that was not a good idea to leave around
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 20, 2014
1 parent 59086da commit 78cee28
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/I18n/I18n.php
Expand Up @@ -77,22 +77,4 @@ protected static function _fallbackTranslator($package, $locale) {
return static::translators()->get($package);
}

/**
* Used by the translation functions in basics.php
* Returns a translated string based on current language and translation files stored in locale folder
*
* @param string $singular String to translate
* @param string $plural Plural string (if any)
* @param string $domain Domain The domain of the translation. Domains are often used by plugin translations.
* If null, the default domain will be used.
* @param int $count Count Count is used with $plural to choose the correct plural form.
* @param string $language Language to translate string to.
* If null it checks for language in session followed by Config.language configuration variable.
* @return string translated string.
* @throws \Cake\Error\Exception When '' is provided as a domain.
*/
public static function translate($singular, $plural = null, $domain = null, $count = null, $language = null) {

}

}

0 comments on commit 78cee28

Please sign in to comment.