diff options
author | Richard Hughes <richard@hughsie.com> | 2014-06-24 10:40:45 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-06-24 10:40:49 +0100 |
commit | a5446f0b94ccaa556774df558e4af1a6f2735425 (patch) | |
tree | 07ebeecc7bcbe5c891adc6e5115ba8522667f074 /libappstream-glib/as-node.h | |
parent | dd61e4e726a2e56ccf95ce8e8a8ebfc42bbc0760 (diff) | |
download | appstream-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.h | 2 |
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; |