diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-04 19:07:42 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-12-04 19:07:42 +0000 |
commit | 9cfcb4bb32e2fb8f5dbabd7faa06e47adf1c23af (patch) | |
tree | c1ee0451fe37e64dfe29c98cf8c0905e9ab53767 /h-source/Application/Views/Acquisitioncards | |
parent | d30d70afd95653bb356603612db6519d6e6ebead (diff) |
improved i18n
Diffstat (limited to 'h-source/Application/Views/Acquisitioncards')
-rw-r--r-- | h-source/Application/Views/Acquisitioncards/catalogue.php | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/h-source/Application/Views/Acquisitioncards/catalogue.php b/h-source/Application/Views/Acquisitioncards/catalogue.php index f9d86d7..23ce477 100644 --- a/h-source/Application/Views/Acquisitioncards/catalogue.php +++ b/h-source/Application/Views/Acquisitioncards/catalogue.php @@ -25,18 +25,14 @@ <?php echo $popup;?> </div> <div class="viewall_popup_menu_status"> - <div class="viewall_popup_menu_status_item"><?php echo betterVendor($this->viewArgs['vendor'])?></div> - <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['comm_year']?></div> - <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['compatibility']?></div> - <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['interface']?></div> - <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['sort-by']?></div> + <?php echo $popupLabel;?> </div> </div> <!--if no notebooks found--> <?php if (strcmp($recordNumber,0) === 0) { ?> <div class="viewall_no_items_found"> - <?php echo gtext("No acquisition card found");?>.. + <?php echo gtext($notFoundString);?>.. </div> <?php } ?> @@ -62,17 +58,17 @@ <div class="notebook_vendor"> <div class="inner_label"><?php echo gtext("year of commercialization");?>:</div> - <div class="inner_value"><b><?php echo $item['hardware']['comm_year'];?></b></div> + <div class="inner_value"><b><?php echo gtext($item['hardware']['comm_year']);?></b></div> </div> <div class="notebook_vendor"> <div class="inner_label"><?php echo gtext("interface");?>:</div> - <div class="inner_value"><b><?php echo $item['hardware']['interface'];?></b></div> + <div class="inner_value"><b><?php echo gtext(translate($item['hardware']['interface']));?></b></div> </div> <div class="notebook_kernel"> <div class="inner_label"><?php echo gtext("does it work with free software?");?></div> - <div class="inner_value"><b><?php echo $item['hardware']['compatibility'];?></b></div> + <div class="inner_value"><b><?php echo gtext($item['hardware'][$worksField]);?></b></div> </div> <div class="notebook_view_link"> |