Mutt の開発者メーリングリストで、mutt が表示するメッセージにおける各種表記の一貫性について提案があり、「それなら」ということで、全体的にチェックしてみたい気持ちになりました。その後の経過を説明するために、拙い英語で書いておきます。
Mutt-dev members noticed some inconsistencies in mutt's messages. I'd like to review and hopefully improve them.
I can edit po/mutt.pot directly. But it will be re-generated with the code.
Is there a tool to update the source files according to my latest mutt.pot? Does gettext have something useful for my task? I can't find one.
Okay, I'll write one.
One line of change in mutt.pot would have to update one or more source files and all the *.po files. Sounds complicated? But all the necessary information is around the changed line. So it should be easy. If that's all I need.
I want more. I'd like to sort the messages in various orders or to find/replace some patterns. So mutt.pot is not in the best format. (s/msg/message/ will break everything. s/autocrypt/Autocrypt/ will affect not only the messages but also filenames.)
Then I need some kind of database. Tab-separated list is easy to process with sed and perl.
Ideally, I need only two scripts:
Due to my poor skill, I can't write them as simple as they should be.
Hmmm, I hope someone will create a simpler tool.
Anyway, I'm using mine to review mutt.pot for more consistency.