diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 8e80b1de8d..ec8301ae88 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -593,7 +593,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add
$on_page = floor($start_item / $per_page) + 1;
- $page_string = ($on_page == 1) ? '1' : '' . $user->lang['Previous'] . ' 1';
+ $page_string = ($on_page == 1) ? '1' : '' . $user->lang['PREVIOUS'] . ' 1';
if ($total_pages > 5)
{
@@ -627,9 +627,9 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add
}
}
- $page_string .= ($on_page == $total_pages) ? '' . $total_pages . '' : '' . $total_pages . ' ' . $user->lang['Next'] . '';
+ $page_string .= ($on_page == $total_pages) ? '' . $total_pages . '' : '' . $total_pages . ' ' . $user->lang['NEXT'] . '';
- $page_string = $user->lang['Goto_page'] . ' ' . $page_string;
+ $page_string = $user->lang['GOTO_PAGE'] . ' ' . $page_string;
return $page_string;
}
@@ -638,7 +638,7 @@ function on_page($num_items, $per_page, $start)
{
global $user;
- return sprintf($user->lang['Page_of'], floor($start / $per_page) + 1, max(ceil($num_items / $per_page), 1));
+ return sprintf($user->lang['PAGE_OF'], floor($start / $per_page) + 1, max(ceil($num_items / $per_page), 1));
}
// Obtain list of naughty words and build preg style replacement arrays for use by the