Merge pull request #155 from arkylin/master

增加原始文件名无后缀魔法变量
This commit is contained in:
AaronLiu 2023-05-24 12:08:58 +08:00 committed by GitHub
commit 5e66c6fd9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View File

@ -381,6 +381,7 @@
"nanoTimestamp": "Nano timestamp",
"uid": "User ID",
"originalFileName": "Original file name",
"originFileNameNoext": "Original file name without ext",
"extension": "File extension name",
"uuidV4": "UUID V4",
"date": "Date",

View File

@ -381,6 +381,7 @@
"nanoTimestamp": "纳秒级时间戳",
"uid": "用户 ID",
"originalFileName": "原始文件名",
"originFileNameNoext": "无扩展名的原始文件名",
"extension": "文件扩展名",
"uuidV4": "UUID V4",
"date": "日期",

View File

@ -381,6 +381,7 @@
"nanoTimestamp": "奈秒級時間戳",
"uid": "用戶 ID",
"originalFileName": "原始檔案名",
"originFileNameNoext": "原始檔案名無副檔名",
"extension": "文件副檔名",
"uuidV4": "UUID V4",
"date": "日期",
@ -819,4 +820,4 @@
"lastProgress": "最後進度",
"errorMsg": "錯誤訊息"
}
}
}

View File

@ -49,6 +49,12 @@ const magicVars = [
example: "MyPico.mp4",
fileOnly: true,
},
{
value: "{originname_without_ext}",
des: "originFileNameNoext",
example: "MyPico",
fileOnly: true,
},
{
value: "{ext}",
des: "extension",