Skip to content

Commit fb6bdab

Browse files
yorukotspageekttiManagor
authored
spf: add page and Chinese translation (#17009)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
1 parent ea2e6fc commit fb6bdab

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

pages.zh/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> superfile – 现代终端文件管理器。
4+
> 更多信息:<https://github.com/yorukot/superfile>.
5+
6+
- 使用指定路径启动 `spf`
7+
8+
`spf {{path/to/directory}}`
9+
10+
- 使用多个路径启动 `spf`
11+
12+
`spf {{path/to/directory1 path/to/directory2 ...}}`
13+
14+
- 修复快捷键设置,补全缺失的按键:
15+
16+
`spf {{[--fh|--fix-hotkeys]}}`
17+
18+
- 修复配置文件,补全缺失的项:
19+
20+
`spf {{[--fch|--fix-config-file]}}`
21+
22+
- 使用指定的配置文件与快捷键文件:
23+
24+
`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}`
25+
26+
- 将第一个选中的文件路径写入该文件并退出:
27+
28+
`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}`
29+
30+
- 显示内部配置和数据目录路径:
31+
32+
`spf {{[pl|path-list]}}`

pages.zh_TW/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> superfile – 現代的終端機檔案管理器。
4+
> 更多資訊:<https://github.com/yorukot/superfile>.
5+
6+
- 使用指定路徑啟動 `spf`
7+
8+
`spf {{path/to/start}}`
9+
10+
- 使用多個路徑啟動 `spf`
11+
12+
`spf {{path/to/directory1 /path/to/directory2 ...}}`
13+
14+
- 修復快捷鍵設定,補上缺少的按鍵:
15+
16+
`spf {{[--fh|--fix-hotkeys]}}`
17+
18+
- 修復設定檔,補上缺少的項目:
19+
20+
`spf {{[--fch|--fix-config-file]}}`
21+
22+
- 使用指定的設定檔與快捷鍵檔案:
23+
24+
`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}`
25+
26+
- 將第一個開啟的檔案路徑寫入該檔案並退出:
27+
28+
`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}`
29+
30+
- 顯示內部設定與資料目錄路徑:
31+
32+
`spf {{[pl|path-list]}}`

pages/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> The superfile – Modern terminal file manager.
4+
> More information: <https://github.com/yorukot/superfile>.
5+
6+
- Launch `spf` with a specific path:
7+
8+
`spf {{path/to/directory}}`
9+
10+
- Launch `spf` with multiple paths:
11+
12+
`spf {{path/to/directory1 path/to/directory2 ...}}`
13+
14+
- Fix hotkey settings by appending missing keys:
15+
16+
`spf {{[--fh|--fix-hotkeys]}}`
17+
18+
- Fix the configuration file by appending missing entries:
19+
20+
`spf {{[--fch|--fix-config-file]}}`
21+
22+
- Use specific configuration and hotkey files:
23+
24+
`spf {{[-c|--config-file]}} {{path/to/config.toml}} {{[--hf|--hotkey-file]}} {{path/to/hotkey.toml}}`
25+
26+
- Write the path of the first selected file to this file and exit:
27+
28+
`spf {{[--cf|--chooser-file]}} {{tmp/chooser-result}}`
29+
30+
- Show internal configuration and data directory paths:
31+
32+
`spf {{[pl|path-list]}}`

0 commit comments

Comments
 (0)