|
Karsten Hopp |
d12698 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
d12698 |
Subject: Patch 7.2.004
|
|
Karsten Hopp |
d12698 |
Fcc: outbox
|
|
Karsten Hopp |
d12698 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d12698 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d12698 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
d12698 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d12698 |
------------
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
Patch 7.2.004
|
|
Karsten Hopp |
d12698 |
Problem: Cscope help message is not translated.
|
|
Karsten Hopp |
d12698 |
Solution: Put it in _(). (Dominique Pelle)
|
|
Karsten Hopp |
d12698 |
Files: src/if_cscope.c, src/if_cscope.h
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.003/src/if_cscope.c Tue Jun 24 23:52:06 2008
|
|
Karsten Hopp |
d12698 |
--- src/if_cscope.c Mon Aug 25 04:34:19 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 74,80 ****
|
|
Karsten Hopp |
d12698 |
{ "add", cs_add,
|
|
Karsten Hopp |
d12698 |
N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
|
|
Karsten Hopp |
d12698 |
{ "find", cs_find,
|
|
Karsten Hopp |
d12698 |
! N_("Query for a pattern"), FIND_USAGE, 1 },
|
|
Karsten Hopp |
d12698 |
{ "help", cs_help,
|
|
Karsten Hopp |
d12698 |
N_("Show this message"), "help", 0 },
|
|
Karsten Hopp |
d12698 |
{ "kill", cs_kill,
|
|
Karsten Hopp |
d12698 |
--- 74,80 ----
|
|
Karsten Hopp |
d12698 |
{ "add", cs_add,
|
|
Karsten Hopp |
d12698 |
N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 },
|
|
Karsten Hopp |
d12698 |
{ "find", cs_find,
|
|
Karsten Hopp |
d12698 |
! N_("Query for a pattern"), "find c|d|e|f|g|i|s|t name", 1 },
|
|
Karsten Hopp |
d12698 |
{ "help", cs_help,
|
|
Karsten Hopp |
d12698 |
N_("Show this message"), "help", 0 },
|
|
Karsten Hopp |
d12698 |
{ "kill", cs_kill,
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 1180,1186 ****
|
|
Karsten Hopp |
d12698 |
(void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
|
|
Karsten Hopp |
d12698 |
cmdp->name, _(cmdp->help), cmdp->usage);
|
|
Karsten Hopp |
d12698 |
if (strcmp(cmdp->name, "find") == 0)
|
|
Karsten Hopp |
d12698 |
! MSG_PUTS(FIND_HELP);
|
|
Karsten Hopp |
d12698 |
cmdp++;
|
|
Karsten Hopp |
d12698 |
}
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
--- 1180,1195 ----
|
|
Karsten Hopp |
d12698 |
(void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
|
|
Karsten Hopp |
d12698 |
cmdp->name, _(cmdp->help), cmdp->usage);
|
|
Karsten Hopp |
d12698 |
if (strcmp(cmdp->name, "find") == 0)
|
|
Karsten Hopp |
d12698 |
! MSG_PUTS(_("\n"
|
|
Karsten Hopp |
d12698 |
! " c: Find functions calling this function\n"
|
|
Karsten Hopp |
d12698 |
! " d: Find functions called by this function\n"
|
|
Karsten Hopp |
d12698 |
! " e: Find this egrep pattern\n"
|
|
Karsten Hopp |
d12698 |
! " f: Find this file\n"
|
|
Karsten Hopp |
d12698 |
! " g: Find this definition\n"
|
|
Karsten Hopp |
d12698 |
! " i: Find files #including this file\n"
|
|
Karsten Hopp |
d12698 |
! " s: Find this C symbol\n"
|
|
Karsten Hopp |
d12698 |
! " t: Find assignments to\n"));
|
|
Karsten Hopp |
d12698 |
!
|
|
Karsten Hopp |
d12698 |
cmdp++;
|
|
Karsten Hopp |
d12698 |
}
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.003/src/if_cscope.h Thu Sep 6 17:38:58 2007
|
|
Karsten Hopp |
d12698 |
--- src/if_cscope.h Mon Aug 25 04:34:17 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 42,58 ****
|
|
Karsten Hopp |
d12698 |
* f 7name Find this file
|
|
Karsten Hopp |
d12698 |
* i 8name Find files #including this file
|
|
Karsten Hopp |
d12698 |
*/
|
|
Karsten Hopp |
d12698 |
- #define FIND_USAGE "find c|d|e|f|g|i|s|t name"
|
|
Karsten Hopp |
d12698 |
- #define FIND_HELP "\n\
|
|
Karsten Hopp |
d12698 |
- c: Find functions calling this function\n\
|
|
Karsten Hopp |
d12698 |
- d: Find functions called by this function\n\
|
|
Karsten Hopp |
d12698 |
- e: Find this egrep pattern\n\
|
|
Karsten Hopp |
d12698 |
- f: Find this file\n\
|
|
Karsten Hopp |
d12698 |
- g: Find this definition\n\
|
|
Karsten Hopp |
d12698 |
- i: Find files #including this file\n\
|
|
Karsten Hopp |
d12698 |
- s: Find this C symbol\n\
|
|
Karsten Hopp |
d12698 |
- t: Find assignments to\n"
|
|
Karsten Hopp |
d12698 |
-
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
typedef struct {
|
|
Karsten Hopp |
d12698 |
char * name;
|
|
Karsten Hopp |
d12698 |
--- 42,47 ----
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.003/src/version.c Mon Aug 25 04:12:38 2008
|
|
Karsten Hopp |
d12698 |
--- src/version.c Mon Aug 25 04:29:53 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 678,679 ****
|
|
Karsten Hopp |
d12698 |
--- 678,681 ----
|
|
Karsten Hopp |
d12698 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d12698 |
+ /**/
|
|
Karsten Hopp |
d12698 |
+ 4,
|
|
Karsten Hopp |
d12698 |
/**/
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
--
|
|
Karsten Hopp |
d12698 |
If someone questions your market projections, simply point out that your
|
|
Karsten Hopp |
d12698 |
target market is "People who are nuts" and "People who will buy any damn
|
|
Karsten Hopp |
d12698 |
thing". Nobody is going to tell you there aren't enough of those people
|
|
Karsten Hopp |
d12698 |
to go around.
|
|
Karsten Hopp |
d12698 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d12698 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d12698 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
d12698 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|