[notification-daemon] Add more options to XGETTEXT_OPTIONS in po/Makevars
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [notification-daemon] Add more options to XGETTEXT_OPTIONS in po/Makevars
- Date: Mon, 12 Sep 2016 18:01:52 +0000 (UTC)
commit fd75bdd2cca010afe3ef9c7228ca200e1225a015
Author: Piotr Drąg <piotrdrag gmail com>
Date: Mon Sep 12 20:01:45 2016 +0200
Add more options to XGETTEXT_OPTIONS in po/Makevars
po/Makevars | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/po/Makevars b/po/Makevars
index f002562..fe2defd 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -9,9 +9,12 @@ top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
+ --from-code=UTF-8 --add-comments \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
- --flag=error:3:c-format --flag=error_at_line:5:c-format
+ --keyword=C_:1c,2 --flag=error:3:c-format \
+ --keyword=NC_:1c,2 --flag=error_at_line:5:c-format \
+ --keyword=g_dngettext:2,3
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]