update to FBNLS
This commit is contained in:
parent
a959fc2fdf
commit
ef74f26728
1 changed files with 3 additions and 15 deletions
|
@ -87,11 +87,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
I18n::instance()->
|
I18n::instance()->
|
||||||
getMessage(
|
getMessage(
|
||||||
#ifdef NLS
|
FBNLS::bsetrootSet, FBNLS::bsetrootMustSpecify,
|
||||||
bsetrootSet, bsetrootMustSpecify,
|
|
||||||
#else // !NLS
|
|
||||||
0, 0,
|
|
||||||
#endif // NLS
|
|
||||||
"%s: error: must specify on of: -solid, -mod, -gradient\n"),
|
"%s: error: must specify on of: -solid, -mod, -gradient\n"),
|
||||||
getApplicationName());
|
getApplicationName());
|
||||||
|
|
||||||
|
@ -371,11 +367,7 @@ void bsetroot::gradient(void) {
|
||||||
void bsetroot::usage(int exit_code) {
|
void bsetroot::usage(int exit_code) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
I18n::instance()->getMessage(
|
I18n::instance()->getMessage(
|
||||||
#ifdef NLS
|
FBNLS::bsetrootSet, FBNLS::bsetrootUsage,
|
||||||
bsetrootSet, bsetrootUsage,
|
|
||||||
#else // !NLS
|
|
||||||
0, 0,
|
|
||||||
#endif // NLS
|
|
||||||
"%s 2.1 : (c) 2002 Claes Nasten\n"
|
"%s 2.1 : (c) 2002 Claes Nasten\n"
|
||||||
"%s 2.0 : (c) 1997-2000 Brad Hughes\n\n"
|
"%s 2.0 : (c) 1997-2000 Brad Hughes\n\n"
|
||||||
" -display <string> display connection\n"
|
" -display <string> display connection\n"
|
||||||
|
@ -406,11 +398,7 @@ int main(int argc, char **argv) {
|
||||||
if ((++i) >= argc) {
|
if ((++i) >= argc) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
I18n::instance()->getMessage(
|
I18n::instance()->getMessage(
|
||||||
#ifdef NLS
|
FBNLS::mainSet, FBNLS::mainDISPLAYRequiresArg,
|
||||||
mainSet, mainDISPLAYRequiresArg,
|
|
||||||
#else // !NLS
|
|
||||||
0, 0,
|
|
||||||
#endif // NLS
|
|
||||||
"error: '-display' requires an argument\n"));
|
"error: '-display' requires an argument\n"));
|
||||||
|
|
||||||
::exit(1);
|
::exit(1);
|
||||||
|
|
Loading…
Reference in a new issue