add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

33
pages.zh/common/difft.md Normal file
View File

@@ -0,0 +1,33 @@
# difft
> 基于编程语言的语法比较文件或目录。
> 另请参见:`delta``diff`。
> 更多信息:<https://difftastic.wilfred.me.uk/introduction.html>。
- 比较两个文件或目录:
`difft {{path/to/file_or_directory1}} {{path/to/file_or_directory2}}`
- 仅报告文件之间存在的差异:
`difft --check-only {{path/to/file1}} {{path/to/file2}}`
- 指定显示模式(默认是 `side-by-side`
`difft --display {{side-by-side|side-by-side-show-both|inline|json}} {{path/to/file1}} {{path/to/file2}}`
- 比较时忽略注释:
`difft --ignore-comments {{path/to/file1}} {{path/to/file2}}`
- 启用/禁用源代码的语法高亮(默认是 `on`
`difft --syntax-highlight {{on|off}} {{path/to/file1}} {{path/to/file2}}`
- 如果文件之间没有差异,则不输出任何内容:
`difft --skip-unchanged {{path/to/file_or_directory1}} {{path/to/file_or_directory2}}`
- 打印工具支持的所有编程语言及其扩展名:
`difft --list-languages`