aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Notebooks
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-12-04 20:32:05 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-12-04 20:32:05 +0000
commitc35eba3676b09d58f3b71c29934853964aaf0a3f (patch)
treed3af46d70ea835aea1bd671300a1a3d37840ef28 /h-source/Application/Views/Notebooks
parent37b417757fc21ecf2ae159fc8f5182ec234e0be0 (diff)
improved i18n
Diffstat (limited to 'h-source/Application/Views/Notebooks')
-rw-r--r--h-source/Application/Views/Notebooks/catalogue.php20
-rw-r--r--h-source/Application/Views/Notebooks/page.php18
2 files changed, 19 insertions, 19 deletions
diff --git a/h-source/Application/Views/Notebooks/catalogue.php b/h-source/Application/Views/Notebooks/catalogue.php
index d2d1125..4648b3d 100644
--- a/h-source/Application/Views/Notebooks/catalogue.php
+++ b/h-source/Application/Views/Notebooks/catalogue.php
@@ -25,11 +25,11 @@
<?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['compatibility']?></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['subtype']?></div>
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['sort-by']?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext(betterVendor($this->viewArgs['vendor']));?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['compatibility'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['comm_year'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['subtype'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['sort-by'])?></div>
</div>
</div>
@@ -38,8 +38,8 @@
<?php echo $popupMore;?>
</div>
<div class="viewall_popup_menu_status">
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['bios']?></div>
- <div class="viewall_popup_menu_status_item"><?php echo Hardware::translate($this->viewArgs['architecture']);?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext($this->viewArgs['bios'])?></div>
+ <div class="viewall_popup_menu_status_item"><?php echo gtext(translate($this->viewArgs['architecture']));?></div>
</div>
</div>
@@ -65,17 +65,17 @@
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("subtype (notebook, netbook, tablet)");?></div>
- <div class="inner_value"><b><?php echo $item['hardware']['subtype'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['subtype']);?></b></div>
</div>
<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_compatibility">
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
- <div class="inner_value"><?php echo $item['hardware']['compatibility'];?></div>
+ <div class="inner_value"><?php echo gtext($item['hardware']['compatibility']);?></div>
</div>
<div class="notebook_view_link">
diff --git a/h-source/Application/Views/Notebooks/page.php b/h-source/Application/Views/Notebooks/page.php
index 6e3db82..98b13cd 100644
--- a/h-source/Application/Views/Notebooks/page.php
+++ b/h-source/Application/Views/Notebooks/page.php
@@ -51,32 +51,32 @@
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("subtype (notebook, netbook, tablet)");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['subtype'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['subtype']);?></b></div>
</div>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("architecture");?>:</div>
- <div class="inner_value"><b><?php echo Hardware::translate($item[$tableName]['architecture']);?></b></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['architecture']));?></b></div>
</div>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("does it have a free BIOS?");?></div>
- <div class="inner_value"><b><?php echo $item[$tableName]['bios'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['bios']);?></b></div>
</div>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("can free operating systems be installed?");?></div>
- <div class="inner_value"><b><?php echo $item[$tableName]['can_free_systems_be_installed'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['can_free_systems_be_installed']);?></b></div>
</div>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['comm_year'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['comm_year']);?></b></div>
</div>
<div class="notebook_compatibility">
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['compatibility'];?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['compatibility']);?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
</div>
<div class="model_tested_on">
@@ -91,17 +91,17 @@
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("video card model");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['video_card_type'];?></b> (<?php echo Notebooks::$videoReverse[$item[$tableName]['video_card_works']];?>)</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['video_card_type'];?></b> (<?php echo gtext(Notebooks::$videoReverse[$item[$tableName]['video_card_works']]);?>)</div>
</div>
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("wifi model");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['wifi_type'];?></b> (<?php echo Notebooks::$wifiReverse[$item[$tableName]['wifi_works']];?>)</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['wifi_type'];?></b> (<?php echo gtext(Notebooks::$wifiReverse[$item[$tableName]['wifi_works']]);?>)</div>
</div>
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("webcam model");?>:</div>
- <div class="inner_value"><b><?php echo $item[$tableName]['webcam_type'];?></b> (<?php echo Notebooks::$webcamReverse[$item[$tableName]['webcam_works']];?>)</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['webcam_type'];?></b> (<?php echo gtext(Notebooks::$webcamReverse[$item[$tableName]['webcam_works']]);?>)</div>
</div>
<div class="notebook_description">