Re: [greenstone-users] problem displaying macros

From sw64@cs.waikato.ac.nz
DateMon, 13 Nov 2006 10:18:55 +1300 (NZDT)
Subject Re: [greenstone-users] problem displaying macros
In-Reply-To (1163338272-7330bq7uvncw-w7-mail-sapo-pt)
Hello Rafael,

>> we just updated the library to 2.71 and got a problem with displaying
>> macros.
>> Instead a macros content, the macros code shows up
>>
>> a.. _textSearchhelp_
>> a.. browse documents by Type by clicking the Types button
>> a.. browse documents by Creator by clicking the Authors A-Z button
>>
Those three macors are stored in GSDLHOME/macros/english.dm, could you
find them in that file?
>> Buttons (creator, types) are not translated to other languages.
>> http://lib.kabbalah.info/?a=p&p=about&c=russianc&l=ru&w=utf-8

These buttons hasn't been translated. However you can add your translation
in russian.dm
_labelXXX_ [l=ru] {the russian traslation}
_textdescrXXX_ [l=ru]{the russian traslation}
where XXX is the button name. For example,

_labeltype_ [l=ru] {the russian traslation for the type button} //for
button label
_textdescrtype_ [l=ru]{the russian traslation for the type button}
//for button tooltip

Actually, there is Creators defined in russian.dm, but to use it you
need to change your button name to "creator" because the buttone name is
case sensitive.

For more information on macros, please look at
http://greenstone.sourceforge.net/wiki/index.php/All_about_macros
(unfinished)
http://greenstone.sourceforge.net/wiki/gsdoc/tutorial/en/using_macro_files.htm

Regards
Shaoqun

_______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>