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 <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list -- email@example.com 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://firstname.lastname@example.org/ https://email@example.com/