Skip to content

Commit eaa6db7

Browse files
committed
chore: en
1 parent b1b96be commit eaa6db7

File tree

5 files changed

+114
-40
lines changed

5 files changed

+114
-40
lines changed

docs/.vitepress/config.mts

Lines changed: 52 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import * as path from 'path'
55
const editLinkPattern =
66
'https://github.com/liriliri/rem-docs/edit/master/docs/:path'
77

8+
const icon = (name: string) => {
9+
return fs.readFileSync(path.resolve(__dirname, `${name}.svg`), 'utf8')
10+
}
11+
812
export default defineConfig({
913
title: 'REM',
1014
description: 'REM Documentation',
@@ -14,18 +18,22 @@ export default defineConfig({
1418
search: {
1519
provider: 'local',
1620
options: {
17-
translations: {
18-
button: {
19-
buttonText: '搜索文档',
20-
buttonAriaLabel: '搜索文档',
21-
},
22-
modal: {
23-
noResultsText: '无法找到相关结果',
24-
resetButtonTitle: '清除查询条件',
25-
footer: {
26-
selectText: '选择',
27-
navigateText: '切换',
28-
closeText: '关闭',
21+
locales: {
22+
zh: {
23+
translations: {
24+
button: {
25+
buttonText: '搜索文档',
26+
buttonAriaLabel: '搜索文档',
27+
},
28+
modal: {
29+
noResultsText: '无法找到相关结果',
30+
resetButtonTitle: '清除查询条件',
31+
footer: {
32+
selectText: '选择',
33+
navigateText: '切换',
34+
closeText: '关闭',
35+
},
36+
},
2937
},
3038
},
3139
},
@@ -36,30 +44,49 @@ export default defineConfig({
3644
width: 48,
3745
height: 48,
3846
},
39-
outlineTitle: '在这一页上',
4047
socialLinks: [
4148
{
4249
icon: {
43-
svg: fs.readFileSync(
44-
path.resolve(__dirname, `wechatpay.svg`),
45-
'utf8'
46-
),
50+
svg: icon('kofi'),
51+
},
52+
link: 'https://ko-fi.com/surunzi',
53+
},
54+
{
55+
icon: {
56+
svg: icon('wechatpay'),
4757
},
4858
link: 'https://surunzi.com/wechatpay.html',
4959
},
5060
{
5161
icon: 'github',
52-
link: 'https://github.com/liriliri/echo',
62+
link: 'https://github.com/liriliri/rem',
5363
},
5464
],
55-
editLink: {
56-
pattern: editLinkPattern,
57-
text: '提出修改意见',
58-
},
59-
lastUpdatedText: '修改日期',
6065
footer: {
61-
message: '基于 AGPL-3.0 许可发布',
62-
copyright: '版权所有 © 2025 至今 liriliri',
66+
message: 'Released under the AGPL-3.0 License.',
67+
copyright: 'Copyright © 2024-present liriliri',
68+
},
69+
},
70+
locales: {
71+
root: {
72+
label: 'English',
73+
lang: 'en',
74+
},
75+
zh: {
76+
label: '中文',
77+
lang: 'zh',
78+
themeConfig: {
79+
outlineTitle: '在这一页上',
80+
editLink: {
81+
pattern: editLinkPattern,
82+
text: '提出修改意见',
83+
},
84+
lastUpdatedText: '修改日期',
85+
footer: {
86+
message: '基于 AGPL-3.0 许可发布',
87+
copyright: '版权所有 © 2025 至今 liriliri',
88+
},
89+
},
6390
},
6491
},
6592
head: [

docs/.vitepress/kofi.svg

Lines changed: 12 additions & 0 deletions
Loading

docs/.vitepress/theme/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
:root {
2-
--vp-button-brand-bg: #007aff;
2+
--vp-button-brand-bg: #60beef;
33
--vp-button-brand-hover-bg: #004fa2;
44
--vp-home-hero-name-color: transparent;
55
--vp-home-hero-name-background: -webkit-linear-gradient(
66
120deg,
77
#000 30%,
8-
#007aff
8+
#60beef
99
);
1010
--vp-home-hero-image-background-image: linear-gradient(
1111
-45deg,
1212
#000 50%,
13-
#007aff 50%
13+
#60beef 50%
1414
);
1515
--vp-home-hero-image-filter: blur(40px);
1616
--vp-nav-logo-height: 48px;
@@ -21,17 +21,17 @@
2121
}
2222

2323
.dark {
24-
--vp-button-brand-bg: #036bdc;
24+
--vp-button-brand-bg: #55a5ce;
2525
--vp-button-brand-hover-bg: #01448d;
2626
--vp-home-hero-name-background: -webkit-linear-gradient(
2727
120deg,
2828
#fff 30%,
29-
#036bdc
29+
#55a5ce
3030
);
3131
--vp-home-hero-image-background-image: linear-gradient(
3232
-45deg,
3333
#fff 50%,
34-
#036bdc 50%
34+
#55a5ce 50%
3535
);
3636
}
3737

docs/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
layout: home
33

44
title: REM
5-
titleTemplate: Rclone 桌面应用
5+
titleTemplate: Rclone Desktop App
66

77
hero:
88
name: "REM"
9-
text: "Rclone 桌面应用"
10-
tagline: REM 是一个基于 Rclone 的远程文件管理器。
9+
text: "Rclone Desktop App"
10+
tagline: REM is a desktop application based on Rclone. It allows you to browse, organize, and transfer files across your cloud storages effortlessly.
1111
actions:
1212
- theme: alt
1313
text: Windows
@@ -22,14 +22,14 @@ hero:
2222
features:
2323
- icon:
2424
src: /rocket.svg
25-
title: 开箱即用
26-
details: 内置 Rclone,下载安装即可使用。
25+
title: Easy to Install
26+
details: Built-in Rclone, ready to use upon installation without any additional complicated operations.
2727
- icon:
2828
src: /tools.svg
29-
title: 功能齐全
30-
details: 支持上传下载、复制粘贴等操作。
29+
title: Feature-rich
30+
details: Supports upload, download, copy, paste, and other operations.
3131
- icon:
3232
src: /easy.svg
33-
title: 简单易用
34-
details: 全图形化界面,一键操作,不用输入任何命令。
33+
title: Easy to Use
34+
details: Graphical user interface, one-click operations, no need to input any commands.
3535
---

docs/zh/index.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: home
3+
4+
title: REM
5+
titleTemplate: Rclone 桌面应用
6+
7+
hero:
8+
name: "REM"
9+
text: "Rclone 桌面应用"
10+
tagline: REM 是一款基于 Rclone 的桌面应用程序,可让您轻松浏览、整理和传输各个云存储中的文件。
11+
actions:
12+
- theme: alt
13+
text: Windows
14+
link: https://release.liriliri.io/REM-0.1.0-win-x64.exe
15+
- theme: alt
16+
text: macOS Apple silicon
17+
link: https://release.liriliri.io/REM-0.1.0-mac-arm64.dmg
18+
image:
19+
src: /screenshot.png
20+
alt: screenshot
21+
22+
features:
23+
- icon:
24+
src: /rocket.svg
25+
title: 开箱即用
26+
details: 内置 Rclone,下载安装即可使用。
27+
- icon:
28+
src: /tools.svg
29+
title: 功能齐全
30+
details: 支持上传下载、复制粘贴等操作。
31+
- icon:
32+
src: /easy.svg
33+
title: 简单易用
34+
details: 全图形化界面,一键操作,不用输入任何命令。
35+
---

0 commit comments

Comments
 (0)