diff options
author | Benjamin Otte <otte@gnome.org> | 2008-01-14 10:19:52 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-01-14 10:19:52 +0100 |
commit | 2861ab3e86e230fbb3312ddb2cf5c2c8e0a3a896 (patch) | |
tree | 221bc4a1bdbcc9f98da4785d5d36874c97ea47cd | |
parent | 481b1aa876d52a5260dd3f75c967540f4252b474 (diff) |
mark all messages for translation
-rw-r--r-- | player/swfdec-player.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/player/swfdec-player.c b/player/swfdec-player.c index 0e3036b..bd64498 100644 --- a/player/swfdec-player.c +++ b/player/swfdec-player.c @@ -55,21 +55,21 @@ main (int argc, char *argv[]) GOptionEntry options[] = { { "no-sound", 'n', G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &settings.sound, N_("don't play sound"), NULL }, { "paused", 'p', G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &settings.playing, N_("start player paused"), NULL }, - { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &filenames, NULL, "<FILE> [<FILE> ...]" }, + { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &filenames, NULL, N_("[FILE ...]") }, { NULL } }; GOptionContext *ctx; g_set_application_name (_("Swfdec Flash Player")); - ctx = g_option_context_new (""); + ctx = g_option_context_new (NULL); g_option_context_set_translation_domain (ctx, GETTEXT_PACKAGE); - g_option_context_add_main_entries (ctx, options, "options"); + g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); g_option_context_add_group (ctx, gtk_get_option_group (TRUE)); g_option_context_parse (ctx, &argc, &argv, &error); g_option_context_free (ctx); if (error) { - g_printerr ("Error parsing command line arguments: %s\n", error->message); + g_printerr (_("Error parsing command line arguments: %s\n"), error->message); g_error_free (error); return EXIT_FAILURE; } |