summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-12-26Now that we require Python 2.0, we're fine getting rid of these copies.bwarsaw3-1647/+0
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-0/+32
Select: New HTML widget type. MESSAGES_DIR: The directory containing the translated .mo files. DEFAULT_SERVER_LANGUAGE: The default language for this Mailman installation. LC_DESCRIPTIONS: Language/charset mappings.
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-30/+68
InitVars(): added `language' and `preferred_language' list attributes. GetConfigInfo(): Show languages from the available languages. SetPreferredLanguage(), GetPreferredLanguage(), GetAvailableLanguages(): New methods to manipulate list language options. AddMember(), ApprovedAddMember(), ApprovedAddMembers(): Add new optional argument `lang', which gets stored as the user's preferred language. Also, mark a bunch of strings as translatable.
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-1/+49
HeadlessDocument(): Don't hardcode charset to us-ascii. SelectOptions: New class used for a popup options menu.
2000-12-26maketext(): New optional parameter `lang' which is the language tobwarsaw1-2/+4
use. Maps to the language-specific subdirectory within the template directory.
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-4/+17
Mark various strings as translatable. ParseMailCommands(): Set $LANG to the user's preferred language.
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-10/+21
Mark various strings as translatable. HoldSubscription(): New parameter `lang' which is the user's preferred language. This is stored in the pending database. Messages to the administrator are sent in the list's preferred language, while messages back to the user are sent in the user's preferred language. __handlesubscription(): Pull the user's preferred language from the held record and pass that to __refuse(). __refuse(): Pass the selected language to maketext().
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-100/+123
Mark lots of strings as translatable. SnarfHTMLTemplate(), FormatUsers(), FormatEditingOption(), FormatReminder(), GetStandardReplacements(), GetAllReplacements(), InitTemplates(): Accept optional `lang' argument.
2000-12-26Latest round of jcrey's I18N patches. Specifically,bwarsaw1-2/+6
GetConfigInfo(): Set $LANG to the list's preferred language. Pass the desired language to the maketext() call.
2000-12-26Latest set of I18N patches from jcrey. Specifically,bwarsaw1-5/+8
SendSubscribeAck(), SendUnsubscribeAck(), MailUserPassword(): Set $LANG to user's preferred language. Call maketext() with language.
2000-12-26Latest set of I18N patches from jcrey. Specifically,bwarsaw1-3/+3
HandleBouncingAddress(): Call maketext() with list's preferred language. Don't hardcode Content-Type: charset to "us-ascii".
2000-12-26jcrey's latest round of I18N changes.bwarsaw9-127/+201
2000-12-26Latest set of I18N patches from jcrey. Specifically,bwarsaw1-1/+4
process(): set $LANG to the list's preferred language, and also pass this into the maketext() call.
2000-12-26Latest set of I18N patches from jcrey. Specifically,bwarsaw1-19/+34
Exception classes: Mark the `rejection' strings for translation, but don't similarly mark the class docstrings. pygettext.py is able to extract these strings without markings. hold_for_approval(): Other changes to support I18N include setting $LANG to list's preferred language; marking more strings as translatable. There's duplicate code here which can be refactored much better.
2000-12-26Latest set of I18N patches from jcrey. Specifically,bwarsaw1-7/+10
process(): set $LANG to list's preferred language and use wherever necessary. Mark more strings as translatable. Don't hardcode Content-Type: charset to "us-ascii".
2000-12-26mail_passwords(): subj is marked for translation. Call maketext()bwarsaw1-2/+3
with the list's preferred language.
2000-12-26main(): Call maketext() with the list's preferred language.bwarsaw2-2/+2