From 7a8a944e5e882d156c80839fa32ef822c18566a0 Mon Sep 17 00:00:00 2001 From: ladydascalie Date: Sat, 14 Sep 2024 18:14:01 +0000 Subject: [PATCH] apply automatic changes --- cmd/list_one.xml | 7 ------- std.go | 4 ---- std.kt | 3 +-- std.swift | 4 +--- std_currency.js | 4 +--- 5 files changed, 3 insertions(+), 19 deletions(-) diff --git a/cmd/list_one.xml b/cmd/list_one.xml index de745db..d1b87d5 100644 --- a/cmd/list_one.xml +++ b/cmd/list_one.xml @@ -1875,13 +1875,6 @@ 967 2 - - ZIMBABWE - Zimbabwe Dollar - ZWL - 932 - 2 - ZIMBABWE Zimbabwe Gold diff --git a/std.go b/std.go index 3b58ad1..327b9c6 100644 --- a/std.go +++ b/std.go @@ -424,8 +424,6 @@ var ( ZMW = Currency{code: "ZMW", minorUnits: 2, factor: 100, name: "Zambian Kwacha"} // ZWG currency struct ZWG = Currency{code: "ZWG", minorUnits: 2, factor: 100, name: "Zimbabwe Gold"} - // ZWL currency struct - ZWL = Currency{code: "ZWL", minorUnits: 2, factor: 100, name: "Zimbabwe Dollar"} ) var currencies = map[string]Currency{ @@ -608,7 +606,6 @@ var currencies = map[string]Currency{ "ZAR": ZAR, "ZMW": ZMW, "ZWG": ZWG, - "ZWL": ZWL, } // ValidCodes is provided so that you may build your own validation against it @@ -792,5 +789,4 @@ var ValidCodes = []string{ "ZAR", "ZMW", "ZWG", - "ZWL", } diff --git a/std.kt b/std.kt index 12a21ba..8ca0731 100644 --- a/std.kt +++ b/std.kt @@ -179,8 +179,7 @@ data class Currency(val currencyCode: String, val minorUnits: Int, val factor: I "YER" to Currency("YER", 2, 100, "Yemeni Rial"), "ZAR" to Currency("ZAR", 2, 100, "Rand"), "ZMW" to Currency("ZMW", 2, 100, "Zambian Kwacha"), - "ZWG" to Currency("ZWG", 2, 100, "Zimbabwe Gold"), - "ZWL" to Currency("ZWL", 2, 100, "Zimbabwe Dollar") + "ZWG" to Currency("ZWG", 2, 100, "Zimbabwe Gold") ) } } diff --git a/std.swift b/std.swift index b83bc7c..a9ebce4 100644 --- a/std.swift +++ b/std.swift @@ -194,7 +194,6 @@ class Currencies { static let ZAR: Currency = Currency(code: "ZAR", minorUnits: 2, factor: 100, name: "Rand") static let ZMW: Currency = Currency(code: "ZMW", minorUnits: 2, factor: 100, name: "Zambian Kwacha") static let ZWG: Currency = Currency(code: "ZWG", minorUnits: 2, factor: 100, name: "Zimbabwe Gold") - static let ZWL: Currency = Currency(code: "ZWL", minorUnits: 2, factor: 100, name: "Zimbabwe Dollar") static let allCurrencies: [String: Currency] = @@ -377,8 +376,7 @@ class Currencies { "YER": YER, "ZAR": ZAR, "ZMW": ZMW, - "ZWG": ZWG, - "ZWL": ZWL + "ZWG": ZWG ] /// Look up a currency struct containing currency and formatting information diff --git a/std_currency.js b/std_currency.js index 7845489..0ac5916 100644 --- a/std_currency.js +++ b/std_currency.js @@ -356,7 +356,5 @@ var stdCurrency = { // ZMW currency object ZMW: { code: "ZMW", name: "Zambian Kwacha", minorUnits: 2, factor: 100, name: "Zambian Kwacha"}, // ZWG currency object - ZWG: { code: "ZWG", name: "Zimbabwe Gold", minorUnits: 2, factor: 100, name: "Zimbabwe Gold"}, - // ZWL currency object - ZWL: { code: "ZWL", name: "Zimbabwe Dollar", minorUnits: 2, factor: 100, name: "Zimbabwe Dollar"} + ZWG: { code: "ZWG", name: "Zimbabwe Gold", minorUnits: 2, factor: 100, name: "Zimbabwe Gold"} };