On 7/19/2012 7:33 AM, Brian Canty wrote: > Hello - I posted a questions last week about the ability to unsubscribe, > but found out that was not available. > > > > Now I ask, it there a way where you can change the language that appears > when you use the following statements?: > > > > <MM-Options-Form-Start> > > <MM-Editing-Options> > > <MM-Form-End>
Those tags appear only in the listinfo.html template for a list. The <MM-Options-Form-Start> and <MM-Form-End> tags generate only HTML <FORM ...> and </FORM> tags respectively and require no translation. The text generated by the <MM-Editing-Options> tag should be translated to the list's preferred_language or the language selected by the user at the top of the listinfo page. > And if you can edit this fields, where do you find them? See the definition of FormatEditingOption in Mailman/HTMLFormatter.py and also the definition of list_listinfo in Mailman/Cgi/listinfo.py. Note that if you change the English text in FormatEditingOption(), you will break all the i18n translations of this text unless you update the respective message catalogs. Probably a better way to deal with this is to just replace the <MM-Editing-Options> tag in the listinfo.html template with the desired result. See the FAQ at <http://wiki.list.org/x/jYA9> for info on where to put edited templates. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org