mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
[ticket/10345] Make use of the plural function in some basic places
PHPBB3-10345
This commit is contained in:
committed by
Oleg Pudeyev
parent
0734dd3c42
commit
88ae40a4b1
@@ -1330,7 +1330,7 @@ function get_folder_status($folder_id, $folder)
|
||||
'percent' => ($user->data['message_limit']) ? (($user->data['message_limit'] > 0) ? round(($folder['num_messages'] / $user->data['message_limit']) * 100) : 100) : 0,
|
||||
);
|
||||
|
||||
$return['message'] = sprintf($user->lang['FOLDER_STATUS_MSG'], $return['percent'], $return['cur'], $return['max']);
|
||||
$return['message'] = $user->lang('FOLDER_STATUS_MSG', (int) $return['max'], $return['cur'], $return['percent']);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user