summaryrefslogtreecommitdiff
path: root/po/cat-id-tbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'po/cat-id-tbl.c')
-rw-r--r--po/cat-id-tbl.c184
1 files changed, 110 insertions, 74 deletions
diff --git a/po/cat-id-tbl.c b/po/cat-id-tbl.c
index c911baa..df9abe5 100644
--- a/po/cat-id-tbl.c
+++ b/po/cat-id-tbl.c
@@ -8,102 +8,138 @@
const struct _msg_ent _msg_tbl[] = {
{"", 1},
- {"Unknow priority list type: ", 2},
- {"Creation of a priority list and adding ", 3},
- {" random entrie(s)...", 4},
+ {"0 - Binary Heap", 2},
+ {"1 - Binomial Heap", 3},
+ {"2 - Fibonacci Heap", 4},
+ {"3 - Sorted chained list", 5},
+ {"a - Add a key into the priority list", 6},
+ {"c - Change priority list type", 7},
+ {"d - Delete a Key from the priority list", 8},
+ {"e - Extract Min onto the priority list", 9},
+ {"l - Lower Key onto a key of the priority list", 10},
+ {"p - Print the current priority list on the screen", 11},
+ {"r - Remove the whole priority list", 12},
+ {"t - Test the priority list algorithms", 13},
+ {"q - Quit", 14},
+ {"Unknow priority list type: ", 15},
+ {"Creation of a priority list and adding ", 16},
+ {" random entrie(s)...", 17},
{"\
Ok.\n\
-Deleting the list...", 5},
- {"List has ", 6},
- {" keys. Expecting ", 7},
- {"List corrupted.", 8},
- {" keys (real count). Expecting ", 9},
- {"Incorrect order.", 10},
- {"Size of a PriorityList cell: ", 11},
- {"Size of a BHeap cell : ", 12},
- {"Size of a FHeap cell : ", 13},
- {"Size of a PLList header : ", 14},
- {"Size of a CList cell : ", 15},
- {"Size of a SList cell : ", 16},
- {"Size of a BinHeap header : ", 17},
- {"Size of a BinHeap cell : ", 18},
- {"Creating a priority list and adding keys:\n", 19},
+Deleting the list...", 18},
+ {"List has ", 19},
+ {" keys. Expecting ", 20},
+ {"List corrupted.", 21},
+ {" keys (real count). Expecting ", 22},
+ {"Incorrect order.", 23},
+ {"Size of a PriorityList cell: ", 24},
+ {"Size of a BHeap cell : ", 25},
+ {"Size of a FHeap cell : ", 26},
+ {"Size of a PLList header : ", 27},
+ {"Size of a CList cell : ", 28},
+ {"Size of a SList cell : ", 29},
+ {"Size of a BinHeap header : ", 30},
+ {"Size of a BinHeap cell : ", 31},
+ {"Creating a priority list and adding keys:\n", 32},
{"\
Ok.\n\
-List browsing...\n", 20},
+List browsing...\n", 33},
{"\
Ok.\n\
-Extract_Min + List browsing...\n", 21},
+Extract_Min + List browsing...\n", 34},
{"\
Ok.\n\
-Lower_Key(0) over 59...\n", 22},
+Lower_Key(0) over 59...\n", 35},
{"\
Ok.\n\
-Delete over 54...\n", 23},
+Delete over 54...\n", 36},
{"\
Ok.\n\
-Lower_Key(-12) over 30...\n", 24},
+Lower_Key(-12) over 30...\n", 37},
{"\
Ok.\n\
-Extract_Min...\n", 25},
+Extract_Min...\n", 38},
{"\
Ok.\n\
-Extracting datas...\n", 26},
- {"Minimum #", 27},
+Extracting datas...\n", 39},
+ {"Minimum #", 40},
{"\
Ok.\n\
\n\
-All the tests were successfull\n", 28},
- {"Usage: testTas [type]\n", 29},
- {"Extra command: ", 30},
- {"Error opening file (", 31},
- {"Bad dictionnary structure. See doc/README.en (missing : separator)", 32},
- {"Bad dictionnary structure. See doc/README.en (missing word)", 33},
- {"Bad dictionnary structure. See doc/README.en (missing frequency)", 34},
- {"Error: \"", 35},
- {"\" is not a valid number.", 36},
- {"Huffman [{-f|-i} file] {type}", 37},
- {"Huffman -h", 38},
- {"By Nicolas Noble (nicolas@nobis-crew.org).", 39},
- {"This will encode the input file with the Huffman code", 40},
- {"using the priority list defined by type.", 41},
- {"Type is a number taken from this list:", 42},
- {" 0 : Binary Heap (default)", 43},
- {" 1 : Binomial Heap", 44},
- {" 2 : Fibonacci Heap", 45},
- {" 3 : Sorted chained list", 46},
- {"-f file means that you specify a dictionnary file which is", 47},
- {" structured as described into the README file.", 48},
- {"-i file means that you specify a file to encode. It will", 49},
- {" built a quiet dumb dictionnary.", 50},
- {"By default, a dictionnary will be built from stdin.", 51},
- {"-h prints this help and exit.", 52},
- {"Unknow option: ", 53},
- {"-i and -f options are exclusive", 54},
- {"-i needs a filename", 55},
- {"-f needs a filename", 56},
- {"Internal error.", 57},
- {" * Head cell. (", 58},
- {"Insert: not over Head.", 59},
- {"Insert: No more memory.", 60},
- {"Extract_Min: Priority List is empty.", 61},
+All the tests were successfull\n", 41},
+ {"Usage: testTas [type]\n", 42},
+ {"Choice: ", 43},
+ {"Incorrect choice, select again\n", 44},
+ {"%i - Key: %i", 45},
+ {"%i - Empty slot", 46},
+ {"n - Don't store", 47},
+ {"c - Cancel", 48},
+ {"could not set attributes\n", 49},
+ {"Extra command: ", 50},
+ {"You are not a terminal, Ok.\n", 51},
+ {"Unable to open /dev/tty\n", 52},
+ {"Priority list type: ", 53},
+ {"Please select an action", 54},
+ {"You have chosen: ", 55},
+ {"Please select a slot to save the cell", 56},
+ {"Please type in a key to add", 57},
+ {"Please select a priority list type", 58},
+ {"Please select a key to delete", 59},
+ {"Delete result: ", 60},
+ {"Extract Min result: ", 61},
+ {"Please select a key to lower", 62},
+ {"Please type in the new key", 63},
+ {"Lower key result: ", 64},
+ {"True", 65},
+ {"False", 66},
+ {"Error opening file (", 67},
+ {"Bad dictionnary structure. See doc/README.en (missing : separator)", 68},
+ {"Bad dictionnary structure. See doc/README.en (missing word)", 69},
+ {"Bad dictionnary structure. See doc/README.en (missing frequency)", 70},
+ {"Error: \"", 71},
+ {"\" is not a valid number.", 72},
+ {"Huffman [{-f|-i} file] {type}", 73},
+ {"Huffman -h", 74},
+ {"By Nicolas Noble (nicolas@nobis-crew.org).", 75},
+ {"This will encode the input file with the Huffman code", 76},
+ {"using the priority list defined by type.", 77},
+ {"Type is a number taken from this list:", 78},
+ {" 0 : Binary Heap (default)", 79},
+ {" 1 : Binomial Heap", 80},
+ {" 2 : Fibonacci Heap", 81},
+ {" 3 : Sorted chained list", 82},
+ {"-f file means that you specify a dictionnary file which is", 83},
+ {" structured as described into the README file.", 84},
+ {"-i file means that you specify a file to encode. It will", 85},
+ {" built a quiet dumb dictionnary.", 86},
+ {"By default, a dictionnary will be built from stdin.", 87},
+ {"-h prints this help and exit.", 88},
+ {"Unknow option: ", 89},
+ {"-i and -f options are exclusive", 90},
+ {"-i needs a filename", 91},
+ {"-f needs a filename", 92},
+ {"Internal error.", 93},
+ {" * Head cell. (", 94},
+ {"Insert: not over Head.", 95},
+ {"Insert: No more memory.", 96},
+ {"Extract_Min: Priority List is empty.", 97},
{"\
* Head cell.\n\
- |\n", 62},
- {"Not enough memory", 63},
- {"negative overflow", 64},
+ |\n", 98},
+ {"Not enough memory", 99},
+ {"negative overflow", 100},
{"\
* Head cell\n\
- |\n", 65},
- {"Bitstream length : ", 66},
- {" bits (= ", 67},
- {" bytes)\n", 68},
- {"Real size input : ", 69},
- {"Size squeezed by : ", 70},
- {" percents\n", 71},
- {"Dictionnary size : ", 72},
- {"Total bitstream length : ", 73},
- {"Real gain (4 bytes header) : ", 74},
+ |\n", 101},
+ {"Bitstream length : ", 102},
+ {" bits (= ", 103},
+ {" bytes)\n", 104},
+ {"Real size input : ", 105},
+ {"Size squeezed by : ", 106},
+ {" percents\n", 107},
+ {"Dictionnary size : ", 108},
+ {"Total bitstream length : ", 109},
+ {"Real gain (4 bytes header) : ", 110},
};
-int _msg_tbl_length = 74;
+int _msg_tbl_length = 110;