liquid_feedback_frontend
view env/util/gregor.lua @ 202:2be6bb086d95
Little improvements and corrections of the Esperanto text thanks to helpers
| author | Thomas Wuerfel | 
|---|---|
| date | Thu Jan 06 15:29:17 2011 +0100 (2011-01-06) | 
| parents | 77260f05fd4b | 
| children | 
 line source
     1 function util.gregor(el_id, relaxed)
     2   ui.script{ script =
     3        'gregor_addGui({' ..
     4           'element_id: "' .. el_id .. '",' ..
     5           'month_names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],' ..
     6           'weekday_names: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],' ..
     7           'week_mode: "iso",' ..
     8           'week_numbers: "left",' ..
     9           (relaxed and 'relaxed: true,' or '') ..
    10         '});'
    11   }
    12 end
