From dc24186ccb8ae4bbc9ca290a184f85a49d3f3d3b Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 4 May 2025 15:38:30 +0800 Subject: [PATCH] add document link for importing dsv file/data --- src/consts/file.ts | 12 ++++++++++-- src/locales/de.json | 1 + src/locales/en.json | 1 + src/locales/es.json | 1 + src/locales/it.json | 1 + src/locales/ja.json | 1 + src/locales/ru.json | 1 + src/locales/uk.json | 1 + src/locales/vi.json | 1 + src/locales/zh_Hans.json | 1 + src/locales/zh_Hant.json | 1 + 11 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/consts/file.ts b/src/consts/file.ts index 40895692..9a0a5994 100644 --- a/src/consts/file.ts +++ b/src/consts/file.ts @@ -100,7 +100,11 @@ export const SUPPORTED_IMPORT_FILE_TYPES: ImportFileType[] = [ extensions: '.tsv,.txt', } ], - supportedEncodings: SUPPORTED_FILE_ENCODINGS + supportedEncodings: SUPPORTED_FILE_ENCODINGS, + document: { + supportMultiLanguages: true, + anchor: 'how-to-import-delimiter-separated-values-dsv-file-or-data' + } }, { type: 'dsv_data', @@ -118,7 +122,11 @@ export const SUPPORTED_IMPORT_FILE_TYPES: ImportFileType[] = [ extensions: '.tsv,.txt', } ], - dataFromTextbox: true + dataFromTextbox: true, + document: { + supportMultiLanguages: true, + anchor: 'how-to-import-delimiter-separated-values-dsv-file-or-data' + } }, { type: 'ofx', diff --git a/src/locales/de.json b/src/locales/de.json index 49f704b3..78164357 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/en.json b/src/locales/en.json index 0e62ffc0..ed9bf90d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/es.json b/src/locales/es.json index e5c7ff9f..6b10ce71 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -1290,6 +1290,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/it.json b/src/locales/it.json index f7f17238..bcdccd0a 100644 --- a/src/locales/it.json +++ b/src/locales/it.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/ja.json b/src/locales/ja.json index 79c85695..dad61d41 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "取引のエクスポート", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "gnucash-xmlデータベースファイルの取得方法", "how-to-get-firefly-iii-data-export-file": "firefly-iiiデータエクスポートファイルを取得する方法" } diff --git a/src/locales/ru.json b/src/locales/ru.json index e8456d13..e720b2dc 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/uk.json b/src/locales/uk.json index 5d497c61..61569de6 100644 --- a/src/locales/uk.json +++ b/src/locales/uk.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/vi.json b/src/locales/vi.json index fd56150f..486f749d 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "export-transactions", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "how-to-import-delimiter-separated-values-dsv-file-or-data", "how-to-get-gnucash-xml-database-file": "how-to-get-gnucash-xml-database-file", "how-to-get-firefly-iii-data-export-file": "how-to-get-firefly-iii-data-export-file" } diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index fc3c15be..c80088a6 100644 --- a/src/locales/zh_Hans.json +++ b/src/locales/zh_Hans.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "导出交易", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "如何导入分隔符分隔值-dsv-文件数据", "how-to-get-gnucash-xml-database-file": "如何获取-gnucash-xml-数据库文件", "how-to-get-firefly-iii-data-export-file": "如何获取-firefly-iii-数据导出文件" } diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json index 517156fe..4a3bcf87 100644 --- a/src/locales/zh_Hant.json +++ b/src/locales/zh_Hant.json @@ -1291,6 +1291,7 @@ "anchor": { "export_and_import": { "export-transactions": "匯出交易", + "how-to-import-delimiter-separated-values-dsv-file-or-data": "如何匯入分隔符分隔值-dsv-檔案資料", "how-to-get-gnucash-xml-database-file": "如何取得-gnucash-xml-資料庫檔案", "how-to-get-firefly-iii-data-export-file": "如何取得-firefly-iii-資料匯出檔案" }