-
Good day! The problem is that Userpro use “day” and just add “s” in end in plural numbers. But its wrong and not usable in my language.
The problem is not new and others users request to resolve it. Why its not resolved yet? For now impossible to use plugin with that translation.
Others get unswers but not me. Why so?
I use this function to plural names. Where can i paste it?PHP1234function plural_form($number, $after) {$cases = array (2, 0, 1, 1, 1, 2);echo $number.' '.$after[ ($number%100>4 && $number%100<20)? 2: $cases[min($number%10, 5)] ];}Guys i rated userpro with 5 stars you wanna make me change my rating because of terrible support that ignorring my post?
@alex1 ,
Thank you so much for your rating and for your patience.
I have added it our to do list and surely will be looking forward to it in our future updates.
But as it needs several changes to be done , please let me know if your ready to do so.
I will try my level best to help you out.@alex1 ,
Many apologies for the delay.
change file path:- userpro/functions/api.php
line no: 312
return $r . ‘ ‘ . $str . ($r > 1 ? ‘s’ : ”) . __(‘ ago’,’userpro’);
Remove ‘s’ from there
return $r . ‘ ‘ . $str . ($r > 1 ? ” : ”) . __(‘ ago’,’userpro’);
Thank you.
You must be logged in to reply to this topic.