Hi Pierre,
this has actually already been fixed in the snapshots of RIFE/Crud.
Thanks for the patch though!
Best regards,
Geert
On 25-nov-05, at 03:14, Raoul Pierre wrote:
Geert,
As it is, i18n in top menu in rife-crud is only possible with class
full name, not with short ones.
Below the patch I use to work with short name.
Regards
Pierre
Index: C:/DEV/Rife/rife-crud-svn/src/templates/crud/admin/menu.html
===================================================================
--- C:/DEV/Rife/rife-crud-svn/src/templates/crud/admin/menu.html
(revision 2702)
+++ C:/DEV/Rife/rife-crud-svn/src/templates/crud/admin/menu.html
(working copy)
@@ -2,7 +2,8 @@
<!--V 'menu_items'-->the menu<!--/V-->
<!--B 'menu_item_top'-->
<span class="[!V 'menu_item_class']menu_item[!/V]"><a
href="[!V 'url'/]">\<!--V 'L10N:menu_item-[!V 'exit_name'/]'-->
\<!--/V--></a></span>
- \<!--BV 'L10N:menu_item-[!V 'exit_name'/]'--><!--V 'short-
classname'/-->\<!--/BV-->
+ \<!--BV 'L10N:menu_item-[!V 'exit_name'/]'-->\<!--V
'L10N:menu_item-[!V 'short-classname'/]'-->\<!--/V-->\<!--/BV-->
+ \<!--BV 'L10N:menu_item-[!V 'short-classname'/]'-->[!V
'short-classname'/]\<!--/BV-->
<!--/B-->
<!--B 'menu_item'-->
<span class="[!V 'menu_item_class']menu_item[!/V]"><a
href="\[!V 'EXIT:QUERY:[!V 'exit_prefix'/][!V 'exit_name'/]'/]">
\<!--V 'L10N:menu_item-[!V 'exit_name'/]'-->\<!--/V--></a></span>
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users