On Mon, Nov 16, 2009 at 12:13:55AM +0100, Robert Millan wrote:
> +po/messages.pot: po/POTFILES
> + xgettext --from-code=utf-8 --keyword=_ -f $< -o $@
> +
> +po/*.po: po/messages.pot
> + msgmerge -U $@ po/messages.pot
> +
> +po/%.mo: po/%.po
> + $(MKDIR_P) $$(dirname $@)
> + msgfmt -c --statistics -o $@ $^
Obvious missing thing is that these should be autoconffed.
> +#define _(str) gettext(str)
And I'm not sure if this is the right place to define _. Isn't there
a system-wide definition?
> + textdomain ("grub");
What's the usual way to handle this? TEXTDOMAIN macro?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel