[Mailman-Users] Re: Can not find the "msgid" for a specific mail for mailman administrator.

2020-10-29 Thread Masaharu Kawada
Hello Mark,

I very much appreciate your comment.

>But, why do you want to modify the english message and msgid? Why not
>leave them as is and just modify the translated msgstr.

I misunderstood a little about what I had to do in order to have original
messages instead of the default ones in mailman.po,
and yes, as you mentioned above, msgstr(s) are the ones that should be
modified for may case.

Thanks,
Masaharu


On Tue, Oct 27, 2020 at 1:43 PM Masaharu Kawada  wrote:

> Dear mailman-users list,
>
> I have a question on how to modify the content of mail sent out to mailman
> administrator.
>
> Looking into /usr/lib/mailman/messages/ja/LC_MESSAGES/mailman.po, the
> following two lines can be found.
>
> 1.
> msgid "%(realname)s moderator request check result"
>
> 2.
> msgid ""
> "Notice: %(discarded)d old request(s) automatically expired.\n"
>
> The first line looks to be the mail title and the second line looks to be
> the content of the mail titled with the "%(realname)s moderator request
> check result" as the first line. However, I can not find the "msgid" in the
> second line in anywhere like /etc/mailman/templates/en/* where I think the
> "msgid(s)" used for mail content are supposed to be filed under
> /etc/mailman/templates/en/ directory such as
> /etc/mailman/templates/en/checkdbs.txt. To modify the "msgid" in the second
> line from "Notice: %(discarded)d old request(s) automatically expired.\n"
> to something other than that, I need to find out where the "msgid" is.
> Could anyone in the list give me a help on this?
>
> Thanks,
> Masaharu
>
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Can not find the "msgid" for a specific mail for mailman administrator.

2020-10-27 Thread Mark Sapiro
On 10/26/20 9:43 PM, Masaharu Kawada wrote:
> Dear mailman-users list,
> 
> I have a question on how to modify the content of mail sent out to mailman
> administrator.
> 
> Looking into /usr/lib/mailman/messages/ja/LC_MESSAGES/mailman.po, the
> following two lines can be found.
> 
> 1.
> 
> msgid "%(realname)s moderator request check result"

Which comes from cron/checkdbs


> 2.
> msgid ""
> "Notice: %(discarded)d old request(s) automatically expired.\n"


Which also cones from cron/checkdbs


> The first line looks to be the mail title and the second line looks to be
> the content of the mail titled with the "%(realname)s moderator request
> check result" as the first line. However, I can not find the "msgid" in the
> second line in anywhere like /etc/mailman/templates/en/* where I think the
> "msgid(s)" used for mail content are supposed to be filed under
> /etc/mailman/templates/en/ directory such as
> /etc/mailman/templates/en/checkdbs.txt. To modify the "msgid" in the second
> line from "Notice: %(discarded)d old request(s) automatically expired.\n"
> to something other than that, I need to find out where the "msgid" is.
> Could anyone in the list give me a help on this?


All of the strings in a mailman.po file come from source code, not from
templates. The specific strings you are looking for com from
cron/checkdbs just as it says in comments that precede the msgid in the
mailman.po file.

But, why do you want to modify the english message and msgid? Why not
leave them as is and just modify the translated msgstr.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/