]> git.wh0rd.org Git - nano.git/commitdiff
Allow flags with args to be translatable
authorChris Allegretta <chrisa@asty.org>
Sat, 9 Mar 2002 20:05:26 +0000 (20:05 +0000)
committerChris Allegretta <chrisa@asty.org>
Sat, 9 Mar 2002 20:05:26 +0000 (20:05 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1123 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index 19afc77f4c9fdd382587c8609ef691505eb7e88b..a42b3781bfdd4effb10c9cb2c0ac7fbced88d7c4 100644 (file)
--- a/nano.c
+++ b/nano.c
@@ -455,12 +455,12 @@ void usage(void)
     print1opt("-N", "--noconvert", _("Don't convert files from DOS/Mac format"));
 #endif
 #ifndef DISABLE_JUSTIFY
-    print1opt("-Q [str]", "--quotestr [str]", _("Quoting string, default \"> \""));
+    print1opt(_("-Q [str]"), _("--quotestr [str]"), _("Quoting string, default \"> \""));
 #endif
 #ifndef NANO_SMALL
     print1opt("-S", "--smooth", _("Smooth scrolling"));
 #endif
-    print1opt("-T [num]", "--tabsize=[num]", _("Set width of a tab to num"));
+    print1opt(_("-T [num]"), _("--tabsize=[num]"), _("Set width of a tab to num"));
     print1opt("-V", "--version", _("Print version information and exit"));
     print1opt("-c", "--const", _("Constantly show cursor position"));
     print1opt("-h", "--help", _("Show this message"));
@@ -475,15 +475,15 @@ void usage(void)
 #endif
 #endif
 #ifndef DISABLE_OPERATINGDIR
-    print1opt("-o [dir]", "--operatingdir=[dir]", _("Set operating directory"));
+    print1opt(_("-o [dir]"), _("--operatingdir=[dir]"), _("Set operating directory"));
 #endif
     print1opt("-p", "--pico", _("Emulate Pico as closely as possible"));
 
 #ifndef DISABLE_WRAPJUSTIFY
-    print1opt("-r [#cols]", "--fill=[#cols]", _("Set fill cols to (wrap lines at) #cols"));
+    print1opt(_("-r [#cols]"), _("--fill=[#cols]"), _("Set fill cols to (wrap lines at) #cols"));
 #endif
 #ifndef DISABLE_SPELLER
-    print1opt("-s [prog]", "--speller=[prog]", _("Enable alternate speller"));
+    print1opt(_("-s [prog]"), _("--speller=[prog]"), _("Enable alternate speller"));
 #endif
     print1opt("-t", "--tempfile", _("Auto save on exit, don't prompt"));
     print1opt("-v", "--view", _("View (read only) mode"));
@@ -492,7 +492,7 @@ void usage(void)
 #endif
     print1opt("-x", "--nohelp", _("Don't show help window"));
     print1opt("-z", "--suspend", _("Enable suspend"));
-    print1opt("+LINE", "", _("Start at line number LINE"));
+    print1opt(_("+LINE"), "", _("Start at line number LINE"));
 
     exit(0);
 }