annotate static/js/tiny_mce/plugins/template/langs/en_dlg.js @ 552:9e42e6618168
For bitbucket issue #2, tweak the admin settings for the Post model to
reduce slow queries. Define our own queryset() method so we can control the
select_related(), and not have it cascade from post to topics to forums to
categories. Removed 'topic' from list_display because MySQL still sucked with
2 inner joins. Now it seems to be tolerable with only one join to User.
author |
Brian Neal <bgneal@gmail.com> |
date |
Wed, 25 Jan 2012 20:07:03 -0600 |
parents |
88b2b9cb8c1f |
children |
|
rev |
line source |
bgneal@312
|
1 tinyMCE.addI18n('en.template_dlg',{
|
bgneal@312
|
2 title:"Templates",
|
bgneal@312
|
3 label:"Template",
|
bgneal@312
|
4 desc_label:"Description",
|
bgneal@312
|
5 desc:"Insert predefined template content",
|
bgneal@312
|
6 select:"Select a template",
|
bgneal@312
|
7 preview:"Preview",
|
bgneal@312
|
8 warning:"Warning: Updating a template with a different one may cause data loss.",
|
bgneal@312
|
9 mdate_format:"%Y-%m-%d %H:%M:%S",
|
bgneal@312
|
10 cdate_format:"%Y-%m-%d %H:%M:%S",
|
bgneal@312
|
11 months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
|
bgneal@312
|
12 months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
|
bgneal@312
|
13 day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
|
bgneal@312
|
14 day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
|
bgneal@312
|
15 }); |