Skip to content

Commit 5b42a14

Browse files
committed
update docs
1 parent f28fb54 commit 5b42a14

File tree

3 files changed

+576
-167
lines changed

3 files changed

+576
-167
lines changed

official/docs/advanced.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,17 @@ export interface Rule {
526526
}
527527
```
528528

529+
### 修改默认翻译缓存自动清理时长
530+
插件针对翻译缓存,默认 30 天自动清除。目的是为了防止缓存过大,导致后续翻译卡顿。可以如下操作修改默认值
531+
532+
在【[开发者设置](https://dash.immersivetranslate.com/#developer)】->【Edit Full User Config】
533+
```
534+
{
535+
cacheMaxAgeDay: 30,
536+
...
537+
}
538+
```
539+
529540
### 自定义多语言提示词
530541

531542
下面展示了 openai 对于翻译日语/中文繁体的提示词修改

0 commit comments

Comments
 (0)