Author: mahono
Date: 2010-01-20 09:55:55 +0100 (Wed, 20 Jan 2010)
New Revision: 26922

Modified:
   plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
   
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_is_published.php
   
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_actions.php
   
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_header.php
Log:
[1.4][sfSympalPlugin][1.0] Fixes i18n for sympal_content admin module

Modified: plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
===================================================================
--- plugins/sfSympalPlugin/trunk/i18n/messages.de.xml   2010-01-20 08:36:08 UTC 
(rev 26921)
+++ plugins/sfSympalPlugin/trunk/i18n/messages.de.xml   2010-01-20 08:55:55 UTC 
(rev 26922)
@@ -1071,6 +1071,10 @@
         <source>The item was updated successfully.</source>
         <target>Das Objekt wurde erfolgreich aktualisiert.</target>
       </trans-unit>
+      <trans-unit id="3340">
+        <source>Change Content Type</source>
+        <target>Content-Typ wechseln</target>
+      </trans-unit>
     </body>
   </file>
 </xliff>
\ No newline at end of file

Modified: 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_is_published.php
===================================================================
--- 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_is_published.php
     2010-01-20 08:36:08 UTC (rev 26921)
+++ 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_is_published.php
     2010-01-20 08:55:55 UTC (rev 26922)
@@ -1,7 +1,7 @@
 <?php if ($sf_sympal_content->getIsPublished()): ?>
-  <?php echo image_tag('/sfSympalPlugin/images/published.png', 
'title=Published on '.format_date($sf_sympal_content->getDatePublished(), 'g')) 
?>
+  <?php echo image_tag('/sfSympalPlugin/images/published.png', 
'title='.__('Published on %date%', array('%date%' => 
format_date($sf_sympal_content->getDatePublished(), 'g')))) ?>
 <?php elseif ($sf_sympal_content->getIsPublishedInTheFuture()): ?>
-  <?php echo image_tag('/sfSympalPlugin/images/published_in_future.png', 
'title=Will publish on '.format_date($sf_sympal_content->getDatePublished(), 
'g')) ?>
+  <?php echo image_tag('/sfSympalPlugin/images/published_in_future.png', 
'title='.__('Will publish on %date%', array('%date%' => 
format_date($sf_sympal_content->getDatePublished(), 'g')))) ?>
 <?php else: ?>
-  <?php echo image_tag('/sfSympalPlugin/images/not_published.png', 'title=Has 
not been published yet.') ?>
+  <?php echo image_tag('/sfSympalPlugin/images/not_published.png', 
'title='.__('Has not been published yet.')) ?>
 <?php endif; ?>
\ No newline at end of file

Modified: 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_actions.php
===================================================================
--- 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_actions.php
     2010-01-20 08:36:08 UTC (rev 26921)
+++ 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_actions.php
     2010-01-20 08:55:55 UTC (rev 26922)
@@ -1 +1 @@
-<?php echo $helper->linkToNew(array(  'params' =>   array(  ),  'class_suffix' 
=> 'new',  'label' => 'New '.$contentType->getLabel(),)) ?>
\ No newline at end of file
+<?php echo $helper->linkToNew(array('params' => array(), 'class_suffix' => 
'new', 'label' => __('New '.$contentType->getLabel()))) ?>
\ No newline at end of file

Modified: 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_header.php
===================================================================
--- 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_header.php
      2010-01-20 08:36:08 UTC (rev 26921)
+++ 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content/templates/_list_header.php
      2010-01-20 08:55:55 UTC (rev 26922)
@@ -1,6 +1,6 @@
 <?php $contentTypes = 
Doctrine_Core::getTable('sfSympalContentType')->findAll() ?>
 <div id="sympal_content_type_menu">
-  <h3>Change Content Type</h3>
+  <h3><?php echo __('Change Content Type') ?></h3>
   <ul>
     <?php foreach ($contentTypes as $contentType): ?>
       <li<?php if ($sf_user->getAttribute('content_type_id') == 
$contentType->id): ?> class="current"<?php endif; ?>><?php echo 
link_to($contentType->getLabel(), 
'@sympal_content_list_type?type='.$contentType->getId()) ?></li>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" 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/symfony-svn?hl=en.


Reply via email to