aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/page.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-12-04 19:53:26 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-12-04 19:53:26 +0000
commit37b417757fc21ecf2ae159fc8f5182ec234e0be0 (patch)
tree42ccc1ed730377e3c8eaa5da1cfd98921109bd67 /h-source/Application/Views/page.php
parent9cfcb4bb32e2fb8f5dbabd7faa06e47adf1c23af (diff)
improved i18n
Diffstat (limited to 'h-source/Application/Views/page.php')
-rw-r--r--h-source/Application/Views/page.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/h-source/Application/Views/page.php b/h-source/Application/Views/page.php
index 0cf4e34..704e019 100644
--- a/h-source/Application/Views/page.php
+++ b/h-source/Application/Views/page.php
@@ -63,7 +63,7 @@
<?php if (strcmp($this->controller,'printers') === 0 ) { ?>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("subtype");?> (laser, inkjet, ..):</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>
<?php } ?>
@@ -74,12 +74,12 @@
<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_vendor">
<div class="inner_label"><?php echo gtext("interface");?>:</div>
- <div class="inner_value"><b><?php echo translate($item[$tableName]['interface']);?></b></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['interface']));?></b></div>
</div>
<div class="model_tested_on">
@@ -97,17 +97,17 @@
<?php if (strcmp($this->controller,'videocards') === 0 ) { ?>
<div class="inner_label"><?php echo gtext("how does it work with free software?");?></div>
- <div class="inner_value"><b><?php echo gtext(Videocard::$videoReverse[$item[$tableName][$worksField]]);?></b></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName][$worksField]));?></b></div>
<?php } else if (strcmp($this->controller,'printers') === 0 ) { ?>
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</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#printer-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(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#printer-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
<?php } else if (strcmp($this->controller,'scanners') === 0 ) { ?>
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</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#scanner-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(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#scanner-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
<?php } else { ?>
@@ -121,7 +121,7 @@
<?php if (strcmp($this->controller,'printers') === 0 ) { ?>
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("does it adopt any techniques to track users?");?><div class="box_module_label"><?php echo $tracksHelpLabel;?></div></div>
- <div class="inner_value"><b><?php echo $item[$tableName]['it_tracks_users'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['it_tracks_users']);?></b></div>
</div>
<?php } ?>