/[drupal]/contributions/modules/pirate/pirate.module
ViewVC logotype

Diff of /contributions/modules/pirate/pirate.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Fri Sep 15 01:53:12 2006 UTC revision 1.3.2.1, Wed Nov 14 20:29:36 2007 UTC
# Line 36  function pirate_filter($op, $delta = 0, Line 36  function pirate_filter($op, $delta = 0,
36          '%\bof\b%' =>  "o'",          '%\bof\b%' =>  "o'",
37          "%\bdon't\b%" => "dern't",          "%\bdon't\b%" => "dern't",
38          '%\bdo not\b%' => "dern't",          '%\bdo not\b%' => "dern't",
39          '%\bnever\b%' => "ne'er",          '%\bnever\b%' => "no nay ne'er",
40          '%\bever\b%' => "e'er",          '%\bever\b%' => "e'er",
41          '%\bover\b%' => "o'er",          '%\bover\b%' => "o'er",
42          '%\bYes\b%' => 'Aye',          '%\bYes\b%' => 'Aye',
43          '%\bNo\b%' => 'Nay',          '%\bNo\b%' => 'Nay',
44          '%\bYeah\b%' => 'Aye',          '%\bYeah\b%' => 'Aye',
45          '%\byeah\b%' => 'aye',          '%\byeah\b%' => 'aye',
46            '%\bare\b%' => 'be',
47            '%\bDrupalists\b%' => 'Bucaneers',
48            '%\bthere\b%' => 'thar',
49            '%b\bnot\b%' => 'nay',
50            '%\bdesign\b%' => 'bounty',
51            '%\bonline\b%' => 'on the plank',
52            '/and\b/' => "an'",
53            '/ious\b/' => "i'us",
54          "%\bdon't know\b%" => "dinna",          "%\bdon't know\b%" => "dinna",
55          "%\bdidn't know\b%" => "did nay know",          "%\bdidn't know\b%" => "did nay know",
56          "%\bhadn't\b%" => "ha'nae",          "%\bhadn't\b%" => "ha'nae",
# Line 102  function pirate_filter($op, $delta = 0, Line 110  function pirate_filter($op, $delta = 0,
110          '%\bdriving\b%' => 'sailing',          '%\bdriving\b%' => 'sailing',
111          '%\bunderstand\b%' => 'reckon',          '%\bunderstand\b%' => 'reckon',
112          '%\bdrive\b%' => 'sail',          '%\bdrive\b%' => 'sail',
113                          '%\bdied\b%' => 'snuffed it',          '%\bdied\b%' => 'snuffed it',
114          '/ing\b/' => "in'",          '/ing\b/' => "in'",
115          '/ings\b/' => "in's",          '/ings\b/' => "in's",
116          // These next two do cool random substitutions          // These next two do cool random substitutions
# Line 137  function avast($stub = '',$chance = 5) { Line 145  function avast($stub = '',$chance = 5) {
145      "$stub Yaaarrrrr!",      "$stub Yaaarrrrr!",
146      ", pass the grog!",      ", pass the grog!",
147      ", and dinna spare the whip!",      ", and dinna spare the whip!",
148                                  ", with a chest full of booty$stub",      ", with a chest full of booty$stub",
149      ", and a bucket o' chum$stub",      ", and a bucket o' chum$stub",
150      ", we'll keel-haul ye!",      ", we'll keel-haul ye!",
151      "$stub Shiver me timbers!",      "$stub Shiver me timbers!",
# Line 155  function avast($stub = '',$chance = 5) { Line 163  function avast($stub = '',$chance = 5) {
163      "$stub The sharks will eat well tonight!",      "$stub The sharks will eat well tonight!",
164      "$stub Oho!",      "$stub Oho!",
165      "$stub Fetch me spyglass!",      "$stub Fetch me spyglass!",
166        ", shiver me timbers",
167        ", yo ho, ho",
168        ", ya bilge rat!",
169        ", Get out of me rum!",
170        ", feed the fishes",
171        ", me Jolly Roger",
172        ", Ya horn swogglin' scurvy cur!",
173        ", Ya swabbie!",
174        ", All Hands Hoay!",
175        ", Avast me hearties!",
176        ", Dance the Hempen Jig",
177        ", Hornswaggle",
178        ", Ya lily livered swabbie!",
179      );      );
180    
181    shuffle($shouts);    shuffle($shouts);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

  ViewVC Help
Powered by ViewVC 1.1.2