LCOV - code coverage report
Current view: top level - build/libgnucash/engine - iso-4217-currencies.c Coverage Total Hit
Test: gnucash.info Lines: 75.0 % 1816 1362
Test Date: 2026-11-24 04:31:04 Functions: - 0 0
Legend: Lines:     hit not hit

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

Generated by: LCOV version 2.0-1