Skip to content
Open
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
58 changes: 29 additions & 29 deletions src/num2words-en.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,42 @@
#include "string.h"

static const char* const ONES[] = {
"o'clock",
"one",
"two",
"three",
"four",
"five",
"six",
"seven",
"eight",
"nine"
"fix",
"unu",
"două",
"trei",
"patru",
"cinci",
"şase",
"şapte",
"opt",
"nouă"
};

static const char* const TEENS[] ={
"",
"eleven",
"twelve",
"thirteen",
"fourteen",
"fifteen",
"sixteen",
"seventeen",
"eightteen",
"nineteen"
"unşpe",
"doişpe",
"treişpe",
"paişpe",
"cinşpe",
"şaişpe",
"şaptişpe",
"optişpe",
"nouăşpe"
};

static const char* const TENS[] = {
"",
"ten",
"twenty",
"thirty",
"forty",
"fifty",
"sixty",
"seventy",
"eighty",
"ninety"
"zece",
"douăzeci",
"treizeci",
"patruzeci",
"cincizeci",
"şaizeci",
"şaptezeci",
"optzeci",
"nouăzeci"
};

static size_t append_number(char* words, int num) {
Expand Down Expand Up @@ -121,4 +121,4 @@ void time_to_3words(int hours, int minutes, char *line1, char *line2, char *line
pch[0] = 0;
}
}
}
}