]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.004
- new
[packages/vim.git] / 7.2.004
CommitLineData
4c907a04
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.004
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.004
11Problem: Cscope help message is not translated.
12Solution: Put it in _(). (Dominique Pelle)
13Files: src/if_cscope.c, src/if_cscope.h
14
15
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
18***************
19*** 74,80 ****
20 { "add", cs_add,
21 N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
22 { "find", cs_find,
23! N_("Query for a pattern"), FIND_USAGE, 1 },
24 { "help", cs_help,
25 N_("Show this message"), "help", 0 },
26 { "kill", cs_kill,
27--- 74,80 ----
28 { "add", cs_add,
29 N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
30 { "find", cs_find,
31! N_("Query for a pattern"), "find c|d|e|f|g|i|s|t name", 1 },
32 { "help", cs_help,
33 N_("Show this message"), "help", 0 },
34 { "kill", cs_kill,
35***************
36*** 1180,1186 ****
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);
41 cmdp++;
42 }
43
44--- 1180,1195 ----
45 (void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
46 cmdp->name, _(cmdp->help), cmdp->usage);
47 if (strcmp(cmdp->name, "find") == 0)
48! MSG_PUTS(_("\n"
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"));
57!
58 cmdp++;
59 }
60
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
63***************
64*** 42,58 ****
65 * f 7name Find this file
66 * i 8name Find files #including this file
67 */
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"
78-
79
80 typedef struct {
81 char * name;
82--- 42,47 ----
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
85***************
86*** 678,679 ****
87--- 678,681 ----
88 { /* Add new patch number below this line */
89+ /**/
90+ 4,
91 /**/
92
93--
94If someone questions your market projections, simply point out that your
95target market is "People who are nuts" and "People who will buy any damn
96thing". Nobody is going to tell you there aren't enough of those people
97to go around.
98 (Scott Adams - The Dilbert principle)
99
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 ///
This page took 0.089858 seconds and 4 git commands to generate.