| Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
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.
|
|
HeadlessDocument(): Don't hardcode charset to us-ascii.
SelectOptions: New class used for a popup options menu.
|
|
use. Maps to the language-specific subdirectory within the template
directory.
|
|
Mark various strings as translatable.
ParseMailCommands(): Set $LANG to the user's preferred language.
|
|
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().
|
|
Mark lots of strings as translatable.
SnarfHTMLTemplate(), FormatUsers(), FormatEditingOption(),
FormatReminder(), GetStandardReplacements(), GetAllReplacements(),
InitTemplates(): Accept optional `lang' argument.
|
|
GetConfigInfo(): Set $LANG to the list's preferred language. Pass the
desired language to the maketext() call.
|
|
SendSubscribeAck(), SendUnsubscribeAck(), MailUserPassword(): Set
$LANG to user's preferred language. Call maketext() with language.
|
|
HandleBouncingAddress(): Call maketext() with list's preferred
language. Don't hardcode Content-Type: charset to "us-ascii".
|
|
|
|
process(): set $LANG to the list's preferred language, and also pass
this into the maketext() call.
|
|
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.
|
|
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".
|
|
with the list's preferred language.
|
|
|