From 0d4ba6dfb51960fd60d28ce032705836a5c4a82f Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 30 Aug 2007 19:55:44 +0000 Subject: [PATCH] Add commentary to warn about how to initialize translatable enums --- src/util/enums.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2