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

View File

@@ -0,0 +1,20 @@
# xgettext
> 从代码文件中提取gettext字符串。
> 更多信息:<https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html>。
- 扫描文件并将字符串输出到 `messages.po`
`xgettext {{path/to/input_file}}`
- 使用不同的输出文件名:
`xgettext --output {{path/to/output_file}} {{path/to/input_file}}`
- 将新字符串附加到现有文件:
`xgettext --join-existing --output {{path/to/output_file}} {{path/to/input_file}}`
- 不在输出文件中添加包含元数据的头部:
`xgettext --omit-header {{path/to/input_file}}`