summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-24 10:40:45 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-24 10:40:49 +0100
commita5446f0b94ccaa556774df558e4af1a6f2735425 (patch)
tree07ebeecc7bcbe5c891adc6e5115ba8522667f074 /libappstream-glib/as-node.h
parentdd61e4e726a2e56ccf95ce8e8a8ebfc42bbc0760 (diff)
downloadappstream-glib-a5446f0b94ccaa556774df558e4af1a6f2735425.tar.gz
Add AS_NODE_INSERT_FLAG_MARK_TRANSLATABLE
This simply adds an understore to the tag name which marks it as translatable for intltool.
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r--libappstream-glib/as-node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h
index 092803e..c4ced19 100644
--- a/libappstream-glib/as-node.h
+++ b/libappstream-glib/as-node.h
@@ -77,6 +77,7 @@ typedef enum {
* @AS_NODE_INSERT_FLAG_SWAPPED: The name and key should be swapped
* @AS_NODE_INSERT_FLAG_NO_MARKUP: Preformat the 'description' markup
* @AS_NODE_INSERT_FLAG_DEDUPE_LANG: No xml:lang keys where text matches 'C'
+ * @AS_NODE_INSERT_FLAG_MARK_TRANSLATABLE: Mark the tag name as translatable
*
* The flags to use when inserting a node.
**/
@@ -86,6 +87,7 @@ typedef enum {
AS_NODE_INSERT_FLAG_SWAPPED = 2, /* Since: 0.1.0 */
AS_NODE_INSERT_FLAG_NO_MARKUP = 4, /* Since: 0.1.1 */
AS_NODE_INSERT_FLAG_DEDUPE_LANG = 8, /* Since: 0.1.4 */
+ AS_NODE_INSERT_FLAG_MARK_TRANSLATABLE = 16, /* Since: 0.2.1 */
/*< private >*/
AS_NODE_INSERT_FLAG_LAST
} AsNodeInsertFlags;