Package: canna / 3.7p3-13

06_fix_spelling_error.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
## 06_fix_spelling_error by HIGUCHI Daisuke (VDR dai) <dai@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: eliminate lintian warning: spelling-error-in-{binary,manpages}

--- canna-3.7p3/cmd/wtoc/wtoc.c.orig	2003-12-28 02:15:23.000000000 +0900
+++ canna-3.7p3/cmd/wtoc/wtoc.c	2012-01-25 16:01:17.000000000 +0900
@@ -195,7 +195,7 @@ main(argc,argv)
 #endif
   }
   else { /*  */
-    fprintf(stderr,gettxt("cannacmd:50", "Usage: wtoc [-f part-of-speach table] [wnndic] [cannadic]\n"));
+    fprintf(stderr,gettxt("cannacmd:50", "Usage: wtoc [-f part-of-speech table] [wnndic] [cannadic]\n"));
     exit(2);
   }
   if( argc >= (2 + option*2) ) { /* ף򥪡ץ */
--- canna-3.7p3/cmd/ctow/ctow.c.orig	2003-12-28 02:15:22.000000000 +0900
+++ canna-3.7p3/cmd/ctow/ctow.c	2012-01-25 16:00:15.000000000 +0900
@@ -256,9 +256,9 @@ char *argv[];
       hinshis = chghinshi(h, hinshiSize, taiou, fsize);
       if (!strcmp(hinshis,"")) {
 	fprintf(stderr,gettxt("cannacmd:13", 
-	      "reading:%s nomination:%s a part of speach:%s\n"),y,k,h);
+	      "reading:%s nomination:%s a part of speech:%s\n"),y,k,h);
 	fprintf(stderr,gettxt("cannacmd:14", 
-	      "This part of speach is undefined. Cannot convert.\n"));
+	      "This part of speech is undefined. Cannot convert.\n"));
       }
       else {
 	for ( ; *hinshis; hinshis++, p++) {
--- canna-3.7p3/lib/canna/lisp.c.orig	2004-04-27 07:49:21.000000000 +0900
+++ canna-3.7p3/lib/canna/lisp.c	2012-01-25 16:05:32.000000000 +0900
@@ -3610,7 +3610,7 @@
         numtostr(xnum(e2), ee);
         num = howManyCharsAre(ss, ee, &sku, &sten, &cs);
         if (num <= 0) {
-          error("Inconsistent range of charcter code ", buf);
+          error("Inconsistent range of character code ", buf);
           /* NOTREACHED */
         }
         kigolen = kigolen + (cswidth[cs] + 1) * num;
--- canna-3.7p3/lib/canna/uilib.man.orig	2002-10-19 17:27:51.000000000 +0900
+++ canna-3.7p3/lib/canna/uilib.man	2012-01-25 16:08:30.000000000 +0900
@@ -809,7 +809,7 @@ data input:
 	    int length;		        /* length of echo string */
 	    int revPos;                 /* reverse position  */
 	    int revLen;                 /* reverse length    */
-	    unsigned long info;		/* other informations */
+	    unsigned long info;		/* other information */
 	    unsigned char *mode;	/* mode information */
 	    struct {
 		unsigned char *line;	/* a grance of Kanji characters */
--- canna-3.7p3/lib/canna/uilib.jmn.orig	2002-10-19 17:27:51.000000000 +0900
+++ canna-3.7p3/lib/canna/uilib.jmn	2012-01-25 16:08:57.000000000 +0900
@@ -749,7 +749,7 @@ XCompose¤ΤؤΥݥ󥿤ꤷޤ
 	    int revPos;                 /* reverse position  */
 	    int revLen;                 /* reverse length    */
 .mc \(br
-	    unsigned long info;		/* other informations */
+	    unsigned long info;		/* other information */
 	    unsigned char *mode;	/* mode information */
 	    struct {
 		unsigned char *line;	/* a grance of Kanji characters */