Modify some locale handling to better handle plurals. Based on a patch by Tobias. re #37
This commit is contained in:
parent
0682c568b4
commit
560bb69942
13 changed files with 69 additions and 69 deletions
2
book.php
2
book.php
|
@ -369,7 +369,7 @@ class Book extends Base {
|
|||
$result = array();
|
||||
$entry = new Entry (localize ("allbooks.title"),
|
||||
self::ALL_BOOKS_ID,
|
||||
str_format (localize ("allbooks.alphabetical"), $nBooks), "text",
|
||||
str_format (localize ("allbooks.alphabetical", $nBooks), $nBooks), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS)));
|
||||
array_push ($result, $entry);
|
||||
$entry = new Entry (localize ("recent.title"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue