support importing transaction in frontend

This commit is contained in:
MaysWind
2024-09-09 01:31:43 +08:00
parent 3d5a03a629
commit 470a74f420
32 changed files with 1772 additions and 197 deletions
+27 -2
View File
@@ -79,6 +79,9 @@
"everyMultiDaysOfWeek": "Every {days}",
"everyMultiDaysOfMonth": "Every {days} of month",
"youHaveAccounts": "You have recorded {count} accounts",
"selectedCount": "Selected {count} of {totalCount}",
"confirmImportTransactions": "Are you sure you want to import {count} transactions?",
"importTransactionResult": "You have imported {count} transactions successfully.",
"accountActivationAndResendValidationEmailTip": "Account activation link has been sent to your email address: {email}, If you don't receive the mail, please fill password again and click the button below to resend the validation mail.",
"resendValidationEmailTip": "If you don't receive the mail, please fill password again and click the button below to resend the validation mail to: {email}"
}
@@ -970,7 +973,6 @@
"system is busy": "System is busy",
"not supported": "Not supported",
"image type not supported": "Image type is not supported",
"import file type not supported": "Import file type is not supported",
"database operation failed": "Database operation failed",
"SMTP server is not enabled": "SMTP server is not enabled",
"incomplete or incorrect submission": "Incomplete or incorrect submission",
@@ -1068,6 +1070,9 @@
"cannot use hidden transaction tag": "You cannot use hidden transaction tag",
"transaction has too many tags": "There are too many tags in this transaction",
"transaction has too many pictures": "There are too many pictures in this transaction",
"import file type is empty": "Import file type is empty",
"import file type not supported": "Import file type is not supported",
"no data to import": "No data to import",
"exceed the maximum size of transaction picture file": "The uploaded transaction picture exceeds the maximum allowed file size",
"transaction category id is invalid": "Transaction category ID is invalid",
"transaction category not found": "Transaction category is not found",
@@ -1106,7 +1111,10 @@
"query items have invalid item": "There is invalid item in query items",
"parameter invalid": "Parameter is invalid",
"format invalid": "Format is invalid",
"number invalid": "Number is invalid"
"number invalid": "Number is invalid",
"no files uploaded": "No files uploaded",
"uploaded file is empty": "Uploaded file is empty",
"uploaded file size exceeds the maximum allowed size": "Uploaded file size exceeds the maximum allowed size"
},
"parameter": {
"id": "ID",
@@ -1163,6 +1171,7 @@
"Close": "Close",
"Submit": "Submit",
"Add": "Add",
"Import": "Import",
"Apply": "Apply",
"Save": "Save",
"Save Changes": "Save Changes",
@@ -1253,6 +1262,9 @@
"Select All": "Select All",
"Select None": "Select None",
"Invert Selection": "Invert Selection",
"Select All in This Page": "Select All in This Page",
"Select None in This Page": "Select None in This Page",
"Invert Selection in This Page": "Invert Selection in This Page",
"Back": "Back",
"Load More": "Load More",
"No data": "No data",
@@ -1463,6 +1475,19 @@
"Cannot Initialize Map": "Cannot Initialize Map",
"Unsupported Map Provider": "Unsupported Map Provider",
"Please refresh the page and try again. If the error persists, ensure that the server's map settings are correctly configured.": "Please refresh the page and try again. If the error persists, ensure that the server's map settings are correctly configured.",
"Import Transactions": "Import Transactions",
"Upload File": "Upload File",
"Upload Transaction Data File": "Upload Transaction Data File",
"Check & Modify": "Check & Modify",
"Check and Modify Your Data": "Check and Modify Your Data",
"Data Import Completed": "Data Import Completed",
"File Type": "File Type",
"ezbookkeeping Data Export File (CSV)": "ezbookkeeping Data Export File (CSV)",
"ezbookkeeping Data Export File (TSV)": "ezbookkeeping Data Export File (TSV)",
"Data File": "Data File",
"Click to select import file": "Click to select import file",
"No data to import": "No data to import",
"Unable to parse import file": "Unable to parse import file",
"Tags": "Tags",
"Your transaction description (optional)": "Your transaction description (optional)",
"Transaction category cannot be blank": "Transaction category cannot be blank",
+27 -2
View File
@@ -79,6 +79,9 @@
"everyMultiDaysOfWeek": "每{days}",
"everyMultiDaysOfMonth": "每月{days}",
"youHaveAccounts": "您已经记录了 {count} 个账户",
"selectedCount": "已选择 {count} / {totalCount}",
"confirmImportTransactions": "您确定要导入 {count} 个交易?",
"importTransactionResult": "您已经成功导入 {count} 个交易。",
"accountActivationAndResendValidationEmailTip": "账号激活链接已经发送到您的邮箱地址:{email},如果您没有收到邮件,请再次输入密码并点击下方的按钮重新发送验证邮件。",
"resendValidationEmailTip": "如果您没有收到邮件,请再次输入密码并点击下方的按钮重新发送验证邮件到:{email}"
}
@@ -970,7 +973,6 @@
"system is busy": "系统繁忙",
"not supported": "不支持",
"image type not supported": "图片类型不支持",
"import file type not supported": "导入文件类型不支持",
"database operation failed": "数据库操作失败",
"SMTP server is not enabled": "SMTP 服务器没有启用",
"incomplete or incorrect submission": "提交不完整或不正确",
@@ -1068,6 +1070,9 @@
"cannot use hidden transaction tag": "您不能使用隐藏的交易标签",
"transaction has too many tags": "交易中的标签过多",
"transaction has too many pictures": "交易中的图片过多",
"import file type is empty": "导入文件类型为空",
"import file type not supported": "导入文件类型不支持",
"no data to import": "没有可以导入的数据",
"exceed the maximum size of transaction picture file": "上传的交易图片超出了允许的最大文件大小",
"transaction category id is invalid": "交易分类ID无效",
"transaction category not found": "交易分类不存在",
@@ -1106,7 +1111,10 @@
"query items have invalid item": "请求项目中有非法项目",
"parameter invalid": "参数错误",
"format invalid": "格式错误",
"number invalid": "数字错误"
"number invalid": "数字错误",
"no files uploaded": "没有上传文件",
"uploaded file is empty": "上传的文件为空",
"uploaded file size exceeds the maximum allowed size": "上传的文件大小超出了允许的最大大小"
},
"parameter": {
"id": "ID",
@@ -1163,6 +1171,7 @@
"Close": "关闭",
"Submit": "提交",
"Add": "添加",
"Import": "导入",
"Apply": "应用",
"Save": "保存",
"Save Changes": "保存修改",
@@ -1253,6 +1262,9 @@
"Select All": "全部选择",
"Select None": "全部不选",
"Invert Selection": "反向选择",
"Select All in This Page": "本页全选",
"Select None in This Page": "本页不选",
"Invert Selection in This Page": "本页反选",
"Back": "返回",
"Load More": "加载更多",
"No data": "没有数据",
@@ -1463,6 +1475,19 @@
"Cannot Initialize Map": "无法初始化地图",
"Unsupported Map Provider": "不支持的地图提供方",
"Please refresh the page and try again. If the error persists, ensure that the server's map settings are correctly configured.": "请刷新页面并重试。如果仍然显示错误,请确保正确设置了服务器地图设置。",
"Import Transactions": "导入交易",
"Upload File": "上传文件",
"Upload Transaction Data File": "上传交易数据文件",
"Check & Modify": "检查及修改",
"Check and Modify Your Data": "检查及修改您的数据",
"Data Import Completed": "数据导入完成",
"File Type": "文件类型",
"ezbookkeeping Data Export File (CSV)": "ezbookkeeping 数据导出文件 (CSV)",
"ezbookkeeping Data Export File (TSV)": "ezbookkeeping 数据导出文件 (TSV)",
"Data File": "数据文件",
"Click to select import file": "点击选择导入文件",
"No data to import": "没有可以导入的数据",
"Unable to parse import file": "无法解析导入的文件",
"Tags": "标签",
"Your transaction description (optional)": "你的交易描述 (可选)",
"Transaction category cannot be blank": "交易分类不能为空",