po/Makefile: Fix generation of messages.po
authorStefan Weil <sw@weilnetz.de>
Fri, 5 Jul 2013 20:55:43 +0000 (22:55 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 23 Jul 2013 20:45:23 +0000 (15:45 -0500)
commit1fa449231832d0fb7f20a3d7ecd06190ce906529
tree4952c3f5092e172871a8815cdd9ed595e5124fc6
parent00134a62039a12822cda91310131cc050f78cf9b
po/Makefile: Fix generation of messages.po

* Tell xgettext that we use UTF-8 encoding (this is currently optional).

* Set charset=UTF-8 in messages.po. This avoids warnings from msgmerge:
  warning: Charset "CHARSET" is not a portable encoding name.

* Use filename relative to root directory (ui/gtk.c instead of ../ui/gtk.c
  or $(SRC_PATH)/ui/gtk.c) for comments in *.po files.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
po/Makefile