Fix some plural strings and a missing title. Reported by David Ciscar Presas.
This commit is contained in:
parent
5105fa0a69
commit
393f38a281
5 changed files with 14 additions and 6 deletions
|
@ -53,7 +53,7 @@ order by substr (upper (sort), 1, 1)');
|
|||
while ($post = $result->fetchObject ())
|
||||
{
|
||||
array_push ($entryArray, new Entry ($post->title, Author::getEntryIdByLetter ($post->title),
|
||||
str_format (localize("authorword.many"), $post->count), "text",
|
||||
str_format (localize("authorword", $post->count), $post->count), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_AUTHORS_FIRST_LETTER."&id=". rawurlencode ($post->title)))));
|
||||
}
|
||||
return $entryArray;
|
||||
|
@ -74,7 +74,7 @@ order by substr (upper (sort), 1, 1)');
|
|||
{
|
||||
$author = new Author ($post->id, $post->sort);
|
||||
array_push ($entryArray, new Entry ($post->sort, $author->getEntryId (),
|
||||
str_format (localize("bookword.many"), $post->count), "text",
|
||||
str_format (localize("bookword", $post->count), $post->count), "text",
|
||||
array ( new LinkNavigation ($author->getUri ()))));
|
||||
}
|
||||
return $entryArray;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue