Hey Mailman postlist subscripers!
I did some minor tweaking on 2.1.13 Mailman as well as went through most of the Finnish translations. Im not sure should i post this to anywhere but
Here is minor changes to code: this same for 2.1.13? If not, this is easily changed in
- Mailman/HTMLFormatter.py:402:
'<mm-host>' : Utils.get_domain() --- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname, for some reason MailList.InitVars() is either not ran yet or variables has been overwritten? Im not sure why mm_cfg.py settings are not working here. - Mailman/MailList.py:187 and Mailman/HTMLFormatter:46 host_name = Utils.get_domain() --- Same as above
- In 2.1.11 there is different fontsize in admin/listinfo pages, is
MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example at http://stonelake.fi/mailman/listinfo.
Best regards, Joni Töyrylä
On 6/29/2010 12:52 AM, Joni Töyrylä wrote:
I did some minor tweaking on 2.1.13 Mailman as well as went through most of the Finnish translations. Im not sure should i post this to anywhere but
Here is minor changes to code:
- Mailman/HTMLFormatter.py:402: '<mm-host>' : Utils.get_domain() --- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname, for some reason MailList.InitVars() is either not ran yet or variables has been overwritten? Im not sure why mm_cfg.py settings are not working here.
I'm not sure what your issue is, but this is not correct. <mm-host> is supposed to be the email host of the list (the host_name attribute of the list, self.host_name in the original code), not the web (url) host returned by Utils.get_domain(). If it is not correct on some list's options page, check the list's host_name on it's admin General Options page.
- Mailman/MailList.py:187 and Mailman/HTMLFormatter:46 host_name = Utils.get_domain() --- Same as above
Same comment as above. These are intended to be the email host name of the list, not the web host name.
- In 2.1.11 there is different fontsize in admin/listinfo pages, is this same for 2.1.13? If not, this is easily changed in MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example at http://stonelake.fi/mailman/listinfo.
I don't understand this question. I can't read the Finnish, but the page at <http://stonelake.fi/mailman/listinfo> looks like a standard Mailman listinfo overview with respect to font sizes. See, e.g. <http://mail.python.org/mailman/listinfo>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro wrote:
On 6/29/2010 12:52 AM, Joni Töyrylä wrote:
I did some minor tweaking on 2.1.13 Mailman as well as went through most of the Finnish translations. Im not sure should i post this to anywhere but
Here is minor changes to code:
- Mailman/HTMLFormatter.py:402: '<mm-host>' : Utils.get_domain() --- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname, for some reason MailList.InitVars() is either not ran yet or variables has been overwritten? Im not sure why mm_cfg.py settings are not working here.
I'm not sure what your issue is, but this is not correct. <mm-host> is supposed to be the email host of the list (the host_name attribute of the list, self.host_name in the original code), not the web (url) host returned by Utils.get_domain(). If it is not correct on some list's options page, check the list's host_name on it's admin General Options page.
It seems to work, changed back. Im not sure why i got wrong name at first but now it works with self.host_name.
- In 2.1.11 there is different fontsize in admin/listinfo pages, is this same for 2.1.13? If not, this is easily changed in MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example at http://stonelake.fi/mailman/listinfo.
I don't understand this question. I can't read the Finnish, but the page at <http://stonelake.fi/mailman/listinfo> looks like a standard Mailman listinfo overview with respect to font sizes. See, e.g. <http://mail.python.org/mailman/listinfo>.
The "Welcome" text font is smaller in admin- page.
If you compare: http://mail.python.org/mailman/listinfo http://mail.python.org/mailman/admin
Tinyfix made them both same size: http://stonelake.fi/mailman/listinfo http://stonelake.fi/mailman/admin
Also, admin page has brackets around an email while listinfo has not ;)
Joni Töyrylä
On 6/29/2010 10:40 PM, Joni Töyrylä wrote:
The "Welcome" text font is smaller in admin- page.
If you compare: http://mail.python.org/mailman/listinfo http://mail.python.org/mailman/admin
Yes I see that now. Thanks.
Also, admin page has brackets around an email while listinfo has not ;)
The two messages "(Send questions and comments to mailman@example.com.)" on the admin overview and "If you are having trouble using the lists, please contact mailman@grizz.org." on the listinfo overview are different messages with different context. It is appropriate for the admin overview message to be parenthetical and the listinfo overview message to not be.
Further, removing the parentheses from the admin message or adding them to the listinfo message changes the i18n message string and breaks 36 existing translations (or 35 not counting the Finnish translation you are working on.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Joni Töyrylä
-
Mark Sapiro