aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_main.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-09-20 01:33:33 +0200
committerOleg Pudeyev <oleg@bsdpower.com>2011-11-25 15:10:49 -0500
commit179662e949967090724c5e14ea4d4d399886a38a (patch)
treed0b584b66747a925966f521cc72ffd1824882439 /phpBB/includes/ucp/ucp_main.php
parent88ae40a4b19360645d5e5a614cc378e7cce4afe3 (diff)
downloadforums-179662e949967090724c5e14ea4d4d399886a38a.tar
forums-179662e949967090724c5e14ea4d4d399886a38a.tar.gz
forums-179662e949967090724c5e14ea4d4d399886a38a.tar.bz2
forums-179662e949967090724c5e14ea4d4d399886a38a.tar.xz
forums-179662e949967090724c5e14ea4d4d399886a38a.zip
[ticket/10345] Use the plural function in some more places.
I added two function avatar_explanation_string() and avatar_error_wrong_size() for easier handling of the "pixels"-languages, as they are used quite often. PHPBB3-10345
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r--phpBB/includes/ucp/ucp_main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php
index 3538b641f7..2b8f662bb4 100644
--- a/phpBB/includes/ucp/ucp_main.php
+++ b/phpBB/includes/ucp/ucp_main.php
@@ -194,8 +194,8 @@ class ucp_main
'VISITED' => (empty($last_visit)) ? ' - ' : $user->format_date($last_visit),
'WARNINGS' => ($user->data['user_warnings']) ? $user->data['user_warnings'] : 0,
'POSTS' => ($user->data['user_posts']) ? $user->data['user_posts'] : 0,
- 'POSTS_DAY' => sprintf($user->lang['POST_DAY'], $posts_per_day),
- 'POSTS_PCT' => sprintf($user->lang['POST_PCT'], $percentage),
+ 'POSTS_DAY' => $user->lang('POST_DAY', $posts_per_day),
+ 'POSTS_PCT' => $user->lang('POST_PCT', $percentage),
'OCCUPATION' => (!empty($row['user_occ'])) ? $row['user_occ'] : '',
'INTERESTS' => (!empty($row['user_interests'])) ? $row['user_interests'] : '',