Browse Source

Removing function that was not a good idea to leave around

Jose Lorenzo Rodriguez 11 years ago
parent
commit
78cee289a1
1 changed files with 0 additions and 18 deletions
  1. 0 18
      src/I18n/I18n.php

+ 0 - 18
src/I18n/I18n.php

@@ -77,22 +77,4 @@ class I18n {
 		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) {
-		
-	}
-
 }