summaryrefslogtreecommitdiffstats
path: root/src/extension/input.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-03 23:34:27 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:38 +0000
commitea05ba3338bec1517826614f27935a36c3b0f0f8 (patch)
treedce3126f09fe834a6bf165031d28c607dba73327 /src/extension/input.h
parentRemove unused "nopref" variant of effects (diff)
downloadinkscape-ea05ba3338bec1517826614f27935a36c3b0f0f8.tar.gz
inkscape-ea05ba3338bec1517826614f27935a36c3b0f0f8.zip
Implement "translationdomain" attribute for extensions
Will allow extensions to ship their own message catalog used for translation of the extension#s strings. Needs to be set on the root <inkscape-extension> element of the .inx Currently supported values: - unset: use default textdomain (which happens to be 'inkscape') - 'inkscape': use Inkscape's message catalog - 'none': disable translation for the extension's strings
Diffstat (limited to 'src/extension/input.h')
-rw-r--r--src/extension/input.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/input.h b/src/extension/input.h
index 93b000388..6d5e8a2f3 100644
--- a/src/extension/input.h
+++ b/src/extension/input.h
@@ -51,8 +51,8 @@ public:
SPDocument * open (gchar const *uri);
gchar * get_mimetype ();
gchar * get_extension ();
- gchar * get_filetypename ();
- gchar * get_filetypetooltip ();
+ const char * get_filetypename (bool translated=false);
+ const char * get_filetypetooltip (bool translated=false);
bool prefs (gchar const *uri);
};