Author: mahono
Date: 2010-01-20 09:27:13 +0100 (Wed, 20 Jan 2010)
New Revision: 26919
Modified:
plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
plugins/sfSympalPlugin/trunk/i18n/sf_admin.de.xml
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.json.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_dashboard/templates/indexSuccess.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/_is_published.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/sitemapSuccess.php
Log:
[1.4][sfSympalPlugin][1.0] Fixes i18n in admin generator theme, menu admin and
dashboard
Modified: plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
===================================================================
--- plugins/sfSympalPlugin/trunk/i18n/messages.de.xml 2010-01-20 08:20:28 UTC
(rev 26918)
+++ plugins/sfSympalPlugin/trunk/i18n/messages.de.xml 2010-01-20 08:27:13 UTC
(rev 26919)
@@ -623,6 +623,10 @@
<source>Select the date this menu item is to be published. This can be
a date in the future and the menu item will not be available until that
date.</source>
<target>Wählen Sie das Datum, an dem der Menüpunkt veröffentlicht
werden soll. Wenn das Datum in der Zukunft liegt, wird der Menüpunkt erst ab
dem angegeben Datum sichtbar sein.</target>
</trans-unit>
+ <trans-unit id="1945">
+ <source>The text slug identifier that represents this menu
item.</source>
+ <target>Der Slug, der diesen Menüpunkt repräsentiert.</target>
+ </trans-unit>
<trans-unit id="1950">
<source>Position</source>
<target>Position</target>
@@ -916,8 +920,8 @@
<target>Sympal Dashboard</target>
</trans-unit>
<trans-unit id="2900">
- <source>Hello <strong>%name%</strong>! Welcome to your Sympal
Dashboard. Below you can navigate the functionality and administer your
site.</source>
- <target>Hallo <strong>%name%</strong>! Willkommen zu Ihrem Sympal
Dashboard. Unten können Sie zu diversen Funktionen und Modulen wechseln, um die
Website zu administrieren.</target>
+ <source>Hello %name%! Welcome to your Sympal Dashboard. Below you can
navigate the functionality and administer your site.</source>
+ <target>Hallo %name%! Willkommen zu Ihrem Sympal Dashboard. Unten
können Sie zu diversen Funktionen und Modulen wechseln, um die Website zu
administrieren.</target>
</trans-unit>
<trans-unit id="2910">
<source>Go to the Sympal admin area for your site.</source>
@@ -1051,6 +1055,22 @@
<source>Delete</source>
<target>Löschen</target>
</trans-unit>
+ <trans-unit id="3300">
+ <source>Published on %date%</source>
+ <target>Wurde veröffentlicht am %date%</target>
+ </trans-unit>
+ <trans-unit id="3310">
+ <source>Will publish on %date%</source>
+ <target>Wird veröffentlicht am %date%</target>
+ </trans-unit>
+ <trans-unit id="3320">
+ <source>Has not been published yet.</source>
+ <target>Wurde noch nicht veröffentlicht.</target>
+ </trans-unit>
+ <trans-unit id="3330">
+ <source>The item was updated successfully.</source>
+ <target>Das Objekt wurde erfolgreich aktualisiert.</target>
+ </trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Modified: plugins/sfSympalPlugin/trunk/i18n/sf_admin.de.xml
===================================================================
--- plugins/sfSympalPlugin/trunk/i18n/sf_admin.de.xml 2010-01-20 08:20:28 UTC
(rev 26918)
+++ plugins/sfSympalPlugin/trunk/i18n/sf_admin.de.xml 2010-01-20 08:27:13 UTC
(rev 26919)
@@ -1,3 +1,4 @@
+
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN"
"http://www.oasis-open.org/committees/xliff/documents/xliff.dtd" >
<xliff version="1.0">
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.json.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.json.php
2010-01-20 08:20:28 UTC (rev 26918)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.json.php
2010-01-20 08:27:13 UTC (rev 26919)
@@ -2,7 +2,7 @@
$columns = array();
foreach ($this->configuration->getValue('list.display') as $name => $field)
{
- $columns[$name] = $field->getConfig('label', '', true);
+ $columns[$name] = __($field->getConfig('label', '', true));
}
?>
[?php echo
$helper->getNestedSetJsonResults($sf_request->getParameter('root_id'), $pager,
<?php echo var_export($columns, true) ?>) ?]
\ No newline at end of file
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.php
2010-01-20 08:20:28 UTC (rev 26918)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/data/generator/sfDoctrineModule/sympal_admin/template/templates/indexSuccess.php
2010-01-20 08:27:13 UTC (rev 26919)
@@ -9,7 +9,7 @@
[?php
sympal_use_javascript('/sfSympalAdminPlugin/js/jquery.nestedsortablewidget.pack.js')
?]
[?php sympal_use_javascript('/sfSympalAdminPlugin/js/jquery.nested_set.js') ?]
-[?php echo button_to('Back to List',
'@'.$sf_context->getRouting()->getCurrentRouteName()) ?]
+[?php echo button_to(__('Back to list', array(), 'sf_admin'),
'@'.$sf_context->getRouting()->getCurrentRouteName()) ?]
<h1>[?php echo $title = __('Adjust Order') ?]</h1>
[?php $sf_response->setTitle($title) ?]
@@ -39,7 +39,7 @@
[?php include_partial('<?php echo $this->getModuleName() ?>/assets') ?]
<?php if ($this->isNestedSet()): ?>
- [?php echo button_to('Adjust Order',
'@'.$sf_context->getRouting()->getCurrentRouteName().'?order=1') ?]
+ [?php echo button_to(__('Adjust Order'),
'@'.$sf_context->getRouting()->getCurrentRouteName().'?order=1') ?]
<?php endif; ?>
<div id="sf_admin_container">
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_dashboard/templates/indexSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_dashboard/templates/indexSuccess.php
2010-01-20 08:20:28 UTC (rev 26918)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_dashboard/templates/indexSuccess.php
2010-01-20 08:27:13 UTC (rev 26919)
@@ -16,7 +16,7 @@
<div id="boxes">
<h1><?php echo __('Sympal Dashboard') ?></h1>
- <p><?php echo __('Hello <strong>%name%</strong>! Welcome to your Sympal
Dashboard. Below you can navigate the functionality and administer your site.',
array('%name%' => $sf_user->getName())) ?></p>
+ <p><?php echo __('Hello %name%! Welcome to your Sympal Dashboard. Below
you can navigate the functionality and administer your site.', array('%name%'
=> '<strong>'.$sf_user->getName().'</strong>')) ?></p>
<?php if ($sf_request->isXmlHttpRequest()): ?>
<p><?php echo link_to(__('Go to the Sympal admin area for your site.'),
'@sympal_dashboard') ?></p>
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/_is_published.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/_is_published.php
2010-01-20 08:20:28 UTC (rev 26918)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/_is_published.php
2010-01-20 08:27:13 UTC (rev 26919)
@@ -1,7 +1,7 @@
<?php if ($sf_sympal_menu_item->getIsPublished()): ?>
- <?php echo image_tag('/sfSympalPlugin/images/published.png',
'title=Published on '.format_date($sf_sympal_menu_item->getDatePublished(),
'g')) ?>
+ <?php echo image_tag('/sfSympalPlugin/images/published.png',
'title='.__('Published on %date%', array('%date%' =>
format_date($sf_sympal_menu_item->getDatePublished(), 'g')))) ?>
<?php elseif ($sf_sympal_menu_item->getIsPublishedInTheFuture()): ?>
- <?php echo image_tag('/sfSympalPlugin/images/published_in_future.png',
'title=Will publish on '.format_date($sf_sympal_menu_item->getDatePublished(),
'g')) ?>
+ <?php echo image_tag('/sfSympalPlugin/images/published_in_future.png',
'title='.__('Will publish on %date%', array('%date%' =>
format_date($sf_sympal_menu_item->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/sfSympalMenuPlugin/modules/sympal_menu_items/templates/sitemapSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/sitemapSuccess.php
2010-01-20 08:20:28 UTC (rev 26918)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/templates/sitemapSuccess.php
2010-01-20 08:27:13 UTC (rev 26919)
@@ -1,7 +1,7 @@
<h2><?php echo __('Sitemap') ?></h2>
<?php foreach ($roots as $root): ?>
- <h3><?php echo ucfirst($root['name']) ?> Menu</h3>
+ <h3><?php echo ucfirst($root['name']) ?> <?php echo __('Menu') ?></h3>
<?php
$menu = get_sympal_menu($root['name'], true);
echo $menu;
--
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.