diff --git a/apxtri/models/Odmdb.js b/apxtri/models/Odmdb.js index 673a92c..0aa02b8 100644 --- a/apxtri/models/Odmdb.js +++ b/apxtri/models/Odmdb.js @@ -183,7 +183,7 @@ Odmdb.Schema = (objectPathname, validschema, lg = "en") => { if (schemaPath.substring(0, 4) == "http") { // lance requete http pour recuperer le schema avec un await axios } else { - schemaPath = `../../${schemaPath}`; + schemaPath = `../${schemaPath}`; /*if (log) console.log( currentmod, @@ -227,13 +227,13 @@ Odmdb.Schema = (objectPathname, validschema, lg = "en") => { propertie.comment = `options:${propertie.options["$ref"]}}`; optionstype = "options"; optionsfile = path.resolve( - `../../${propertie.options["$ref"]}_${lg}.json` + `../${propertie.options["$ref"]}_${lg}.json` ); } if (propertie.options["$ref"].includes("/idx/")) { (propertie.comment = `itms:${propertie.options["$ref"]}}`), (optionstype = "idx"); - optionsfile = path.resolve(`../../${propertie.options["$ref"]}.json`); + optionsfile = path.resolve(`../${propertie.options["$ref"]}.json`); } //if (log) console.log(currentmod, "Lien vers options:", optionsfile); if (!fs.existsSync(optionsfile)) { @@ -352,7 +352,7 @@ Odmdb.Schema = (objectPathname, validschema, lg = "en") => { if (!res.data.schema.apxuniquekey.includes(res.data.schema.apxid)) { res.data.schema.apxuniquekey.push(res.data.schema.apxid); } - //`../../${req.session.header.xtribe}/objects/persons` + //`../${req.session.header.xtribe}/objects/persons` res.data.schema.apxidx.forEach((idx) => { if ( idx.objkey && @@ -776,7 +776,10 @@ Odmdb.runidx = (objectPathname, schema) => { //if (log) console.log(currentmod, `idx for ${objectPathname}`); if (!schema || !schema.apxid) { const getschema = Odmdb.Schema(objectPathname, true); - if (getschema.status != 200) return getschema; + if (getschema.status != 200) { + console.log(getschema) + return getschema; + } schema = getschema.data.schema; } const ventil = {}; @@ -791,7 +794,7 @@ Odmdb.runidx = (objectPathname, schema) => { ventil[id.name].filter = id.filter ? id.filter.replace(/;/g, "") : ""; // check integrity of string ventil[id.name].data = {}; } else { - if (schema.properties[id.keyval]){ + if (!schema.properties[id.keyval]){ console.log(`Check ${objectPathname} index ${id.name} property ${id.keyval} does not exist`) process.exit(0) } diff --git a/objects/options/country_en.json b/objects/options/country_en.json new file mode 100644 index 0000000..46aa135 --- /dev/null +++ b/objects/options/country_en.json @@ -0,0 +1,1504 @@ +{ + "title": "Country Code", + "description": "Country Code and Info", + "commment": "Alpha-2 country code (ISO 3166-2:XX)", + "lastupdatedata": "", + "lst_idx": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BQ", + "BA", + "BW", + "BV", + "BR", + "IO", + "BN", + "BG", + "BF", + "BI", + "CV", + "KH", + "CM", + "CA", + "KY", + "CF", + "TD", + "CL", + "CN", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CW", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "SZ", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HK", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MO", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MK", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SX", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VG", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW" + ], + "itms": { + "AF": { + "title": "Afghanistan", + "region": "Asia", + "regioncode": "142" + }, + "AX": { + "title": "\u00c5land Islands", + "region": "Europe", + "regioncode": "150" + }, + "AL": { + "title": "Albania", + "region": "Europe", + "regioncode": "150" + }, + "DZ": { + "title": "Algeria", + "region": "Africa", + "regioncode": "002" + }, + "AS": { + "title": "American Samoa", + "region": "Oceania", + "regioncode": "009" + }, + "AD": { + "title": "Andorra", + "region": "Europe", + "regioncode": "150" + }, + "AO": { + "title": "Angola", + "region": "Africa", + "regioncode": "002" + }, + "AI": { + "title": "Anguilla", + "region": "Americas", + "regioncode": "019" + }, + "AQ": { + "title": "Antarctica", + "region": "", + "regioncode": "" + }, + "AG": { + "title": "Antigua and Barbuda", + "region": "Americas", + "regioncode": "019" + }, + "AR": { + "title": "Argentina", + "region": "Americas", + "regioncode": "019" + }, + "AM": { + "title": "Armenia", + "region": "Asia", + "regioncode": "142" + }, + "AW": { + "title": "Aruba", + "region": "Americas", + "regioncode": "019" + }, + "AU": { + "title": "Australia", + "region": "Oceania", + "regioncode": "009" + }, + "AT": { + "title": "Austria", + "region": "Europe", + "regioncode": "150" + }, + "AZ": { + "title": "Azerbaijan", + "region": "Asia", + "regioncode": "142" + }, + "BS": { + "title": "Bahamas", + "region": "Americas", + "regioncode": "019" + }, + "BH": { + "title": "Bahrain", + "region": "Asia", + "regioncode": "142" + }, + "BD": { + "title": "Bangladesh", + "region": "Asia", + "regioncode": "142" + }, + "BB": { + "title": "Barbados", + "region": "Americas", + "regioncode": "019" + }, + "BY": { + "title": "Belarus", + "region": "Europe", + "regioncode": "150" + }, + "BE": { + "title": "Belgium", + "region": "Europe", + "regioncode": "150" + }, + "BZ": { + "title": "Belize", + "region": "Americas", + "regioncode": "019" + }, + "BJ": { + "title": "Benin", + "region": "Africa", + "regioncode": "002" + }, + "BM": { + "title": "Bermuda", + "region": "Americas", + "regioncode": "019" + }, + "BT": { + "title": "Bhutan", + "region": "Asia", + "regioncode": "142" + }, + "BO": { + "title": "Bolivia, Plurinational State of", + "region": "Americas", + "regioncode": "019" + }, + "BQ": { + "title": "Bonaire, Sint Eustatius and Saba", + "region": "Americas", + "regioncode": "019" + }, + "BA": { + "title": "Bosnia and Herzegovina", + "region": "Europe", + "regioncode": "150" + }, + "BW": { + "title": "Botswana", + "region": "Africa", + "regioncode": "002" + }, + "BV": { + "title": "Bouvet Island", + "region": "Americas", + "regioncode": "019" + }, + "BR": { + "title": "Brazil", + "region": "Americas", + "regioncode": "019" + }, + "IO": { + "title": "British Indian Ocean Territory", + "region": "Africa", + "regioncode": "002" + }, + "BN": { + "title": "Brunei Darussalam", + "region": "Asia", + "regioncode": "142" + }, + "BG": { + "title": "Bulgaria", + "region": "Europe", + "regioncode": "150" + }, + "BF": { + "title": "Burkina Faso", + "region": "Africa", + "regioncode": "002" + }, + "BI": { + "title": "Burundi", + "region": "Africa", + "regioncode": "002" + }, + "CV": { + "title": "Cabo Verde", + "region": "Africa", + "regioncode": "002" + }, + "KH": { + "title": "Cambodia", + "region": "Asia", + "regioncode": "142" + }, + "CM": { + "title": "Cameroon", + "region": "Africa", + "regioncode": "002" + }, + "CA": { + "title": "Canada", + "region": "Americas", + "regioncode": "019" + }, + "KY": { + "title": "Cayman Islands", + "region": "Americas", + "regioncode": "019" + }, + "CF": { + "title": "Central African Republic", + "region": "Africa", + "regioncode": "002" + }, + "TD": { + "title": "Chad", + "region": "Africa", + "regioncode": "002" + }, + "CL": { + "title": "Chile", + "region": "Americas", + "regioncode": "019" + }, + "CN": { + "title": "China", + "region": "Asia", + "regioncode": "142" + }, + "CX": { + "title": "Christmas Island", + "region": "Oceania", + "regioncode": "009" + }, + "CC": { + "title": "Cocos (Keeling) Islands", + "region": "Oceania", + "regioncode": "009" + }, + "CO": { + "title": "Colombia", + "region": "Americas", + "regioncode": "019" + }, + "KM": { + "title": "Comoros", + "region": "Africa", + "regioncode": "002" + }, + "CG": { + "title": "Congo", + "region": "Africa", + "regioncode": "002" + }, + "CD": { + "title": "Congo, Democratic Republic of the", + "region": "Africa", + "regioncode": "002" + }, + "CK": { + "title": "Cook Islands", + "region": "Oceania", + "regioncode": "009" + }, + "CR": { + "title": "Costa Rica", + "region": "Americas", + "regioncode": "019" + }, + "CI": { + "title": "C\u00f4te d'Ivoire", + "region": "Africa", + "regioncode": "002" + }, + "HR": { + "title": "Croatia", + "region": "Europe", + "regioncode": "150" + }, + "CU": { + "title": "Cuba", + "region": "Americas", + "regioncode": "019" + }, + "CW": { + "title": "Cura\u00e7ao", + "region": "Americas", + "regioncode": "019" + }, + "CY": { + "title": "Cyprus", + "region": "Asia", + "regioncode": "142" + }, + "CZ": { + "title": "Czechia", + "region": "Europe", + "regioncode": "150" + }, + "DK": { + "title": "Denmark", + "region": "Europe", + "regioncode": "150" + }, + "DJ": { + "title": "Djibouti", + "region": "Africa", + "regioncode": "002" + }, + "DM": { + "title": "Dominica", + "region": "Americas", + "regioncode": "019" + }, + "DO": { + "title": "Dominican Republic", + "region": "Americas", + "regioncode": "019" + }, + "EC": { + "title": "Ecuador", + "region": "Americas", + "regioncode": "019" + }, + "EG": { + "title": "Egypt", + "region": "Africa", + "regioncode": "002" + }, + "SV": { + "title": "El Salvador", + "region": "Americas", + "regioncode": "019" + }, + "GQ": { + "title": "Equatorial Guinea", + "region": "Africa", + "regioncode": "002" + }, + "ER": { + "title": "Eritrea", + "region": "Africa", + "regioncode": "002" + }, + "EE": { + "title": "Estonia", + "region": "Europe", + "regioncode": "150" + }, + "SZ": { + "title": "Eswatini", + "region": "Africa", + "regioncode": "002" + }, + "ET": { + "title": "Ethiopia", + "region": "Africa", + "regioncode": "002" + }, + "FK": { + "title": "Falkland Islands (Malvinas)", + "region": "Americas", + "regioncode": "019" + }, + "FO": { + "title": "Faroe Islands", + "region": "Europe", + "regioncode": "150" + }, + "FJ": { + "title": "Fiji", + "region": "Oceania", + "regioncode": "009" + }, + "FI": { + "title": "Finland", + "region": "Europe", + "regioncode": "150" + }, + "FR": { + "title": "France", + "region": "Europe", + "regioncode": "150" + }, + "GF": { + "title": "French Guiana", + "region": "Americas", + "regioncode": "019" + }, + "PF": { + "title": "French Polynesia", + "region": "Oceania", + "regioncode": "009" + }, + "TF": { + "title": "French Southern Territories", + "region": "Africa", + "regioncode": "002" + }, + "GA": { + "title": "Gabon", + "region": "Africa", + "regioncode": "002" + }, + "GM": { + "title": "Gambia", + "region": "Africa", + "regioncode": "002" + }, + "GE": { + "title": "Georgia", + "region": "Asia", + "regioncode": "142" + }, + "DE": { + "title": "Germany", + "region": "Europe", + "regioncode": "150" + }, + "GH": { + "title": "Ghana", + "region": "Africa", + "regioncode": "002" + }, + "GI": { + "title": "Gibraltar", + "region": "Europe", + "regioncode": "150" + }, + "GR": { + "title": "Greece", + "region": "Europe", + "regioncode": "150" + }, + "GL": { + "title": "Greenland", + "region": "Americas", + "regioncode": "019" + }, + "GD": { + "title": "Grenada", + "region": "Americas", + "regioncode": "019" + }, + "GP": { + "title": "Guadeloupe", + "region": "Americas", + "regioncode": "019" + }, + "GU": { + "title": "Guam", + "region": "Oceania", + "regioncode": "009" + }, + "GT": { + "title": "Guatemala", + "region": "Americas", + "regioncode": "019" + }, + "GG": { + "title": "Guernsey", + "region": "Europe", + "regioncode": "150" + }, + "GN": { + "title": "Guinea", + "region": "Africa", + "regioncode": "002" + }, + "GW": { + "title": "Guinea-Bissau", + "region": "Africa", + "regioncode": "002" + }, + "GY": { + "title": "Guyana", + "region": "Americas", + "regioncode": "019" + }, + "HT": { + "title": "Haiti", + "region": "Americas", + "regioncode": "019" + }, + "HM": { + "title": "Heard Island and McDonald Islands", + "region": "Oceania", + "regioncode": "009" + }, + "VA": { + "title": "Holy See", + "region": "Europe", + "regioncode": "150" + }, + "HN": { + "title": "Honduras", + "region": "Americas", + "regioncode": "019" + }, + "HK": { + "title": "Hong Kong", + "region": "Asia", + "regioncode": "142" + }, + "HU": { + "title": "Hungary", + "region": "Europe", + "regioncode": "150" + }, + "IS": { + "title": "Iceland", + "region": "Europe", + "regioncode": "150" + }, + "IN": { + "title": "India", + "region": "Asia", + "regioncode": "142" + }, + "ID": { + "title": "Indonesia", + "region": "Asia", + "regioncode": "142" + }, + "IR": { + "title": "Iran, Islamic Republic of", + "region": "Asia", + "regioncode": "142" + }, + "IQ": { + "title": "Iraq", + "region": "Asia", + "regioncode": "142" + }, + "IE": { + "title": "Ireland", + "region": "Europe", + "regioncode": "150" + }, + "IM": { + "title": "Isle of Man", + "region": "Europe", + "regioncode": "150" + }, + "IL": { + "title": "Israel", + "region": "Asia", + "regioncode": "142" + }, + "IT": { + "title": "Italy", + "region": "Europe", + "regioncode": "150" + }, + "JM": { + "title": "Jamaica", + "region": "Americas", + "regioncode": "019" + }, + "JP": { + "title": "Japan", + "region": "Asia", + "regioncode": "142" + }, + "JE": { + "title": "Jersey", + "region": "Europe", + "regioncode": "150" + }, + "JO": { + "title": "Jordan", + "region": "Asia", + "regioncode": "142" + }, + "KZ": { + "title": "Kazakhstan", + "region": "Asia", + "regioncode": "142" + }, + "KE": { + "title": "Kenya", + "region": "Africa", + "regioncode": "002" + }, + "KI": { + "title": "Kiribati", + "region": "Oceania", + "regioncode": "009" + }, + "KP": { + "title": "Korea, Democratic People's Republic of", + "region": "Asia", + "regioncode": "142" + }, + "KR": { + "title": "Korea, Republic of", + "region": "Asia", + "regioncode": "142" + }, + "KW": { + "title": "Kuwait", + "region": "Asia", + "regioncode": "142" + }, + "KG": { + "title": "Kyrgyzstan", + "region": "Asia", + "regioncode": "142" + }, + "LA": { + "title": "Lao People's Democratic Republic", + "region": "Asia", + "regioncode": "142" + }, + "LV": { + "title": "Latvia", + "region": "Europe", + "regioncode": "150" + }, + "LB": { + "title": "Lebanon", + "region": "Asia", + "regioncode": "142" + }, + "LS": { + "title": "Lesotho", + "region": "Africa", + "regioncode": "002" + }, + "LR": { + "title": "Liberia", + "region": "Africa", + "regioncode": "002" + }, + "LY": { + "title": "Libya", + "region": "Africa", + "regioncode": "002" + }, + "LI": { + "title": "Liechtenstein", + "region": "Europe", + "regioncode": "150" + }, + "LT": { + "title": "Lithuania", + "region": "Europe", + "regioncode": "150" + }, + "LU": { + "title": "Luxembourg", + "region": "Europe", + "regioncode": "150" + }, + "MO": { + "title": "Macao", + "region": "Asia", + "regioncode": "142" + }, + "MG": { + "title": "Madagascar", + "region": "Africa", + "regioncode": "002" + }, + "MW": { + "title": "Malawi", + "region": "Africa", + "regioncode": "002" + }, + "MY": { + "title": "Malaysia", + "region": "Asia", + "regioncode": "142" + }, + "MV": { + "title": "Maldives", + "region": "Asia", + "regioncode": "142" + }, + "ML": { + "title": "Mali", + "region": "Africa", + "regioncode": "002" + }, + "MT": { + "title": "Malta", + "region": "Europe", + "regioncode": "150" + }, + "MH": { + "title": "Marshall Islands", + "region": "Oceania", + "regioncode": "009" + }, + "MQ": { + "title": "Martinique", + "region": "Americas", + "regioncode": "019" + }, + "MR": { + "title": "Mauritania", + "region": "Africa", + "regioncode": "002" + }, + "MU": { + "title": "Mauritius", + "region": "Africa", + "regioncode": "002" + }, + "YT": { + "title": "Mayotte", + "region": "Africa", + "regioncode": "002" + }, + "MX": { + "title": "Mexico", + "region": "Americas", + "regioncode": "019" + }, + "FM": { + "title": "Micronesia, Federated States of", + "region": "Oceania", + "regioncode": "009" + }, + "MD": { + "title": "Moldova, Republic of", + "region": "Europe", + "regioncode": "150" + }, + "MC": { + "title": "Monaco", + "region": "Europe", + "regioncode": "150" + }, + "MN": { + "title": "Mongolia", + "region": "Asia", + "regioncode": "142" + }, + "ME": { + "title": "Montenegro", + "region": "Europe", + "regioncode": "150" + }, + "MS": { + "title": "Montserrat", + "region": "Americas", + "regioncode": "019" + }, + "MA": { + "title": "Morocco", + "region": "Africa", + "regioncode": "002" + }, + "MZ": { + "title": "Mozambique", + "region": "Africa", + "regioncode": "002" + }, + "MM": { + "title": "Myanmar", + "region": "Asia", + "regioncode": "142" + }, + "NA": { + "title": "Namibia", + "region": "Africa", + "regioncode": "002" + }, + "NR": { + "title": "Nauru", + "region": "Oceania", + "regioncode": "009" + }, + "NP": { + "title": "Nepal", + "region": "Asia", + "regioncode": "142" + }, + "NL": { + "title": "Netherlands, Kingdom of the", + "region": "Europe", + "regioncode": "150" + }, + "NC": { + "title": "New Caledonia", + "region": "Oceania", + "regioncode": "009" + }, + "NZ": { + "title": "New Zealand", + "region": "Oceania", + "regioncode": "009" + }, + "NI": { + "title": "Nicaragua", + "region": "Americas", + "regioncode": "019" + }, + "NE": { + "title": "Niger", + "region": "Africa", + "regioncode": "002" + }, + "NG": { + "title": "Nigeria", + "region": "Africa", + "regioncode": "002" + }, + "NU": { + "title": "Niue", + "region": "Oceania", + "regioncode": "009" + }, + "NF": { + "title": "Norfolk Island", + "region": "Oceania", + "regioncode": "009" + }, + "MK": { + "title": "North Macedonia", + "region": "Europe", + "regioncode": "150" + }, + "MP": { + "title": "Northern Mariana Islands", + "region": "Oceania", + "regioncode": "009" + }, + "NO": { + "title": "Norway", + "region": "Europe", + "regioncode": "150" + }, + "OM": { + "title": "Oman", + "region": "Asia", + "regioncode": "142" + }, + "PK": { + "title": "Pakistan", + "region": "Asia", + "regioncode": "142" + }, + "PW": { + "title": "Palau", + "region": "Oceania", + "regioncode": "009" + }, + "PS": { + "title": "Palestine, State of", + "region": "Asia", + "regioncode": "142" + }, + "PA": { + "title": "Panama", + "region": "Americas", + "regioncode": "019" + }, + "PG": { + "title": "Papua New Guinea", + "region": "Oceania", + "regioncode": "009" + }, + "PY": { + "title": "Paraguay", + "region": "Americas", + "regioncode": "019" + }, + "PE": { + "title": "Peru", + "region": "Americas", + "regioncode": "019" + }, + "PH": { + "title": "Philippines", + "region": "Asia", + "regioncode": "142" + }, + "PN": { + "title": "Pitcairn", + "region": "Oceania", + "regioncode": "009" + }, + "PL": { + "title": "Poland", + "region": "Europe", + "regioncode": "150" + }, + "PT": { + "title": "Portugal", + "region": "Europe", + "regioncode": "150" + }, + "PR": { + "title": "Puerto Rico", + "region": "Americas", + "regioncode": "019" + }, + "QA": { + "title": "Qatar", + "region": "Asia", + "regioncode": "142" + }, + "RE": { + "title": "R\u00e9union", + "region": "Africa", + "regioncode": "002" + }, + "RO": { + "title": "Romania", + "region": "Europe", + "regioncode": "150" + }, + "RU": { + "title": "Russian Federation", + "region": "Europe", + "regioncode": "150" + }, + "RW": { + "title": "Rwanda", + "region": "Africa", + "regioncode": "002" + }, + "BL": { + "title": "Saint Barth\u00e9lemy", + "region": "Americas", + "regioncode": "019" + }, + "SH": { + "title": "Saint Helena, Ascension and Tristan da Cunha", + "region": "Africa", + "regioncode": "002" + }, + "KN": { + "title": "Saint Kitts and Nevis", + "region": "Americas", + "regioncode": "019" + }, + "LC": { + "title": "Saint Lucia", + "region": "Americas", + "regioncode": "019" + }, + "MF": { + "title": "Saint Martin (French part)", + "region": "Americas", + "regioncode": "019" + }, + "PM": { + "title": "Saint Pierre and Miquelon", + "region": "Americas", + "regioncode": "019" + }, + "VC": { + "title": "Saint Vincent and the Grenadines", + "region": "Americas", + "regioncode": "019" + }, + "WS": { + "title": "Samoa", + "region": "Oceania", + "regioncode": "009" + }, + "SM": { + "title": "San Marino", + "region": "Europe", + "regioncode": "150" + }, + "ST": { + "title": "Sao Tome and Principe", + "region": "Africa", + "regioncode": "002" + }, + "SA": { + "title": "Saudi Arabia", + "region": "Asia", + "regioncode": "142" + }, + "SN": { + "title": "Senegal", + "region": "Africa", + "regioncode": "002" + }, + "RS": { + "title": "Serbia", + "region": "Europe", + "regioncode": "150" + }, + "SC": { + "title": "Seychelles", + "region": "Africa", + "regioncode": "002" + }, + "SL": { + "title": "Sierra Leone", + "region": "Africa", + "regioncode": "002" + }, + "SG": { + "title": "Singapore", + "region": "Asia", + "regioncode": "142" + }, + "SX": { + "title": "Sint Maarten (Dutch part)", + "region": "Americas", + "regioncode": "019" + }, + "SK": { + "title": "Slovakia", + "region": "Europe", + "regioncode": "150" + }, + "SI": { + "title": "Slovenia", + "region": "Europe", + "regioncode": "150" + }, + "SB": { + "title": "Solomon Islands", + "region": "Oceania", + "regioncode": "009" + }, + "SO": { + "title": "Somalia", + "region": "Africa", + "regioncode": "002" + }, + "ZA": { + "title": "South Africa", + "region": "Africa", + "regioncode": "002" + }, + "GS": { + "title": "South Georgia and the South Sandwich Islands", + "region": "Americas", + "regioncode": "019" + }, + "SS": { + "title": "South Sudan", + "region": "Africa", + "regioncode": "002" + }, + "ES": { + "title": "Spain", + "region": "Europe", + "regioncode": "150" + }, + "LK": { + "title": "Sri Lanka", + "region": "Asia", + "regioncode": "142" + }, + "SD": { + "title": "Sudan", + "region": "Africa", + "regioncode": "002" + }, + "SR": { + "title": "Suriname", + "region": "Americas", + "regioncode": "019" + }, + "SJ": { + "title": "Svalbard and Jan Mayen", + "region": "Europe", + "regioncode": "150" + }, + "SE": { + "title": "Sweden", + "region": "Europe", + "regioncode": "150" + }, + "CH": { + "title": "Switzerland", + "region": "Europe", + "regioncode": "150" + }, + "SY": { + "title": "Syrian Arab Republic", + "region": "Asia", + "regioncode": "142" + }, + "TW": { + "title": "Taiwan, Province of China", + "region": "Asia", + "regioncode": "" + }, + "TJ": { + "title": "Tajikistan", + "region": "Asia", + "regioncode": "142" + }, + "TZ": { + "title": "Tanzania, United Republic of", + "region": "Africa", + "regioncode": "002" + }, + "TH": { + "title": "Thailand", + "region": "Asia", + "regioncode": "142" + }, + "TL": { + "title": "Timor-Leste", + "region": "Asia", + "regioncode": "142" + }, + "TG": { + "title": "Togo", + "region": "Africa", + "regioncode": "002" + }, + "TK": { + "title": "Tokelau", + "region": "Oceania", + "regioncode": "009" + }, + "TO": { + "title": "Tonga", + "region": "Oceania", + "regioncode": "009" + }, + "TT": { + "title": "Trinidad and Tobago", + "region": "Americas", + "regioncode": "019" + }, + "TN": { + "title": "Tunisia", + "region": "Africa", + "regioncode": "002" + }, + "TR": { + "title": "T\u00fcrkiye", + "region": "Asia", + "regioncode": "142" + }, + "TM": { + "title": "Turkmenistan", + "region": "Asia", + "regioncode": "142" + }, + "TC": { + "title": "Turks and Caicos Islands", + "region": "Americas", + "regioncode": "019" + }, + "TV": { + "title": "Tuvalu", + "region": "Oceania", + "regioncode": "009" + }, + "UG": { + "title": "Uganda", + "region": "Africa", + "regioncode": "002" + }, + "UA": { + "title": "Ukraine", + "region": "Europe", + "regioncode": "150" + }, + "AE": { + "title": "United Arab Emirates", + "region": "Asia", + "regioncode": "142" + }, + "GB": { + "title": "United Kingdom of Great Britain and Northern Ireland", + "region": "Europe", + "regioncode": "150" + }, + "US": { + "title": "United States of America", + "region": "Americas", + "regioncode": "019" + }, + "UM": { + "title": "United States Minor Outlying Islands", + "region": "Oceania", + "regioncode": "009" + }, + "UY": { + "title": "Uruguay", + "region": "Americas", + "regioncode": "019" + }, + "UZ": { + "title": "Uzbekistan", + "region": "Asia", + "regioncode": "142" + }, + "VU": { + "title": "Vanuatu", + "region": "Oceania", + "regioncode": "009" + }, + "VE": { + "title": "Venezuela, Bolivarian Republic of", + "region": "Americas", + "regioncode": "019" + }, + "VN": { + "title": "Viet Nam", + "region": "Asia", + "regioncode": "142" + }, + "VG": { + "title": "Virgin Islands (British)", + "region": "Americas", + "regioncode": "019" + }, + "VI": { + "title": "Virgin Islands (U.S.)", + "region": "Americas", + "regioncode": "019" + }, + "WF": { + "title": "Wallis and Futuna", + "region": "Oceania", + "regioncode": "009" + }, + "EH": { + "title": "Western Sahara", + "region": "Africa", + "regioncode": "002" + }, + "YE": { + "title": "Yemen", + "region": "Asia", + "regioncode": "142" + }, + "ZM": { + "title": "Zambia", + "region": "Africa", + "regioncode": "002" + }, + "ZW": { + "title": "Zimbabwe", + "region": "Africa", + "regioncode": "002" + } + } +} \ No newline at end of file diff --git a/objects/options/country_fr.json b/objects/options/country_fr.json new file mode 100644 index 0000000..46aa135 --- /dev/null +++ b/objects/options/country_fr.json @@ -0,0 +1,1504 @@ +{ + "title": "Country Code", + "description": "Country Code and Info", + "commment": "Alpha-2 country code (ISO 3166-2:XX)", + "lastupdatedata": "", + "lst_idx": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BQ", + "BA", + "BW", + "BV", + "BR", + "IO", + "BN", + "BG", + "BF", + "BI", + "CV", + "KH", + "CM", + "CA", + "KY", + "CF", + "TD", + "CL", + "CN", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CW", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "SZ", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HK", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MO", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MK", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SX", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VG", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW" + ], + "itms": { + "AF": { + "title": "Afghanistan", + "region": "Asia", + "regioncode": "142" + }, + "AX": { + "title": "\u00c5land Islands", + "region": "Europe", + "regioncode": "150" + }, + "AL": { + "title": "Albania", + "region": "Europe", + "regioncode": "150" + }, + "DZ": { + "title": "Algeria", + "region": "Africa", + "regioncode": "002" + }, + "AS": { + "title": "American Samoa", + "region": "Oceania", + "regioncode": "009" + }, + "AD": { + "title": "Andorra", + "region": "Europe", + "regioncode": "150" + }, + "AO": { + "title": "Angola", + "region": "Africa", + "regioncode": "002" + }, + "AI": { + "title": "Anguilla", + "region": "Americas", + "regioncode": "019" + }, + "AQ": { + "title": "Antarctica", + "region": "", + "regioncode": "" + }, + "AG": { + "title": "Antigua and Barbuda", + "region": "Americas", + "regioncode": "019" + }, + "AR": { + "title": "Argentina", + "region": "Americas", + "regioncode": "019" + }, + "AM": { + "title": "Armenia", + "region": "Asia", + "regioncode": "142" + }, + "AW": { + "title": "Aruba", + "region": "Americas", + "regioncode": "019" + }, + "AU": { + "title": "Australia", + "region": "Oceania", + "regioncode": "009" + }, + "AT": { + "title": "Austria", + "region": "Europe", + "regioncode": "150" + }, + "AZ": { + "title": "Azerbaijan", + "region": "Asia", + "regioncode": "142" + }, + "BS": { + "title": "Bahamas", + "region": "Americas", + "regioncode": "019" + }, + "BH": { + "title": "Bahrain", + "region": "Asia", + "regioncode": "142" + }, + "BD": { + "title": "Bangladesh", + "region": "Asia", + "regioncode": "142" + }, + "BB": { + "title": "Barbados", + "region": "Americas", + "regioncode": "019" + }, + "BY": { + "title": "Belarus", + "region": "Europe", + "regioncode": "150" + }, + "BE": { + "title": "Belgium", + "region": "Europe", + "regioncode": "150" + }, + "BZ": { + "title": "Belize", + "region": "Americas", + "regioncode": "019" + }, + "BJ": { + "title": "Benin", + "region": "Africa", + "regioncode": "002" + }, + "BM": { + "title": "Bermuda", + "region": "Americas", + "regioncode": "019" + }, + "BT": { + "title": "Bhutan", + "region": "Asia", + "regioncode": "142" + }, + "BO": { + "title": "Bolivia, Plurinational State of", + "region": "Americas", + "regioncode": "019" + }, + "BQ": { + "title": "Bonaire, Sint Eustatius and Saba", + "region": "Americas", + "regioncode": "019" + }, + "BA": { + "title": "Bosnia and Herzegovina", + "region": "Europe", + "regioncode": "150" + }, + "BW": { + "title": "Botswana", + "region": "Africa", + "regioncode": "002" + }, + "BV": { + "title": "Bouvet Island", + "region": "Americas", + "regioncode": "019" + }, + "BR": { + "title": "Brazil", + "region": "Americas", + "regioncode": "019" + }, + "IO": { + "title": "British Indian Ocean Territory", + "region": "Africa", + "regioncode": "002" + }, + "BN": { + "title": "Brunei Darussalam", + "region": "Asia", + "regioncode": "142" + }, + "BG": { + "title": "Bulgaria", + "region": "Europe", + "regioncode": "150" + }, + "BF": { + "title": "Burkina Faso", + "region": "Africa", + "regioncode": "002" + }, + "BI": { + "title": "Burundi", + "region": "Africa", + "regioncode": "002" + }, + "CV": { + "title": "Cabo Verde", + "region": "Africa", + "regioncode": "002" + }, + "KH": { + "title": "Cambodia", + "region": "Asia", + "regioncode": "142" + }, + "CM": { + "title": "Cameroon", + "region": "Africa", + "regioncode": "002" + }, + "CA": { + "title": "Canada", + "region": "Americas", + "regioncode": "019" + }, + "KY": { + "title": "Cayman Islands", + "region": "Americas", + "regioncode": "019" + }, + "CF": { + "title": "Central African Republic", + "region": "Africa", + "regioncode": "002" + }, + "TD": { + "title": "Chad", + "region": "Africa", + "regioncode": "002" + }, + "CL": { + "title": "Chile", + "region": "Americas", + "regioncode": "019" + }, + "CN": { + "title": "China", + "region": "Asia", + "regioncode": "142" + }, + "CX": { + "title": "Christmas Island", + "region": "Oceania", + "regioncode": "009" + }, + "CC": { + "title": "Cocos (Keeling) Islands", + "region": "Oceania", + "regioncode": "009" + }, + "CO": { + "title": "Colombia", + "region": "Americas", + "regioncode": "019" + }, + "KM": { + "title": "Comoros", + "region": "Africa", + "regioncode": "002" + }, + "CG": { + "title": "Congo", + "region": "Africa", + "regioncode": "002" + }, + "CD": { + "title": "Congo, Democratic Republic of the", + "region": "Africa", + "regioncode": "002" + }, + "CK": { + "title": "Cook Islands", + "region": "Oceania", + "regioncode": "009" + }, + "CR": { + "title": "Costa Rica", + "region": "Americas", + "regioncode": "019" + }, + "CI": { + "title": "C\u00f4te d'Ivoire", + "region": "Africa", + "regioncode": "002" + }, + "HR": { + "title": "Croatia", + "region": "Europe", + "regioncode": "150" + }, + "CU": { + "title": "Cuba", + "region": "Americas", + "regioncode": "019" + }, + "CW": { + "title": "Cura\u00e7ao", + "region": "Americas", + "regioncode": "019" + }, + "CY": { + "title": "Cyprus", + "region": "Asia", + "regioncode": "142" + }, + "CZ": { + "title": "Czechia", + "region": "Europe", + "regioncode": "150" + }, + "DK": { + "title": "Denmark", + "region": "Europe", + "regioncode": "150" + }, + "DJ": { + "title": "Djibouti", + "region": "Africa", + "regioncode": "002" + }, + "DM": { + "title": "Dominica", + "region": "Americas", + "regioncode": "019" + }, + "DO": { + "title": "Dominican Republic", + "region": "Americas", + "regioncode": "019" + }, + "EC": { + "title": "Ecuador", + "region": "Americas", + "regioncode": "019" + }, + "EG": { + "title": "Egypt", + "region": "Africa", + "regioncode": "002" + }, + "SV": { + "title": "El Salvador", + "region": "Americas", + "regioncode": "019" + }, + "GQ": { + "title": "Equatorial Guinea", + "region": "Africa", + "regioncode": "002" + }, + "ER": { + "title": "Eritrea", + "region": "Africa", + "regioncode": "002" + }, + "EE": { + "title": "Estonia", + "region": "Europe", + "regioncode": "150" + }, + "SZ": { + "title": "Eswatini", + "region": "Africa", + "regioncode": "002" + }, + "ET": { + "title": "Ethiopia", + "region": "Africa", + "regioncode": "002" + }, + "FK": { + "title": "Falkland Islands (Malvinas)", + "region": "Americas", + "regioncode": "019" + }, + "FO": { + "title": "Faroe Islands", + "region": "Europe", + "regioncode": "150" + }, + "FJ": { + "title": "Fiji", + "region": "Oceania", + "regioncode": "009" + }, + "FI": { + "title": "Finland", + "region": "Europe", + "regioncode": "150" + }, + "FR": { + "title": "France", + "region": "Europe", + "regioncode": "150" + }, + "GF": { + "title": "French Guiana", + "region": "Americas", + "regioncode": "019" + }, + "PF": { + "title": "French Polynesia", + "region": "Oceania", + "regioncode": "009" + }, + "TF": { + "title": "French Southern Territories", + "region": "Africa", + "regioncode": "002" + }, + "GA": { + "title": "Gabon", + "region": "Africa", + "regioncode": "002" + }, + "GM": { + "title": "Gambia", + "region": "Africa", + "regioncode": "002" + }, + "GE": { + "title": "Georgia", + "region": "Asia", + "regioncode": "142" + }, + "DE": { + "title": "Germany", + "region": "Europe", + "regioncode": "150" + }, + "GH": { + "title": "Ghana", + "region": "Africa", + "regioncode": "002" + }, + "GI": { + "title": "Gibraltar", + "region": "Europe", + "regioncode": "150" + }, + "GR": { + "title": "Greece", + "region": "Europe", + "regioncode": "150" + }, + "GL": { + "title": "Greenland", + "region": "Americas", + "regioncode": "019" + }, + "GD": { + "title": "Grenada", + "region": "Americas", + "regioncode": "019" + }, + "GP": { + "title": "Guadeloupe", + "region": "Americas", + "regioncode": "019" + }, + "GU": { + "title": "Guam", + "region": "Oceania", + "regioncode": "009" + }, + "GT": { + "title": "Guatemala", + "region": "Americas", + "regioncode": "019" + }, + "GG": { + "title": "Guernsey", + "region": "Europe", + "regioncode": "150" + }, + "GN": { + "title": "Guinea", + "region": "Africa", + "regioncode": "002" + }, + "GW": { + "title": "Guinea-Bissau", + "region": "Africa", + "regioncode": "002" + }, + "GY": { + "title": "Guyana", + "region": "Americas", + "regioncode": "019" + }, + "HT": { + "title": "Haiti", + "region": "Americas", + "regioncode": "019" + }, + "HM": { + "title": "Heard Island and McDonald Islands", + "region": "Oceania", + "regioncode": "009" + }, + "VA": { + "title": "Holy See", + "region": "Europe", + "regioncode": "150" + }, + "HN": { + "title": "Honduras", + "region": "Americas", + "regioncode": "019" + }, + "HK": { + "title": "Hong Kong", + "region": "Asia", + "regioncode": "142" + }, + "HU": { + "title": "Hungary", + "region": "Europe", + "regioncode": "150" + }, + "IS": { + "title": "Iceland", + "region": "Europe", + "regioncode": "150" + }, + "IN": { + "title": "India", + "region": "Asia", + "regioncode": "142" + }, + "ID": { + "title": "Indonesia", + "region": "Asia", + "regioncode": "142" + }, + "IR": { + "title": "Iran, Islamic Republic of", + "region": "Asia", + "regioncode": "142" + }, + "IQ": { + "title": "Iraq", + "region": "Asia", + "regioncode": "142" + }, + "IE": { + "title": "Ireland", + "region": "Europe", + "regioncode": "150" + }, + "IM": { + "title": "Isle of Man", + "region": "Europe", + "regioncode": "150" + }, + "IL": { + "title": "Israel", + "region": "Asia", + "regioncode": "142" + }, + "IT": { + "title": "Italy", + "region": "Europe", + "regioncode": "150" + }, + "JM": { + "title": "Jamaica", + "region": "Americas", + "regioncode": "019" + }, + "JP": { + "title": "Japan", + "region": "Asia", + "regioncode": "142" + }, + "JE": { + "title": "Jersey", + "region": "Europe", + "regioncode": "150" + }, + "JO": { + "title": "Jordan", + "region": "Asia", + "regioncode": "142" + }, + "KZ": { + "title": "Kazakhstan", + "region": "Asia", + "regioncode": "142" + }, + "KE": { + "title": "Kenya", + "region": "Africa", + "regioncode": "002" + }, + "KI": { + "title": "Kiribati", + "region": "Oceania", + "regioncode": "009" + }, + "KP": { + "title": "Korea, Democratic People's Republic of", + "region": "Asia", + "regioncode": "142" + }, + "KR": { + "title": "Korea, Republic of", + "region": "Asia", + "regioncode": "142" + }, + "KW": { + "title": "Kuwait", + "region": "Asia", + "regioncode": "142" + }, + "KG": { + "title": "Kyrgyzstan", + "region": "Asia", + "regioncode": "142" + }, + "LA": { + "title": "Lao People's Democratic Republic", + "region": "Asia", + "regioncode": "142" + }, + "LV": { + "title": "Latvia", + "region": "Europe", + "regioncode": "150" + }, + "LB": { + "title": "Lebanon", + "region": "Asia", + "regioncode": "142" + }, + "LS": { + "title": "Lesotho", + "region": "Africa", + "regioncode": "002" + }, + "LR": { + "title": "Liberia", + "region": "Africa", + "regioncode": "002" + }, + "LY": { + "title": "Libya", + "region": "Africa", + "regioncode": "002" + }, + "LI": { + "title": "Liechtenstein", + "region": "Europe", + "regioncode": "150" + }, + "LT": { + "title": "Lithuania", + "region": "Europe", + "regioncode": "150" + }, + "LU": { + "title": "Luxembourg", + "region": "Europe", + "regioncode": "150" + }, + "MO": { + "title": "Macao", + "region": "Asia", + "regioncode": "142" + }, + "MG": { + "title": "Madagascar", + "region": "Africa", + "regioncode": "002" + }, + "MW": { + "title": "Malawi", + "region": "Africa", + "regioncode": "002" + }, + "MY": { + "title": "Malaysia", + "region": "Asia", + "regioncode": "142" + }, + "MV": { + "title": "Maldives", + "region": "Asia", + "regioncode": "142" + }, + "ML": { + "title": "Mali", + "region": "Africa", + "regioncode": "002" + }, + "MT": { + "title": "Malta", + "region": "Europe", + "regioncode": "150" + }, + "MH": { + "title": "Marshall Islands", + "region": "Oceania", + "regioncode": "009" + }, + "MQ": { + "title": "Martinique", + "region": "Americas", + "regioncode": "019" + }, + "MR": { + "title": "Mauritania", + "region": "Africa", + "regioncode": "002" + }, + "MU": { + "title": "Mauritius", + "region": "Africa", + "regioncode": "002" + }, + "YT": { + "title": "Mayotte", + "region": "Africa", + "regioncode": "002" + }, + "MX": { + "title": "Mexico", + "region": "Americas", + "regioncode": "019" + }, + "FM": { + "title": "Micronesia, Federated States of", + "region": "Oceania", + "regioncode": "009" + }, + "MD": { + "title": "Moldova, Republic of", + "region": "Europe", + "regioncode": "150" + }, + "MC": { + "title": "Monaco", + "region": "Europe", + "regioncode": "150" + }, + "MN": { + "title": "Mongolia", + "region": "Asia", + "regioncode": "142" + }, + "ME": { + "title": "Montenegro", + "region": "Europe", + "regioncode": "150" + }, + "MS": { + "title": "Montserrat", + "region": "Americas", + "regioncode": "019" + }, + "MA": { + "title": "Morocco", + "region": "Africa", + "regioncode": "002" + }, + "MZ": { + "title": "Mozambique", + "region": "Africa", + "regioncode": "002" + }, + "MM": { + "title": "Myanmar", + "region": "Asia", + "regioncode": "142" + }, + "NA": { + "title": "Namibia", + "region": "Africa", + "regioncode": "002" + }, + "NR": { + "title": "Nauru", + "region": "Oceania", + "regioncode": "009" + }, + "NP": { + "title": "Nepal", + "region": "Asia", + "regioncode": "142" + }, + "NL": { + "title": "Netherlands, Kingdom of the", + "region": "Europe", + "regioncode": "150" + }, + "NC": { + "title": "New Caledonia", + "region": "Oceania", + "regioncode": "009" + }, + "NZ": { + "title": "New Zealand", + "region": "Oceania", + "regioncode": "009" + }, + "NI": { + "title": "Nicaragua", + "region": "Americas", + "regioncode": "019" + }, + "NE": { + "title": "Niger", + "region": "Africa", + "regioncode": "002" + }, + "NG": { + "title": "Nigeria", + "region": "Africa", + "regioncode": "002" + }, + "NU": { + "title": "Niue", + "region": "Oceania", + "regioncode": "009" + }, + "NF": { + "title": "Norfolk Island", + "region": "Oceania", + "regioncode": "009" + }, + "MK": { + "title": "North Macedonia", + "region": "Europe", + "regioncode": "150" + }, + "MP": { + "title": "Northern Mariana Islands", + "region": "Oceania", + "regioncode": "009" + }, + "NO": { + "title": "Norway", + "region": "Europe", + "regioncode": "150" + }, + "OM": { + "title": "Oman", + "region": "Asia", + "regioncode": "142" + }, + "PK": { + "title": "Pakistan", + "region": "Asia", + "regioncode": "142" + }, + "PW": { + "title": "Palau", + "region": "Oceania", + "regioncode": "009" + }, + "PS": { + "title": "Palestine, State of", + "region": "Asia", + "regioncode": "142" + }, + "PA": { + "title": "Panama", + "region": "Americas", + "regioncode": "019" + }, + "PG": { + "title": "Papua New Guinea", + "region": "Oceania", + "regioncode": "009" + }, + "PY": { + "title": "Paraguay", + "region": "Americas", + "regioncode": "019" + }, + "PE": { + "title": "Peru", + "region": "Americas", + "regioncode": "019" + }, + "PH": { + "title": "Philippines", + "region": "Asia", + "regioncode": "142" + }, + "PN": { + "title": "Pitcairn", + "region": "Oceania", + "regioncode": "009" + }, + "PL": { + "title": "Poland", + "region": "Europe", + "regioncode": "150" + }, + "PT": { + "title": "Portugal", + "region": "Europe", + "regioncode": "150" + }, + "PR": { + "title": "Puerto Rico", + "region": "Americas", + "regioncode": "019" + }, + "QA": { + "title": "Qatar", + "region": "Asia", + "regioncode": "142" + }, + "RE": { + "title": "R\u00e9union", + "region": "Africa", + "regioncode": "002" + }, + "RO": { + "title": "Romania", + "region": "Europe", + "regioncode": "150" + }, + "RU": { + "title": "Russian Federation", + "region": "Europe", + "regioncode": "150" + }, + "RW": { + "title": "Rwanda", + "region": "Africa", + "regioncode": "002" + }, + "BL": { + "title": "Saint Barth\u00e9lemy", + "region": "Americas", + "regioncode": "019" + }, + "SH": { + "title": "Saint Helena, Ascension and Tristan da Cunha", + "region": "Africa", + "regioncode": "002" + }, + "KN": { + "title": "Saint Kitts and Nevis", + "region": "Americas", + "regioncode": "019" + }, + "LC": { + "title": "Saint Lucia", + "region": "Americas", + "regioncode": "019" + }, + "MF": { + "title": "Saint Martin (French part)", + "region": "Americas", + "regioncode": "019" + }, + "PM": { + "title": "Saint Pierre and Miquelon", + "region": "Americas", + "regioncode": "019" + }, + "VC": { + "title": "Saint Vincent and the Grenadines", + "region": "Americas", + "regioncode": "019" + }, + "WS": { + "title": "Samoa", + "region": "Oceania", + "regioncode": "009" + }, + "SM": { + "title": "San Marino", + "region": "Europe", + "regioncode": "150" + }, + "ST": { + "title": "Sao Tome and Principe", + "region": "Africa", + "regioncode": "002" + }, + "SA": { + "title": "Saudi Arabia", + "region": "Asia", + "regioncode": "142" + }, + "SN": { + "title": "Senegal", + "region": "Africa", + "regioncode": "002" + }, + "RS": { + "title": "Serbia", + "region": "Europe", + "regioncode": "150" + }, + "SC": { + "title": "Seychelles", + "region": "Africa", + "regioncode": "002" + }, + "SL": { + "title": "Sierra Leone", + "region": "Africa", + "regioncode": "002" + }, + "SG": { + "title": "Singapore", + "region": "Asia", + "regioncode": "142" + }, + "SX": { + "title": "Sint Maarten (Dutch part)", + "region": "Americas", + "regioncode": "019" + }, + "SK": { + "title": "Slovakia", + "region": "Europe", + "regioncode": "150" + }, + "SI": { + "title": "Slovenia", + "region": "Europe", + "regioncode": "150" + }, + "SB": { + "title": "Solomon Islands", + "region": "Oceania", + "regioncode": "009" + }, + "SO": { + "title": "Somalia", + "region": "Africa", + "regioncode": "002" + }, + "ZA": { + "title": "South Africa", + "region": "Africa", + "regioncode": "002" + }, + "GS": { + "title": "South Georgia and the South Sandwich Islands", + "region": "Americas", + "regioncode": "019" + }, + "SS": { + "title": "South Sudan", + "region": "Africa", + "regioncode": "002" + }, + "ES": { + "title": "Spain", + "region": "Europe", + "regioncode": "150" + }, + "LK": { + "title": "Sri Lanka", + "region": "Asia", + "regioncode": "142" + }, + "SD": { + "title": "Sudan", + "region": "Africa", + "regioncode": "002" + }, + "SR": { + "title": "Suriname", + "region": "Americas", + "regioncode": "019" + }, + "SJ": { + "title": "Svalbard and Jan Mayen", + "region": "Europe", + "regioncode": "150" + }, + "SE": { + "title": "Sweden", + "region": "Europe", + "regioncode": "150" + }, + "CH": { + "title": "Switzerland", + "region": "Europe", + "regioncode": "150" + }, + "SY": { + "title": "Syrian Arab Republic", + "region": "Asia", + "regioncode": "142" + }, + "TW": { + "title": "Taiwan, Province of China", + "region": "Asia", + "regioncode": "" + }, + "TJ": { + "title": "Tajikistan", + "region": "Asia", + "regioncode": "142" + }, + "TZ": { + "title": "Tanzania, United Republic of", + "region": "Africa", + "regioncode": "002" + }, + "TH": { + "title": "Thailand", + "region": "Asia", + "regioncode": "142" + }, + "TL": { + "title": "Timor-Leste", + "region": "Asia", + "regioncode": "142" + }, + "TG": { + "title": "Togo", + "region": "Africa", + "regioncode": "002" + }, + "TK": { + "title": "Tokelau", + "region": "Oceania", + "regioncode": "009" + }, + "TO": { + "title": "Tonga", + "region": "Oceania", + "regioncode": "009" + }, + "TT": { + "title": "Trinidad and Tobago", + "region": "Americas", + "regioncode": "019" + }, + "TN": { + "title": "Tunisia", + "region": "Africa", + "regioncode": "002" + }, + "TR": { + "title": "T\u00fcrkiye", + "region": "Asia", + "regioncode": "142" + }, + "TM": { + "title": "Turkmenistan", + "region": "Asia", + "regioncode": "142" + }, + "TC": { + "title": "Turks and Caicos Islands", + "region": "Americas", + "regioncode": "019" + }, + "TV": { + "title": "Tuvalu", + "region": "Oceania", + "regioncode": "009" + }, + "UG": { + "title": "Uganda", + "region": "Africa", + "regioncode": "002" + }, + "UA": { + "title": "Ukraine", + "region": "Europe", + "regioncode": "150" + }, + "AE": { + "title": "United Arab Emirates", + "region": "Asia", + "regioncode": "142" + }, + "GB": { + "title": "United Kingdom of Great Britain and Northern Ireland", + "region": "Europe", + "regioncode": "150" + }, + "US": { + "title": "United States of America", + "region": "Americas", + "regioncode": "019" + }, + "UM": { + "title": "United States Minor Outlying Islands", + "region": "Oceania", + "regioncode": "009" + }, + "UY": { + "title": "Uruguay", + "region": "Americas", + "regioncode": "019" + }, + "UZ": { + "title": "Uzbekistan", + "region": "Asia", + "regioncode": "142" + }, + "VU": { + "title": "Vanuatu", + "region": "Oceania", + "regioncode": "009" + }, + "VE": { + "title": "Venezuela, Bolivarian Republic of", + "region": "Americas", + "regioncode": "019" + }, + "VN": { + "title": "Viet Nam", + "region": "Asia", + "regioncode": "142" + }, + "VG": { + "title": "Virgin Islands (British)", + "region": "Americas", + "regioncode": "019" + }, + "VI": { + "title": "Virgin Islands (U.S.)", + "region": "Americas", + "regioncode": "019" + }, + "WF": { + "title": "Wallis and Futuna", + "region": "Oceania", + "regioncode": "009" + }, + "EH": { + "title": "Western Sahara", + "region": "Africa", + "regioncode": "002" + }, + "YE": { + "title": "Yemen", + "region": "Asia", + "regioncode": "142" + }, + "ZM": { + "title": "Zambia", + "region": "Africa", + "regioncode": "002" + }, + "ZW": { + "title": "Zimbabwe", + "region": "Africa", + "regioncode": "002" + } + } +} \ No newline at end of file diff --git a/objects/options/profil_en.json b/objects/options/profil_en.json new file mode 100644 index 0000000..8796d05 --- /dev/null +++ b/objects/options/profil_en.json @@ -0,0 +1,35 @@ +{ + "title": "Profil", + "description": "Profil available in adminapi", + "commment": "", + "lastupdatedata": "", + "lst_idx": [ + "anonymous", + "pagan", + "mayor", + "druid", + "person" + ], + "itms": { + "anonymous": { + "title": "Unidentified user", + "description": "Unknown to the apxtri network" + }, + "pagan": { + "title": "User with an apxtri identity", + "description": "This profile can digitally sign on the apxtri blockchain" + }, + "mayor": { + "title": "Administrator of a city", + "description": "He manages the rules specific to a tribe grouping, he finances this city and can define its billing terms for welcoming tribes" + }, + "druid": { + "title": "Administrator of a tribe", + "description": "He has a private space in a city, to apply and enforce the rules of the tribe." + }, + "person": { + "title": "A member of a tribe", + "description": "A person has an account in a tribe with their alias, it allows them to exchange within a tribe according to the rules set by the druid." + } + } +} diff --git a/objects/options/profil_fr.json b/objects/options/profil_fr.json new file mode 100644 index 0000000..2e77289 --- /dev/null +++ b/objects/options/profil_fr.json @@ -0,0 +1,34 @@ +{ + "title": "Profil", + "description": "Profil disponible dans adminapi", + "commment": "", + "lastupdatedata": "", + "lst_idx": [ + "anonymous", + "pagan", + "mayor", + "druid", + "person" + ], + "itms": { + "anonymous": { + "title": "Utilisateur non identifié", + "description": "Inconnu du réseau apxtri" + }, + "pagan": { + "title": "Utilisateur avec une identité apxtri", + "description": "Ce profil peux signer numériquement sur la blockchain apxtri" + }, + "mayor": { + "title": "Administrateur d'une ville", + "description": "Il gére les régles propres à un regroupement de tribu, il finance cette ville et peut definir ses modalités de facturation pour accueillir des tribus" + }, + "druid": { + "title": "Administrateur d'une tribu", + "description": "Il dispose d'un espace privée dans une ville , pour y appliquer et faire respecter les régles de la tribu." + }, + "person": { + "title": "Un membre d'une tribu", + "description": "Une personne dispose d'un compte dans une tribu avec son alias, il permet d'echanger au sein d'une tribu en fonction des régles mises en place par le druid." + } } +} diff --git a/objects/tplstrings/Checkjson_en.json b/objects/tplstrings/Checkjson_en.json new file mode 100644 index 0000000..b55d69f --- /dev/null +++ b/objects/tplstrings/Checkjson_en.json @@ -0,0 +1,6 @@ +{ + "validcheck":"Your data are valid", + "typedoesnnotexistinschema":"This type in your propertie is not manage by Checkjson.js", + "dataerrpropertie":"Check your data that not fit your schema rules propertie", + "dataerrpropertiesrequired":"This propertie is required and not present in your data" +} \ No newline at end of file diff --git a/objects/tplstrings/Checkjson_fr.json b/objects/tplstrings/Checkjson_fr.json new file mode 100644 index 0000000..a76cb1c --- /dev/null +++ b/objects/tplstrings/Checkjson_fr.json @@ -0,0 +1,7 @@ +{ + "validcheck":"Your data are valid", + "typedoesnnotexistinschema":"This type in your propertie is not manage by Checkjson.js", + "dataerrpropertie":"Check your data that not fit your schema rules propertie", + "dataerrpropertiesrequired":"This propertie is required and not present in your data", + "externalrefnotload":"You have in your schema a relative sub schema, you have to load it before" +} \ No newline at end of file diff --git a/objects/tplstrings/Nations_fr.json b/objects/tplstrings/Nations_fr.json new file mode 100644 index 0000000..8b2739b --- /dev/null +++ b/objects/tplstrings/Nations_fr.json @@ -0,0 +1,7 @@ +{ + "nationnamedesc":"Nom unique d'une nation dans un monde social", + "nationnamedesclong":"Nom unique identifiant une nation dans le monde social créer par un maire d'une nouvelle ville avec un contrat sociale specifique", + "nationnameinfo":"
Une nation posséde un nom unique, un contrat sociale (contracts/name.js) signé et validé par tous les maires des villes associées à cette nation
", + "statusdesc":"Statut de la nation", + "statusactive":"Nation active" +} \ No newline at end of file diff --git a/objects/tplstrings/Notifications_en.json b/objects/tplstrings/Notifications_en.json new file mode 100644 index 0000000..558789c --- /dev/null +++ b/objects/tplstrings/Notifications_en.json @@ -0,0 +1,13 @@ +{ + "missingconf":"Il manque un smtp/sms valide pour {{tribe}} ou sur le serveur /conf.json", + "missingdata":"Il manque des données obligatoire dans data {{#missingk}} {{.}} {{/missingk}}", + "missingfile":"Le ou les fichiers suivants n'existent pas {{#missingfile}} {{.}} {{/missingfile}}", + "errsendmail":"Une erreur s'est produite lors de l'envoie de l'email", + "successfullsentemail":"Email correctement envoyé", + "errsendsms":"Une erreur s'est produite lors de l'envoie du sms", + "successfullsentsms":"Sms bien envoyé à {{To}}", + "registersuccess":"Vous avez bien été enregistré pour être recontacté.", + "formaterror":"Verifier vos données", + "typekeyunknown":"Verifier typekey qui doit etre email ou telephone et qui est {{typeky}}", + "destinnotallow":"Check {{destin}} that not exist" +} \ No newline at end of file diff --git a/objects/tplstrings/Notifications_fr.json b/objects/tplstrings/Notifications_fr.json new file mode 100644 index 0000000..558789c --- /dev/null +++ b/objects/tplstrings/Notifications_fr.json @@ -0,0 +1,13 @@ +{ + "missingconf":"Il manque un smtp/sms valide pour {{tribe}} ou sur le serveur /conf.json", + "missingdata":"Il manque des données obligatoire dans data {{#missingk}} {{.}} {{/missingk}}", + "missingfile":"Le ou les fichiers suivants n'existent pas {{#missingfile}} {{.}} {{/missingfile}}", + "errsendmail":"Une erreur s'est produite lors de l'envoie de l'email", + "successfullsentemail":"Email correctement envoyé", + "errsendsms":"Une erreur s'est produite lors de l'envoie du sms", + "successfullsentsms":"Sms bien envoyé à {{To}}", + "registersuccess":"Vous avez bien été enregistré pour être recontacté.", + "formaterror":"Verifier vos données", + "typekeyunknown":"Verifier typekey qui doit etre email ou telephone et qui est {{typeky}}", + "destinnotallow":"Check {{destin}} that not exist" +} \ No newline at end of file diff --git a/objects/tplstrings/Odmdb_en.json b/objects/tplstrings/Odmdb_en.json new file mode 100644 index 0000000..b975a39 --- /dev/null +++ b/objects/tplstrings/Odmdb_en.json @@ -0,0 +1,21 @@ +{ + "alreadyexist": "An {{objectname}} object with the {{key}} key already exists with {{val}}", + "doesnotexist": "The {{objectname}} object does not exist with {{key}}:{{val}}", + "getschema": "Schema {{{conf.name}}}", + "schemanotfound": "Schema not found in {{{schemaPath}}}", + "pathnamedoesnotexist": "The directory does not exist {{{indexpath}}}", + "objectfiledoesnotexist": "The file does not exist {{{objectpath}}}", + "cudsuccessfull": "Update successful", + "successfulcreatewithoutemail":"Create without sending an email", + "successfulcreatewitemail":"Create you will receive an email", + "missingprimarykey": "Missing a primary key apxid to store and identify objects", + "missinglocalref":"You use a local definition with {{missingref}} but no $defs in your schema with this definition", + "unconsistencyapxidx": "The index {{name}} must contain at least {{apxid}} in objkey because keyval is not unique", + "profilnotallow": "As {{person}} your profiles are not allow, this action is not authorized", + "profilallow": "You are allowed for this action", + "successreindex": "Object reindexed from items, your indexes are up to date", + "indexexist":"The index exists", + "typenotavailable":"The type: {{type}} for the propertie: {{propertie}} of the object:{{objectPathname}} is not taken into account for indexing", + "objectslist":"List of objects from apxtri and {{tribe}}", + "errordelete":"Sorry, unable to delete this account" + } \ No newline at end of file diff --git a/objects/tplstrings/Odmdb_fr.json b/objects/tplstrings/Odmdb_fr.json new file mode 100644 index 0000000..9cff8ce --- /dev/null +++ b/objects/tplstrings/Odmdb_fr.json @@ -0,0 +1,20 @@ +{ + "alreadyexist": "Un object {{objectname}} avec la clé {{key}} existe déjà avec {{val}}", + "doesnotexist": "L'object {{objectname}} n'existe pas avec {{key}}:{{val}}", + "getschema": "Schema {{{conf.name}}}", + "schemanotfound": "Schema introuvable dans {{{schemaPath}}}", + "pathnamedoesnotexist": "Le repertoire n'existe pas {{{indexpath}}}", + "objectfiledoesnotexist": "Le fichier n'existe pas {{{objectpath}}}", + "cudsuccessfull": "Mise à jour effectuée avec succés", + "successfulcreatewithoutemail":"Créer sans envoi d'email", + "successfulcreatewitemail":"Créer vous allez recevoir un email", + "missingprimarykey": "Il manque une clé primaire apxid pour stocker et identifier les objects", + "unconsistencyapxidx": "L'index {{name}} doit contenir en objkey au moins {{apxid}} car keyval n'est pas unique", + "profilnotallow": "Vous n'avez pas le profil pour faire cette action.", + "profilallow": "Vous avez été authorisé à faire cette action", + "successreindex": "Objet reindexé à partir des items, vos index sont à jour", + "indexexist":"L'indexe existe", + "typenotavailable":"Le type: {{type}} pour la propertie : {{propertie}} de l'object :{{objectPathname}} n'est pas pris en compte pour l'indexation", + "objectslist":"Liste des objects d'apxtri et de {{tribe}}", + "errordelete":"Desolé impossible de supprimer ce compte" +} diff --git a/objects/tplstrings/Pagans_en.json b/objects/tplstrings/Pagans_en.json new file mode 100644 index 0000000..d7567f6 --- /dev/null +++ b/objects/tplstrings/Pagans_en.json @@ -0,0 +1,10 @@ +{ + "aliasexist":"This alias {{alias]} exist", + "aliasdoesnotexist":"This alias {{alias}} does not exist ", + "personexist":"This person {{alias}} exist for {{tribeid}}", + "successfullcreate": "This identity {{alias}} creation was successfull. {{#withemail}} An email was sent to {{email}}, if you do not receive it, please download your keys before living this page.{{/withemail}}", + "successfulluppdate": "Your alias as a Person is now update into {{tribeid}}", + "tribedoesnotexist": "Your tribe {{tribeid}} does not exist in this town", + "recoveryemailnotfound":"No identity found for {{tribe}} with this recovery search ", + "recoveryemailsent": "We send you {{numberemailsent}} email with your keys" +} diff --git a/objects/tplstrings/Pagans_fr.json b/objects/tplstrings/Pagans_fr.json new file mode 100644 index 0000000..5b5d6c7 --- /dev/null +++ b/objects/tplstrings/Pagans_fr.json @@ -0,0 +1,15 @@ +{ "invalidalias":"Alias doit être composé exclusivement de minuscules ou de chiffres et contenir au moins 4 caracteres", + "aliasexist": "Cet alias {{alias}} existe", + "emailerr": "Verifier votre email {{email}}", + "aliasorprivkeytooshort": "Vérifiez votre alias et votre clé privée", + "aliasdoesnotexist": "Cet alias {{alias}} n'existe pas", + "personexist": "Cette personne {{alias}} existe pour {{tribeid}}", + "persondoesnotexist": "Cette personne {{alias}} n'existe pas pour {{tribeid}}", + "successfulcreate":"Votre identité {{alias}} a été créee à partir de vos clés.{{#emailsent}} Un email a été envoyé à {{email}}, si vous ne le recevez pas, veuillez télécharger vos clés avant de quitter cette page.{{/emailsent}} {{#emailerror}}Un problème lors de l'envoi sur {{email}} s'est produit. Veuillez télécharger vos clés avant de quitter cette page.{{/emailerror}}