Completed the usage screen

This commit is contained in:
Pierre Pronchery 2012-05-21 23:06:19 +00:00
parent 92bbbddcea
commit ddcec88a53
2 changed files with 24 additions and 5 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Keyboard 0.2.0\n" "Project-Id-Version: Keyboard 0.2.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-22 00:58+0200\n" "POT-Creation-Date: 2012-05-22 01:04+0200\n"
"PO-Revision-Date: 2012-05-20 14:32+0200\n" "PO-Revision-Date: 2012-05-20 14:32+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n" "Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: French\n" "Language-Team: French\n"
@ -59,5 +59,19 @@ msgstr ""
" -S\tAfficher le clavier\n" " -S\tAfficher le clavier\n"
#: ../src/main.c:47 #: ../src/main.c:47
msgid "Usage: keyboard [-d|-p|-w|-x][-f font][-m monitor]\n" msgid ""
msgstr "Usage: keyboard [-d|-p|-w|-x][-f police][-m moniteur]\n" "Usage: keyboard [-d|-p|-w|-x][-f font][-m monitor]\n"
" -d\tStart in docked mode\n"
" -p\tStart as a popup window\n"
" -w\tStart in windowed mode\n"
" -x\tStart in embedded mode\n"
" -f\tSet the font used for the keys\n"
" -m\tPlace on a particular monitor (in docked or popup mode)\n"
msgstr ""
"Usage: keyboard [-d|-p|-w|-x][-f police][-m moniteur]\n"
" -d\tDémarrer comme un dock\n"
" -p\tDémarrer comme une fenêtre popup\n"
" -w\tDémarrer comme une fenêtre\n"
" -x\tDémarrer en mode embarqué\n"
" -f\tSpécifier la police utilisée pour les touches\n"
" -m\tDémarrer sur un moniteur particulier (en mode dock ou popup)\n"

View File

@ -44,8 +44,13 @@
/* usage */ /* usage */
static int _usage(void) static int _usage(void)
{ {
fputs(_("Usage: keyboard [-d|-p|-w|-x][-f font][-m monitor]\n"), fputs(_("Usage: keyboard [-d|-p|-w|-x][-f font][-m monitor]\n"
stderr); " -d Start in docked mode\n"
" -p Start as a popup window\n"
" -w Start in windowed mode\n"
" -x Start in embedded mode\n"
" -f Set the font used for the keys\n"
" -m Place on a particular monitor (in docked or popup mode)\n"), stderr);
return 1; return 1;
} }