Author: jablko
Date: Thu Aug 27 12:16:41 2009
New Revision: 3085
Log:
Wrap some strings in __()
Modified:
trunk/apps/qubit/modules/actor/templates/listSuccess.php
trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
trunk/apps/qubit/modules/repository/templates/listSuccess.php
Modified: trunk/apps/qubit/modules/actor/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/actor/templates/listSuccess.php Thu Aug 27
12:08:26 2009 (r3084)
+++ trunk/apps/qubit/modules/actor/templates/listSuccess.php Thu Aug 27
12:16:41 2009 (r3085)
@@ -4,12 +4,12 @@
<th>
<?php if ('nameUp' == $sf_request->sort): ?>
<?php echo link_to(__('name'), array('sort' => 'nameDown') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('up.gif', array('style' => 'padding-bottom: 3px'),
'sort up') ?>
+ <?php echo image_tag('up.gif', array('style' => 'padding-bottom: 3px'),
__('Sort up')) ?>
<?php else: ?>
<?php echo link_to(__('name'), array('sort' => 'nameUp') +
$sf_request->getParameterHolder()->getAll()) ?>
<?php endif; ?>
<?php if ('nameDown' == $sf_request->sort): ?>
- <?php echo image_tag('down.gif', array('style' => 'padding-bottom:
3px'), 'sort down') ?>
+ <?php echo image_tag('down.gif', array('style' => 'padding-bottom:
3px'), __('Sort down')) ?>
<?php endif; ?>
<?php if (SecurityPriviliges::editCredentials($sf_user, 'actor')): ?>
<span class="th-link"><?php echo link_to(__('add new'), 'actor/create')
?></span>
@@ -17,12 +17,12 @@
</th><th>
<?php if ('typeDown' == $sf_request->sort): ?>
<?php echo link_to(__('type'), array('sort' => 'typeUp') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('down.gif', array('style' => 'padding-bottom:
3px'), 'sort down') ?>
+ <?php echo image_tag('down.gif', array('style' => 'padding-bottom:
3px'), __('Sort down')) ?>
<?php else: ?>
<?php echo link_to(__('type'), array('sort' => 'typeDown') +
$sf_request->getParameterHolder()->getAll()) ?>
<?php endif; ?>
<?php if ('typeUp' == $sf_request->sort): ?>
- <?php echo image_tag('up.gif', array('style' => 'padding-bottom: 3px'),
'sort up') ?>
+ <?php echo image_tag('up.gif', array('style' => 'padding-bottom: 3px'),
__('Sort up')) ?>
<?php endif; ?>
</th>
</tr></thead><tbody><?php foreach ($actors as $actor): ?><tr>
Modified: trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
Thu Aug 27 12:08:26 2009 (r3084)
+++ trunk/apps/qubit/modules/informationobject/templates/listSuccess.php
Thu Aug 27 12:16:41 2009 (r3085)
@@ -5,13 +5,13 @@
<tr>
<th><?php if ('titleUp' == $sf_request->sort): ?>
<?php echo link_to(__('title'), array('sort' => 'titleDown') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort up')
?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', __('Sort
up')) ?>
<?php else: ?>
<?php echo link_to(__('title'), array('sort' => 'titleUp') +
$sf_request->getParameterHolder()->getAll()) ?>
<?php endif; ?>
<?php if ('titleDown' == $sf_request->sort): ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', __('Sort
down')) ?>
<?php endif; ?>
<?php if (SecurityPriviliges::editCredentials($sf_user,
'informationObject')): ?>
@@ -23,13 +23,13 @@
<th>
<?php if ('repositoryUp' == $sf_request->sort): ?>
<?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
array('sort' => 'repositoryDown') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort
up') ?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', __('Sort
up')) ?>
<?php else: ?>
<?php echo link_to(__(sfConfig::get('app_ui_label_repository')),
array('sort' => 'repositoryUp')) ?>
<?php endif; ?>
<?php if ('repositoryDown' == $sf_request->sort): // multi-repository:
show repository (w/ sorting) ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"',
__('Sort down')) ?>
<?php endif; ?>
</th>
<?php else: // NOT multi-repostiory: show creators (no sorting,
multi-value) ?>
Modified: trunk/apps/qubit/modules/repository/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/repository/templates/listSuccess.php Thu Aug
27 12:08:26 2009 (r3084)
+++ trunk/apps/qubit/modules/repository/templates/listSuccess.php Thu Aug
27 12:16:41 2009 (r3085)
@@ -5,13 +5,13 @@
<tr>
<th><?php if ('nameUp' == $sf_request->sort): ?>
<?php echo link_to(__('name'), array('sort' => 'nameDown') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort up')
?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', __('Sort
up')) ?>
<?php else: ?>
<?php echo link_to(__('name'), array('sort' => 'nameUp') +
$sf_request->getParameterHolder()->getAll()) ?>
<?php endif; ?>
<?php if ('nameDown' == $sf_request->sort): ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', __('Sort
down')) ?>
<?php endif; ?>
<?php if (SecurityPriviliges::editCredentials($sf_user, 'repository')): ?>
@@ -21,13 +21,13 @@
<th><?php if ('typeUp' == $sf_request->sort): ?>
<?php echo link_to(__('type'), array('sort' => 'typeDown') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort up')
?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', __('Sort
up')) ?>
<?php else: ?>
<?php echo link_to(__('type'), array('sort' => 'typeUp') +
$sf_request->getParameterHolder()->getAll()) ?>
<?php endif; ?>
<?php if ('typeDown' == $sf_request->sort): ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', __('Sort
down')) ?>
<?php endif; ?>
</th>
@@ -37,7 +37,7 @@
<!-- hide sort option until it is working...
<?php echo link_to(__('country'), array('sort' => 'countryUp') +
$sf_request->getParameterHolder()->getAll()) ?>
- <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', 'sort
down') ?>
+ <?php echo image_tag('down.gif', 'style="padding-bottom: 3px;"', __('Sort
down')) ?>
-->
<?php else: ?>
<?php echo __('country') ?>
@@ -48,7 +48,7 @@
<?php if ('countryUp' == $sf_request->sort): ?>
<!-- hide sort option until it is working...
- <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', 'sort up')
?>
+ <?php echo image_tag('up.gif', 'style="padding-bottom: 3px;"', __('Sort
up')) ?>
-->
<?php endif; ?>
</th>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---