4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Cscope help message is not translated.
12 Solution: Put it in _(). (Dominique Pelle)
13 Files: src/if_cscope.c, src/if_cscope.h
16 *** ../vim-7.2.003/src/if_cscope.c Tue Jun 24 23:52:06 2008
17 --- src/if_cscope.c Mon Aug 25 04:34:19 2008
21 N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
23 ! N_("Query for a pattern"), FIND_USAGE, 1 },
25 N_("Show this message"), "help", 0 },
29 N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
31 ! N_("Query for a pattern"), "find c|d|e|f|g|i|s|t name", 1 },
33 N_("Show this message"), "help", 0 },
37 (void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
38 cmdp->name, _(cmdp->help), cmdp->usage);
39 if (strcmp(cmdp->name, "find") == 0)
40 ! MSG_PUTS(FIND_HELP);
45 (void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
46 cmdp->name, _(cmdp->help), cmdp->usage);
47 if (strcmp(cmdp->name, "find") == 0)
49 ! " c: Find functions calling this function\n"
50 ! " d: Find functions called by this function\n"
51 ! " e: Find this egrep pattern\n"
52 ! " f: Find this file\n"
53 ! " g: Find this definition\n"
54 ! " i: Find files #including this file\n"
55 ! " s: Find this C symbol\n"
56 ! " t: Find assignments to\n"));
61 *** ../vim-7.2.003/src/if_cscope.h Thu Sep 6 17:38:58 2007
62 --- src/if_cscope.h Mon Aug 25 04:34:17 2008
65 * f 7name Find this file
66 * i 8name Find files #including this file
68 - #define FIND_USAGE "find c|d|e|f|g|i|s|t name"
69 - #define FIND_HELP "\n\
70 - c: Find functions calling this function\n\
71 - d: Find functions called by this function\n\
72 - e: Find this egrep pattern\n\
73 - f: Find this file\n\
74 - g: Find this definition\n\
75 - i: Find files #including this file\n\
76 - s: Find this C symbol\n\
77 - t: Find assignments to\n"
83 *** ../vim-7.2.003/src/version.c Mon Aug 25 04:12:38 2008
84 --- src/version.c Mon Aug 25 04:29:53 2008
88 { /* Add new patch number below this line */
94 If someone questions your market projections, simply point out that your
95 target market is "People who are nuts" and "People who will buy any damn
96 thing". Nobody is going to tell you there aren't enough of those people
98 (Scott Adams - The Dilbert principle)
100 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
101 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
102 \\\ download, build and distribute -- http://www.A-A-P.org ///
103 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///