From: johanengelen Date: Thu, 30 Aug 2007 19:55:44 +0000 (+0000) Subject: Add commentary to warn about how to initialize translatable enums X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d4ba6dfb51960fd60d28ce032705836a5c4a82f;p=inkscape.git Add commentary to warn about how to initialize translatable enums --- 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