[recipes] Allow message context in translations



commit a652c65bbc1c6bfcb8e81be8c04080f652e8a261
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 8 15:29:37 2016 -0500

    Allow message context in translations
    
    It will happen sooner or later, best not to trip about it then.

 po/Makevars |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/po/Makevars b/po/Makevars
index e68abc7..72a6204 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -58,6 +58,12 @@ MSGID_BUGS_ADDRESS =
 # message catalogs shall be used.  It is usually empty.
 EXTRA_LOCALE_CATEGORIES =
 
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'•
+# # context.  Possible values are "yes" and "no".  Set this to yes if the•
+# # package uses functions taking also a message context, like pgettext(), or•
+# # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.•
+USE_MSGCTXT = yes
+
 # Ignore the timestamp of the .pot file, as git clones do not have
 # deterministic timestamps, and .po files are updated by translators
 # (only) in GNOME projects.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]