summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-08-30 19:55:44 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-08-30 19:55:44 +0000
commit2c30e7cfd3df72aa078de82396d0237802d5e307 (patch)
treea7ad59392f1c67b03cc07307826624d8136a2a0a /src
parentupdate 2geom to rev 1114 and fix error. (diff)
downloadinkscape-2c30e7cfd3df72aa078de82396d0237802d5e307.tar.gz
inkscape-2c30e7cfd3df72aa078de82396d0237802d5e307.zip
Add commentary to warn about how to initialize translatable enums
(bzr r3625)
Diffstat (limited to 'src')
-rw-r--r--src/util/enums.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/enums.h b/src/util/enums.h
index cac211c89..909765216 100644
--- a/src/util/enums.h
+++ b/src/util/enums.h
@@ -10,6 +10,12 @@
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
+/* IMPORTANT
+ * When initializing the EnumData struct, you cannot use _(...) to translate strings.
+ * Instead, one must use N_(...) and do the translation every time the string is retreived.
+ */
+
+
#ifndef INKSCAPE_UTIL_ENUMS_H
#define INKSCAPE_UTIL_ENUMS_H