Active
Project:
Custom Pagers
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 May 2008 at 19:51 UTC
Updated:
3 Mar 2009 at 14:03 UTC
In "1 of 2" the "of" is hardcoded in the custom_pagers.module
I couldn't figure out how to quickly create a patch so here is the stuff that needs to be replaced:
Line 521
< 'title' => ($nav_array['current_index'] + 1) .' of '. count($nav_array['full_list']),
---
> 'title' => ($nav_array['current_index'] + 1) . t(' of ') . count($nav_array['full_list']),
Comments
Comment #1
joachim commentedIt might be best to wrap the whole phrase in a t.
I can't think of any examples but there may well be languages where "4 of 5" needs extra words either side or something...