~ubuntu-branches/ubuntu/precise/pingus/precise

« back to all changes in this revision

Viewing changes to debian/patches/31_english_typo.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Michlmayr
  • Date: 2006-05-25 22:51:25 UTC
  • mfrom: (3.1.2 dapper)
  • Revision ID: james.westby@ubuntu.com-20060525225125-0cyml94ypvbd3z8n
Tags: 0.6.0-8.4
* NMU as part of the GCC 4.1 transition.
* patches/51_gcc41.dpatch: Include cassert. (Closes: #356455).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
## 31_english_typo.dpatch by Petter Reinholdtsen
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Fix typos reported in bug #274630
 
6
 
 
7
if [ $# -lt 1 ]; then
 
8
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
9
    exit 1
 
10
fi
 
11
 
 
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
 
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
14
 
 
15
case "$1" in
 
16
       -patch) patch $patch_opts -p1 < $0;;
 
17
       -unpatch) patch $patch_opts -p1 -R < $0;;
 
18
        *)
 
19
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
20
                exit 1;;
 
21
esac
 
22
 
 
23
exit 0
 
24
 
 
25
@DPATCH@
 
26
--- pingus-0.6.0.orig/src/result_screen.cxx
 
27
+++ pingus-0.6.0/src/result_screen.cxx
 
28
@@ -186,7 +186,7 @@
 
29
   if (result.success())
 
30
     {
 
31
       if (result.killed == 0 && result.saved == result.total)
 
32
-        message = _("Perfect! You saved everybody possibly, great!");
 
33
+        message = _("Perfect! You saved everybody possible, great!");
 
34
       else if (result.killed == 0)
 
35
         message = _("None got killed, pretty good work");
 
36
       else if (result.saved == result.needed)
 
37
--- pingus-0.6.0.orig/src/story.cxx
 
38
+++ pingus-0.6.0/src/story.cxx
 
39
@@ -49,7 +49,7 @@
 
40
     (StoryPage
 
41
      (ResDescriptor("Story/credits2", "story"), 
 
42
       _("But as the eldest have said, the Tutorial Island provides not\n"
 
43
-        "only a way to practive, but it is also the starting point into\n"
 
44
+        "only a way to practice, but it is also the starting point into\n"
 
45
         "the world. After some search the Pingus discovered the meaning\n"
 
46
         "of this, the large tree at the end of the island provides good\n"
 
47
         "wood to construct a float.\n")));
 
48
@@ -65,7 +65,7 @@
 
49
   credits.pages.push_back
 
50
     (StoryPage
 
51
      (ResDescriptor("Story/credits4", "story"), 
 
52
-      _("So the Pingus sat on their float, worrying whats to come and\n"
 
53
+      _("So the Pingus sat on their float, worrying what's to come and\n"
 
54
         "where to go, while floating into the sunset.\n"
 
55
         "\n"
 
56
         "To be continued...")));