On woensdag 10 augustus 2011, Derek Atkins wrote: > Geert Janssens <[email protected]> writes: > >> > src/gnome/gnucash.desktop.in > >> > > >> > Should this be added to POTFILES.in as suggested by the tool, or would > >> > that result in weird things ? I don't know how the gettext tools deal > >> > with desktop files. > >> > >> Yes, gnucash.desktop.in should be in POTFILES.in. > > > > Even if gnucash.desktop.in.in is already included ? > > Hmm... Possibly. Gettext should include them together if they are the > same strings. But yes, the script did say to include desktop.in files. > Looking better I notice that both src/gnome/gnucash.desktop.in and src/gnome/gnucash.desktop.in.in are included in POTFILES.ignore AND src/gnome/gnucash.desktop.in.in is also included in POTFILES.in.
That's a bit strange IMO. Additionally, make check is not complaining about src/gnome/gnucash.desktop.in but about BuildTrunk/src/gnome/gnucash.desktop.in (I removed the build directory from my first post thinking it wasn't relevant, silly me). So it complains about a generated file in a build directory, not in the source directory. To be sure, I started with a clean checkout and build that one. make check still gives the same error. Why would gettext search for translations in the build directory, that doesn't seem to make sense ? Geert _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
