diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-08-22 06:50:30 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-08-22 06:50:30 +0000 |
commit | 1b2aa2f98ba320a7623676c1640f792b70f1fa16 (patch) | |
tree | bd6fc7a906c35719970da2dfe5e7bdceb7461439 /h-source/Application/Controllers | |
parent | 0721f5e55bf8ae501e15880f9ae243a58eadd00b (diff) |
improved i18n
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 4ac197c..c2e6517 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -432,7 +432,7 @@ class GenericController extends BaseController Params::$nullQueryValue = 'undef'; - $data['tree'] = $this->controller; + $data['tree'] = plural($this->controller); $this->mod->aWhere(array("deleted"=>"no","cleared"=>"no")); @@ -834,7 +834,7 @@ class GenericController extends BaseController protected function getSpecHardLink() { - return "<a href='".$this->baseUrl.'/'.$this->controller.'/catalogue/'.$this->lang.$this->viewStatus."'>".$this->controller."</a>"; + return "<a href='".$this->baseUrl.'/'.$this->controller.'/catalogue/'.$this->lang.$this->viewStatus."'>".plural($this->controller)."</a>"; } protected function goToLoginForm() |