annotate static/js/tiny_mce/plugins/template/langs/en_dlg.js @ 791:0ca691cccf8d
Utilize select_related() for user & user profiles.
This commit also removes the caching of the avatar URL in the
avatar template tag. This is because we are now using select_related,
so we already have the profile & avatar when we get to the tag.
Thus we don't need to waste time querying the cache.
Removed an apparently unused member map template as well.
author |
Brian Neal <bgneal@gmail.com> |
date |
Fri, 23 May 2014 21:52:41 -0500 |
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 }); |