diff --git a/public/locales/en.json b/public/locales/en.json index c17f243..ee0350b 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -125,7 +125,8 @@ "OrgTitleNull": "Default \"Original Title\" to \"Title\", if empty", "SortTitleNull": "Default \"Sort Title\" to \"Title\", if empty", "AutoXLSCol": "Autosize column (xlsx only)", - "AutoXLSRow": "Autosize row (xlsx only)" + "AutoXLSRow": "Autosize row (xlsx only)", + "NotAvailIndicator": "What to use if a field can't be found" }, "LevelInfo": "Export level determines which data are going to be exported.", "ExportLevel": "Export Level", diff --git a/src/components/modules/ExportTools/Export.vue b/src/components/modules/ExportTools/Export.vue index 5d3fced..10191c4 100644 --- a/src/components/modules/ExportTools/Export.vue +++ b/src/components/modules/ExportTools/Export.vue @@ -1,13 +1,10 @@ - {{ $t("Modules.ET.Name") }} + {{ $t("Modules.ET.Name") }} {{ $t("Modules.ET.Description") }} - - - - - + + @@ -65,7 +62,8 @@ :disabled="btnDisable == true" variant="success" >{{ $t("Modules.ET.HExportMedia") }} - + + @@ -84,7 +82,7 @@ - + diff --git a/src/components/modules/ExportTools/Settings/settings.vue b/src/components/modules/ExportTools/Settings/settings.vue index 5575f25..cac01a5 100644 --- a/src/components/modules/ExportTools/Settings/settings.vue +++ b/src/components/modules/ExportTools/Settings/settings.vue @@ -15,6 +15,9 @@ + + + @@ -54,9 +57,8 @@ return { outDirVal: wtconfig.get('ET.OutPath', i18n.t('Modules.ET.Settings.SelectOutDir')), ArraySep: wtconfig.get('ET.ArraySep'), - // ColumnSep: wtconfig.get('ET.ColumnSep'), - ColumnSep: '', - //ColumnSep1: this.computedColumnSep, + NotAvailIndicator: wtconfig.get('ET.NotAvail', 'N/A'), + ColumnSep: '', TimeOut: wtconfig.get('PMS.TimeOut'), cbSelected: [], cbOptions: [ @@ -121,6 +123,9 @@ setArraySep: function(){ wtconfig.set('ET.ArraySep', this.ArraySep) }, + setNotAvailIndicator: function(){ + wtconfig.set('ET.NotAvail', this.NotAvailIndicator) + }, setTimeOut: function(){ wtconfig.set('PMS.TimeOut', this.TimeOut) } diff --git a/src/wtutils.js b/src/wtutils.js index 72f70ad..78f6958 100644 --- a/src/wtutils.js +++ b/src/wtutils.js @@ -227,6 +227,9 @@ const wtutils = new class WTUtils { if ( wtconfig.get('ET.OutPath', 'N/A') == 'N/A' ){ wtconfig.set('ET.OutPath', '') } + if ( wtconfig.get('ET.NotAvail', 'N/A') == 'N/A' ){ + wtconfig.set('ET.NotAvail', 'N/A') + }