frontend translation + other stuff

This commit is contained in:
lordwilbur
2018-05-18 00:03:30 +02:00
committed by Nabeel Shahzad
parent ba8a819c7d
commit a346b0df2e
54 changed files with 966 additions and 771 deletions

View File

@@ -220,20 +220,4 @@ if (!function_exists('_fmt')) {
return $line;
}
}
if (!function_exists('__trans_choice')) {
/**
* Translates the given message based on a count from json key.
*
* @param $key
* @param $number
* @param array $replace
* @param null $locale
* @return string
*/
function __trans_choice($key, $number, array $replace = [], $locale = null)
{
return trans_choice(__($key), $number, $replace, $locale);
}
}