Commit 5d153a9e authored by Aaron R. Larson's avatar Aaron R. Larson
Browse files

Localize --help output (#454530).

svn path=/trunk/; revision=3478
parent 73b54256
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-24 Aaron Larson <aaron@larsonsonline.net>
* Localize --help output (#454530).
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* Permit compile on GCC 4.3 (#522121).
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* Prepend "Dasher" to window title (#493812).
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* Remove inappropriate assert from alphabet_map::Get() (#493797).
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* Update manpage. Add "--help-options" command line argument to
list available options. Generate better diagnostics for malformed
"--options", and permit boolean options to be specified as "true"
or "false" in addition to 0 and 1. (#496872)
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* Eliminate most compiler redifintion warnings for "_" (#519254).
2008-03-22 Aaron Larson <alarson@aaron2>
2008-03-22 Aaron Larson <aaron@larsonsonline.net>
* configure.in: Resolved autogen.sh build failure from #398103.
......
#include "config.h"
#ifdef GNOME_LIBS
#include <glib/gi18n.h>
#endif
#include "Common/Common.h"
#include <gdk/gdk.h>
......@@ -179,16 +184,21 @@ int main(int argc, char *argv[]) {
// {"preferences", 'p', 0, G_OPTION_ARG_NONE, &preferences, "Show preferences window only", NULL},
// {"textentry", 'o', 0, G_OPTION_ARG_NONE, &textentry, "Onscreen text entry mode", NULL},
// {"pipe", 's', 0, G_OPTION_ARG_NONE, &stdoutpipe, "Pipe text to stdout", NULL},
{"appstyle", 'a', 0, G_OPTION_ARG_STRING, &(sCommandLine.szAppStyle), "Application style (traditional, direct, compose or fullscreen)", "traditional"},
{"options", 'o', 0, G_OPTION_ARG_STRING, &(sCommandLine.szOptions), "Override stored options", NULL},
{"help-options", 0, 0, G_OPTION_ARG_NONE, &do_option_help, "Describe \"--options\".", NULL},
// Note to translators: This is the help string for "--appstyle"
{"appstyle", 'a', 0, G_OPTION_ARG_STRING, &(sCommandLine.szAppStyle), N_("Application style (traditional, direct, compose or fullscreen)"), "traditional"},
// Note to translators: This is the help string for "--options"
{"options", 'o', 0, G_OPTION_ARG_STRING, &(sCommandLine.szOptions), N_("Override stored options"), NULL},
// Note to translators: This is the help string for "--help-options"
{"help-options", 0, 0, G_OPTION_ARG_NONE, &do_option_help, N_("Describe \"--options\"."), NULL},
{NULL}
};
//parse command line options
GOptionContext *goptcontext;
goptcontext = g_option_context_new(("- A text input application honouring accessibility"));
g_option_context_add_main_entries(goptcontext, options, "Dasher");
// Note to translators: This is the "--help" description of dasher.
goptcontext = g_option_context_new(_("- A text input application honouring accessibility"));
g_option_context_add_main_entries(goptcontext, options, GETTEXT_PACKAGE);
g_option_context_add_group(goptcontext, gtk_get_option_group (TRUE));
g_option_context_parse(goptcontext, &argc, &argv, NULL);
// TODO: Check what happens here when goption has done its stuff
......
2008-03-24 Aaron Larson <aaron@larsonsonline.net>
* POTFILES.in: sort properly and add DasherAppSettings.cpp and
SettingsStore.cpp.
2008-03-22 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es.po: Updated Spanish translation
......
# Add files with translateable strings here.
# Please keep this file sorted alphabetically.
# Run this command at top level to check for missing files:
# find * -iname '*.cc' -o -iname '*.h' -o -iname '*.cpp' | xargs egrep -l '[^a-z0-9A-MO-Z_]_\(' | sort
Data/dasher.desktop.in.in
Data/glade/dasher.compose.glade
Data/glade/dasher.direct.glade
......@@ -11,21 +13,23 @@ Data/glade/dashermaemofullscreen.glade
Src/DasherCore/ClickFilter.cpp
Src/DasherCore/ClickFilter.h
Src/DasherCore/DasherButtons.cpp
Src/DasherCore/DasherInterfaceBase.cpp
Src/DasherCore/DasherGameMode.cpp
Src/DasherCore/DasherInterfaceBase.cpp
Src/DasherCore/DynamicFilter.cpp
Src/DasherCore/EyetrackerFilter.cpp
Src/DasherCore/OneButtonDynamicFilter.cpp
Src/DasherCore/OneDimensionalFilter.cpp
Src/DasherCore/SettingsStore.cpp
Src/DasherCore/SocketInput.cpp
Src/DasherCore/SocketInputBase.cpp
Src/DasherCore/TwoButtonDynamicFilter.cpp
Src/Gtk2/DasherAppSettings.cpp
Src/Gtk2/Preferences.cpp
Src/Gtk2/dasher_editor_internal.cpp
Src/Gtk2/dasher_action_keyboard.cpp
Src/Gtk2/dasher_action_keyboard_maemo.cpp
Src/Gtk2/dasher_action_script.cpp
Src/Gtk2/dasher_action_speech.cpp
Src/Gtk2/dasher_editor_internal.cpp
Src/Gtk2/dasher_main.cpp
Src/Gtk2/module_settings_window.cpp
Src/Gtk2/mouse_input.h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment