frontend translation + other stuff
This commit is contained in:
committed by
Nabeel Shahzad
parent
ba8a819c7d
commit
a346b0df2e
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user