support qpf file extension

This commit is contained in:
MaysWind
2024-10-30 22:51:41 +08:00
parent 43404adf49
commit 98c96b8217
4 changed files with 18 additions and 9 deletions
@@ -31,6 +31,10 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
return _default.DefaultTransactionDataCSVFileConverter, nil
} else if fileType == "ezbookkeeping_tsv" {
return _default.DefaultTransactionDataTSVFileConverter, nil
} else if fileType == "ofx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "qfx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "qif_ymd" {
return qif.QifYearMonthDayTransactionDataImporter, nil
} else if fileType == "qif_mdy" {
@@ -39,8 +43,6 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
return qif.QifDayMonthYearTransactionDataImporter, nil
} else if fileType == "iif" {
return iif.IifTransactionDataFileImporter, nil
} else if fileType == "ofx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "gnucash" {
return gnucash.GnuCashTransactionDataImporter, nil
} else if fileType == "firefly_iii_csv" {
+10 -5
View File
@@ -22,6 +22,16 @@ const supportedImportFileTypes = [
anchor: 'export-transactions'
}
},
{
type: 'ofx',
name: 'Open Financial Exchange (OFX) File',
extensions: '.ofx'
},
{
type: 'qfx',
name: 'Quicken Financial Exchange (QFX) File',
extensions: '.qfx'
},
{
type: 'qif',
name: 'Quicken Interchange Format (QIF) File',
@@ -46,11 +56,6 @@ const supportedImportFileTypes = [
name: 'Intuit Interchange Format (IIF) File',
extensions: '.iif'
},
{
type: 'ofx',
name: 'Open Financial Exchange (OFX) File',
extensions: '.ofx'
},
{
type: 'gnucash',
name: 'GnuCash XML Database File',
+2 -1
View File
@@ -1527,12 +1527,13 @@
"File Type": "File Type",
"How to export this file?": "How to export this file?",
"ezbookkeeping Data Export File": "ezbookkeeping Data Export File",
"Open Financial Exchange (OFX) File": "Open Financial Exchange (OFX) File",
"Quicken Financial Exchange (QFX) File": "Quicken Financial Exchange (QFX) File",
"Quicken Interchange Format (QIF) File": "Quicken Interchange Format (QIF) File",
"Year-month-day format": "Year-month-day format",
"Month-day-year format": "Month-day-year format",
"Day-month-year format": "Day-month-year format",
"Intuit Interchange Format (IIF) File": "Intuit Interchange Format (IIF) File",
"Open Financial Exchange (OFX) File": "Open Financial Exchange (OFX) File",
"GnuCash XML Database File": "GnuCash XML Database File",
"Firefly III Data Export File": "Firefly III Data Export File",
"Feidee MyMoney (App) Data Export File": "Feidee MyMoney (App) Data Export File",
+2 -1
View File
@@ -1527,12 +1527,13 @@
"File Type": "文件类型",
"How to export this file?": "如何导出该文件?",
"ezbookkeeping Data Export File": "ezbookkeeping 数据导出文件",
"Open Financial Exchange (OFX) File": "开放式金融交换 (OFX) 文件",
"Quicken Financial Exchange (QFX) File": "Quicken Financial Exchange (QFX) 文件",
"Quicken Interchange Format (QIF) File": "Quicken Interchange Format (QIF) 文件",
"Year-month-day format": "年-月-日 格式",
"Month-day-year format": "月-日-年 格式",
"Day-month-year format": "日-月-年 格式",
"Intuit Interchange Format (IIF) File": "Intuit Interchange Format (IIF) 文件",
"Open Financial Exchange (OFX) File": "开放式金融交换 (OFX) 文件",
"GnuCash XML Database File": "GnuCash XML 数据库文件",
"Firefly III Data Export File": "Firefly III 数据导出文件",
"Feidee MyMoney (App) Data Export File": "随手记 (App) 数据导出文件",