annotate static/js/tiny_mce/plugins/template/langs/en_dlg.js @ 715:820e57e621e8
Use |safe filter on Haystack templates to get better results w/quotes.
Content was getting escaped, so text with quotes around it was seemingly
missing from the search index. This change fixed that. I verified that the
search results will not leak raw HTML to the page so this should be safe to do.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 17 Sep 2013 20:26:49 -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 }); |