pirate-speak
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,3 +9,3 @@ var dictionary = { | ||
"award": "prize", | ||
"bathroom" : "head", | ||
"bathroom": "head", | ||
"beer": "grog", | ||
@@ -23,3 +23,6 @@ "before": "afore", | ||
"buddy": "mate", | ||
"business": "company", | ||
"businesses": "companies", | ||
"calling": "callin'", | ||
"canada": "Great North", | ||
"cash": "coin", | ||
@@ -30,3 +33,3 @@ "cat": "parrot", | ||
"comments": "yer words", | ||
"cool" : "shipshape", | ||
"cool": "shipshape", | ||
"country": "land", | ||
@@ -38,8 +41,7 @@ "dashboard": "shanty", | ||
"dog": "parrot", | ||
"dollar" : "doubloon", | ||
"dollar": "doubloon", | ||
"dollars" : "doubloons", | ||
"dollars": "doubloons", | ||
"dude": "pirate", | ||
"employee": "crew", | ||
"everyone" : "all hands", | ||
"everyone": "all hands", | ||
"eye": "eye-patch", | ||
@@ -50,8 +52,8 @@ "family": "kin", | ||
"females": "wenches", | ||
"food": "grub", | ||
"for": "fer", | ||
"food": "grub", | ||
"friend": "mate", | ||
"friend": "shipmate", | ||
"friends": "crew", | ||
"fuck" : "shiver me timbers", | ||
"fuck": "shiver me timbers", | ||
"gin": "rum", | ||
@@ -64,13 +66,11 @@ "girl": "lass", | ||
"group": "maties", | ||
"gun" : "bluderbuss", | ||
"hand": "hook", | ||
"gun": "bluderbuss", | ||
"haha": "yo ho", | ||
"hahaha": "yo ho ho", | ||
"hahahaha": "yo ho ho ho", | ||
"hand": "hook", | ||
"happy": "grog-filled", | ||
"hello" : "ahoy", | ||
"hello": "ahoy", | ||
"hey" : "ahoy", | ||
"hey": "ahoy", | ||
"hi" : "ahoy", | ||
"hi": "ahoy", | ||
"hotel": "fleebag inn", | ||
@@ -91,6 +91,6 @@ "i": "me", | ||
"lawyer": "scurvy land lubber", | ||
"left" : "port", | ||
"left": "port", | ||
"leg": "peg", | ||
"logout": "walk the plank", | ||
"lol" : "blimey", | ||
"lol": "blimey", | ||
"male": "pirate", | ||
@@ -101,10 +101,9 @@ "man": "pirate", | ||
"month": "moon", | ||
"my" : "me", | ||
"my": "me", | ||
"never": "nary", | ||
"no" : "nay", | ||
"no": "nay", | ||
"not": "nay", | ||
"of": "o'", | ||
"old": "barnacle-covered", | ||
"omg" : "shiver me timbers", | ||
"omg": "shiver me timbers", | ||
"over": "o'er", | ||
@@ -123,10 +122,10 @@ "page": "parchment", | ||
"restaurant": "galley", | ||
"right" : "starboard", | ||
"rotf" : "rollin' on the decks", | ||
"right": "starboard", | ||
"rotf": "rollin' on the decks", | ||
"say": "cry", | ||
"seconds": "ticks o' tha clock", | ||
"shipping": "cargo", | ||
"shit" : "shiver me timbers", | ||
"shit": "shiver me timbers", | ||
"small": "puny", | ||
"snack": "grub", | ||
"small": "puny", | ||
"soldier": "sailor", | ||
@@ -141,2 +140,3 @@ "sorry": "yarr", | ||
"them": "'em", | ||
"this": "dis", | ||
"to": "t'", | ||
@@ -159,7 +159,8 @@ "together": "t'gether", | ||
"yeah": "aye", | ||
"yes" : "aye", | ||
"you" : "ye", | ||
"yes": "aye", | ||
"you": "ye", | ||
"you're": "you be", | ||
"you've": "ye", | ||
"your": "yer", | ||
"yup" : "aye" | ||
"yup": "aye" | ||
}; | ||
@@ -185,3 +186,3 @@ | ||
if (firstChar === firstChar.toUpperCase() && otherChars === otherChars.toLowerCase()) { | ||
return wordB.slice(0, 1).toUpperCase() + wordB.slice(1).toLowerCase(); | ||
return wordB.slice(0, 1).toUpperCase() + wordB.slice(1).toLowerCase(); | ||
} | ||
@@ -224,3 +225,3 @@ // Other cases | ||
// If we ended the loop before translating a word, then translate the final | ||
// If we ended the loop before translating a word, then translate the final | ||
// word and add it to the translation. | ||
@@ -230,2 +231,2 @@ if (word !== "") translatedText += translateWord(word); | ||
return translatedText; | ||
}; | ||
}; |
{ | ||
"name": "pirate-speak", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple pirate translator", | ||
@@ -14,3 +14,3 @@ "main": "index.js", | ||
"keywords": [ | ||
"pirate", | ||
"pirate", | ||
"pirates", | ||
@@ -26,5 +26,5 @@ "translate", | ||
"bugs": { | ||
"url" : "https://github.com/mikewesthad/pirate-speak/issues", | ||
"email" : "michaelwesthadley@gmail.com" | ||
"url": "https://github.com/mikewesthad/pirate-speak/issues", | ||
"email": "michaelwesthadley@gmail.com" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # Pirate Speak |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14084
272