add more error hints

This commit is contained in:
MaysWind
2024-09-11 00:47:26 +08:00
parent 5d75629a73
commit 031209490f
6 changed files with 56 additions and 15 deletions
+11
View File
@@ -1106,6 +1106,17 @@
"transaction picture not exists": "Transaction picture does not exist",
"transaction picture file extension invalid": "Transaction picture file extension is invalid",
"exceed the maximum size of transaction picture file": "The uploaded transaction picture exceeds the maximum allowed file size",
"not found transaction data": "No transaction data found in file",
"missing required field in header row": "Missing required field in header row",
"fewer fields in data row than in header row": "There are fewer fields in the data row than in the header row",
"transaction time is invalid": "Transaction time is invalid",
"transaction time zone is invalid": "Transaction time zone is invalid",
"category name cannot be blank": "Category name cannot be blank",
"secondary category name cannot be blank": "secondary category name cannot be blank",
"account name cannot be blank": "Account name cannot be blank",
"destination account name cannot be blank": "Destination account name cannot be blank",
"transaction amount is invalid": "Transaction amount is invalid",
"geographic location is invalid": "Geographic location is invalid",
"query items cannot be blank": "There are no query items",
"query items too much": "There are too many query items",
"query items have invalid item": "There is invalid item in query items",
+11
View File
@@ -1106,6 +1106,17 @@
"transaction picture not exists": "交易图片不存在",
"transaction picture file extension invalid": "交易图片文件扩展名无效",
"exceed the maximum size of transaction picture file": "上传的交易图片超出了允许的最大文件大小",
"not found transaction data": "文件中没有找到交易数据",
"missing required field in header row": "标题行中缺少必要的字段",
"fewer fields in data row than in header row": "数据行中的字段少于比标题行中的字段",
"transaction time is invalid": "交易时间无效",
"transaction time zone is invalid": "交易时区无效",
"category name cannot be blank": "分类名称不能为空",
"secondary category name cannot be blank": "二级分类名称不能为空",
"account name cannot be blank": "账户名不能为空",
"destination account name cannot be blank": "目标账户名不能为空",
"transaction amount is invalid": "交易金额无效",
"geographic location is invalid": "地理位置无效",
"query items cannot be blank": "请求项目不能为空",
"query items too much": "请求项目过多",
"query items have invalid item": "请求项目中有非法项目",