On 2021-02-18 16:27:26 -0800, Kevin J. McCarthy wrote:
> On Thu, Feb 18, 2021 at 03:54:17PM -0800, Kevin J. McCarthy wrote:
> > I'm still working on the help screen issue.  The dependency was a
> > problem, and I believe I've worked around that.  However, I'm still
> > getting the missing translation problem.  I will work on it more tonight
> > and see what I can find.
> 
> The problem went away when I force rebuilt everything, including
> po/mutt.pot.  I still need to investigate more what's going on, because I
> think something it not right.
> 
> I've pushed a branch to 'kevin/gettext-bugs' with two work-in-progress
> commits:
>   - one forcing the keymap_alldefs.h regeneration in the top-level
> Makefile.am.
>   - the next restores the --add-comments=L10N option for xgettext.

An important change is:

diff --git a/po/POTFILES.in b/po/POTFILES.in
index c7fdd935..62329627 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -44,6 +44,7 @@ imap/util.c
 init.c
 init.h
 keymap.c
+keymap_alldefs.h
 lib.c
 listmenu.c
 main.c

Indeed, I suppose that without keymap_alldefs.h in POTFILES,
the associated translations are ignored.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to