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
|
@ -68,7 +68,7 @@ class CustomColumn extends Base {
|
|||
public static function getCount($customId) {
|
||||
$nCustoms = parent::getDb ()->query('select count(*) from ' . self::getTableName ($customId))->fetchColumn();
|
||||
$entry = new Entry (self::getAllTitle ($customId), self::getAllCustomsId ($customId),
|
||||
str_format (localize("tags.alphabetical"), $nCustoms), "text",
|
||||
str_format (localize("tags.alphabetical", $nCustoms), $nCustoms), "text",
|
||||
array ( new LinkNavigation (self::getUriAllCustoms ($customId))));
|
||||
return $entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue