From b4b818f4e4948edb871000586cd54dcbfd16e9e0 Mon Sep 17 00:00:00 2001 From: Ben Guaraldi Date: Mon, 12 Feb 2024 12:09:38 -0500 Subject: [PATCH] fix: update options to indicate which are XML [DHIS2-12655] --- i18n/en.pot | 12 ++++++------ src/components/Inputs/Format.js | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index 6e7986b8a..26c9be81f 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-02-10T01:26:37.190Z\n" -"PO-Revision-Date: 2024-02-10T01:26:37.191Z\n" +"POT-Creation-Date: 2024-02-12T17:08:02.188Z\n" +"PO-Revision-Date: 2024-02-12T17:08:02.189Z\n" msgid "Something went wrong when loading the current user!" msgstr "Something went wrong when loading the current user!" @@ -214,11 +214,11 @@ msgstr "JSON" msgid "CSV" msgstr "CSV" -msgid "DXF2" -msgstr "DXF2" +msgid "DXF2 (XML)" +msgstr "DXF2 (XML)" -msgid "ADX" -msgstr "ADX" +msgid "ADX (XML)" +msgstr "ADX (XML)" msgid "PDF" msgstr "PDF" diff --git a/src/components/Inputs/Format.js b/src/components/Inputs/Format.js index fb10f21d8..76596f379 100644 --- a/src/components/Inputs/Format.js +++ b/src/components/Inputs/Format.js @@ -7,7 +7,7 @@ import { RadioGroupField } from '../index.js' const formatOptions = [ { value: 'json', label: i18n.t('JSON') }, { value: 'csv', label: i18n.t('CSV') }, - { value: 'xml', label: i18n.t('DXF2') }, + { value: 'xml', label: i18n.t('DXF2 (XML)') }, ] const formatNoCsvOptions = formatOptions.filter((f) => f.value != 'csv') @@ -18,11 +18,11 @@ const formatNoXmlNoCsvOptions = formatOptions.filter( const formatAdxOptions = [ ...formatOptions, - { value: 'adx', label: i18n.t('ADX') }, + { value: 'adx', label: i18n.t('ADX (XML)') }, ] const formatAdxXMLOptions = [ ...formatOptions, - { value: 'adx+xml', label: i18n.t('ADX') }, + { value: 'adx+xml', label: i18n.t('ADX (XML)') }, ] const formatAdxPdfOptions = [ ...formatAdxOptions,