Author: david
Date: Fri Oct 29 12:10:26 2010
New Revision: 8658
Log:
Use i18n wrapper for text strings.
Modified:
trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php
Modified: trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php Fri Oct
29 12:10:24 2010 (r8657)
+++ trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php Fri Oct
29 12:10:26 2010 (r8658)
@@ -1,16 +1,13 @@
-<h1>Harvested Sites</h1>
+<h1><?php echo __('Harvested Sites') ?></h1>
<table class="list">
<thead>
<tr>
- <th>Repository</th>
- <th>Harvest</th>
- <th>Delete</th>
+ <th><?php echo __('Repository') ?></th>
+ <th><?php echo __('Harvest') ?></th>
+ <th><?php echo __('Delete') ?></th>
</tr>
</thead>
<tbody>
-
-
-
<?php foreach($repositories as $rep): ?>
<tr>
<td>
@@ -20,10 +17,9 @@
</td>
<td>
<?php foreach($rep->getOaiHarvests() as $harvestJob): ?>
- <a href ="<?php echo url_for('oai/harvest')?>/next/<?php echo
$harvestJob->id.'/'?>">Harvest</a>
+ <?php echo url_for('oai/harvest')?>/next/<?php echo
$harvestJob->id.'/'?>"><?php echo __('Harvest') ?></a>
<?php endforeach; ?>
- </td><td><a href ="<?php echo
url_for('oai/deleteRepository').'/'.$rep->id.'/'?>">Delete</a></td>
-
+ </td><td><a href ="<?php echo
url_for('oai/deleteRepository').'/'.$rep->id.'/'?>"><?php echo __('Delete')
?></a></td>
</tr>
<?php endforeach; ?>
--
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.com/group/qubit-commits?hl=en.