svnno****@sourc*****
svnno****@sourc*****
Wed Apr 4 14:04:39 JST 2007
Revision: 3139 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3139 Author: makeinu Date: 2007-04-04 14:04:39 +0900 (Wed, 04 Apr 2007) Log Message: ----------- Add N_() for help string of command line options. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/main.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-04-04 04:55:41 UTC (rev 3138) +++ kazehakase/trunk/ChangeLog 2007-04-04 05:04:39 UTC (rev 3139) @@ -2,6 +2,7 @@ * src/main.c: Remove needless checking return value of kz_app_restore_session(). It always returns a window. + Add N_() for help strings of comannd line options. 2007-04-04 Takuro Ashie <ashie****@homa*****> Modified: kazehakase/trunk/src/main.c =================================================================== --- kazehakase/trunk/src/main.c 2007-04-04 04:55:41 UTC (rev 3138) +++ kazehakase/trunk/src/main.c 2007-04-04 05:04:39 UTC (rev 3139) @@ -42,9 +42,9 @@ static gboolean show_version; static GOptionEntry entries[] = { - { "action", 'a', 0, G_OPTION_ARG_STRING_ARRAY, &action_array, "Execute action", NULL}, - { "geometry", 'g', 0, G_OPTION_ARG_STRING, &geometry_string, " Position the window on the screen", NULL }, - { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, "Show this version", NULL }, + { "action", 'a', 0, G_OPTION_ARG_STRING_ARRAY, &action_array, N_("Execute action"), NULL}, + { "geometry", 'g', 0, G_OPTION_ARG_STRING, &geometry_string, N_("Position the window on the screen"), NULL }, + { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("Show this version"), NULL }, { NULL } };