Author: jablko
Date: Mon Sep 14 18:31:17 2009
New Revision: 3296

Log:
Use i18n helper

Modified:
   trunk/apps/qubit/modules/informationobject/templates/deleteSuccess.php

Modified: trunk/apps/qubit/modules/informationobject/templates/deleteSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/deleteSuccess.php      
Mon Sep 14 18:22:24 2009        (r3295)
+++ trunk/apps/qubit/modules/informationobject/templates/deleteSuccess.php      
Mon Sep 14 18:31:17 2009        (r3296)
@@ -1,4 +1,4 @@
-<h1>Are you sure you want to delete <?php echo 
render_title($informationObject) ?><?php if (0 < 
count($informationObject->descendants)): ?> and all of its <?php echo 
count($informationObject->descendants) ?> descendants<?php endif; ?>?</h1>
+<h1><?php echo __('Are you sure you want to delete %1%?', array('%1%' => 
render_title($informationObject))) ?></h1>
 
 <?php if (0 < count($informationObject->descendants)): ?>
   <ul>
@@ -10,7 +10,7 @@
 
 <?php echo $form->renderFormTag(url_for(array('module' => 'informationobject', 
'action' => 'delete', 'id' => $informationObject->id)), array('method' => 
'delete')) ?>
   <ul class="actions">
-    <li><?php echo link_to('Cancel', array('module' => 'informationobject', 
'action' => 'show', 'id' => $informationObject->id)) ?></li>
-    <li><?php echo submit_tag('Confirm') ?></li>
+    <li><?php echo link_to(__('Cancel'), array('module' => 
'informationobject', 'action' => 'show', 'id' => $informationObject->id)) 
?></li>
+    <li><?php echo submit_tag(__('Confirm')) ?></li>
   </ul>
 </form>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to