diff --git a/plugins/woocommerce/changelog/update-venezuelan-currency b/plugins/woocommerce/changelog/update-venezuelan-currency new file mode 100644 index 00000000000..e04b7c2c650 --- /dev/null +++ b/plugins/woocommerce/changelog/update-venezuelan-currency @@ -0,0 +1,4 @@ +Significance: minor +Type: enhancement + +Update Venezuelan currency: Bolívar (Bs.). diff --git a/plugins/woocommerce/includes/wc-core-functions.php b/plugins/woocommerce/includes/wc-core-functions.php index 23103042fb6..3ab480886db 100644 --- a/plugins/woocommerce/includes/wc-core-functions.php +++ b/plugins/woocommerce/includes/wc-core-functions.php @@ -631,8 +631,8 @@ function get_woocommerce_currencies() { 'USD' => __( 'United States (US) dollar', 'woocommerce' ), 'UYU' => __( 'Uruguayan peso', 'woocommerce' ), 'UZS' => __( 'Uzbekistani som', 'woocommerce' ), - 'VEF' => __( 'Venezuelan bolívar', 'woocommerce' ), - 'VES' => __( 'Bolívar soberano', 'woocommerce' ), + 'VEF' => __( 'Venezuelan bolívar (2008–2018)', 'woocommerce' ), + 'VES' => __( 'Venezuelan bolívar', 'woocommerce' ), 'VND' => __( 'Vietnamese đồng', 'woocommerce' ), 'VUV' => __( 'Vanuatu vatu', 'woocommerce' ), 'WST' => __( 'Samoan tālā', 'woocommerce' ), @@ -817,7 +817,7 @@ function get_woocommerce_currency_symbols() { 'UYU' => '$', 'UZS' => 'UZS', 'VEF' => 'Bs F', - 'VES' => 'Bs.S', + 'VES' => 'Bs.', 'VND' => '₫', 'VUV' => 'Vt', 'WST' => 'T', diff --git a/plugins/woocommerce/tests/api-core-tests/data/settings.js b/plugins/woocommerce/tests/api-core-tests/data/settings.js index f635f7d5e0a..1c438f874a3 100644 --- a/plugins/woocommerce/tests/api-core-tests/data/settings.js +++ b/plugins/woocommerce/tests/api-core-tests/data/settings.js @@ -158,8 +158,8 @@ const currencies = { "USD": "United States (US) dollar ($)", "UYU": "Uruguayan peso ($)", "UZS": "Uzbekistani som (UZS)", - "VEF": "Venezuelan bolívar (Bs F)", - "VES": "Bolívar soberano (Bs.S)", + "VEF": "Venezuelan bolívar (2008–2018) (Bs F)", + "VES": "Venezuelan bolívar (Bs.)", "VND": "Vietnamese đồng (₫)", "VUV": "Vanuatu vatu (Vt)", "WST": "Samoan tālā (T)", diff --git a/plugins/woocommerce/tests/api-core-tests/tests/data/data-crud.test.js b/plugins/woocommerce/tests/api-core-tests/tests/data/data-crud.test.js index b25231e80c4..08edbe83848 100644 --- a/plugins/woocommerce/tests/api-core-tests/tests/data/data-crud.test.js +++ b/plugins/woocommerce/tests/api-core-tests/tests/data/data-crud.test.js @@ -6016,7 +6016,7 @@ test.describe('Data API tests', () => { expect(responseJSON).toEqual(expect.arrayContaining([ expect.objectContaining({ "code": "VEF", - "name": "Venezuelan bolívar", + "name": "Venezuelan bolívar (2008–2018)", "symbol": "Bs F", "_links": { "self": [{ @@ -6031,8 +6031,8 @@ test.describe('Data API tests', () => { expect(responseJSON).toEqual(expect.arrayContaining([ expect.objectContaining({ "code": "VES", - "name": "Bolívar soberano", - "symbol": "Bs.S", + "name": "Venezuelan bolívar", + "symbol": "Bs.", "_links": { "self": [{ "href": expect.stringContaining("data/currencies/VES") diff --git a/plugins/woocommerce/tests/legacy/unit-tests/util/class-wc-tests-core-functions.php b/plugins/woocommerce/tests/legacy/unit-tests/util/class-wc-tests-core-functions.php index 580d15e58f8..ddfea9eed70 100644 --- a/plugins/woocommerce/tests/legacy/unit-tests/util/class-wc-tests-core-functions.php +++ b/plugins/woocommerce/tests/legacy/unit-tests/util/class-wc-tests-core-functions.php @@ -193,8 +193,8 @@ class WC_Tests_Core_Functions extends WC_Unit_Test_Case { 'USD' => 'United States (US) dollar', 'UYU' => 'Uruguayan peso', 'UZS' => 'Uzbekistani som', - 'VEF' => 'Venezuelan bolívar', - 'VES' => 'Bolívar soberano', + 'VEF' => 'Venezuelan bolívar (2008–2018)', + 'VES' => 'Venezuelan bolívar', 'VND' => 'Vietnamese đồng', 'VUV' => 'Vanuatu vatu', 'WST' => 'Samoan tālā',