Branch data Line data Source code
1 : :
2 : : /********************************************************************\
3 : : * iso-4217-currencies.c -- list of currencies gnucash understands *
4 : : * *
5 : : * ATTENTION: this file is autogenerated based on *
6 : : * iso-4217-currencies.xml *
7 : : * *
8 : : * If you need any modifications in this file, please update the *
9 : : * xml source file (or the xsl translation file depending on the *
10 : : * kind of change required) instead. *
11 : : * *
12 : : * Copyright (C) 2015 Geert Janssens <geert@kobaltwit.be> *
13 : : * *
14 : : * This program is free software; you can redistribute it and/or *
15 : : * modify it under the terms of the GNU General Public License as *
16 : : * published by the Free Software Foundation; either version 2 of *
17 : : * the License, or (at your option) any later version. *
18 : : * *
19 : : * This program is distributed in the hope that it will be useful, *
20 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22 : : * GNU General Public License for more details. *
23 : : * *
24 : : * You should have received a copy of the GNU General Public License*
25 : : * along with this program; if not, contact: *
26 : : * *
27 : : * Free Software Foundation Voice: +1-617-542-5942 *
28 : : * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
29 : : * Boston, MA 02110-1301, USA gnu@gnu.org *
30 : : * *
31 : : \********************************************************************/
32 : :
33 : :
34 : : {
35 : 265 : const char *fullname = "Andorran Franc";
36 : 265 : gnc_commodity *c = gnc_commodity_new(book,
37 : 265 : CUR_I18N(fullname),
38 : : "ISO4217",
39 : : "ADF",
40 : : "950",
41 : : 100);
42 : 265 : if(!c) {
43 : 0 : PWARN("failed to create commodity for currency %s", fullname);
44 : : } else {
45 : 265 : if(!gnc_commodity_table_insert(table, c)) {
46 : 0 : PWARN("failed to insert %s into commodity table", fullname);
47 : : }
48 : : }
49 : 265 : gnc_commodity_set_default_symbol(c, "₣");
50 : : }
51 : :
52 : : {
53 : 265 : const char *fullname = "Andorran Peseta";
54 : 265 : gnc_commodity *c = gnc_commodity_new(book,
55 : 265 : CUR_I18N(fullname),
56 : : "ISO4217",
57 : : "ADP",
58 : : "724",
59 : : 100);
60 : 265 : if(!c) {
61 : 0 : PWARN("failed to create commodity for currency %s", fullname);
62 : : } else {
63 : 265 : if(!gnc_commodity_table_insert(table, c)) {
64 : 0 : PWARN("failed to insert %s into commodity table", fullname);
65 : : }
66 : : }
67 : 265 : gnc_commodity_set_default_symbol(c, "₧");
68 : : }
69 : :
70 : : {
71 : 265 : const char *fullname = "UAE Dirham";
72 : 265 : gnc_commodity *c = gnc_commodity_new(book,
73 : 265 : CUR_I18N(fullname),
74 : : "ISO4217",
75 : : "AED",
76 : : "784",
77 : : 100);
78 : 265 : if(!c) {
79 : 0 : PWARN("failed to create commodity for currency %s", fullname);
80 : : } else {
81 : 265 : if(!gnc_commodity_table_insert(table, c)) {
82 : 0 : PWARN("failed to insert %s into commodity table", fullname);
83 : : }
84 : : }
85 : 265 : gnc_commodity_set_default_symbol(c, "Dhs");
86 : : }
87 : :
88 : : {
89 : 265 : const char *fullname = "Afghani";
90 : 265 : gnc_commodity *c = gnc_commodity_new(book,
91 : 265 : CUR_I18N(fullname),
92 : : "ISO4217",
93 : : "AFA",
94 : : "004",
95 : : 100);
96 : 265 : if(!c) {
97 : 0 : PWARN("failed to create commodity for currency %s", fullname);
98 : : } else {
99 : 265 : if(!gnc_commodity_table_insert(table, c)) {
100 : 0 : PWARN("failed to insert %s into commodity table", fullname);
101 : : }
102 : : }
103 : 265 : gnc_commodity_set_default_symbol(c, "");
104 : : }
105 : :
106 : : {
107 : 265 : const char *fullname = "Afghani";
108 : 265 : gnc_commodity *c = gnc_commodity_new(book,
109 : 265 : CUR_I18N(fullname),
110 : : "ISO4217",
111 : : "AFN",
112 : : "971",
113 : : 1);
114 : 265 : if(!c) {
115 : 0 : PWARN("failed to create commodity for currency %s", fullname);
116 : : } else {
117 : 265 : if(!gnc_commodity_table_insert(table, c)) {
118 : 0 : PWARN("failed to insert %s into commodity table", fullname);
119 : : }
120 : : }
121 : 265 : gnc_commodity_set_default_symbol(c, "");
122 : : }
123 : :
124 : : {
125 : 265 : const char *fullname = "Lek";
126 : 265 : gnc_commodity *c = gnc_commodity_new(book,
127 : 265 : CUR_I18N(fullname),
128 : : "ISO4217",
129 : : "ALL",
130 : : "008",
131 : : 100);
132 : 265 : if(!c) {
133 : 0 : PWARN("failed to create commodity for currency %s", fullname);
134 : : } else {
135 : 265 : if(!gnc_commodity_table_insert(table, c)) {
136 : 0 : PWARN("failed to insert %s into commodity table", fullname);
137 : : }
138 : : }
139 : 265 : gnc_commodity_set_default_symbol(c, "");
140 : : }
141 : :
142 : : {
143 : 265 : const char *fullname = "Armenian Dram";
144 : 265 : gnc_commodity *c = gnc_commodity_new(book,
145 : 265 : CUR_I18N(fullname),
146 : : "ISO4217",
147 : : "AMD",
148 : : "051",
149 : : 100);
150 : 265 : if(!c) {
151 : 0 : PWARN("failed to create commodity for currency %s", fullname);
152 : : } else {
153 : 265 : if(!gnc_commodity_table_insert(table, c)) {
154 : 0 : PWARN("failed to insert %s into commodity table", fullname);
155 : : }
156 : : }
157 : 265 : gnc_commodity_set_default_symbol(c, "դր.");
158 : : }
159 : :
160 : : {
161 : 265 : const char *fullname = "Netherlands Antillian Guilder";
162 : 265 : gnc_commodity *c = gnc_commodity_new(book,
163 : 265 : CUR_I18N(fullname),
164 : : "ISO4217",
165 : : "ANG",
166 : : "532",
167 : : 100);
168 : 265 : if(!c) {
169 : 0 : PWARN("failed to create commodity for currency %s", fullname);
170 : : } else {
171 : 265 : if(!gnc_commodity_table_insert(table, c)) {
172 : 0 : PWARN("failed to insert %s into commodity table", fullname);
173 : : }
174 : : }
175 : 265 : gnc_commodity_set_default_symbol(c, "NAƒ");
176 : : }
177 : :
178 : : {
179 : 265 : const char *fullname = "Kwanza";
180 : 265 : gnc_commodity *c = gnc_commodity_new(book,
181 : 265 : CUR_I18N(fullname),
182 : : "ISO4217",
183 : : "AOA",
184 : : "973",
185 : : 100);
186 : 265 : if(!c) {
187 : 0 : PWARN("failed to create commodity for currency %s", fullname);
188 : : } else {
189 : 265 : if(!gnc_commodity_table_insert(table, c)) {
190 : 0 : PWARN("failed to insert %s into commodity table", fullname);
191 : : }
192 : : }
193 : 265 : gnc_commodity_set_default_symbol(c, "Kz");
194 : : }
195 : :
196 : : {
197 : 265 : const char *fullname = "Angola New Kwanza";
198 : 265 : gnc_commodity *c = gnc_commodity_new(book,
199 : 265 : CUR_I18N(fullname),
200 : : "ISO4217",
201 : : "AON",
202 : : "024",
203 : : 100);
204 : 265 : if(!c) {
205 : 0 : PWARN("failed to create commodity for currency %s", fullname);
206 : : } else {
207 : 265 : if(!gnc_commodity_table_insert(table, c)) {
208 : 0 : PWARN("failed to insert %s into commodity table", fullname);
209 : : }
210 : : }
211 : 265 : gnc_commodity_set_default_symbol(c, "");
212 : : }
213 : :
214 : : {
215 : 265 : const char *fullname = "Angola Kwanza Reajustado";
216 : 265 : gnc_commodity *c = gnc_commodity_new(book,
217 : 265 : CUR_I18N(fullname),
218 : : "ISO4217",
219 : : "AOR",
220 : : "982",
221 : : 100);
222 : 265 : if(!c) {
223 : 0 : PWARN("failed to create commodity for currency %s", fullname);
224 : : } else {
225 : 265 : if(!gnc_commodity_table_insert(table, c)) {
226 : 0 : PWARN("failed to insert %s into commodity table", fullname);
227 : : }
228 : : }
229 : 265 : gnc_commodity_set_default_symbol(c, "");
230 : : }
231 : :
232 : : {
233 : 265 : const char *fullname = "Argentine Austral";
234 : 265 : gnc_commodity *c = gnc_commodity_new(book,
235 : 265 : CUR_I18N(fullname),
236 : : "ISO4217",
237 : : "ARA",
238 : : "XXX",
239 : : 100);
240 : 265 : if(!c) {
241 : 0 : PWARN("failed to create commodity for currency %s", fullname);
242 : : } else {
243 : 265 : if(!gnc_commodity_table_insert(table, c)) {
244 : 0 : PWARN("failed to insert %s into commodity table", fullname);
245 : : }
246 : : }
247 : 265 : gnc_commodity_set_default_symbol(c, "");
248 : : }
249 : :
250 : : {
251 : 265 : const char *fullname = "Argentine Peso";
252 : 265 : gnc_commodity *c = gnc_commodity_new(book,
253 : 265 : CUR_I18N(fullname),
254 : : "ISO4217",
255 : : "ARS",
256 : : "032",
257 : : 100);
258 : 265 : if(!c) {
259 : 0 : PWARN("failed to create commodity for currency %s", fullname);
260 : : } else {
261 : 265 : if(!gnc_commodity_table_insert(table, c)) {
262 : 0 : PWARN("failed to insert %s into commodity table", fullname);
263 : : }
264 : : }
265 : 265 : gnc_commodity_set_default_symbol(c, "");
266 : : }
267 : :
268 : : {
269 : 265 : const char *fullname = "Austrian Schilling";
270 : 265 : gnc_commodity *c = gnc_commodity_new(book,
271 : 265 : CUR_I18N(fullname),
272 : : "ISO4217",
273 : : "ATS",
274 : : "040",
275 : : 100);
276 : 265 : if(!c) {
277 : 0 : PWARN("failed to create commodity for currency %s", fullname);
278 : : } else {
279 : 265 : if(!gnc_commodity_table_insert(table, c)) {
280 : 0 : PWARN("failed to insert %s into commodity table", fullname);
281 : : }
282 : : }
283 : 265 : gnc_commodity_set_default_symbol(c, "öS");
284 : : }
285 : :
286 : : {
287 : 265 : const char *fullname = "Australian Dollar";
288 : 265 : gnc_commodity *c = gnc_commodity_new(book,
289 : 265 : CUR_I18N(fullname),
290 : : "ISO4217",
291 : : "AUD",
292 : : "036",
293 : : 100);
294 : 265 : if(!c) {
295 : 0 : PWARN("failed to create commodity for currency %s", fullname);
296 : : } else {
297 : 265 : if(!gnc_commodity_table_insert(table, c)) {
298 : 0 : PWARN("failed to insert %s into commodity table", fullname);
299 : : }
300 : : }
301 : 265 : gnc_commodity_set_default_symbol(c, "$");
302 : : }
303 : :
304 : : {
305 : 265 : const char *fullname = "Aruban Guilder";
306 : 265 : gnc_commodity *c = gnc_commodity_new(book,
307 : 265 : CUR_I18N(fullname),
308 : : "ISO4217",
309 : : "AWG",
310 : : "533",
311 : : 100);
312 : 265 : if(!c) {
313 : 0 : PWARN("failed to create commodity for currency %s", fullname);
314 : : } else {
315 : 265 : if(!gnc_commodity_table_insert(table, c)) {
316 : 0 : PWARN("failed to insert %s into commodity table", fullname);
317 : : }
318 : : }
319 : 265 : gnc_commodity_set_default_symbol(c, "Afl.");
320 : : }
321 : :
322 : : {
323 : 265 : const char *fullname = "Azerbaijanian Manat";
324 : 265 : gnc_commodity *c = gnc_commodity_new(book,
325 : 265 : CUR_I18N(fullname),
326 : : "ISO4217",
327 : : "AZM",
328 : : "031",
329 : : 100);
330 : 265 : if(!c) {
331 : 0 : PWARN("failed to create commodity for currency %s", fullname);
332 : : } else {
333 : 265 : if(!gnc_commodity_table_insert(table, c)) {
334 : 0 : PWARN("failed to insert %s into commodity table", fullname);
335 : : }
336 : : }
337 : 265 : gnc_commodity_set_default_symbol(c, "");
338 : : }
339 : :
340 : : {
341 : 265 : const char *fullname = "Azerbaijanian Manat";
342 : 265 : gnc_commodity *c = gnc_commodity_new(book,
343 : 265 : CUR_I18N(fullname),
344 : : "ISO4217",
345 : : "AZN",
346 : : "944",
347 : : 100);
348 : 265 : if(!c) {
349 : 0 : PWARN("failed to create commodity for currency %s", fullname);
350 : : } else {
351 : 265 : if(!gnc_commodity_table_insert(table, c)) {
352 : 0 : PWARN("failed to insert %s into commodity table", fullname);
353 : : }
354 : : }
355 : 265 : gnc_commodity_set_default_symbol(c, "m");
356 : : }
357 : :
358 : : {
359 : 265 : const char *fullname = "Bosnia and Herzegovina Dinar";
360 : 265 : gnc_commodity *c = gnc_commodity_new(book,
361 : 265 : CUR_I18N(fullname),
362 : : "ISO4217",
363 : : "BAD",
364 : : "070",
365 : : 100);
366 : 265 : if(!c) {
367 : 0 : PWARN("failed to create commodity for currency %s", fullname);
368 : : } else {
369 : 265 : if(!gnc_commodity_table_insert(table, c)) {
370 : 0 : PWARN("failed to insert %s into commodity table", fullname);
371 : : }
372 : : }
373 : 265 : gnc_commodity_set_default_symbol(c, "");
374 : : }
375 : :
376 : : {
377 : 265 : const char *fullname = "Convertible Marks";
378 : 265 : gnc_commodity *c = gnc_commodity_new(book,
379 : 265 : CUR_I18N(fullname),
380 : : "ISO4217",
381 : : "BAM",
382 : : "977",
383 : : 100);
384 : 265 : if(!c) {
385 : 0 : PWARN("failed to create commodity for currency %s", fullname);
386 : : } else {
387 : 265 : if(!gnc_commodity_table_insert(table, c)) {
388 : 0 : PWARN("failed to insert %s into commodity table", fullname);
389 : : }
390 : : }
391 : 265 : gnc_commodity_set_default_symbol(c, "KM");
392 : : }
393 : :
394 : : {
395 : 265 : const char *fullname = "Barbados Dollar";
396 : 265 : gnc_commodity *c = gnc_commodity_new(book,
397 : 265 : CUR_I18N(fullname),
398 : : "ISO4217",
399 : : "BBD",
400 : : "052",
401 : : 100);
402 : 265 : if(!c) {
403 : 0 : PWARN("failed to create commodity for currency %s", fullname);
404 : : } else {
405 : 265 : if(!gnc_commodity_table_insert(table, c)) {
406 : 0 : PWARN("failed to insert %s into commodity table", fullname);
407 : : }
408 : : }
409 : 265 : gnc_commodity_set_default_symbol(c, "Bds$");
410 : : }
411 : :
412 : : {
413 : 265 : const char *fullname = "Taka";
414 : 265 : gnc_commodity *c = gnc_commodity_new(book,
415 : 265 : CUR_I18N(fullname),
416 : : "ISO4217",
417 : : "BDT",
418 : : "050",
419 : : 100);
420 : 265 : if(!c) {
421 : 0 : PWARN("failed to create commodity for currency %s", fullname);
422 : : } else {
423 : 265 : if(!gnc_commodity_table_insert(table, c)) {
424 : 0 : PWARN("failed to insert %s into commodity table", fullname);
425 : : }
426 : : }
427 : 265 : gnc_commodity_set_default_symbol(c, "৳");
428 : : }
429 : :
430 : : {
431 : 265 : const char *fullname = "Belgian Franc";
432 : 265 : gnc_commodity *c = gnc_commodity_new(book,
433 : 265 : CUR_I18N(fullname),
434 : : "ISO4217",
435 : : "BEF",
436 : : "056",
437 : : 100);
438 : 265 : if(!c) {
439 : 0 : PWARN("failed to create commodity for currency %s", fullname);
440 : : } else {
441 : 265 : if(!gnc_commodity_table_insert(table, c)) {
442 : 0 : PWARN("failed to insert %s into commodity table", fullname);
443 : : }
444 : : }
445 : 265 : gnc_commodity_set_default_symbol(c, "fr.");
446 : : }
447 : :
448 : : {
449 : 265 : const char *fullname = "Bulgarian Lev A/99";
450 : 265 : gnc_commodity *c = gnc_commodity_new(book,
451 : 265 : CUR_I18N(fullname),
452 : : "ISO4217",
453 : : "BGL",
454 : : "100",
455 : : 100);
456 : 265 : if(!c) {
457 : 0 : PWARN("failed to create commodity for currency %s", fullname);
458 : : } else {
459 : 265 : if(!gnc_commodity_table_insert(table, c)) {
460 : 0 : PWARN("failed to insert %s into commodity table", fullname);
461 : : }
462 : : }
463 : 265 : gnc_commodity_set_default_symbol(c, "");
464 : : }
465 : :
466 : : {
467 : 265 : const char *fullname = "Bulgarian Lev";
468 : 265 : gnc_commodity *c = gnc_commodity_new(book,
469 : 265 : CUR_I18N(fullname),
470 : : "ISO4217",
471 : : "BGN",
472 : : "975",
473 : : 100);
474 : 265 : if(!c) {
475 : 0 : PWARN("failed to create commodity for currency %s", fullname);
476 : : } else {
477 : 265 : if(!gnc_commodity_table_insert(table, c)) {
478 : 0 : PWARN("failed to insert %s into commodity table", fullname);
479 : : }
480 : : }
481 : 265 : gnc_commodity_set_default_symbol(c, "лв");
482 : : }
483 : :
484 : : {
485 : 265 : const char *fullname = "Bahraini Dinar";
486 : 265 : gnc_commodity *c = gnc_commodity_new(book,
487 : 265 : CUR_I18N(fullname),
488 : : "ISO4217",
489 : : "BHD",
490 : : "048",
491 : : 1000);
492 : 265 : if(!c) {
493 : 0 : PWARN("failed to create commodity for currency %s", fullname);
494 : : } else {
495 : 265 : if(!gnc_commodity_table_insert(table, c)) {
496 : 0 : PWARN("failed to insert %s into commodity table", fullname);
497 : : }
498 : : }
499 : 265 : gnc_commodity_set_default_symbol(c, "BD");
500 : : }
501 : :
502 : : {
503 : 265 : const char *fullname = "Burundi Franc";
504 : 265 : gnc_commodity *c = gnc_commodity_new(book,
505 : 265 : CUR_I18N(fullname),
506 : : "ISO4217",
507 : : "BIF",
508 : : "108",
509 : : 100);
510 : 265 : if(!c) {
511 : 0 : PWARN("failed to create commodity for currency %s", fullname);
512 : : } else {
513 : 265 : if(!gnc_commodity_table_insert(table, c)) {
514 : 0 : PWARN("failed to insert %s into commodity table", fullname);
515 : : }
516 : : }
517 : 265 : gnc_commodity_set_default_symbol(c, "FBu");
518 : : }
519 : :
520 : : {
521 : 265 : const char *fullname = "Bermudian Dollar";
522 : 265 : gnc_commodity *c = gnc_commodity_new(book,
523 : 265 : CUR_I18N(fullname),
524 : : "ISO4217",
525 : : "BMD",
526 : : "060",
527 : : 100);
528 : 265 : if(!c) {
529 : 0 : PWARN("failed to create commodity for currency %s", fullname);
530 : : } else {
531 : 265 : if(!gnc_commodity_table_insert(table, c)) {
532 : 0 : PWARN("failed to insert %s into commodity table", fullname);
533 : : }
534 : : }
535 : 265 : gnc_commodity_set_default_symbol(c, "BD$");
536 : : }
537 : :
538 : : {
539 : 265 : const char *fullname = "Brunei Dollar";
540 : 265 : gnc_commodity *c = gnc_commodity_new(book,
541 : 265 : CUR_I18N(fullname),
542 : : "ISO4217",
543 : : "BND",
544 : : "096",
545 : : 100);
546 : 265 : if(!c) {
547 : 0 : PWARN("failed to create commodity for currency %s", fullname);
548 : : } else {
549 : 265 : if(!gnc_commodity_table_insert(table, c)) {
550 : 0 : PWARN("failed to insert %s into commodity table", fullname);
551 : : }
552 : : }
553 : 265 : gnc_commodity_set_default_symbol(c, "B$");
554 : : }
555 : :
556 : : {
557 : 265 : const char *fullname = "Boliviano";
558 : 265 : gnc_commodity *c = gnc_commodity_new(book,
559 : 265 : CUR_I18N(fullname),
560 : : "ISO4217",
561 : : "BOB",
562 : : "068",
563 : : 100);
564 : 265 : if(!c) {
565 : 0 : PWARN("failed to create commodity for currency %s", fullname);
566 : : } else {
567 : 265 : if(!gnc_commodity_table_insert(table, c)) {
568 : 0 : PWARN("failed to insert %s into commodity table", fullname);
569 : : }
570 : : }
571 : 265 : gnc_commodity_set_default_symbol(c, "Bs.");
572 : : }
573 : :
574 : : {
575 : 265 : const char *fullname = "Mvdol";
576 : 265 : gnc_commodity *c = gnc_commodity_new(book,
577 : 265 : CUR_I18N(fullname),
578 : : "ISO4217",
579 : : "BOV",
580 : : "984",
581 : : 100);
582 : 265 : if(!c) {
583 : 0 : PWARN("failed to create commodity for currency %s", fullname);
584 : : } else {
585 : 265 : if(!gnc_commodity_table_insert(table, c)) {
586 : 0 : PWARN("failed to insert %s into commodity table", fullname);
587 : : }
588 : : }
589 : 265 : gnc_commodity_set_default_symbol(c, "");
590 : : }
591 : :
592 : : {
593 : 265 : const char *fullname = "Brazilian Cruzeiro";
594 : 265 : gnc_commodity *c = gnc_commodity_new(book,
595 : 265 : CUR_I18N(fullname),
596 : : "ISO4217",
597 : : "BRE",
598 : : "076",
599 : : 100);
600 : 265 : if(!c) {
601 : 0 : PWARN("failed to create commodity for currency %s", fullname);
602 : : } else {
603 : 265 : if(!gnc_commodity_table_insert(table, c)) {
604 : 0 : PWARN("failed to insert %s into commodity table", fullname);
605 : : }
606 : : }
607 : 265 : gnc_commodity_set_default_symbol(c, "");
608 : : }
609 : :
610 : : {
611 : 265 : const char *fullname = "Brazilian Real";
612 : 265 : gnc_commodity *c = gnc_commodity_new(book,
613 : 265 : CUR_I18N(fullname),
614 : : "ISO4217",
615 : : "BRL",
616 : : "986",
617 : : 100);
618 : 265 : if(!c) {
619 : 0 : PWARN("failed to create commodity for currency %s", fullname);
620 : : } else {
621 : 265 : if(!gnc_commodity_table_insert(table, c)) {
622 : 0 : PWARN("failed to insert %s into commodity table", fullname);
623 : : }
624 : : }
625 : 265 : gnc_commodity_set_default_symbol(c, "R$");
626 : : }
627 : :
628 : : {
629 : 265 : const char *fullname = "Brazilian Cruzeiro Real";
630 : 265 : gnc_commodity *c = gnc_commodity_new(book,
631 : 265 : CUR_I18N(fullname),
632 : : "ISO4217",
633 : : "BRR",
634 : : "987",
635 : : 100);
636 : 265 : if(!c) {
637 : 0 : PWARN("failed to create commodity for currency %s", fullname);
638 : : } else {
639 : 265 : if(!gnc_commodity_table_insert(table, c)) {
640 : 0 : PWARN("failed to insert %s into commodity table", fullname);
641 : : }
642 : : }
643 : 265 : gnc_commodity_set_default_symbol(c, "");
644 : : }
645 : :
646 : : {
647 : 265 : const char *fullname = "Bahamian Dollar";
648 : 265 : gnc_commodity *c = gnc_commodity_new(book,
649 : 265 : CUR_I18N(fullname),
650 : : "ISO4217",
651 : : "BSD",
652 : : "044",
653 : : 100);
654 : 265 : if(!c) {
655 : 0 : PWARN("failed to create commodity for currency %s", fullname);
656 : : } else {
657 : 265 : if(!gnc_commodity_table_insert(table, c)) {
658 : 0 : PWARN("failed to insert %s into commodity table", fullname);
659 : : }
660 : : }
661 : 265 : gnc_commodity_set_default_symbol(c, "B$");
662 : : }
663 : :
664 : : {
665 : 265 : const char *fullname = "Ngultrum";
666 : 265 : gnc_commodity *c = gnc_commodity_new(book,
667 : 265 : CUR_I18N(fullname),
668 : : "ISO4217",
669 : : "BTN",
670 : : "064",
671 : : 100);
672 : 265 : if(!c) {
673 : 0 : PWARN("failed to create commodity for currency %s", fullname);
674 : : } else {
675 : 265 : if(!gnc_commodity_table_insert(table, c)) {
676 : 0 : PWARN("failed to insert %s into commodity table", fullname);
677 : : }
678 : : }
679 : 265 : gnc_commodity_set_default_symbol(c, "Nu.");
680 : : }
681 : :
682 : : {
683 : 265 : const char *fullname = "Pula";
684 : 265 : gnc_commodity *c = gnc_commodity_new(book,
685 : 265 : CUR_I18N(fullname),
686 : : "ISO4217",
687 : : "BWP",
688 : : "072",
689 : : 100);
690 : 265 : if(!c) {
691 : 0 : PWARN("failed to create commodity for currency %s", fullname);
692 : : } else {
693 : 265 : if(!gnc_commodity_table_insert(table, c)) {
694 : 0 : PWARN("failed to insert %s into commodity table", fullname);
695 : : }
696 : : }
697 : 265 : gnc_commodity_set_default_symbol(c, "P");
698 : : }
699 : :
700 : : {
701 : 265 : const char *fullname = "Belarussian Rouble";
702 : 265 : gnc_commodity *c = gnc_commodity_new(book,
703 : 265 : CUR_I18N(fullname),
704 : : "ISO4217",
705 : : "BYB",
706 : : "",
707 : : 1);
708 : 265 : if(!c) {
709 : 0 : PWARN("failed to create commodity for currency %s", fullname);
710 : : } else {
711 : 265 : if(!gnc_commodity_table_insert(table, c)) {
712 : 0 : PWARN("failed to insert %s into commodity table", fullname);
713 : : }
714 : : }
715 : 265 : gnc_commodity_set_default_symbol(c, "");
716 : : }
717 : :
718 : : {
719 : 265 : const char *fullname = "Belarussian Ruble";
720 : 265 : gnc_commodity *c = gnc_commodity_new(book,
721 : 265 : CUR_I18N(fullname),
722 : : "ISO4217",
723 : : "BYR",
724 : : "974",
725 : : 100);
726 : 265 : if(!c) {
727 : 0 : PWARN("failed to create commodity for currency %s", fullname);
728 : : } else {
729 : 265 : if(!gnc_commodity_table_insert(table, c)) {
730 : 0 : PWARN("failed to insert %s into commodity table", fullname);
731 : : }
732 : : }
733 : 265 : gnc_commodity_set_default_symbol(c, "Br");
734 : : }
735 : :
736 : : {
737 : 265 : const char *fullname = "Belarussian Ruble";
738 : 265 : gnc_commodity *c = gnc_commodity_new(book,
739 : 265 : CUR_I18N(fullname),
740 : : "ISO4217",
741 : : "BYN",
742 : : "933",
743 : : 100);
744 : 265 : if(!c) {
745 : 0 : PWARN("failed to create commodity for currency %s", fullname);
746 : : } else {
747 : 265 : if(!gnc_commodity_table_insert(table, c)) {
748 : 0 : PWARN("failed to insert %s into commodity table", fullname);
749 : : }
750 : : }
751 : 265 : gnc_commodity_set_default_symbol(c, "Br");
752 : : }
753 : :
754 : : {
755 : 265 : const char *fullname = "Belize Dollar";
756 : 265 : gnc_commodity *c = gnc_commodity_new(book,
757 : 265 : CUR_I18N(fullname),
758 : : "ISO4217",
759 : : "BZD",
760 : : "084",
761 : : 100);
762 : 265 : if(!c) {
763 : 0 : PWARN("failed to create commodity for currency %s", fullname);
764 : : } else {
765 : 265 : if(!gnc_commodity_table_insert(table, c)) {
766 : 0 : PWARN("failed to insert %s into commodity table", fullname);
767 : : }
768 : : }
769 : 265 : gnc_commodity_set_default_symbol(c, "BZ$");
770 : : }
771 : :
772 : : {
773 : 265 : const char *fullname = "Canadian Dollar";
774 : 265 : gnc_commodity *c = gnc_commodity_new(book,
775 : 265 : CUR_I18N(fullname),
776 : : "ISO4217",
777 : : "CAD",
778 : : "124",
779 : : 100);
780 : 265 : if(!c) {
781 : 0 : PWARN("failed to create commodity for currency %s", fullname);
782 : : } else {
783 : 265 : if(!gnc_commodity_table_insert(table, c)) {
784 : 0 : PWARN("failed to insert %s into commodity table", fullname);
785 : : }
786 : : }
787 : 265 : gnc_commodity_set_default_symbol(c, "C$");
788 : : }
789 : :
790 : : {
791 : 265 : const char *fullname = "Franc Congolais";
792 : 265 : gnc_commodity *c = gnc_commodity_new(book,
793 : 265 : CUR_I18N(fullname),
794 : : "ISO4217",
795 : : "CDF",
796 : : "976",
797 : : 100);
798 : 265 : if(!c) {
799 : 0 : PWARN("failed to create commodity for currency %s", fullname);
800 : : } else {
801 : 265 : if(!gnc_commodity_table_insert(table, c)) {
802 : 0 : PWARN("failed to insert %s into commodity table", fullname);
803 : : }
804 : : }
805 : 265 : gnc_commodity_set_default_symbol(c, "FC");
806 : : }
807 : :
808 : : {
809 : 265 : const char *fullname = "WIR Euro";
810 : 265 : gnc_commodity *c = gnc_commodity_new(book,
811 : 265 : CUR_I18N(fullname),
812 : : "ISO4217",
813 : : "CHE",
814 : : "974",
815 : : 100);
816 : 265 : if(!c) {
817 : 0 : PWARN("failed to create commodity for currency %s", fullname);
818 : : } else {
819 : 265 : if(!gnc_commodity_table_insert(table, c)) {
820 : 0 : PWARN("failed to insert %s into commodity table", fullname);
821 : : }
822 : : }
823 : 265 : gnc_commodity_set_default_symbol(c, "");
824 : : }
825 : :
826 : : {
827 : 265 : const char *fullname = "Swiss Franc";
828 : 265 : gnc_commodity *c = gnc_commodity_new(book,
829 : 265 : CUR_I18N(fullname),
830 : : "ISO4217",
831 : : "CHF",
832 : : "756",
833 : : 100);
834 : 265 : if(!c) {
835 : 0 : PWARN("failed to create commodity for currency %s", fullname);
836 : : } else {
837 : 265 : if(!gnc_commodity_table_insert(table, c)) {
838 : 0 : PWARN("failed to insert %s into commodity table", fullname);
839 : : }
840 : : }
841 : 265 : gnc_commodity_set_default_symbol(c, "SFr.");
842 : : }
843 : :
844 : : {
845 : 265 : const char *fullname = "WIR Franc";
846 : 265 : gnc_commodity *c = gnc_commodity_new(book,
847 : 265 : CUR_I18N(fullname),
848 : : "ISO4217",
849 : : "CHW",
850 : : "948",
851 : : 100);
852 : 265 : if(!c) {
853 : 0 : PWARN("failed to create commodity for currency %s", fullname);
854 : : } else {
855 : 265 : if(!gnc_commodity_table_insert(table, c)) {
856 : 0 : PWARN("failed to insert %s into commodity table", fullname);
857 : : }
858 : : }
859 : 265 : gnc_commodity_set_default_symbol(c, "");
860 : : }
861 : :
862 : : {
863 : 265 : const char *fullname = "Unidades de fomento";
864 : 265 : gnc_commodity *c = gnc_commodity_new(book,
865 : 265 : CUR_I18N(fullname),
866 : : "ISO4217",
867 : : "CLF",
868 : : "990",
869 : : 10000);
870 : 265 : if(!c) {
871 : 0 : PWARN("failed to create commodity for currency %s", fullname);
872 : : } else {
873 : 265 : if(!gnc_commodity_table_insert(table, c)) {
874 : 0 : PWARN("failed to insert %s into commodity table", fullname);
875 : : }
876 : : }
877 : 265 : gnc_commodity_set_default_symbol(c, "");
878 : : }
879 : :
880 : : {
881 : 265 : const char *fullname = "Chilean Peso";
882 : 265 : gnc_commodity *c = gnc_commodity_new(book,
883 : 265 : CUR_I18N(fullname),
884 : : "ISO4217",
885 : : "CLP",
886 : : "152",
887 : : 1);
888 : 265 : if(!c) {
889 : 0 : PWARN("failed to create commodity for currency %s", fullname);
890 : : } else {
891 : 265 : if(!gnc_commodity_table_insert(table, c)) {
892 : 0 : PWARN("failed to insert %s into commodity table", fullname);
893 : : }
894 : : }
895 : 265 : gnc_commodity_set_default_symbol(c, "$");
896 : : }
897 : :
898 : : {
899 : 265 : const char *fullname = "Yuan Renminbi";
900 : 265 : gnc_commodity *c = gnc_commodity_new(book,
901 : 265 : CUR_I18N(fullname),
902 : : "ISO4217",
903 : : "CNY",
904 : : "156",
905 : : 100);
906 : 265 : if(!c) {
907 : 0 : PWARN("failed to create commodity for currency %s", fullname);
908 : : } else {
909 : 265 : if(!gnc_commodity_table_insert(table, c)) {
910 : 0 : PWARN("failed to insert %s into commodity table", fullname);
911 : : }
912 : : }
913 : 265 : gnc_commodity_set_default_symbol(c, "CN¥");
914 : : }
915 : :
916 : : {
917 : 265 : const char *fullname = "Colombian Peso";
918 : 265 : gnc_commodity *c = gnc_commodity_new(book,
919 : 265 : CUR_I18N(fullname),
920 : : "ISO4217",
921 : : "COP",
922 : : "170",
923 : : 100);
924 : 265 : if(!c) {
925 : 0 : PWARN("failed to create commodity for currency %s", fullname);
926 : : } else {
927 : 265 : if(!gnc_commodity_table_insert(table, c)) {
928 : 0 : PWARN("failed to insert %s into commodity table", fullname);
929 : : }
930 : : }
931 : 265 : gnc_commodity_set_default_symbol(c, "$");
932 : : }
933 : :
934 : : {
935 : 265 : const char *fullname = "Unidad de Valor Real";
936 : 265 : gnc_commodity *c = gnc_commodity_new(book,
937 : 265 : CUR_I18N(fullname),
938 : : "ISO4217",
939 : : "COU",
940 : : "970",
941 : : 100);
942 : 265 : if(!c) {
943 : 0 : PWARN("failed to create commodity for currency %s", fullname);
944 : : } else {
945 : 265 : if(!gnc_commodity_table_insert(table, c)) {
946 : 0 : PWARN("failed to insert %s into commodity table", fullname);
947 : : }
948 : : }
949 : 265 : gnc_commodity_set_default_symbol(c, "");
950 : : }
951 : :
952 : : {
953 : 265 : const char *fullname = "Costa Rican Colon";
954 : 265 : gnc_commodity *c = gnc_commodity_new(book,
955 : 265 : CUR_I18N(fullname),
956 : : "ISO4217",
957 : : "CRC",
958 : : "188",
959 : : 100);
960 : 265 : if(!c) {
961 : 0 : PWARN("failed to create commodity for currency %s", fullname);
962 : : } else {
963 : 265 : if(!gnc_commodity_table_insert(table, c)) {
964 : 0 : PWARN("failed to insert %s into commodity table", fullname);
965 : : }
966 : : }
967 : 265 : gnc_commodity_set_default_symbol(c, "₡");
968 : : }
969 : :
970 : : {
971 : 265 : const char *fullname = "Cuban Peso";
972 : 265 : gnc_commodity *c = gnc_commodity_new(book,
973 : 265 : CUR_I18N(fullname),
974 : : "ISO4217",
975 : : "CUP",
976 : : "192",
977 : : 100);
978 : 265 : if(!c) {
979 : 0 : PWARN("failed to create commodity for currency %s", fullname);
980 : : } else {
981 : 265 : if(!gnc_commodity_table_insert(table, c)) {
982 : 0 : PWARN("failed to insert %s into commodity table", fullname);
983 : : }
984 : : }
985 : 265 : gnc_commodity_set_default_symbol(c, "$MN");
986 : : }
987 : :
988 : : {
989 : 265 : const char *fullname = "Cuban Convertible Peso";
990 : 265 : gnc_commodity *c = gnc_commodity_new(book,
991 : 265 : CUR_I18N(fullname),
992 : : "ISO4217",
993 : : "CUC",
994 : : "931",
995 : : 100);
996 : 265 : if(!c) {
997 : 0 : PWARN("failed to create commodity for currency %s", fullname);
998 : : } else {
999 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1000 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1001 : : }
1002 : : }
1003 : 265 : gnc_commodity_set_default_symbol(c, "CUC$");
1004 : : }
1005 : :
1006 : : {
1007 : 265 : const char *fullname = "Cape Verde Escudo";
1008 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1009 : 265 : CUR_I18N(fullname),
1010 : : "ISO4217",
1011 : : "CVE",
1012 : : "132",
1013 : : 100);
1014 : 265 : if(!c) {
1015 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1016 : : } else {
1017 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1018 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1019 : : }
1020 : : }
1021 : 265 : gnc_commodity_set_default_symbol(c, "Esc");
1022 : : }
1023 : :
1024 : : {
1025 : 265 : const char *fullname = "Cyprus Pound";
1026 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1027 : 265 : CUR_I18N(fullname),
1028 : : "ISO4217",
1029 : : "CYP",
1030 : : "196",
1031 : : 100);
1032 : 265 : if(!c) {
1033 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1034 : : } else {
1035 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1036 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1037 : : }
1038 : : }
1039 : 265 : gnc_commodity_set_default_symbol(c, "£");
1040 : : }
1041 : :
1042 : : {
1043 : 265 : const char *fullname = "Czech Koruna";
1044 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1045 : 265 : CUR_I18N(fullname),
1046 : : "ISO4217",
1047 : : "CZK",
1048 : : "203",
1049 : : 100);
1050 : 265 : if(!c) {
1051 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1052 : : } else {
1053 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1054 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1055 : : }
1056 : : }
1057 : 265 : gnc_commodity_set_default_symbol(c, "Kč");
1058 : : }
1059 : :
1060 : : {
1061 : 265 : const char *fullname = "Deutsche Mark";
1062 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1063 : 265 : CUR_I18N(fullname),
1064 : : "ISO4217",
1065 : : "DEM",
1066 : : "280",
1067 : : 100);
1068 : 265 : if(!c) {
1069 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1070 : : } else {
1071 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1072 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1073 : : }
1074 : : }
1075 : 265 : gnc_commodity_set_default_symbol(c, "DM");
1076 : : }
1077 : :
1078 : : {
1079 : 265 : const char *fullname = "Djibouti Franc";
1080 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1081 : 265 : CUR_I18N(fullname),
1082 : : "ISO4217",
1083 : : "DJF",
1084 : : "262",
1085 : : 1);
1086 : 265 : if(!c) {
1087 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1088 : : } else {
1089 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1090 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1091 : : }
1092 : : }
1093 : 265 : gnc_commodity_set_default_symbol(c, "Fdj");
1094 : : }
1095 : :
1096 : : {
1097 : 265 : const char *fullname = "Danish Krone";
1098 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1099 : 265 : CUR_I18N(fullname),
1100 : : "ISO4217",
1101 : : "DKK",
1102 : : "208",
1103 : : 100);
1104 : 265 : if(!c) {
1105 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1106 : : } else {
1107 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1108 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1109 : : }
1110 : : }
1111 : 265 : gnc_commodity_set_default_symbol(c, "kr");
1112 : : }
1113 : :
1114 : : {
1115 : 265 : const char *fullname = "Dominican Peso";
1116 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1117 : 265 : CUR_I18N(fullname),
1118 : : "ISO4217",
1119 : : "DOP",
1120 : : "214",
1121 : : 100);
1122 : 265 : if(!c) {
1123 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1124 : : } else {
1125 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1126 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1127 : : }
1128 : : }
1129 : 265 : gnc_commodity_set_default_symbol(c, "RD$");
1130 : : }
1131 : :
1132 : : {
1133 : 265 : const char *fullname = "Algerian Dinar";
1134 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1135 : 265 : CUR_I18N(fullname),
1136 : : "ISO4217",
1137 : : "DZD",
1138 : : "012",
1139 : : 100);
1140 : 265 : if(!c) {
1141 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1142 : : } else {
1143 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1144 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1145 : : }
1146 : : }
1147 : 265 : gnc_commodity_set_default_symbol(c, "DA");
1148 : : }
1149 : :
1150 : : {
1151 : 265 : const char *fullname = "Ecuador Sucre";
1152 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1153 : 265 : CUR_I18N(fullname),
1154 : : "ISO4217",
1155 : : "ECS",
1156 : : "218",
1157 : : 100);
1158 : 265 : if(!c) {
1159 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1160 : : } else {
1161 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1162 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1163 : : }
1164 : : }
1165 : 265 : gnc_commodity_set_default_symbol(c, "S/.");
1166 : : }
1167 : :
1168 : : {
1169 : 265 : const char *fullname = "Kroon";
1170 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1171 : 265 : CUR_I18N(fullname),
1172 : : "ISO4217",
1173 : : "EEK",
1174 : : "233",
1175 : : 100);
1176 : 265 : if(!c) {
1177 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1178 : : } else {
1179 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1180 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1181 : : }
1182 : : }
1183 : 265 : gnc_commodity_set_default_symbol(c, "kr");
1184 : : }
1185 : :
1186 : : {
1187 : 265 : const char *fullname = "Egyptian Pound";
1188 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1189 : 265 : CUR_I18N(fullname),
1190 : : "ISO4217",
1191 : : "EGP",
1192 : : "818",
1193 : : 100);
1194 : 265 : if(!c) {
1195 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1196 : : } else {
1197 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1198 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1199 : : }
1200 : : }
1201 : 265 : gnc_commodity_set_default_symbol(c, "£E");
1202 : : }
1203 : :
1204 : : {
1205 : 265 : const char *fullname = "Nakfa";
1206 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1207 : 265 : CUR_I18N(fullname),
1208 : : "ISO4217",
1209 : : "ERN",
1210 : : "232",
1211 : : 100);
1212 : 265 : if(!c) {
1213 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1214 : : } else {
1215 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1216 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1217 : : }
1218 : : }
1219 : 265 : gnc_commodity_set_default_symbol(c, "Nfa");
1220 : : }
1221 : :
1222 : : {
1223 : 265 : const char *fullname = "Spanish Peseta";
1224 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1225 : 265 : CUR_I18N(fullname),
1226 : : "ISO4217",
1227 : : "ESP",
1228 : : "724",
1229 : : 100);
1230 : 265 : if(!c) {
1231 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1232 : : } else {
1233 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1234 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1235 : : }
1236 : : }
1237 : 265 : gnc_commodity_set_default_symbol(c, "₧");
1238 : : }
1239 : :
1240 : : {
1241 : 265 : const char *fullname = "Ethiopian Birr";
1242 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1243 : 265 : CUR_I18N(fullname),
1244 : : "ISO4217",
1245 : : "ETB",
1246 : : "230",
1247 : : 100);
1248 : 265 : if(!c) {
1249 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1250 : : } else {
1251 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1252 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1253 : : }
1254 : : }
1255 : 265 : gnc_commodity_set_default_symbol(c, "Br");
1256 : : }
1257 : :
1258 : : {
1259 : 265 : const char *fullname = "Euro";
1260 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1261 : 265 : CUR_I18N(fullname),
1262 : : "ISO4217",
1263 : : "EUR",
1264 : : "978",
1265 : : 100);
1266 : 265 : if(!c) {
1267 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1268 : : } else {
1269 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1270 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1271 : : }
1272 : : }
1273 : 265 : gnc_commodity_set_default_symbol(c, "€");
1274 : : }
1275 : :
1276 : : {
1277 : 265 : const char *fullname = "Finnish Markka";
1278 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1279 : 265 : CUR_I18N(fullname),
1280 : : "ISO4217",
1281 : : "FIM",
1282 : : "246",
1283 : : 100);
1284 : 265 : if(!c) {
1285 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1286 : : } else {
1287 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1288 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1289 : : }
1290 : : }
1291 : 265 : gnc_commodity_set_default_symbol(c, "mk");
1292 : : }
1293 : :
1294 : : {
1295 : 265 : const char *fullname = "Fiji Dollar";
1296 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1297 : 265 : CUR_I18N(fullname),
1298 : : "ISO4217",
1299 : : "FJD",
1300 : : "242",
1301 : : 100);
1302 : 265 : if(!c) {
1303 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1304 : : } else {
1305 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1306 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1307 : : }
1308 : : }
1309 : 265 : gnc_commodity_set_default_symbol(c, "FJ$");
1310 : : }
1311 : :
1312 : : {
1313 : 265 : const char *fullname = "Falkland Islands Pound";
1314 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1315 : 265 : CUR_I18N(fullname),
1316 : : "ISO4217",
1317 : : "FKP",
1318 : : "238",
1319 : : 100);
1320 : 265 : if(!c) {
1321 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1322 : : } else {
1323 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1324 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1325 : : }
1326 : : }
1327 : 265 : gnc_commodity_set_default_symbol(c, "FK£");
1328 : : }
1329 : :
1330 : : {
1331 : 265 : const char *fullname = "French Franc";
1332 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1333 : 265 : CUR_I18N(fullname),
1334 : : "ISO4217",
1335 : : "FRF",
1336 : : "250",
1337 : : 100);
1338 : 265 : if(!c) {
1339 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1340 : : } else {
1341 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1342 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1343 : : }
1344 : : }
1345 : 265 : gnc_commodity_set_default_symbol(c, "₣");
1346 : : }
1347 : :
1348 : : {
1349 : 265 : const char *fullname = "Pound Sterling";
1350 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1351 : 265 : CUR_I18N(fullname),
1352 : : "ISO4217",
1353 : : "GBP",
1354 : : "826",
1355 : : 100);
1356 : 265 : if(!c) {
1357 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1358 : : } else {
1359 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1360 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1361 : : }
1362 : : }
1363 : 265 : gnc_commodity_set_default_symbol(c, "£");
1364 : : }
1365 : :
1366 : : {
1367 : 265 : const char *fullname = "Lari";
1368 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1369 : 265 : CUR_I18N(fullname),
1370 : : "ISO4217",
1371 : : "GEL",
1372 : : "981",
1373 : : 100);
1374 : 265 : if(!c) {
1375 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1376 : : } else {
1377 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1378 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1379 : : }
1380 : : }
1381 : 265 : gnc_commodity_set_default_symbol(c, "");
1382 : : }
1383 : :
1384 : : {
1385 : 265 : const char *fullname = "Cedi";
1386 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1387 : 265 : CUR_I18N(fullname),
1388 : : "ISO4217",
1389 : : "GHC",
1390 : : "288",
1391 : : 100);
1392 : 265 : if(!c) {
1393 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1394 : : } else {
1395 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1396 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1397 : : }
1398 : : }
1399 : 265 : gnc_commodity_set_default_symbol(c, "");
1400 : : }
1401 : :
1402 : : {
1403 : 265 : const char *fullname = "Ghana Cedi";
1404 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1405 : 265 : CUR_I18N(fullname),
1406 : : "ISO4217",
1407 : : "GHS",
1408 : : "936",
1409 : : 100);
1410 : 265 : if(!c) {
1411 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1412 : : } else {
1413 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1414 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1415 : : }
1416 : : }
1417 : 265 : gnc_commodity_set_default_symbol(c, "GH₵");
1418 : : }
1419 : :
1420 : : {
1421 : 265 : const char *fullname = "Gibraltar Pound";
1422 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1423 : 265 : CUR_I18N(fullname),
1424 : : "ISO4217",
1425 : : "GIP",
1426 : : "292",
1427 : : 100);
1428 : 265 : if(!c) {
1429 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1430 : : } else {
1431 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1432 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1433 : : }
1434 : : }
1435 : 265 : gnc_commodity_set_default_symbol(c, "£");
1436 : : }
1437 : :
1438 : : {
1439 : 265 : const char *fullname = "Dalasi";
1440 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1441 : 265 : CUR_I18N(fullname),
1442 : : "ISO4217",
1443 : : "GMD",
1444 : : "270",
1445 : : 100);
1446 : 265 : if(!c) {
1447 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1448 : : } else {
1449 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1450 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1451 : : }
1452 : : }
1453 : 265 : gnc_commodity_set_default_symbol(c, "D");
1454 : : }
1455 : :
1456 : : {
1457 : 265 : const char *fullname = "Guinea Franc";
1458 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1459 : 265 : CUR_I18N(fullname),
1460 : : "ISO4217",
1461 : : "GNF",
1462 : : "324",
1463 : : 100);
1464 : 265 : if(!c) {
1465 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1466 : : } else {
1467 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1468 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1469 : : }
1470 : : }
1471 : 265 : gnc_commodity_set_default_symbol(c, "FG");
1472 : : }
1473 : :
1474 : : {
1475 : 265 : const char *fullname = "Greek Drachma";
1476 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1477 : 265 : CUR_I18N(fullname),
1478 : : "ISO4217",
1479 : : "GRD",
1480 : : "200",
1481 : : 100);
1482 : 265 : if(!c) {
1483 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1484 : : } else {
1485 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1486 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1487 : : }
1488 : : }
1489 : 265 : gnc_commodity_set_default_symbol(c, "Δρ.");
1490 : : }
1491 : :
1492 : : {
1493 : 265 : const char *fullname = "Quetzal";
1494 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1495 : 265 : CUR_I18N(fullname),
1496 : : "ISO4217",
1497 : : "GTQ",
1498 : : "320",
1499 : : 100);
1500 : 265 : if(!c) {
1501 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1502 : : } else {
1503 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1504 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1505 : : }
1506 : : }
1507 : 265 : gnc_commodity_set_default_symbol(c, "Q");
1508 : : }
1509 : :
1510 : : {
1511 : 265 : const char *fullname = "Guinea-Bissau Peso";
1512 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1513 : 265 : CUR_I18N(fullname),
1514 : : "ISO4217",
1515 : : "GWP",
1516 : : "624",
1517 : : 100);
1518 : 265 : if(!c) {
1519 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1520 : : } else {
1521 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1522 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1523 : : }
1524 : : }
1525 : 265 : gnc_commodity_set_default_symbol(c, "");
1526 : : }
1527 : :
1528 : : {
1529 : 265 : const char *fullname = "Guyana Dollar";
1530 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1531 : 265 : CUR_I18N(fullname),
1532 : : "ISO4217",
1533 : : "GYD",
1534 : : "328",
1535 : : 100);
1536 : 265 : if(!c) {
1537 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1538 : : } else {
1539 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1540 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1541 : : }
1542 : : }
1543 : 265 : gnc_commodity_set_default_symbol(c, "G$");
1544 : : }
1545 : :
1546 : : {
1547 : 265 : const char *fullname = "Hong Kong Dollar";
1548 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1549 : 265 : CUR_I18N(fullname),
1550 : : "ISO4217",
1551 : : "HKD",
1552 : : "344",
1553 : : 100);
1554 : 265 : if(!c) {
1555 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1556 : : } else {
1557 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1558 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1559 : : }
1560 : : }
1561 : 265 : gnc_commodity_set_default_symbol(c, "HK$");
1562 : : }
1563 : :
1564 : : {
1565 : 265 : const char *fullname = "Lempira";
1566 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1567 : 265 : CUR_I18N(fullname),
1568 : : "ISO4217",
1569 : : "HNL",
1570 : : "340",
1571 : : 100);
1572 : 265 : if(!c) {
1573 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1574 : : } else {
1575 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1576 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1577 : : }
1578 : : }
1579 : 265 : gnc_commodity_set_default_symbol(c, "L");
1580 : : }
1581 : :
1582 : : {
1583 : 265 : const char *fullname = "Croatian Kuna";
1584 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1585 : 265 : CUR_I18N(fullname),
1586 : : "ISO4217",
1587 : : "HRK",
1588 : : "191",
1589 : : 100);
1590 : 265 : if(!c) {
1591 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1592 : : } else {
1593 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1594 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1595 : : }
1596 : : }
1597 : 265 : gnc_commodity_set_default_symbol(c, "kn");
1598 : : }
1599 : :
1600 : : {
1601 : 265 : const char *fullname = "Gourde";
1602 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1603 : 265 : CUR_I18N(fullname),
1604 : : "ISO4217",
1605 : : "HTG",
1606 : : "332",
1607 : : 100);
1608 : 265 : if(!c) {
1609 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1610 : : } else {
1611 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1612 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1613 : : }
1614 : : }
1615 : 265 : gnc_commodity_set_default_symbol(c, "G");
1616 : : }
1617 : :
1618 : : {
1619 : 265 : const char *fullname = "Forint";
1620 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1621 : 265 : CUR_I18N(fullname),
1622 : : "ISO4217",
1623 : : "HUF",
1624 : : "348",
1625 : : 100);
1626 : 265 : if(!c) {
1627 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1628 : : } else {
1629 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1630 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1631 : : }
1632 : : }
1633 : 265 : gnc_commodity_set_default_symbol(c, "Ft");
1634 : : }
1635 : :
1636 : : {
1637 : 265 : const char *fullname = "Rupiah";
1638 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1639 : 265 : CUR_I18N(fullname),
1640 : : "ISO4217",
1641 : : "IDR",
1642 : : "360",
1643 : : 100);
1644 : 265 : if(!c) {
1645 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1646 : : } else {
1647 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1648 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1649 : : }
1650 : : }
1651 : 265 : gnc_commodity_set_default_symbol(c, "Rp");
1652 : : }
1653 : :
1654 : : {
1655 : 265 : const char *fullname = "Irish Pound";
1656 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1657 : 265 : CUR_I18N(fullname),
1658 : : "ISO4217",
1659 : : "IEP",
1660 : : "372",
1661 : : 100);
1662 : 265 : if(!c) {
1663 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1664 : : } else {
1665 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1666 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1667 : : }
1668 : : }
1669 : 265 : gnc_commodity_set_default_symbol(c, "£");
1670 : : }
1671 : :
1672 : : {
1673 : 265 : const char *fullname = "New Israeli Sheqel";
1674 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1675 : 265 : CUR_I18N(fullname),
1676 : : "ISO4217",
1677 : : "ILS",
1678 : : "376",
1679 : : 100);
1680 : 265 : if(!c) {
1681 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1682 : : } else {
1683 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1684 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1685 : : }
1686 : : }
1687 : 265 : gnc_commodity_set_default_symbol(c, "₪");
1688 : : }
1689 : :
1690 : : {
1691 : 265 : const char *fullname = "Indian Rupee";
1692 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1693 : 265 : CUR_I18N(fullname),
1694 : : "ISO4217",
1695 : : "INR",
1696 : : "356",
1697 : : 100);
1698 : 265 : if(!c) {
1699 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1700 : : } else {
1701 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1702 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1703 : : }
1704 : : }
1705 : 265 : gnc_commodity_set_default_symbol(c, "₹");
1706 : : }
1707 : :
1708 : : {
1709 : 265 : const char *fullname = "Iraqi Dinar";
1710 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1711 : 265 : CUR_I18N(fullname),
1712 : : "ISO4217",
1713 : : "IQD",
1714 : : "368",
1715 : : 1000);
1716 : 265 : if(!c) {
1717 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1718 : : } else {
1719 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1720 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1721 : : }
1722 : : }
1723 : 265 : gnc_commodity_set_default_symbol(c, "ع.د");
1724 : : }
1725 : :
1726 : : {
1727 : 265 : const char *fullname = "Iranian Rial";
1728 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1729 : 265 : CUR_I18N(fullname),
1730 : : "ISO4217",
1731 : : "IRR",
1732 : : "364",
1733 : : 1);
1734 : 265 : if(!c) {
1735 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1736 : : } else {
1737 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1738 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1739 : : }
1740 : : }
1741 : 265 : gnc_commodity_set_default_symbol(c, "﷼");
1742 : : }
1743 : :
1744 : : {
1745 : 265 : const char *fullname = "Iceland Krona";
1746 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1747 : 265 : CUR_I18N(fullname),
1748 : : "ISO4217",
1749 : : "ISK",
1750 : : "352",
1751 : : 100);
1752 : 265 : if(!c) {
1753 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1754 : : } else {
1755 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1756 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1757 : : }
1758 : : }
1759 : 265 : gnc_commodity_set_default_symbol(c, "kr");
1760 : : }
1761 : :
1762 : : {
1763 : 265 : const char *fullname = "Italian Lira";
1764 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1765 : 265 : CUR_I18N(fullname),
1766 : : "ISO4217",
1767 : : "ITL",
1768 : : "380",
1769 : : 1);
1770 : 265 : if(!c) {
1771 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1772 : : } else {
1773 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1774 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1775 : : }
1776 : : }
1777 : 265 : gnc_commodity_set_default_symbol(c, "₤");
1778 : : }
1779 : :
1780 : : {
1781 : 265 : const char *fullname = "Jamaican Dollar";
1782 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1783 : 265 : CUR_I18N(fullname),
1784 : : "ISO4217",
1785 : : "JMD",
1786 : : "388",
1787 : : 100);
1788 : 265 : if(!c) {
1789 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1790 : : } else {
1791 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1792 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1793 : : }
1794 : : }
1795 : 265 : gnc_commodity_set_default_symbol(c, "J$");
1796 : : }
1797 : :
1798 : : {
1799 : 265 : const char *fullname = "Jordanian Dinar";
1800 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1801 : 265 : CUR_I18N(fullname),
1802 : : "ISO4217",
1803 : : "JOD",
1804 : : "400",
1805 : : 1000);
1806 : 265 : if(!c) {
1807 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1808 : : } else {
1809 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1810 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1811 : : }
1812 : : }
1813 : 265 : gnc_commodity_set_default_symbol(c, "JD");
1814 : : }
1815 : :
1816 : : {
1817 : 265 : const char *fullname = "Yen";
1818 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1819 : 265 : CUR_I18N(fullname),
1820 : : "ISO4217",
1821 : : "JPY",
1822 : : "392",
1823 : : 1);
1824 : 265 : if(!c) {
1825 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1826 : : } else {
1827 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1828 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1829 : : }
1830 : : }
1831 : 265 : gnc_commodity_set_default_symbol(c, "JP¥");
1832 : : }
1833 : :
1834 : : {
1835 : 265 : const char *fullname = "Kenyan Shilling";
1836 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1837 : 265 : CUR_I18N(fullname),
1838 : : "ISO4217",
1839 : : "KES",
1840 : : "404",
1841 : : 100);
1842 : 265 : if(!c) {
1843 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1844 : : } else {
1845 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1846 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1847 : : }
1848 : : }
1849 : 265 : gnc_commodity_set_default_symbol(c, "Ksh");
1850 : : }
1851 : :
1852 : : {
1853 : 265 : const char *fullname = "Som";
1854 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1855 : 265 : CUR_I18N(fullname),
1856 : : "ISO4217",
1857 : : "KGS",
1858 : : "417",
1859 : : 100);
1860 : 265 : if(!c) {
1861 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1862 : : } else {
1863 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1864 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1865 : : }
1866 : : }
1867 : 265 : gnc_commodity_set_default_symbol(c, "");
1868 : : }
1869 : :
1870 : : {
1871 : 265 : const char *fullname = "Riel";
1872 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1873 : 265 : CUR_I18N(fullname),
1874 : : "ISO4217",
1875 : : "KHR",
1876 : : "116",
1877 : : 100);
1878 : 265 : if(!c) {
1879 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1880 : : } else {
1881 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1882 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1883 : : }
1884 : : }
1885 : 265 : gnc_commodity_set_default_symbol(c, "");
1886 : : }
1887 : :
1888 : : {
1889 : 265 : const char *fullname = "Comoro Franc";
1890 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1891 : 265 : CUR_I18N(fullname),
1892 : : "ISO4217",
1893 : : "KMF",
1894 : : "174",
1895 : : 1);
1896 : 265 : if(!c) {
1897 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1898 : : } else {
1899 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1900 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1901 : : }
1902 : : }
1903 : 265 : gnc_commodity_set_default_symbol(c, "FC");
1904 : : }
1905 : :
1906 : : {
1907 : 265 : const char *fullname = "North Korean Won";
1908 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1909 : 265 : CUR_I18N(fullname),
1910 : : "ISO4217",
1911 : : "KPW",
1912 : : "408",
1913 : : 100);
1914 : 265 : if(!c) {
1915 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1916 : : } else {
1917 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1918 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1919 : : }
1920 : : }
1921 : 265 : gnc_commodity_set_default_symbol(c, "₩");
1922 : : }
1923 : :
1924 : : {
1925 : 265 : const char *fullname = "Won";
1926 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1927 : 265 : CUR_I18N(fullname),
1928 : : "ISO4217",
1929 : : "KRW",
1930 : : "410",
1931 : : 100);
1932 : 265 : if(!c) {
1933 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1934 : : } else {
1935 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1936 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1937 : : }
1938 : : }
1939 : 265 : gnc_commodity_set_default_symbol(c, "₩");
1940 : : }
1941 : :
1942 : : {
1943 : 265 : const char *fullname = "Kuwaiti Dinar";
1944 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1945 : 265 : CUR_I18N(fullname),
1946 : : "ISO4217",
1947 : : "KWD",
1948 : : "414",
1949 : : 1000);
1950 : 265 : if(!c) {
1951 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1952 : : } else {
1953 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1954 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1955 : : }
1956 : : }
1957 : 265 : gnc_commodity_set_default_symbol(c, "د.ك");
1958 : : }
1959 : :
1960 : : {
1961 : 265 : const char *fullname = "Cayman Islands Dollar";
1962 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1963 : 265 : CUR_I18N(fullname),
1964 : : "ISO4217",
1965 : : "KYD",
1966 : : "136",
1967 : : 100);
1968 : 265 : if(!c) {
1969 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1970 : : } else {
1971 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1972 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1973 : : }
1974 : : }
1975 : 265 : gnc_commodity_set_default_symbol(c, "CI$");
1976 : : }
1977 : :
1978 : : {
1979 : 265 : const char *fullname = "Tenge";
1980 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1981 : 265 : CUR_I18N(fullname),
1982 : : "ISO4217",
1983 : : "KZT",
1984 : : "398",
1985 : : 100);
1986 : 265 : if(!c) {
1987 : 0 : PWARN("failed to create commodity for currency %s", fullname);
1988 : : } else {
1989 : 265 : if(!gnc_commodity_table_insert(table, c)) {
1990 : 0 : PWARN("failed to insert %s into commodity table", fullname);
1991 : : }
1992 : : }
1993 : 265 : gnc_commodity_set_default_symbol(c, "₸");
1994 : : }
1995 : :
1996 : : {
1997 : 265 : const char *fullname = "Kip";
1998 : 265 : gnc_commodity *c = gnc_commodity_new(book,
1999 : 265 : CUR_I18N(fullname),
2000 : : "ISO4217",
2001 : : "LAK",
2002 : : "418",
2003 : : 100);
2004 : 265 : if(!c) {
2005 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2006 : : } else {
2007 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2008 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2009 : : }
2010 : : }
2011 : 265 : gnc_commodity_set_default_symbol(c, "₭");
2012 : : }
2013 : :
2014 : : {
2015 : 265 : const char *fullname = "Lebanese Pound";
2016 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2017 : 265 : CUR_I18N(fullname),
2018 : : "ISO4217",
2019 : : "LBP",
2020 : : "422",
2021 : : 100);
2022 : 265 : if(!c) {
2023 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2024 : : } else {
2025 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2026 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2027 : : }
2028 : : }
2029 : 265 : gnc_commodity_set_default_symbol(c, "ل.ل");
2030 : : }
2031 : :
2032 : : {
2033 : 265 : const char *fullname = "Sri Lanka Rupee";
2034 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2035 : 265 : CUR_I18N(fullname),
2036 : : "ISO4217",
2037 : : "LKR",
2038 : : "144",
2039 : : 100);
2040 : 265 : if(!c) {
2041 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2042 : : } else {
2043 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2044 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2045 : : }
2046 : : }
2047 : 265 : gnc_commodity_set_default_symbol(c, "₨");
2048 : : }
2049 : :
2050 : : {
2051 : 265 : const char *fullname = "Liberian Dollar";
2052 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2053 : 265 : CUR_I18N(fullname),
2054 : : "ISO4217",
2055 : : "LRD",
2056 : : "430",
2057 : : 100);
2058 : 265 : if(!c) {
2059 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2060 : : } else {
2061 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2062 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2063 : : }
2064 : : }
2065 : 265 : gnc_commodity_set_default_symbol(c, "L$");
2066 : : }
2067 : :
2068 : : {
2069 : 265 : const char *fullname = "Loti";
2070 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2071 : 265 : CUR_I18N(fullname),
2072 : : "ISO4217",
2073 : : "LSL",
2074 : : "426",
2075 : : 100);
2076 : 265 : if(!c) {
2077 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2078 : : } else {
2079 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2080 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2081 : : }
2082 : : }
2083 : 265 : gnc_commodity_set_default_symbol(c, "M");
2084 : : }
2085 : :
2086 : : {
2087 : 265 : const char *fullname = "Lithuanian Litas";
2088 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2089 : 265 : CUR_I18N(fullname),
2090 : : "ISO4217",
2091 : : "LTL",
2092 : : "440",
2093 : : 100);
2094 : 265 : if(!c) {
2095 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2096 : : } else {
2097 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2098 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2099 : : }
2100 : : }
2101 : 265 : gnc_commodity_set_default_symbol(c, "Lt");
2102 : : }
2103 : :
2104 : : {
2105 : 265 : const char *fullname = "Luxembourg Franc";
2106 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2107 : 265 : CUR_I18N(fullname),
2108 : : "ISO4217",
2109 : : "LUF",
2110 : : "442",
2111 : : 100);
2112 : 265 : if(!c) {
2113 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2114 : : } else {
2115 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2116 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2117 : : }
2118 : : }
2119 : 265 : gnc_commodity_set_default_symbol(c, "Flux");
2120 : : }
2121 : :
2122 : : {
2123 : 265 : const char *fullname = "Latvian Lats";
2124 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2125 : 265 : CUR_I18N(fullname),
2126 : : "ISO4217",
2127 : : "LVL",
2128 : : "428",
2129 : : 100);
2130 : 265 : if(!c) {
2131 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2132 : : } else {
2133 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2134 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2135 : : }
2136 : : }
2137 : 265 : gnc_commodity_set_default_symbol(c, "Ls");
2138 : : }
2139 : :
2140 : : {
2141 : 265 : const char *fullname = "Libyan Dinar";
2142 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2143 : 265 : CUR_I18N(fullname),
2144 : : "ISO4217",
2145 : : "LYD",
2146 : : "434",
2147 : : 1000);
2148 : 265 : if(!c) {
2149 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2150 : : } else {
2151 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2152 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2153 : : }
2154 : : }
2155 : 265 : gnc_commodity_set_default_symbol(c, "ل.د");
2156 : : }
2157 : :
2158 : : {
2159 : 265 : const char *fullname = "Moroccan Dirham";
2160 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2161 : 265 : CUR_I18N(fullname),
2162 : : "ISO4217",
2163 : : "MAD",
2164 : : "504",
2165 : : 100);
2166 : 265 : if(!c) {
2167 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2168 : : } else {
2169 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2170 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2171 : : }
2172 : : }
2173 : 265 : gnc_commodity_set_default_symbol(c, "د.م");
2174 : : }
2175 : :
2176 : : {
2177 : 265 : const char *fullname = "Moldovan Leu";
2178 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2179 : 265 : CUR_I18N(fullname),
2180 : : "ISO4217",
2181 : : "MDL",
2182 : : "498",
2183 : : 100);
2184 : 265 : if(!c) {
2185 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2186 : : } else {
2187 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2188 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2189 : : }
2190 : : }
2191 : 265 : gnc_commodity_set_default_symbol(c, "");
2192 : : }
2193 : :
2194 : : {
2195 : 265 : const char *fullname = "Malagasy Ariary";
2196 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2197 : 265 : CUR_I18N(fullname),
2198 : : "ISO4217",
2199 : : "MGA",
2200 : : "969",
2201 : : 5);
2202 : 265 : if(!c) {
2203 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2204 : : } else {
2205 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2206 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2207 : : }
2208 : : }
2209 : 265 : gnc_commodity_set_default_symbol(c, "");
2210 : : }
2211 : :
2212 : : {
2213 : 265 : const char *fullname = "Malagasy Franc";
2214 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2215 : 265 : CUR_I18N(fullname),
2216 : : "ISO4217",
2217 : : "MGF",
2218 : : "450",
2219 : : 500);
2220 : 265 : if(!c) {
2221 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2222 : : } else {
2223 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2224 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2225 : : }
2226 : : }
2227 : 265 : gnc_commodity_set_default_symbol(c, "");
2228 : : }
2229 : :
2230 : : {
2231 : 265 : const char *fullname = "Denar";
2232 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2233 : 265 : CUR_I18N(fullname),
2234 : : "ISO4217",
2235 : : "MKD",
2236 : : "807",
2237 : : 100);
2238 : 265 : if(!c) {
2239 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2240 : : } else {
2241 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2242 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2243 : : }
2244 : : }
2245 : 265 : gnc_commodity_set_default_symbol(c, "ден");
2246 : : }
2247 : :
2248 : : {
2249 : 265 : const char *fullname = "Mali Franc";
2250 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2251 : 265 : CUR_I18N(fullname),
2252 : : "ISO4217",
2253 : : "MLF",
2254 : : "466",
2255 : : 100);
2256 : 265 : if(!c) {
2257 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2258 : : } else {
2259 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2260 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2261 : : }
2262 : : }
2263 : 265 : gnc_commodity_set_default_symbol(c, "");
2264 : : }
2265 : :
2266 : : {
2267 : 265 : const char *fullname = "Kyat";
2268 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2269 : 265 : CUR_I18N(fullname),
2270 : : "ISO4217",
2271 : : "MMK",
2272 : : "104",
2273 : : 100);
2274 : 265 : if(!c) {
2275 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2276 : : } else {
2277 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2278 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2279 : : }
2280 : : }
2281 : 265 : gnc_commodity_set_default_symbol(c, "K");
2282 : : }
2283 : :
2284 : : {
2285 : 265 : const char *fullname = "Tugrik";
2286 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2287 : 265 : CUR_I18N(fullname),
2288 : : "ISO4217",
2289 : : "MNT",
2290 : : "496",
2291 : : 100);
2292 : 265 : if(!c) {
2293 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2294 : : } else {
2295 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2296 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2297 : : }
2298 : : }
2299 : 265 : gnc_commodity_set_default_symbol(c, "₮");
2300 : : }
2301 : :
2302 : : {
2303 : 265 : const char *fullname = "Pataca";
2304 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2305 : 265 : CUR_I18N(fullname),
2306 : : "ISO4217",
2307 : : "MOP",
2308 : : "446",
2309 : : 100);
2310 : 265 : if(!c) {
2311 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2312 : : } else {
2313 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2314 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2315 : : }
2316 : : }
2317 : 265 : gnc_commodity_set_default_symbol(c, "MOP$");
2318 : : }
2319 : :
2320 : : {
2321 : 265 : const char *fullname = "Ouguiya";
2322 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2323 : 265 : CUR_I18N(fullname),
2324 : : "ISO4217",
2325 : : "MRO",
2326 : : "478",
2327 : : 100);
2328 : 265 : if(!c) {
2329 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2330 : : } else {
2331 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2332 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2333 : : }
2334 : : }
2335 : 265 : gnc_commodity_set_default_symbol(c, "UM");
2336 : : }
2337 : :
2338 : : {
2339 : 265 : const char *fullname = "Ouguiya";
2340 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2341 : 265 : CUR_I18N(fullname),
2342 : : "ISO4217",
2343 : : "MRU",
2344 : : "929",
2345 : : 100);
2346 : 265 : if(!c) {
2347 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2348 : : } else {
2349 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2350 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2351 : : }
2352 : : }
2353 : 265 : gnc_commodity_set_default_symbol(c, "UM");
2354 : : }
2355 : :
2356 : : {
2357 : 265 : const char *fullname = "Maltese Lira";
2358 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2359 : 265 : CUR_I18N(fullname),
2360 : : "ISO4217",
2361 : : "MTL",
2362 : : "470",
2363 : : 100);
2364 : 265 : if(!c) {
2365 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2366 : : } else {
2367 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2368 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2369 : : }
2370 : : }
2371 : 265 : gnc_commodity_set_default_symbol(c, "Lm");
2372 : : }
2373 : :
2374 : : {
2375 : 265 : const char *fullname = "Mauritius Rupee";
2376 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2377 : 265 : CUR_I18N(fullname),
2378 : : "ISO4217",
2379 : : "MUR",
2380 : : "480",
2381 : : 100);
2382 : 265 : if(!c) {
2383 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2384 : : } else {
2385 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2386 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2387 : : }
2388 : : }
2389 : 265 : gnc_commodity_set_default_symbol(c, "₨");
2390 : : }
2391 : :
2392 : : {
2393 : 265 : const char *fullname = "Rufiyaa";
2394 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2395 : 265 : CUR_I18N(fullname),
2396 : : "ISO4217",
2397 : : "MVR",
2398 : : "462",
2399 : : 100);
2400 : 265 : if(!c) {
2401 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2402 : : } else {
2403 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2404 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2405 : : }
2406 : : }
2407 : 265 : gnc_commodity_set_default_symbol(c, ".ރ");
2408 : : }
2409 : :
2410 : : {
2411 : 265 : const char *fullname = "Kwacha";
2412 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2413 : 265 : CUR_I18N(fullname),
2414 : : "ISO4217",
2415 : : "MWK",
2416 : : "454",
2417 : : 100);
2418 : 265 : if(!c) {
2419 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2420 : : } else {
2421 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2422 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2423 : : }
2424 : : }
2425 : 265 : gnc_commodity_set_default_symbol(c, "MK");
2426 : : }
2427 : :
2428 : : {
2429 : 265 : const char *fullname = "Mexican Peso";
2430 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2431 : 265 : CUR_I18N(fullname),
2432 : : "ISO4217",
2433 : : "MXN",
2434 : : "484",
2435 : : 100);
2436 : 265 : if(!c) {
2437 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2438 : : } else {
2439 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2440 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2441 : : }
2442 : : }
2443 : 265 : gnc_commodity_set_default_symbol(c, "Mex$");
2444 : : }
2445 : :
2446 : : {
2447 : 265 : const char *fullname = "Mexican Unidad de Inversion (UDI)";
2448 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2449 : 265 : CUR_I18N(fullname),
2450 : : "ISO4217",
2451 : : "MXV",
2452 : : "979",
2453 : : 100);
2454 : 265 : if(!c) {
2455 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2456 : : } else {
2457 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2458 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2459 : : }
2460 : : }
2461 : 265 : gnc_commodity_set_default_symbol(c, "");
2462 : : }
2463 : :
2464 : : {
2465 : 265 : const char *fullname = "Malaysian Ringgit";
2466 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2467 : 265 : CUR_I18N(fullname),
2468 : : "ISO4217",
2469 : : "MYR",
2470 : : "458",
2471 : : 100);
2472 : 265 : if(!c) {
2473 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2474 : : } else {
2475 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2476 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2477 : : }
2478 : : }
2479 : 265 : gnc_commodity_set_default_symbol(c, "RM");
2480 : : }
2481 : :
2482 : : {
2483 : 265 : const char *fullname = "Mozambique Metical";
2484 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2485 : 265 : CUR_I18N(fullname),
2486 : : "ISO4217",
2487 : : "MZM",
2488 : : "508",
2489 : : 100);
2490 : 265 : if(!c) {
2491 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2492 : : } else {
2493 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2494 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2495 : : }
2496 : : }
2497 : 265 : gnc_commodity_set_default_symbol(c, "");
2498 : : }
2499 : :
2500 : : {
2501 : 265 : const char *fullname = "Metical";
2502 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2503 : 265 : CUR_I18N(fullname),
2504 : : "ISO4217",
2505 : : "MZN",
2506 : : "943",
2507 : : 100);
2508 : 265 : if(!c) {
2509 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2510 : : } else {
2511 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2512 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2513 : : }
2514 : : }
2515 : 265 : gnc_commodity_set_default_symbol(c, "MTn");
2516 : : }
2517 : :
2518 : : {
2519 : 265 : const char *fullname = "Namibia Dollar";
2520 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2521 : 265 : CUR_I18N(fullname),
2522 : : "ISO4217",
2523 : : "NAD",
2524 : : "516",
2525 : : 100);
2526 : 265 : if(!c) {
2527 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2528 : : } else {
2529 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2530 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2531 : : }
2532 : : }
2533 : 265 : gnc_commodity_set_default_symbol(c, "N$");
2534 : : }
2535 : :
2536 : : {
2537 : 265 : const char *fullname = "Naira";
2538 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2539 : 265 : CUR_I18N(fullname),
2540 : : "ISO4217",
2541 : : "NGN",
2542 : : "566",
2543 : : 100);
2544 : 265 : if(!c) {
2545 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2546 : : } else {
2547 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2548 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2549 : : }
2550 : : }
2551 : 265 : gnc_commodity_set_default_symbol(c, "₦");
2552 : : }
2553 : :
2554 : : {
2555 : 265 : const char *fullname = "Nicaraguan Cordoba";
2556 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2557 : 265 : CUR_I18N(fullname),
2558 : : "ISO4217",
2559 : : "NIC",
2560 : : "558",
2561 : : 100);
2562 : 265 : if(!c) {
2563 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2564 : : } else {
2565 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2566 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2567 : : }
2568 : : }
2569 : 265 : gnc_commodity_set_default_symbol(c, "");
2570 : : }
2571 : :
2572 : : {
2573 : 265 : const char *fullname = "Cordoba Oro";
2574 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2575 : 265 : CUR_I18N(fullname),
2576 : : "ISO4217",
2577 : : "NIO",
2578 : : "558",
2579 : : 100);
2580 : 265 : if(!c) {
2581 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2582 : : } else {
2583 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2584 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2585 : : }
2586 : : }
2587 : 265 : gnc_commodity_set_default_symbol(c, "C$");
2588 : : }
2589 : :
2590 : : {
2591 : 265 : const char *fullname = "Netherlands Guilder";
2592 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2593 : 265 : CUR_I18N(fullname),
2594 : : "ISO4217",
2595 : : "NLG",
2596 : : "528",
2597 : : 100);
2598 : 265 : if(!c) {
2599 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2600 : : } else {
2601 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2602 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2603 : : }
2604 : : }
2605 : 265 : gnc_commodity_set_default_symbol(c, "");
2606 : : }
2607 : :
2608 : : {
2609 : 265 : const char *fullname = "Norwegian Krone";
2610 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2611 : 265 : CUR_I18N(fullname),
2612 : : "ISO4217",
2613 : : "NOK",
2614 : : "578",
2615 : : 100);
2616 : 265 : if(!c) {
2617 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2618 : : } else {
2619 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2620 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2621 : : }
2622 : : }
2623 : 265 : gnc_commodity_set_default_symbol(c, "kr");
2624 : : }
2625 : :
2626 : : {
2627 : 265 : const char *fullname = "Nepalese Rupee";
2628 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2629 : 265 : CUR_I18N(fullname),
2630 : : "ISO4217",
2631 : : "NPR",
2632 : : "524",
2633 : : 100);
2634 : 265 : if(!c) {
2635 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2636 : : } else {
2637 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2638 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2639 : : }
2640 : : }
2641 : 265 : gnc_commodity_set_default_symbol(c, "₨");
2642 : : }
2643 : :
2644 : : {
2645 : 265 : const char *fullname = "New Zealand Dollar";
2646 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2647 : 265 : CUR_I18N(fullname),
2648 : : "ISO4217",
2649 : : "NZD",
2650 : : "554",
2651 : : 100);
2652 : 265 : if(!c) {
2653 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2654 : : } else {
2655 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2656 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2657 : : }
2658 : : }
2659 : 265 : gnc_commodity_set_default_symbol(c, "NZ$");
2660 : : }
2661 : :
2662 : : {
2663 : 265 : const char *fullname = "Rial Omani";
2664 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2665 : 265 : CUR_I18N(fullname),
2666 : : "ISO4217",
2667 : : "OMR",
2668 : : "512",
2669 : : 1000);
2670 : 265 : if(!c) {
2671 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2672 : : } else {
2673 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2674 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2675 : : }
2676 : : }
2677 : 265 : gnc_commodity_set_default_symbol(c, "ر.ع.");
2678 : : }
2679 : :
2680 : : {
2681 : 265 : const char *fullname = "Balboa";
2682 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2683 : 265 : CUR_I18N(fullname),
2684 : : "ISO4217",
2685 : : "PAB",
2686 : : "590",
2687 : : 100);
2688 : 265 : if(!c) {
2689 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2690 : : } else {
2691 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2692 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2693 : : }
2694 : : }
2695 : 265 : gnc_commodity_set_default_symbol(c, "฿");
2696 : : }
2697 : :
2698 : : {
2699 : 265 : const char *fullname = "Nuevo Sol";
2700 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2701 : 265 : CUR_I18N(fullname),
2702 : : "ISO4217",
2703 : : "PEN",
2704 : : "604",
2705 : : 100);
2706 : 265 : if(!c) {
2707 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2708 : : } else {
2709 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2710 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2711 : : }
2712 : : }
2713 : 265 : gnc_commodity_set_default_symbol(c, "S/.");
2714 : : }
2715 : :
2716 : : {
2717 : 265 : const char *fullname = "Kina";
2718 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2719 : 265 : CUR_I18N(fullname),
2720 : : "ISO4217",
2721 : : "PGK",
2722 : : "598",
2723 : : 100);
2724 : 265 : if(!c) {
2725 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2726 : : } else {
2727 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2728 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2729 : : }
2730 : : }
2731 : 265 : gnc_commodity_set_default_symbol(c, "K");
2732 : : }
2733 : :
2734 : : {
2735 : 265 : const char *fullname = "Philippine Peso";
2736 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2737 : 265 : CUR_I18N(fullname),
2738 : : "ISO4217",
2739 : : "PHP",
2740 : : "608",
2741 : : 100);
2742 : 265 : if(!c) {
2743 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2744 : : } else {
2745 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2746 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2747 : : }
2748 : : }
2749 : 265 : gnc_commodity_set_default_symbol(c, "₱");
2750 : : }
2751 : :
2752 : : {
2753 : 265 : const char *fullname = "Pakistan Rupee";
2754 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2755 : 265 : CUR_I18N(fullname),
2756 : : "ISO4217",
2757 : : "PKR",
2758 : : "586",
2759 : : 100);
2760 : 265 : if(!c) {
2761 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2762 : : } else {
2763 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2764 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2765 : : }
2766 : : }
2767 : 265 : gnc_commodity_set_default_symbol(c, "Rs");
2768 : : }
2769 : :
2770 : : {
2771 : 265 : const char *fullname = "Zloty";
2772 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2773 : 265 : CUR_I18N(fullname),
2774 : : "ISO4217",
2775 : : "PLN",
2776 : : "985",
2777 : : 100);
2778 : 265 : if(!c) {
2779 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2780 : : } else {
2781 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2782 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2783 : : }
2784 : : }
2785 : 265 : gnc_commodity_set_default_symbol(c, "zł");
2786 : : }
2787 : :
2788 : : {
2789 : 265 : const char *fullname = "Portuguese Escudo";
2790 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2791 : 265 : CUR_I18N(fullname),
2792 : : "ISO4217",
2793 : : "PTE",
2794 : : "620",
2795 : : 100);
2796 : 265 : if(!c) {
2797 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2798 : : } else {
2799 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2800 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2801 : : }
2802 : : }
2803 : 265 : gnc_commodity_set_default_symbol(c, "$");
2804 : : }
2805 : :
2806 : : {
2807 : 265 : const char *fullname = "Guarani";
2808 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2809 : 265 : CUR_I18N(fullname),
2810 : : "ISO4217",
2811 : : "PYG",
2812 : : "600",
2813 : : 100);
2814 : 265 : if(!c) {
2815 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2816 : : } else {
2817 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2818 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2819 : : }
2820 : : }
2821 : 265 : gnc_commodity_set_default_symbol(c, "₲");
2822 : : }
2823 : :
2824 : : {
2825 : 265 : const char *fullname = "Qatari Rial";
2826 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2827 : 265 : CUR_I18N(fullname),
2828 : : "ISO4217",
2829 : : "QAR",
2830 : : "634",
2831 : : 100);
2832 : 265 : if(!c) {
2833 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2834 : : } else {
2835 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2836 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2837 : : }
2838 : : }
2839 : 265 : gnc_commodity_set_default_symbol(c, "ر.ق");
2840 : : }
2841 : :
2842 : : {
2843 : 265 : const char *fullname = "Romanian Old Leu";
2844 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2845 : 265 : CUR_I18N(fullname),
2846 : : "ISO4217",
2847 : : "ROL",
2848 : : "642",
2849 : : 100);
2850 : 265 : if(!c) {
2851 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2852 : : } else {
2853 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2854 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2855 : : }
2856 : : }
2857 : 265 : gnc_commodity_set_default_symbol(c, "");
2858 : : }
2859 : :
2860 : : {
2861 : 265 : const char *fullname = "New Leu";
2862 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2863 : 265 : CUR_I18N(fullname),
2864 : : "ISO4217",
2865 : : "RON",
2866 : : "946",
2867 : : 100);
2868 : 265 : if(!c) {
2869 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2870 : : } else {
2871 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2872 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2873 : : }
2874 : : }
2875 : 265 : gnc_commodity_set_default_symbol(c, "");
2876 : : }
2877 : :
2878 : : {
2879 : 265 : const char *fullname = "Serbian Dinar";
2880 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2881 : 265 : CUR_I18N(fullname),
2882 : : "ISO4217",
2883 : : "RSD",
2884 : : "941",
2885 : : 100);
2886 : 265 : if(!c) {
2887 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2888 : : } else {
2889 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2890 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2891 : : }
2892 : : }
2893 : 265 : gnc_commodity_set_default_symbol(c, "");
2894 : : }
2895 : :
2896 : : {
2897 : 265 : const char *fullname = "Russian Rouble";
2898 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2899 : 265 : CUR_I18N(fullname),
2900 : : "ISO4217",
2901 : : "RUB",
2902 : : "643",
2903 : : 100);
2904 : 265 : if(!c) {
2905 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2906 : : } else {
2907 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2908 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2909 : : }
2910 : : }
2911 : 265 : gnc_commodity_set_default_symbol(c, "₽");
2912 : : }
2913 : :
2914 : : {
2915 : 265 : const char *fullname = "Rwanda Franc";
2916 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2917 : 265 : CUR_I18N(fullname),
2918 : : "ISO4217",
2919 : : "RWF",
2920 : : "646",
2921 : : 100);
2922 : 265 : if(!c) {
2923 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2924 : : } else {
2925 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2926 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2927 : : }
2928 : : }
2929 : 265 : gnc_commodity_set_default_symbol(c, "RF");
2930 : : }
2931 : :
2932 : : {
2933 : 265 : const char *fullname = "Saudi Riyal";
2934 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2935 : 265 : CUR_I18N(fullname),
2936 : : "ISO4217",
2937 : : "SAR",
2938 : : "682",
2939 : : 100);
2940 : 265 : if(!c) {
2941 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2942 : : } else {
2943 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2944 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2945 : : }
2946 : : }
2947 : 265 : gnc_commodity_set_default_symbol(c, "ر.س");
2948 : : }
2949 : :
2950 : : {
2951 : 265 : const char *fullname = "Solomon Islands Dollar";
2952 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2953 : 265 : CUR_I18N(fullname),
2954 : : "ISO4217",
2955 : : "SBD",
2956 : : "090",
2957 : : 100);
2958 : 265 : if(!c) {
2959 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2960 : : } else {
2961 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2962 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2963 : : }
2964 : : }
2965 : 265 : gnc_commodity_set_default_symbol(c, "SI$");
2966 : : }
2967 : :
2968 : : {
2969 : 265 : const char *fullname = "Seychelles Rupee";
2970 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2971 : 265 : CUR_I18N(fullname),
2972 : : "ISO4217",
2973 : : "SCR",
2974 : : "690",
2975 : : 100);
2976 : 265 : if(!c) {
2977 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2978 : : } else {
2979 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2980 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2981 : : }
2982 : : }
2983 : 265 : gnc_commodity_set_default_symbol(c, "SR");
2984 : : }
2985 : :
2986 : : {
2987 : 265 : const char *fullname = "Sudanese Dinar";
2988 : 265 : gnc_commodity *c = gnc_commodity_new(book,
2989 : 265 : CUR_I18N(fullname),
2990 : : "ISO4217",
2991 : : "SDD",
2992 : : "736",
2993 : : 100);
2994 : 265 : if(!c) {
2995 : 0 : PWARN("failed to create commodity for currency %s", fullname);
2996 : : } else {
2997 : 265 : if(!gnc_commodity_table_insert(table, c)) {
2998 : 0 : PWARN("failed to insert %s into commodity table", fullname);
2999 : : }
3000 : : }
3001 : 265 : gnc_commodity_set_default_symbol(c, "");
3002 : : }
3003 : :
3004 : : {
3005 : 265 : const char *fullname = "Sudanese Pound";
3006 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3007 : 265 : CUR_I18N(fullname),
3008 : : "ISO4217",
3009 : : "SDG",
3010 : : "938",
3011 : : 100);
3012 : 265 : if(!c) {
3013 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3014 : : } else {
3015 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3016 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3017 : : }
3018 : : }
3019 : 265 : gnc_commodity_set_default_symbol(c, "");
3020 : : }
3021 : :
3022 : : {
3023 : 265 : const char *fullname = "Sudanese Pound";
3024 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3025 : 265 : CUR_I18N(fullname),
3026 : : "ISO4217",
3027 : : "SDP",
3028 : : "736",
3029 : : 100);
3030 : 265 : if(!c) {
3031 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3032 : : } else {
3033 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3034 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3035 : : }
3036 : : }
3037 : 265 : gnc_commodity_set_default_symbol(c, "");
3038 : : }
3039 : :
3040 : : {
3041 : 265 : const char *fullname = "Swedish Krona";
3042 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3043 : 265 : CUR_I18N(fullname),
3044 : : "ISO4217",
3045 : : "SEK",
3046 : : "752",
3047 : : 100);
3048 : 265 : if(!c) {
3049 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3050 : : } else {
3051 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3052 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3053 : : }
3054 : : }
3055 : 265 : gnc_commodity_set_default_symbol(c, "kr");
3056 : : }
3057 : :
3058 : : {
3059 : 265 : const char *fullname = "Singapore Dollar";
3060 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3061 : 265 : CUR_I18N(fullname),
3062 : : "ISO4217",
3063 : : "SGD",
3064 : : "702",
3065 : : 100);
3066 : 265 : if(!c) {
3067 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3068 : : } else {
3069 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3070 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3071 : : }
3072 : : }
3073 : 265 : gnc_commodity_set_default_symbol(c, "S$");
3074 : : }
3075 : :
3076 : : {
3077 : 265 : const char *fullname = "Saint Helena Pound";
3078 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3079 : 265 : CUR_I18N(fullname),
3080 : : "ISO4217",
3081 : : "SHP",
3082 : : "654",
3083 : : 100);
3084 : 265 : if(!c) {
3085 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3086 : : } else {
3087 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3088 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3089 : : }
3090 : : }
3091 : 265 : gnc_commodity_set_default_symbol(c, "£");
3092 : : }
3093 : :
3094 : : {
3095 : 265 : const char *fullname = "Slovenian Tolar";
3096 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3097 : 265 : CUR_I18N(fullname),
3098 : : "ISO4217",
3099 : : "SIT",
3100 : : "705",
3101 : : 100);
3102 : 265 : if(!c) {
3103 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3104 : : } else {
3105 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3106 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3107 : : }
3108 : : }
3109 : 265 : gnc_commodity_set_default_symbol(c, "");
3110 : : }
3111 : :
3112 : : {
3113 : 265 : const char *fullname = "Slovak Koruna";
3114 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3115 : 265 : CUR_I18N(fullname),
3116 : : "ISO4217",
3117 : : "SKK",
3118 : : "703",
3119 : : 100);
3120 : 265 : if(!c) {
3121 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3122 : : } else {
3123 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3124 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3125 : : }
3126 : : }
3127 : 265 : gnc_commodity_set_default_symbol(c, "");
3128 : : }
3129 : :
3130 : : {
3131 : 265 : const char *fullname = "Leone";
3132 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3133 : 265 : CUR_I18N(fullname),
3134 : : "ISO4217",
3135 : : "SLL",
3136 : : "694",
3137 : : 100);
3138 : 265 : if(!c) {
3139 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3140 : : } else {
3141 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3142 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3143 : : }
3144 : : }
3145 : 265 : gnc_commodity_set_default_symbol(c, "Le");
3146 : : }
3147 : :
3148 : : {
3149 : 265 : const char *fullname = "Somali Shilling";
3150 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3151 : 265 : CUR_I18N(fullname),
3152 : : "ISO4217",
3153 : : "SOS",
3154 : : "706",
3155 : : 100);
3156 : 265 : if(!c) {
3157 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3158 : : } else {
3159 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3160 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3161 : : }
3162 : : }
3163 : 265 : gnc_commodity_set_default_symbol(c, "SoSh");
3164 : : }
3165 : :
3166 : : {
3167 : 265 : const char *fullname = "Surinam Dollar";
3168 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3169 : 265 : CUR_I18N(fullname),
3170 : : "ISO4217",
3171 : : "SRD",
3172 : : "968",
3173 : : 100);
3174 : 265 : if(!c) {
3175 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3176 : : } else {
3177 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3178 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3179 : : }
3180 : : }
3181 : 265 : gnc_commodity_set_default_symbol(c, "$");
3182 : : }
3183 : :
3184 : : {
3185 : 265 : const char *fullname = "Suriname Guilder";
3186 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3187 : 265 : CUR_I18N(fullname),
3188 : : "ISO4217",
3189 : : "SRG",
3190 : : "740",
3191 : : 100);
3192 : 265 : if(!c) {
3193 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3194 : : } else {
3195 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3196 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3197 : : }
3198 : : }
3199 : 265 : gnc_commodity_set_default_symbol(c, "");
3200 : : }
3201 : :
3202 : : {
3203 : 265 : const char *fullname = "Dobra";
3204 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3205 : 265 : CUR_I18N(fullname),
3206 : : "ISO4217",
3207 : : "STD",
3208 : : "678",
3209 : : 100);
3210 : 265 : if(!c) {
3211 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3212 : : } else {
3213 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3214 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3215 : : }
3216 : : }
3217 : 265 : gnc_commodity_set_default_symbol(c, "Db");
3218 : : }
3219 : :
3220 : : {
3221 : 265 : const char *fullname = "El Salvador Colon";
3222 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3223 : 265 : CUR_I18N(fullname),
3224 : : "ISO4217",
3225 : : "SVC",
3226 : : "222",
3227 : : 100);
3228 : 265 : if(!c) {
3229 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3230 : : } else {
3231 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3232 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3233 : : }
3234 : : }
3235 : 265 : gnc_commodity_set_default_symbol(c, "");
3236 : : }
3237 : :
3238 : : {
3239 : 265 : const char *fullname = "Syrian Pound";
3240 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3241 : 265 : CUR_I18N(fullname),
3242 : : "ISO4217",
3243 : : "SYP",
3244 : : "760",
3245 : : 100);
3246 : 265 : if(!c) {
3247 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3248 : : } else {
3249 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3250 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3251 : : }
3252 : : }
3253 : 265 : gnc_commodity_set_default_symbol(c, "");
3254 : : }
3255 : :
3256 : : {
3257 : 265 : const char *fullname = "Lilangeni";
3258 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3259 : 265 : CUR_I18N(fullname),
3260 : : "ISO4217",
3261 : : "SZL",
3262 : : "748",
3263 : : 100);
3264 : 265 : if(!c) {
3265 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3266 : : } else {
3267 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3268 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3269 : : }
3270 : : }
3271 : 265 : gnc_commodity_set_default_symbol(c, "E");
3272 : : }
3273 : :
3274 : : {
3275 : 265 : const char *fullname = "Baht";
3276 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3277 : 265 : CUR_I18N(fullname),
3278 : : "ISO4217",
3279 : : "THB",
3280 : : "764",
3281 : : 100);
3282 : 265 : if(!c) {
3283 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3284 : : } else {
3285 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3286 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3287 : : }
3288 : : }
3289 : 265 : gnc_commodity_set_default_symbol(c, "฿");
3290 : : }
3291 : :
3292 : : {
3293 : 265 : const char *fullname = "Tajik Rouble";
3294 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3295 : 265 : CUR_I18N(fullname),
3296 : : "ISO4217",
3297 : : "TJR",
3298 : : "762",
3299 : : 1);
3300 : 265 : if(!c) {
3301 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3302 : : } else {
3303 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3304 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3305 : : }
3306 : : }
3307 : 265 : gnc_commodity_set_default_symbol(c, "");
3308 : : }
3309 : :
3310 : : {
3311 : 265 : const char *fullname = "Somoni";
3312 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3313 : 265 : CUR_I18N(fullname),
3314 : : "ISO4217",
3315 : : "TJS",
3316 : : "972",
3317 : : 100);
3318 : 265 : if(!c) {
3319 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3320 : : } else {
3321 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3322 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3323 : : }
3324 : : }
3325 : 265 : gnc_commodity_set_default_symbol(c, "");
3326 : : }
3327 : :
3328 : : {
3329 : 265 : const char *fullname = "Manat";
3330 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3331 : 265 : CUR_I18N(fullname),
3332 : : "ISO4217",
3333 : : "TMM",
3334 : : "795",
3335 : : 100);
3336 : 265 : if(!c) {
3337 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3338 : : } else {
3339 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3340 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3341 : : }
3342 : : }
3343 : 265 : gnc_commodity_set_default_symbol(c, "");
3344 : : }
3345 : :
3346 : : {
3347 : 265 : const char *fullname = "Manat";
3348 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3349 : 265 : CUR_I18N(fullname),
3350 : : "ISO4217",
3351 : : "TMT",
3352 : : "934",
3353 : : 100);
3354 : 265 : if(!c) {
3355 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3356 : : } else {
3357 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3358 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3359 : : }
3360 : : }
3361 : 265 : gnc_commodity_set_default_symbol(c, "m");
3362 : : }
3363 : :
3364 : : {
3365 : 265 : const char *fullname = "Tunisian Dinar";
3366 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3367 : 265 : CUR_I18N(fullname),
3368 : : "ISO4217",
3369 : : "TND",
3370 : : "788",
3371 : : 1000);
3372 : 265 : if(!c) {
3373 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3374 : : } else {
3375 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3376 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3377 : : }
3378 : : }
3379 : 265 : gnc_commodity_set_default_symbol(c, "د.ت");
3380 : : }
3381 : :
3382 : : {
3383 : 265 : const char *fullname = "Pa'anga";
3384 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3385 : 265 : CUR_I18N(fullname),
3386 : : "ISO4217",
3387 : : "TOP",
3388 : : "776",
3389 : : 100);
3390 : 265 : if(!c) {
3391 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3392 : : } else {
3393 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3394 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3395 : : }
3396 : : }
3397 : 265 : gnc_commodity_set_default_symbol(c, "T$");
3398 : : }
3399 : :
3400 : : {
3401 : 265 : const char *fullname = "Turkish Lira";
3402 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3403 : 265 : CUR_I18N(fullname),
3404 : : "ISO4217",
3405 : : "TRY",
3406 : : "949",
3407 : : 100);
3408 : 265 : if(!c) {
3409 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3410 : : } else {
3411 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3412 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3413 : : }
3414 : : }
3415 : 265 : gnc_commodity_set_default_symbol(c, "₺");
3416 : : }
3417 : :
3418 : : {
3419 : 265 : const char *fullname = "Trinidad and Tobago Dollar";
3420 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3421 : 265 : CUR_I18N(fullname),
3422 : : "ISO4217",
3423 : : "TTD",
3424 : : "780",
3425 : : 100);
3426 : 265 : if(!c) {
3427 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3428 : : } else {
3429 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3430 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3431 : : }
3432 : : }
3433 : 265 : gnc_commodity_set_default_symbol(c, "TT$");
3434 : : }
3435 : :
3436 : : {
3437 : 265 : const char *fullname = "New Taiwan Dollar";
3438 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3439 : 265 : CUR_I18N(fullname),
3440 : : "ISO4217",
3441 : : "TWD",
3442 : : "901",
3443 : : 100);
3444 : 265 : if(!c) {
3445 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3446 : : } else {
3447 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3448 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3449 : : }
3450 : : }
3451 : 265 : gnc_commodity_set_default_symbol(c, "NT$");
3452 : : }
3453 : :
3454 : : {
3455 : 265 : const char *fullname = "Tanzanian Shilling";
3456 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3457 : 265 : CUR_I18N(fullname),
3458 : : "ISO4217",
3459 : : "TZS",
3460 : : "834",
3461 : : 100);
3462 : 265 : if(!c) {
3463 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3464 : : } else {
3465 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3466 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3467 : : }
3468 : : }
3469 : 265 : gnc_commodity_set_default_symbol(c, "/");
3470 : : }
3471 : :
3472 : : {
3473 : 265 : const char *fullname = "Hryvnia";
3474 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3475 : 265 : CUR_I18N(fullname),
3476 : : "ISO4217",
3477 : : "UAH",
3478 : : "980",
3479 : : 100);
3480 : 265 : if(!c) {
3481 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3482 : : } else {
3483 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3484 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3485 : : }
3486 : : }
3487 : 265 : gnc_commodity_set_default_symbol(c, "₴");
3488 : : }
3489 : :
3490 : : {
3491 : 265 : const char *fullname = "Uganda Shilling";
3492 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3493 : 265 : CUR_I18N(fullname),
3494 : : "ISO4217",
3495 : : "UGX",
3496 : : "800",
3497 : : 100);
3498 : 265 : if(!c) {
3499 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3500 : : } else {
3501 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3502 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3503 : : }
3504 : : }
3505 : 265 : gnc_commodity_set_default_symbol(c, "USh");
3506 : : }
3507 : :
3508 : : {
3509 : 265 : const char *fullname = "US Dollar";
3510 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3511 : 265 : CUR_I18N(fullname),
3512 : : "ISO4217",
3513 : : "USD",
3514 : : "840",
3515 : : 100);
3516 : 265 : if(!c) {
3517 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3518 : : } else {
3519 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3520 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3521 : : }
3522 : : }
3523 : 265 : gnc_commodity_set_default_symbol(c, "$");
3524 : : }
3525 : :
3526 : : {
3527 : 265 : const char *fullname = "US Dollar (Next day)";
3528 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3529 : 265 : CUR_I18N(fullname),
3530 : : "ISO4217",
3531 : : "USN",
3532 : : "997",
3533 : : 100);
3534 : 265 : if(!c) {
3535 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3536 : : } else {
3537 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3538 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3539 : : }
3540 : : }
3541 : 265 : gnc_commodity_set_default_symbol(c, "$n");
3542 : : }
3543 : :
3544 : : {
3545 : 265 : const char *fullname = "US Dollar (Same day)";
3546 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3547 : 265 : CUR_I18N(fullname),
3548 : : "ISO4217",
3549 : : "USS",
3550 : : "998",
3551 : : 100);
3552 : 265 : if(!c) {
3553 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3554 : : } else {
3555 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3556 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3557 : : }
3558 : : }
3559 : 265 : gnc_commodity_set_default_symbol(c, "$s");
3560 : : }
3561 : :
3562 : : {
3563 : 265 : const char *fullname = "Uruguay Peso en Unidades Indexadas";
3564 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3565 : 265 : CUR_I18N(fullname),
3566 : : "ISO4217",
3567 : : "UYI",
3568 : : "940",
3569 : : 100);
3570 : 265 : if(!c) {
3571 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3572 : : } else {
3573 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3574 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3575 : : }
3576 : : }
3577 : 265 : gnc_commodity_set_default_symbol(c, "UI");
3578 : : }
3579 : :
3580 : : {
3581 : 265 : const char *fullname = "Peso Uruguayo";
3582 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3583 : 265 : CUR_I18N(fullname),
3584 : : "ISO4217",
3585 : : "UYU",
3586 : : "858",
3587 : : 100);
3588 : 265 : if(!c) {
3589 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3590 : : } else {
3591 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3592 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3593 : : }
3594 : : }
3595 : 265 : gnc_commodity_set_default_symbol(c, "$U");
3596 : : }
3597 : :
3598 : : {
3599 : 265 : const char *fullname = "Uzbekistan Sum";
3600 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3601 : 265 : CUR_I18N(fullname),
3602 : : "ISO4217",
3603 : : "UZS",
3604 : : "860",
3605 : : 100);
3606 : 265 : if(!c) {
3607 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3608 : : } else {
3609 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3610 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3611 : : }
3612 : : }
3613 : 265 : gnc_commodity_set_default_symbol(c, "so'm ");
3614 : : }
3615 : :
3616 : : {
3617 : 265 : const char *fullname = "Venezuela Bolívar";
3618 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3619 : 265 : CUR_I18N(fullname),
3620 : : "ISO4217",
3621 : : "VEB",
3622 : : "862",
3623 : : 100);
3624 : 265 : if(!c) {
3625 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3626 : : } else {
3627 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3628 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3629 : : }
3630 : : }
3631 : 265 : gnc_commodity_set_default_symbol(c, "Bs.");
3632 : : }
3633 : :
3634 : : {
3635 : 265 : const char *fullname = "Bolivar Fuerte";
3636 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3637 : 265 : CUR_I18N(fullname),
3638 : : "ISO4217",
3639 : : "VEF",
3640 : : "937",
3641 : : 100);
3642 : 265 : if(!c) {
3643 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3644 : : } else {
3645 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3646 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3647 : : }
3648 : : }
3649 : 265 : gnc_commodity_set_default_symbol(c, "BsF.");
3650 : : }
3651 : :
3652 : : {
3653 : 265 : const char *fullname = "Bolivar Soberano";
3654 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3655 : 265 : CUR_I18N(fullname),
3656 : : "ISO4217",
3657 : : "VES",
3658 : : "928",
3659 : : 100);
3660 : 265 : if(!c) {
3661 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3662 : : } else {
3663 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3664 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3665 : : }
3666 : : }
3667 : 265 : gnc_commodity_set_default_symbol(c, "BsS.");
3668 : : }
3669 : :
3670 : : {
3671 : 265 : const char *fullname = "Bolivar Soberano";
3672 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3673 : 265 : CUR_I18N(fullname),
3674 : : "ISO4217",
3675 : : "VED",
3676 : : "926",
3677 : : 100);
3678 : 265 : if(!c) {
3679 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3680 : : } else {
3681 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3682 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3683 : : }
3684 : : }
3685 : 265 : gnc_commodity_set_default_symbol(c, "BsD.");
3686 : : }
3687 : :
3688 : : {
3689 : 265 : const char *fullname = "Dong";
3690 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3691 : 265 : CUR_I18N(fullname),
3692 : : "ISO4217",
3693 : : "VND",
3694 : : "704",
3695 : : 1);
3696 : 265 : if(!c) {
3697 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3698 : : } else {
3699 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3700 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3701 : : }
3702 : : }
3703 : 265 : gnc_commodity_set_default_symbol(c, "₫");
3704 : : }
3705 : :
3706 : : {
3707 : 265 : const char *fullname = "Vatu";
3708 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3709 : 265 : CUR_I18N(fullname),
3710 : : "ISO4217",
3711 : : "VUV",
3712 : : "548",
3713 : : 1);
3714 : 265 : if(!c) {
3715 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3716 : : } else {
3717 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3718 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3719 : : }
3720 : : }
3721 : 265 : gnc_commodity_set_default_symbol(c, "Vt");
3722 : : }
3723 : :
3724 : : {
3725 : 265 : const char *fullname = "Tala";
3726 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3727 : 265 : CUR_I18N(fullname),
3728 : : "ISO4217",
3729 : : "WST",
3730 : : "882",
3731 : : 100);
3732 : 265 : if(!c) {
3733 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3734 : : } else {
3735 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3736 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3737 : : }
3738 : : }
3739 : 265 : gnc_commodity_set_default_symbol(c, "WS$");
3740 : : }
3741 : :
3742 : : {
3743 : 265 : const char *fullname = "Yemeni Rial";
3744 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3745 : 265 : CUR_I18N(fullname),
3746 : : "ISO4217",
3747 : : "YER",
3748 : : "886",
3749 : : 100);
3750 : 265 : if(!c) {
3751 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3752 : : } else {
3753 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3754 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3755 : : }
3756 : : }
3757 : 265 : gnc_commodity_set_default_symbol(c, "Rl");
3758 : : }
3759 : :
3760 : : {
3761 : 265 : const char *fullname = "Yugoslavian Dinar";
3762 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3763 : 265 : CUR_I18N(fullname),
3764 : : "ISO4217",
3765 : : "YUM",
3766 : : "890",
3767 : : 100);
3768 : 265 : if(!c) {
3769 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3770 : : } else {
3771 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3772 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3773 : : }
3774 : : }
3775 : 265 : gnc_commodity_set_default_symbol(c, "");
3776 : : }
3777 : :
3778 : : {
3779 : 265 : const char *fullname = "Rand";
3780 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3781 : 265 : CUR_I18N(fullname),
3782 : : "ISO4217",
3783 : : "ZAR",
3784 : : "710",
3785 : : 100);
3786 : 265 : if(!c) {
3787 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3788 : : } else {
3789 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3790 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3791 : : }
3792 : : }
3793 : 265 : gnc_commodity_set_default_symbol(c, "R");
3794 : : }
3795 : :
3796 : : {
3797 : 265 : const char *fullname = "Kwacha (old)";
3798 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3799 : 265 : CUR_I18N(fullname),
3800 : : "ISO4217",
3801 : : "ZMK",
3802 : : "894",
3803 : : 100);
3804 : 265 : if(!c) {
3805 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3806 : : } else {
3807 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3808 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3809 : : }
3810 : : }
3811 : 265 : gnc_commodity_set_default_symbol(c, "ZK");
3812 : : }
3813 : :
3814 : : {
3815 : 265 : const char *fullname = "Zambian Kwacha";
3816 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3817 : 265 : CUR_I18N(fullname),
3818 : : "ISO4217",
3819 : : "ZMW",
3820 : : "967",
3821 : : 100);
3822 : 265 : if(!c) {
3823 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3824 : : } else {
3825 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3826 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3827 : : }
3828 : : }
3829 : 265 : gnc_commodity_set_default_symbol(c, "ZK");
3830 : : }
3831 : :
3832 : : {
3833 : 265 : const char *fullname = "Zimbabwe Dollar";
3834 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3835 : 265 : CUR_I18N(fullname),
3836 : : "ISO4217",
3837 : : "ZWD",
3838 : : "716",
3839 : : 100);
3840 : 265 : if(!c) {
3841 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3842 : : } else {
3843 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3844 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3845 : : }
3846 : : }
3847 : 265 : gnc_commodity_set_default_symbol(c, "");
3848 : : }
3849 : :
3850 : : {
3851 : 265 : const char *fullname = "Zimbabwe Dollar";
3852 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3853 : 265 : CUR_I18N(fullname),
3854 : : "ISO4217",
3855 : : "ZWL",
3856 : : "716",
3857 : : 100);
3858 : 265 : if(!c) {
3859 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3860 : : } else {
3861 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3862 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3863 : : }
3864 : : }
3865 : 265 : gnc_commodity_set_default_symbol(c, "Z.$");
3866 : : }
3867 : :
3868 : : {
3869 : 265 : const char *fullname = "CFA Franc BEAC";
3870 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3871 : 265 : CUR_I18N(fullname),
3872 : : "ISO4217",
3873 : : "XAF",
3874 : : "950",
3875 : : 100);
3876 : 265 : if(!c) {
3877 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3878 : : } else {
3879 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3880 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3881 : : }
3882 : : }
3883 : 265 : gnc_commodity_set_default_symbol(c, "");
3884 : : }
3885 : :
3886 : : {
3887 : 265 : const char *fullname = "East Caribbean Dollar";
3888 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3889 : 265 : CUR_I18N(fullname),
3890 : : "ISO4217",
3891 : : "XCD",
3892 : : "951",
3893 : : 100);
3894 : 265 : if(!c) {
3895 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3896 : : } else {
3897 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3898 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3899 : : }
3900 : : }
3901 : 265 : gnc_commodity_set_default_symbol(c, "EC$");
3902 : : }
3903 : :
3904 : : {
3905 : 265 : const char *fullname = "SDR";
3906 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3907 : 265 : CUR_I18N(fullname),
3908 : : "ISO4217",
3909 : : "XDR",
3910 : : "960",
3911 : : 1);
3912 : 265 : if(!c) {
3913 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3914 : : } else {
3915 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3916 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3917 : : }
3918 : : }
3919 : 265 : gnc_commodity_set_default_symbol(c, "");
3920 : : }
3921 : :
3922 : : {
3923 : 265 : const char *fullname = "Gold-Franc";
3924 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3925 : 265 : CUR_I18N(fullname),
3926 : : "ISO4217",
3927 : : "XFO",
3928 : : "nil",
3929 : : 100);
3930 : 265 : if(!c) {
3931 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3932 : : } else {
3933 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3934 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3935 : : }
3936 : : }
3937 : 265 : gnc_commodity_set_default_symbol(c, "");
3938 : : }
3939 : :
3940 : : {
3941 : 265 : const char *fullname = "UIC-Franc";
3942 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3943 : 265 : CUR_I18N(fullname),
3944 : : "ISO4217",
3945 : : "XFU",
3946 : : "nil",
3947 : : 100);
3948 : 265 : if(!c) {
3949 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3950 : : } else {
3951 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3952 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3953 : : }
3954 : : }
3955 : 265 : gnc_commodity_set_default_symbol(c, "");
3956 : : }
3957 : :
3958 : : {
3959 : 265 : const char *fullname = "CFA Franc BCEAO";
3960 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3961 : 265 : CUR_I18N(fullname),
3962 : : "ISO4217",
3963 : : "XOF",
3964 : : "952",
3965 : : 100);
3966 : 265 : if(!c) {
3967 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3968 : : } else {
3969 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3970 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3971 : : }
3972 : : }
3973 : 265 : gnc_commodity_set_default_symbol(c, "");
3974 : : }
3975 : :
3976 : : {
3977 : 265 : const char *fullname = "CFP Franc";
3978 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3979 : 265 : CUR_I18N(fullname),
3980 : : "ISO4217",
3981 : : "XPF",
3982 : : "953",
3983 : : 100);
3984 : 265 : if(!c) {
3985 : 0 : PWARN("failed to create commodity for currency %s", fullname);
3986 : : } else {
3987 : 265 : if(!gnc_commodity_table_insert(table, c)) {
3988 : 0 : PWARN("failed to insert %s into commodity table", fullname);
3989 : : }
3990 : : }
3991 : 265 : gnc_commodity_set_default_symbol(c, "");
3992 : : }
3993 : :
3994 : : {
3995 : 265 : const char *fullname = "Code for testing purposes";
3996 : 265 : gnc_commodity *c = gnc_commodity_new(book,
3997 : 265 : CUR_I18N(fullname),
3998 : : "ISO4217",
3999 : : "XTS",
4000 : : "963",
4001 : : 1000000);
4002 : 265 : if(!c) {
4003 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4004 : : } else {
4005 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4006 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4007 : : }
4008 : : }
4009 : 265 : gnc_commodity_set_default_symbol(c, "");
4010 : : }
4011 : :
4012 : : {
4013 : 265 : const char *fullname = "No currency";
4014 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4015 : 265 : CUR_I18N(fullname),
4016 : : "ISO4217",
4017 : : "XXX",
4018 : : "999",
4019 : : 1000000);
4020 : 265 : if(!c) {
4021 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4022 : : } else {
4023 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4024 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4025 : : }
4026 : : }
4027 : 265 : gnc_commodity_set_default_symbol(c, "");
4028 : : }
4029 : :
4030 : : {
4031 : 265 : const char *fullname = "Silver";
4032 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4033 : 265 : CUR_I18N(fullname),
4034 : : "ISO4217",
4035 : : "XAG",
4036 : : "961",
4037 : : 1000000);
4038 : 265 : if(!c) {
4039 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4040 : : } else {
4041 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4042 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4043 : : }
4044 : : }
4045 : 265 : gnc_commodity_set_default_symbol(c, "");
4046 : : }
4047 : :
4048 : : {
4049 : 265 : const char *fullname = "Gold";
4050 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4051 : 265 : CUR_I18N(fullname),
4052 : : "ISO4217",
4053 : : "XAU",
4054 : : "959",
4055 : : 1000000);
4056 : 265 : if(!c) {
4057 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4058 : : } else {
4059 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4060 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4061 : : }
4062 : : }
4063 : 265 : gnc_commodity_set_default_symbol(c, "");
4064 : : }
4065 : :
4066 : : {
4067 : 265 : const char *fullname = "Palladium";
4068 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4069 : 265 : CUR_I18N(fullname),
4070 : : "ISO4217",
4071 : : "XPD",
4072 : : "964",
4073 : : 1000000);
4074 : 265 : if(!c) {
4075 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4076 : : } else {
4077 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4078 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4079 : : }
4080 : : }
4081 : 265 : gnc_commodity_set_default_symbol(c, "");
4082 : : }
4083 : :
4084 : : {
4085 : 265 : const char *fullname = "Platinum";
4086 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4087 : 265 : CUR_I18N(fullname),
4088 : : "ISO4217",
4089 : : "XPT",
4090 : : "962",
4091 : : 1000000);
4092 : 265 : if(!c) {
4093 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4094 : : } else {
4095 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4096 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4097 : : }
4098 : : }
4099 : 265 : gnc_commodity_set_default_symbol(c, "");
4100 : : }
4101 : :
4102 : : {
4103 : 265 : const char *fullname = "Sistema Unitario de Compensación Regional";
4104 : 265 : gnc_commodity *c = gnc_commodity_new(book,
4105 : 265 : CUR_I18N(fullname),
4106 : : "ISO4217",
4107 : : "XSU",
4108 : : "994",
4109 : : 1);
4110 : 265 : if(!c) {
4111 : 0 : PWARN("failed to create commodity for currency %s", fullname);
4112 : : } else {
4113 : 265 : if(!gnc_commodity_table_insert(table, c)) {
4114 : 0 : PWARN("failed to insert %s into commodity table", fullname);
4115 : : }
4116 : : }
4117 : 265 : gnc_commodity_set_default_symbol(c, "");
4118 : : }
|