diff --git a/README.md b/README.md index 28cf82f..544c442 100644 --- a/README.md +++ b/README.md @@ -67,18 +67,19 @@ The text to translate. Language definitions are taken from the wiki and other sources of the game. -- [Darnassian](https://wowwiki.fandom.com/wiki/Darnassian) (Night elves) -- [Draconic](https://wowwiki.fandom.com/wiki/Draconic) (Dragons) -- [Draenei](https://wowwiki.fandom.com/wiki/Draenei_(language)) (Draenei) -- [Dwarven](https://wowwiki.fandom.com/wiki/Dwarven) (Dwarves) -- [Eredun](https://wowwiki.fandom.com/wiki/Eredun) (Demons) -- [Gnomish](https://wowwiki.fandom.com/wiki/Gnomish) (Gnomes) -- [Gutterspeak](https://wowwiki.fandom.com/wiki/Gutterspeak) (Forsaken) -- [Kalimag](https://wowwiki.fandom.com/wiki/Kalimag) (Elementals) -- [Orcish](https://wowwiki.fandom.com/wiki/Orcish) (Orcs) -- [Taurahe](https://wowwiki.fandom.com/wiki/Taur-ahe) (Tauren) -- [Thalassian](https://wowwiki.fandom.com/wiki/Thalassian) (Blood elves and High elves) -- [Zandali](https://wowwiki.fandom.com/wiki/Zandali) (Trolls) +- [Common](https://wowpedia.fandom.com/wiki/Common_(language)) (Humans) +- [Darnassian](https://wowpedia.fandom.com/wiki/Darnassian) (Night elves) +- [Draconic](https://wowpedia.fandom.com/wiki/Draconic) (Dragons) +- [Draenei](https://wowpedia.fandom.com/wiki/Draenei_(language)) (Draenei) +- [Dwarven](https://wowpedia.fandom.com/wiki/Dwarven) (Dwarves) +- [Eredun](https://wowpedia.fandom.com/wiki/Eredun) (Demons) +- [Gnomish](https://wowpedia.fandom.com/wiki/Gnomish) (Gnomes) +- [Gutterspeak](https://wowpedia.fandom.com/wiki/Gutterspeak) (Forsaken) +- [Kalimag](https://wowpedia.fandom.com/wiki/Kalimag) (Elementals) +- [Orcish](https://wowpedia.fandom.com/wiki/Orcish) (Orcs) +- [Taurahe](https://wowpedia.fandom.com/wiki/Taur-ahe) (Tauren) +- [Thalassian](https://wowpedia.fandom.com/wiki/Thalassian) (Blood elves and High elves) +- [Zandali](https://wowpedia.fandom.com/wiki/Zandali) (Trolls) ## Contributing diff --git a/src/dictionary/common.js b/src/dictionary/common.js new file mode 100644 index 0000000..f0cb3fb --- /dev/null +++ b/src/dictionary/common.js @@ -0,0 +1,14 @@ +module.exports = { + 1: ['a', 'e', 'i', 'o', 'u', 'y'], + 2: ['an', 'ko', 'lo', 'lu', 'me', 'ne', 're', 'ru', 'se', 'ti', 'va', 've'], + 3: ['ash', 'bor', 'bur', 'far', 'gol', 'hir', 'lon', 'mod', 'nud', 'ras', 'ver', 'vil', 'vos'], + 4: ['ador', 'agol', 'dana', 'goth', 'lars', 'noth', 'nuff', 'odes', 'ruff', 'thor', 'uden', 'veld', 'vohl', 'vrum'], + 5: ['algos', 'barad', 'borne', 'melka', 'ergin', 'eynes', 'garde', 'gloin', 'majis', 'nagan', 'novas', 'regen', 'tiras', 'wirsh'], + 6: ['aesire', 'aziris', 'daegil', 'danieb', 'ealdor', 'engoth', 'goibon', 'mandos', 'nevren', 'rogesh', 'rothas', 'ruftos', 'skilde', 'valesh', 'vandar', 'waldir'], + 7: ['andovis', 'ewiddan', 'faergas', 'forthis', 'kaelsig', 'koshvel', 'lithtos', 'nandige', 'nostyec', 'novaedi', 'sturume', 'vassild'], + 8: ['aldonoth', 'cynegold', 'endirvis', 'hamerung', 'landowar', 'lordaere', 'methrine', 'ruftvess', 'thorniss'], + 9: ['aetwinter', 'danagarde', 'eloderung', 'firalaine', 'gloinador', 'gothalgos', 'regenthor', 'udenmajis', 'vandarwos', 'veldbarad'], + 10: ['aelgestron', 'cynewalden', 'danavandar', 'dyrstigost', 'falhedring', 'vastrungen'], + 11: ['agolandovis', 'bornevalesh', 'dornevalesh', 'farlandowar', 'forthasador', 'thorlithtos', 'vassildador', 'wershaesire'], + 12: ['golveldbarad', 'mandosdaegil', 'nevrenrothas', 'waldirskilde'] +}; diff --git a/src/dictionary/index.js b/src/dictionary/index.js index 4668116..e74a3b8 100644 --- a/src/dictionary/index.js +++ b/src/dictionary/index.js @@ -1,4 +1,5 @@ module.exports = { + common: require('./common.js'), draenei: require('./draenei.js'), dwarven: require('./dwarven.js'), gnomish: require('./gnomish.js'), diff --git a/test/index.js b/test/index.js index f713ae9..819438d 100644 --- a/test/index.js +++ b/test/index.js @@ -2,6 +2,7 @@ const test = require('ava'); const lexicon = require('..'); const langs = [ + 'common', 'darnassian', 'draconic', 'draenei',