diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-09-05 21:15:58 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-05 21:15:58 +0000 |
commit | e1077caf3668212c75806f996e2733ef582a73e8 (patch) | |
tree | a6b5c46a8dfd994f6de7af989b7a4c4ed889007c /gdk/win32 | |
parent | 6661399c3e744bfd90b1f159e0c1b9f51f0aaca3 (diff) | |
download | gdk-pixbuf-e1077caf3668212c75806f996e2733ef582a73e8.tar.gz |
Add descriptions for the commandline arguments. The actual descriptions
Sun Sep 5 17:14:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c:
* gdk/gdk.c:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c: Add descriptions for the
commandline arguments. The actual descriptions are mostly
taken from libbonoboui, so translators should be able to
copy existing translations from there.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkmain-win32.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c index 7f54dda02..ebe0c1353 100644 --- a/gdk/win32/gdkmain-win32.c +++ b/gdk/win32/gdkmain-win32.c @@ -37,6 +37,7 @@ #include "gdkregion-generic.h" #include "gdkkeysyms.h" #include "gdkinternals.h" +#include "gdkintl.h" #include "gdkprivate-win32.h" #include "gdkinput-win32.h" @@ -53,13 +54,18 @@ static gboolean gdk_synchronize = FALSE; GOptionEntry _gdk_windowing_args[] = { - { "sync", 0, 0, G_OPTION_ARG_NONE, &_gdk_synchronize, NULL, NULL }, - { "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, NULL, NULL }, - { "ignore-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, NULL, NULL }, + { "sync", 0, 0, G_OPTION_ARG_NONE, &_gdk_synchronize, + /* Description of --sync in --help output */ N_("Don't batch GDI requests"), NULL }, + { "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, + /* Description of --no-wintab in --help output */ N_("Don't use the Wintab API for tablet support [default]"), NULL }, + { "ignore-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, + /* Description of --ignore-wintab in --help output */ N_("Same as --no-wintab"), NULL }, #if 0 { "use-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, NULL, NULL }, #endif - { "max-colors", 0, 0, G_OPTION_ARG_INT, &_gdk_max_colors, NULL, NULL }, + { "max-colors", 0, 0, G_OPTION_ARG_INT, &_gdk_max_colors, + /* Description of --max-colors=COLORS in --help output */ N_("Size of the palette in 8 bit mode"), + /* Placeholder in --max-colors=COLORS in --help output */ N_("COLORS") }, { NULL } }; |