From 415d0abc839cbc868b7052b09e130f5eba7f6fba Mon Sep 17 00:00:00 2001 From: Alex H Date: Fri, 21 Apr 2023 20:47:16 -0400 Subject: [PATCH] removed references to json, clearly stated import is only for fillups --- ui/src/locales/en.json | 8 ++++---- ui/src/router/views/import-generic.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 9e84f4d..1216960 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -132,8 +132,8 @@ "importdatadesc": "Choose from the following options to import data into Hammond", "import": "Import", "importcsv": "If you have been using {name} to store your vehicle data, export the CSV file from {name} and click here to import.", - "importgeneric": "Generic Import", - "importgenericdesc": "Generic csv and json import.", + "importgeneric": "Generic Fillups Import", + "importgenericdesc": "Fillups CSV import.", "choosecsv": "Choose CSV", "choosephoto": "Choose Photo", "importsuccessfull": "Data Imported Successfully", @@ -141,7 +141,7 @@ "importfrom": "Import from {0}", "stepstoimport": "Steps to import data from {name}", "choosecsvimport": "Choose the {name} CSV and press the import button.", - "choosedatafile": "Choose the CSV or JSON file and then press the import button.", + "choosedatafile": "Choose the CSV file and then press the import button.", "dontimportagain": "Make sure that you do not import the file again because that will create repeat entries.", "checkpointsimportcsv": "Once you have checked all these points, just import the CSV below.", "importhintunits": "Similiarly, make sure that the Fuel Unit and Fuel Type are correctly set in the Vehicle.", @@ -149,7 +149,7 @@ "importhintnickname": "Make sure that the Vehicle nickname in Hammond is exactly the same as the name on Fuelly CSV or the import will not work.", "importhintvehiclecreated": "Make sure that you have already created the vehicles in Hammond platform.", "importhintcreatecsv": "Export your data from {name} in the CSV format. Steps to do that can be found", - "importgenerichintdata": "Data must be in either CSV or JSON format.", + "importgenerichintdata": "Data must be in CSV format.", "here": "here", "unprocessedquickentries": "You have one quick entry to be processed. | You have {0} quick entries pending to be processed.", "show": "Show", diff --git a/ui/src/router/views/import-generic.vue b/ui/src/router/views/import-generic.vue index 72e4453..1945909 100644 --- a/ui/src/router/views/import-generic.vue +++ b/ui/src/router/views/import-generic.vue @@ -206,7 +206,7 @@ export default {
-

{{ $t('stepstoimport', { name: 'CSV or JSON' }) }}

+

{{ $t('stepstoimport', { name: 'CSV' }) }}

  1. {{ $t('importgenerichintdata') }}
  2. @@ -229,7 +229,7 @@ export default {
    - + {{ uploadButtonLabel }}