diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-08-30 19:55:44 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-08-30 19:55:44 +0000 |
| commit | 2c30e7cfd3df72aa078de82396d0237802d5e307 (patch) | |
| tree | a7ad59392f1c67b03cc07307826624d8136a2a0a /src/util | |
| parent | update 2geom to rev 1114 and fix error. (diff) | |
| download | inkscape-2c30e7cfd3df72aa078de82396d0237802d5e307.tar.gz inkscape-2c30e7cfd3df72aa078de82396d0237802d5e307.zip | |
Add commentary to warn about how to initialize translatable enums
(bzr r3625)
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/enums.h | 6 |
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 |
