support qpf file extension
This commit is contained in:
@@ -31,6 +31,10 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
|
|||||||
return _default.DefaultTransactionDataCSVFileConverter, nil
|
return _default.DefaultTransactionDataCSVFileConverter, nil
|
||||||
} else if fileType == "ezbookkeeping_tsv" {
|
} else if fileType == "ezbookkeeping_tsv" {
|
||||||
return _default.DefaultTransactionDataTSVFileConverter, nil
|
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" {
|
} else if fileType == "qif_ymd" {
|
||||||
return qif.QifYearMonthDayTransactionDataImporter, nil
|
return qif.QifYearMonthDayTransactionDataImporter, nil
|
||||||
} else if fileType == "qif_mdy" {
|
} else if fileType == "qif_mdy" {
|
||||||
@@ -39,8 +43,6 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
|
|||||||
return qif.QifDayMonthYearTransactionDataImporter, nil
|
return qif.QifDayMonthYearTransactionDataImporter, nil
|
||||||
} else if fileType == "iif" {
|
} else if fileType == "iif" {
|
||||||
return iif.IifTransactionDataFileImporter, nil
|
return iif.IifTransactionDataFileImporter, nil
|
||||||
} else if fileType == "ofx" {
|
|
||||||
return ofx.OFXTransactionDataImporter, nil
|
|
||||||
} else if fileType == "gnucash" {
|
} else if fileType == "gnucash" {
|
||||||
return gnucash.GnuCashTransactionDataImporter, nil
|
return gnucash.GnuCashTransactionDataImporter, nil
|
||||||
} else if fileType == "firefly_iii_csv" {
|
} else if fileType == "firefly_iii_csv" {
|
||||||
|
|||||||
+10
-5
@@ -22,6 +22,16 @@ const supportedImportFileTypes = [
|
|||||||
anchor: 'export-transactions'
|
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',
|
type: 'qif',
|
||||||
name: 'Quicken Interchange Format (QIF) File',
|
name: 'Quicken Interchange Format (QIF) File',
|
||||||
@@ -46,11 +56,6 @@ const supportedImportFileTypes = [
|
|||||||
name: 'Intuit Interchange Format (IIF) File',
|
name: 'Intuit Interchange Format (IIF) File',
|
||||||
extensions: '.iif'
|
extensions: '.iif'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: 'ofx',
|
|
||||||
name: 'Open Financial Exchange (OFX) File',
|
|
||||||
extensions: '.ofx'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: 'gnucash',
|
type: 'gnucash',
|
||||||
name: 'GnuCash XML Database File',
|
name: 'GnuCash XML Database File',
|
||||||
|
|||||||
+2
-1
@@ -1527,12 +1527,13 @@
|
|||||||
"File Type": "File Type",
|
"File Type": "File Type",
|
||||||
"How to export this file?": "How to export this file?",
|
"How to export this file?": "How to export this file?",
|
||||||
"ezbookkeeping Data Export File": "ezbookkeeping Data Export 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",
|
"Quicken Interchange Format (QIF) File": "Quicken Interchange Format (QIF) File",
|
||||||
"Year-month-day format": "Year-month-day format",
|
"Year-month-day format": "Year-month-day format",
|
||||||
"Month-day-year format": "Month-day-year format",
|
"Month-day-year format": "Month-day-year format",
|
||||||
"Day-month-year format": "Day-month-year format",
|
"Day-month-year format": "Day-month-year format",
|
||||||
"Intuit Interchange Format (IIF) File": "Intuit Interchange Format (IIF) File",
|
"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",
|
"GnuCash XML Database File": "GnuCash XML Database File",
|
||||||
"Firefly III Data Export File": "Firefly III Data Export File",
|
"Firefly III Data Export File": "Firefly III Data Export File",
|
||||||
"Feidee MyMoney (App) Data Export File": "Feidee MyMoney (App) Data Export File",
|
"Feidee MyMoney (App) Data Export File": "Feidee MyMoney (App) Data Export File",
|
||||||
|
|||||||
@@ -1527,12 +1527,13 @@
|
|||||||
"File Type": "文件类型",
|
"File Type": "文件类型",
|
||||||
"How to export this file?": "如何导出该文件?",
|
"How to export this file?": "如何导出该文件?",
|
||||||
"ezbookkeeping Data Export File": "ezbookkeeping 数据导出文件",
|
"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) 文件",
|
"Quicken Interchange Format (QIF) File": "Quicken Interchange Format (QIF) 文件",
|
||||||
"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) 文件",
|
"Intuit Interchange Format (IIF) File": "Intuit Interchange Format (IIF) 文件",
|
||||||
"Open Financial Exchange (OFX) File": "开放式金融交换 (OFX) 文件",
|
|
||||||
"GnuCash XML Database File": "GnuCash XML 数据库文件",
|
"GnuCash XML Database File": "GnuCash XML 数据库文件",
|
||||||
"Firefly III Data Export File": "Firefly III 数据导出文件",
|
"Firefly III Data Export File": "Firefly III 数据导出文件",
|
||||||
"Feidee MyMoney (App) Data Export File": "随手记 (App) 数据导出文件",
|
"Feidee MyMoney (App) Data Export File": "随手记 (App) 数据导出文件",
|
||||||
|
|||||||
Reference in New Issue
Block a user