annotate static/js/tiny_mce/themes/advanced/langs/en.js @ 318:c550933ff5b6

Fix a bug where you'd get an error when trying to delete a forum thread (topic does not exist). Apparently when you call topic.delete() the posts would get deleted, but the signal handler for each one would run, and it would try to update the topic's post count or something, but the topic was gone? Reworked the code a bit and explicitly delete the posts first. I also added a sync() call on the parent forum since post counts were not getting adjusted.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Feb 2011 21:46:52 +0000
parents 88b2b9cb8c1f
children 6c182ceb7147
rev   line source
bgneal@312 1 tinyMCE.addI18n('en.advanced',{
bgneal@312 2 style_select:"Styles",
bgneal@312 3 font_size:"Font size",
bgneal@312 4 fontdefault:"Font family",
bgneal@312 5 block:"Format",
bgneal@312 6 paragraph:"Paragraph",
bgneal@312 7 div:"Div",
bgneal@312 8 address:"Address",
bgneal@312 9 pre:"Preformatted",
bgneal@312 10 h1:"Heading 1",
bgneal@312 11 h2:"Heading 2",
bgneal@312 12 h3:"Heading 3",
bgneal@312 13 h4:"Heading 4",
bgneal@312 14 h5:"Heading 5",
bgneal@312 15 h6:"Heading 6",
bgneal@312 16 blockquote:"Blockquote",
bgneal@312 17 code:"Code",
bgneal@312 18 samp:"Code sample",
bgneal@312 19 dt:"Definition term ",
bgneal@312 20 dd:"Definition description",
bgneal@312 21 bold_desc:"Bold (Ctrl+B)",
bgneal@312 22 italic_desc:"Italic (Ctrl+I)",
bgneal@312 23 underline_desc:"Underline (Ctrl+U)",
bgneal@312 24 striketrough_desc:"Strikethrough",
bgneal@312 25 justifyleft_desc:"Align left",
bgneal@312 26 justifycenter_desc:"Align center",
bgneal@312 27 justifyright_desc:"Align right",
bgneal@312 28 justifyfull_desc:"Align full",
bgneal@312 29 bullist_desc:"Unordered list",
bgneal@312 30 numlist_desc:"Ordered list",
bgneal@312 31 outdent_desc:"Outdent",
bgneal@312 32 indent_desc:"Indent",
bgneal@312 33 undo_desc:"Undo (Ctrl+Z)",
bgneal@312 34 redo_desc:"Redo (Ctrl+Y)",
bgneal@312 35 link_desc:"Insert/edit link",
bgneal@312 36 unlink_desc:"Unlink",
bgneal@312 37 image_desc:"Insert/edit image",
bgneal@312 38 cleanup_desc:"Cleanup messy code",
bgneal@312 39 code_desc:"Edit HTML Source",
bgneal@312 40 sub_desc:"Subscript",
bgneal@312 41 sup_desc:"Superscript",
bgneal@312 42 hr_desc:"Insert horizontal ruler",
bgneal@312 43 removeformat_desc:"Remove formatting",
bgneal@312 44 custom1_desc:"Your custom description here",
bgneal@312 45 forecolor_desc:"Select text color",
bgneal@312 46 backcolor_desc:"Select background color",
bgneal@312 47 charmap_desc:"Insert custom character",
bgneal@312 48 visualaid_desc:"Toggle guidelines/invisible elements",
bgneal@312 49 anchor_desc:"Insert/edit anchor",
bgneal@312 50 cut_desc:"Cut",
bgneal@312 51 copy_desc:"Copy",
bgneal@312 52 paste_desc:"Paste",
bgneal@312 53 image_props_desc:"Image properties",
bgneal@312 54 newdocument_desc:"New document",
bgneal@312 55 help_desc:"Help",
bgneal@312 56 blockquote_desc:"Blockquote",
bgneal@312 57 clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you want more information about this issue?",
bgneal@312 58 path:"Path",
bgneal@312 59 newdocument:"Are you sure you want clear all contents?",
bgneal@312 60 toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
bgneal@312 61 more_colors:"More colors"
bgneal@312 62 });