mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-26 04:02:47 +00:00
feat(doc preview): add magic variable for file name
This commit is contained in:
parent
b2145812c0
commit
a466196a44
|
|
@ -211,6 +211,7 @@
|
|||
"officePreviewServiceDes": "You can use following magic variables:",
|
||||
"officePreviewServiceSrcDes": "File URL",
|
||||
"officePreviewServiceSrcB64Des": " Base64 encoded file URL",
|
||||
"officePreviewServiceName": "File name",
|
||||
"thumbnails": "Thumbnails",
|
||||
"localOnlyInfo": "The following settings only apply to local storage policies.",
|
||||
"thumbWidth": "Width",
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@
|
|||
"officePreviewServiceDes": "可使用以下替换变量:",
|
||||
"officePreviewServiceSrcDes": "文件 URL",
|
||||
"officePreviewServiceSrcB64Des": " Base64 编码后的文件 URL",
|
||||
"officePreviewServiceName": "文件名",
|
||||
"thumbnails": "缩略图",
|
||||
"localOnlyInfo": "以下设置只针对本机存储策略有效。",
|
||||
"thumbWidth": "缩略图宽度",
|
||||
|
|
|
|||
|
|
@ -255,6 +255,9 @@ export default function ImageSetting() {
|
|||
<br />
|
||||
<code>{"{$srcB64}"}</code> -{" "}
|
||||
{t("officePreviewServiceSrcB64Des")}
|
||||
<br />
|
||||
<code>{"{$name}"}</code> -{" "}
|
||||
{t("officePreviewServiceName")}
|
||||
</FormHelperText>
|
||||
</FormControl>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue