From: Sylvie G. <sgr...@at...> - 2005-09-09 11:29:50
|
There is a syntax error in the file templates/styles/damian/tiki-show_page.tpl. I don't knwow how many times it has been repeated. When a developper uses a {tr} in in a html(or smarty) field, it must be surrounded with "" and not '' as the translation can have a quote ' character. So by fixing the file templates/styles/damian/tiki-show_page.tpl with "" in the line 50 and 52, it will work ---------------- <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_cha nged&watch_object={$page|escape:"url"}&watch_action=add">{html_image file='img/icons/icon_watch.png' border='0' alt="{tr}monitor this page{/tr}" title="{tr}monitor this page{/tr}"}</a> {else} <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_cha nged&watch_object={$page|escape:"url"}&watch_action=remove">{html_im age file='img/icons/icon_unwatch.png' border='0' alt="{tr}stop monitoring this page{/tr}" title="{tr}stop monitoring this page{/tr}"}</a> > -----Original Message----- > From: tik...@li... > [mailto:tik...@li...]On Behalf Of ... ... > Sent: Friday, September 09, 2005 1:08 AM > To: tik...@li... > Subject: [Tikiwiki-users] Error compiling catalan template > > > When I try to compile template for catalan language > (http://localhost/tikiwiki-1.9.1/tiki-admin_system.php?compiletemp > lates=ca) > there is an error: > > Fatal error: Smarty error: [in styles/damian/tiki-show_page.tpl line > 50]: syntax error: invalid attribute name: 'pàgina' title='seguiment' > (Smarty_Compiler.class.php, line 1516) in > /var/www/tikiwiki-1.9.1/lib/smarty/libs/Smarty.class.php on line 1088 > > It's a bug? What can I do for compile my traductions? > > Thanks! > > P.D.: I don't write english very good. Excuse me if I make some mistakes. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Tikiwiki-users mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > |