[pmwiki-users] Internationalisation : just suggestion for next release
Antony Templier
z3l at free.fr
Fri Jan 13 11:59:09 CST 2006
hi,
The variable $PageSearchForm is actually set to '$[$SiteGroup/Search]'
May be would be better to set it to '$[{$SiteGroup}/Search]'
Thus only one line would need in XLPage, e.g:
# translation for both
'{$SiteGroup}/Search' => 'PmWikiFr/Recherche',
instead of:
# translation for for .tmpl skin file
'{$SiteGroup}/Search' => 'PmWikiFr/Recherche',
#translation for search results
'$SiteGroup/Search' => 'PmWikiFr.Recherche',
My work around for now is to add the following line in local/config.php :
$PageSearchForm = '$[{$SiteGroup}/Search]';
AT
More information about the pmwiki-users
mailing list