On Tue, Nov 18, 2008 at 7:11 PM, alinome.net <[EMAIL PROTECTED]> wrote:
>
>> 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<<
Fixed. Thanks.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---