From 1faef3ac2d5a22be465676ea0345df901f7cf8b6 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 22 Nov 2005 21:09:43 +0000 Subject: nls for screen argument --- src/fluxbox.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 9aff2ed..3781126 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -337,10 +337,11 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile screens.push_back(i); // find out, on what "screens" fluxbox should run + // FIXME(php-coder): maybe it worths moving this code to main.cc, where command line is parsed? for (i = 1; i < m_argc; i++) { if (! strcmp(m_argv[i], "-screen")) { if ((++i) >= m_argc) { - cerr<<"error, -screen requires argument\n"; + cerr << _FBTEXT(main, ScreenRequiresArg, "error, -screen requires argument", "the -screen option requires a file argument") << endl; exit(1); } -- cgit v0.11.2