Author: mahono
Date: 2010-01-21 22:22:54 +0100 (Thu, 21 Jan 2010)
New Revision: 27020
Modified:
plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
plugins/sfSympalPlugin/trunk/i18n/messages.fr.xml
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/lib/Basesympal_content_menu_itemActions.class.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/templates/indexSuccess.php
Log:
[1.4][sfSympalPlugin][1.0] Adds some missing i18n messages and wraps some
missing ones in content menu item form
Modified: plugins/sfSympalPlugin/trunk/i18n/messages.de.xml
===================================================================
--- plugins/sfSympalPlugin/trunk/i18n/messages.de.xml 2010-01-21 21:14:18 UTC
(rev 27019)
+++ plugins/sfSympalPlugin/trunk/i18n/messages.de.xml 2010-01-21 21:22:54 UTC
(rev 27020)
@@ -26,7 +26,7 @@
<source>Search</source>
<target>Suche</target>
</trans-unit>
- <!-- FIXME hier war was mit br -->
+ <!-- FIXME there was something with a br tag -->
<trans-unit id="40">
<source>Enter keywords to search by. Wildcards (*) are
supported.</source>
<target>Geben Sie Stichworte ein, nach denen gesucht werden soll. Es
werden Platzhalter (*) unterstützt.</target>
@@ -1255,6 +1255,14 @@
<target>Pluginaktionen</target>
</trans-unit>
+ <trans-unit id="4000">
+ <source>Add the "%content%" %type% to your Menu</source>
+ <target>Fügen Sie %type% "%content%" Ihrem Menü hinzu</target>
+ </trans-unit>
+ <trans-unit id="4010">
+ <source>Editing the "%content%" %type% Menu Item</source>
+ <target>Bearbeiten Sie den Menüpunkt für %type% "%content%"</target>
+ </trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Modified: plugins/sfSympalPlugin/trunk/i18n/messages.fr.xml
===================================================================
--- plugins/sfSympalPlugin/trunk/i18n/messages.fr.xml 2010-01-21 21:14:18 UTC
(rev 27019)
+++ plugins/sfSympalPlugin/trunk/i18n/messages.fr.xml 2010-01-21 21:22:54 UTC
(rev 27020)
@@ -17,7 +17,7 @@
<source>Search</source>
<target>Recherche</target>
</trans-unit>
- <!-- FIXME hier war was mit br -->
+
<trans-unit id="40">
<source>Enter keywords to search by. Wildcards (*) are
supported.</source>
<target>Veuillez saisir les mots-clés à recherche. Le caractère
générique (*) est supporté.</target>
@@ -1231,6 +1231,15 @@
<source>Plugin Actions</source>
<target>Actions de plugin</target>
</trans-unit>
+
+ <trans-unit id="4000">
+ <source>Add the "%content%" %type% to your Menu</source>
+ <target>Fügen Sie %type% "%content%" Ihrem Menü hinzu</target>
+ </trans-unit>
+ <trans-unit id="4010">
+ <source>Editing the "%content%" %type% Menu Item</source>
+ <target>Bearbeiten Sie den Menüpunkt für %type% "%content%"</target>
+ </trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/lib/Basesympal_content_menu_itemActions.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/lib/Basesympal_content_menu_itemActions.class.php
2010-01-21 21:14:18 UTC (rev 27019)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/lib/Basesympal_content_menu_itemActions.class.php
2010-01-21 21:22:54 UTC (rev 27020)
@@ -58,6 +58,7 @@
{
$this->form->save();
+ // TODO redirect to the frontend when coming from there
$this->getUser()->setFlash('notice', 'Menu saved successfully!');
$this->redirect('@sympal_content_edit?id='.$this->content->id);
}
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/templates/indexSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/templates/indexSuccess.php
2010-01-21 21:14:18 UTC (rev 27019)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_menu_item/templates/indexSuccess.php
2010-01-21 21:22:54 UTC (rev 27020)
@@ -1,8 +1,10 @@
<div id="sf_admin_container">
<?php if ($form->isNew()): ?>
- <h1>Add the "<?php echo $content ?>" <?php echo $content['Type']['label']
?> to your Menu</h1>
+ <h1><?php echo __('Add the "%content%" %type% to your Menu', array(
+ '%content%' => $content, '%type%' => $content['Type']['label'])) ?></h1>
<?php else: ?>
- <h1>Editing the "<?php echo $content ?>" <?php echo
$content['Type']['label'] ?> Menu Item</h1>
+ <h1><?php echo __('Editing the "%content%" %type% Menu Item', array(
+ '%content%' => $content, '%type%' => $content['Type']['label'])) ?></h1>
<?php endif; ?>
<div id="sf_admin_content_menu_item">
@@ -16,8 +18,8 @@
</div>
<div class="black_bar">
- <input type="submit" name="save" value="Save" />
- <input type="button" name="cancel" value="Cancel"
onClick="javascript: history.go(-1);" />
+ <input type="submit" name="save" value="<?php echo __('Save',
array(), 'sf_admin') ?>" />
+ <input type="button" name="cancel" value="<?php echo __('Cancel',
array(), 'sf_admin') ?>" onClick="javascript: history.go(-1);" />
</div>
</form>
</div>
--
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.