Mercurial > public > sg101
view static/js/tiny_mce/plugins/advimage/langs/en_dlg.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 |
line wrap: on
line source
tinyMCE.addI18n('en.advimage_dlg',{ tab_general:"General", tab_appearance:"Appearance", tab_advanced:"Advanced", general:"General", title:"Title", preview:"Preview", constrain_proportions:"Constrain proportions", langdir:"Language direction", langcode:"Language code", long_desc:"Long description link", style:"Style", classes:"Classes", ltr:"Left to right", rtl:"Right to left", id:"Id", map:"Image map", swap_image:"Swap image", alt_image:"Alternative image", mouseover:"for mouse over", mouseout:"for mouse out", misc:"Miscellaneous", example_img:"Appearance preview image", missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.", dialog_title:"Insert/edit image", src:"Image URL", alt:"Image description", list:"Image list", border:"Border", dimensions:"Dimensions", vspace:"Vertical space", hspace:"Horizontal space", align:"Alignment", align_baseline:"Baseline", align_top:"Top", align_middle:"Middle", align_bottom:"Bottom", align_texttop:"Text top", align_textbottom:"Text bottom", align_left:"Left", align_right:"Right", image_list:"Image list" });