> I've tried to make most markups work either way however... Let me
> know if there are some that don't.
The translated texts:
if (BOLTconfig('BOLTlanguage') != '') MarkUp('vars', 'translate', '/>>
(.+)<</me', 'BOLTtranslate("$1", "")'); // >>translated text<<
else MarkUp('vars', 'translate', '/>>(.+)<</me', '"$1"'); //
>>translated text<<
I thougth there was a special reason for it, is it? I didn't try, but
here you are the modified version:
if (BOLTconfig('BOLTlanguage') != '') MarkUp('vars', 'translate', '/>>
(.+)(<<|<<)/me', 'BOLTtranslate("$1", "")'); // >>translated
text<<
else MarkUp('vars', 'translate', '/>>(.+)(<<|<<)/me',
'"$1"'); // >>translated text<<
Cheers,
Marcos
--
http://alinome.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" 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/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---