Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in Fijian, Maori and Urdu languages #439

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ five.elvish('sindarin') // leben
five.english() // five
five.esperanto() // kvin
five.estonian() // viis
five.fijian() // lima
five.finnish() // viisi
five.french() // cinq
five.german() // fünf
Expand All @@ -111,6 +112,7 @@ five.latin() // quinque
five.latvian() // pieci
five.lithuanian() // penki
five.maltese() // ħamsa
five.maori() // rima
five.mongolian() // таван
five.nepali() // पाँच
five.norwegian() // fem
Expand All @@ -131,6 +133,7 @@ five.tamil() // ஐந்து
five.telugu() // ఐదు
five.thai() // ห้า
five.turkish() // beş
five.urdu() // پاںچ
five.ukrainian() // п’ять
five.welsh() // pump
```
Expand Down
3 changes: 3 additions & 0 deletions five.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
five.english = function() { return 'five'; };
five.esperanto = function() { return 'kvin'; };
five.estonian = function() { return 'viis'; };
five.fijian = function() { return 'lima'; };
five.finnish = function() { return 'viisi'; };
five.french = function() { return 'cinq'; };
five.german = function() { return 'fünf'; };
Expand All @@ -70,6 +71,7 @@
five.latvian = function() { return 'pieci'; };
five.lithuanian = function() { return 'penki'; };
five.maltese = function() { return 'ħamsa'; };
five.maori = function() { return 'rima'; };
five.mongolian = function() { return 'таван'; };
five.nepali = function() { return 'पाँच'; };
five.norwegian = function() { return 'fem'; };
Expand All @@ -90,6 +92,7 @@
five.telugu = function() { return 'ఐదు'; };
five.turkish = function() { return 'beş'; };
five.thai = function() { return 'ห้า'; };
five.urdu = function() { return 'پاںچ'; };
five.ukrainian = function() { return 'п’ять'; };
five.welsh = function() { return 'pump'; };

Expand Down
3 changes: 3 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ assert.equal('leben', five.elvish('sindarin'), 'An elvish five in Sindarin shoul
assert.equal('five', five.english(), 'A english five should be five');
assert.equal('kvin', five.esperanto(), 'An esperanto five should be kvin');
assert.equal('viis', five.estonian(), 'An estonian five should be viis');
assert.equal('lima', five.fijian(), 'A fijian five should be lima');
assert.equal('viisi', five.finnish(), 'A finnish five should be viisi');
assert.equal('cinq', five.french(), 'A french five should be cinq');
assert.equal('fünf', five.german(), 'A german five should be fünf');
Expand All @@ -55,6 +56,7 @@ assert.equal('오', five.korean(), 'A korean five should be 오');
assert.equal('quinque', five.latin(), 'A latin five should be quinque');
assert.equal('pieci', five.latvian(), 'A latvian five should be pieci');
assert.equal('penki', five.lithuanian(), 'A lithuanian five should be penki');
assert.equal('rima', five.maori(), 'A maori five should be rima');
assert.equal('ħamsa', five.maltese(), ' A maltese five should be ħamsa');
assert.equal('таван', five.mongolian(), 'A mongolian five should be таван');
assert.equal('पाँच', five.nepali(), 'A nepali five should be पाँच');
Expand All @@ -76,6 +78,7 @@ assert.equal('ஐந்து', five.tamil(), 'A tamil five should be ஐந்
assert.equal('ఐదు', five.telugu(), 'A telugu five should be ఐదు');
assert.equal('ห้า', five.thai(), 'A thai five should be ห้า');
assert.equal('beş', five.turkish(), 'A turkish five should be beş');
assert.equal('پاںچ', five.urdu(), 'An urdu five should be پاںچ');
assert.equal('п’ять', five.ukrainian(), 'A ukrainian five should be п’ять');

assert.equal('.....', five.morseCode(), 'A five in morse code should be .....');
Expand Down