Is it possible to include {{=T()}} in my static js file??
Smth like
$('.multiselectDays').multiselect({
numberDisplayed: 5,
nonSelectedText: 'Izberite dneve', // {{=T('Select days')}}
includeSelectAllOption: true,
selectAllText: 'Izberi vse' //{{=T('Select all')}}
});
I need it for translation of my bootstrap elements
On Wednesday, March 12, 2014 2:55:31 PM UTC+1, 黄祥 wrote:
>
> thank you so much for your detail explaination, massimo. i've figure it
> out why and how it works now.
> e.g.
> shortcut.add("Ctrl+F12", function() {
> window.open("/test/default/index", "_self");
> });
>
> thanks and best regards,
> stifan
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.