Skip to content

Commit 9a84590

Browse files
committed
update zh-Hans docs
1 parent fb981d2 commit 9a84590

File tree

217 files changed

+665
-1742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+665
-1742
lines changed

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ description: open.mp开发进度与更新日志。
124124

125125
open.mp 现已结束 RC 阶段,正式进入稳定开发周期。v1.1.0.2612 修复了大量问题并统一了多项行为差异,建议及时更新以获得最佳体验。
126126

127-
open.mp 官方启动器正式发布!您现在可以
127+
open.mp 官方启动器正式发布!你现在可以
128128

129129
- 可靠地浏览服务器列表
130130
- 选择心仪服务器

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/client/ClientCommands.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ description: 所有客户端命令列表。
88

99
| 命令 | 说明 |
1010
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11-
| /quit (/q) | 该命令的功能不言自明,用于退出游戏。您也可以使用更简短的 /q 命令,其功能完全相同。 |
12-
| /save | /save 可能是最常用的默认命令,也是最实用的命令。输入该命令后,您当前的位置会被保存到用户文件目录下的 savedpositions.txt 文件中,可在脚本中使用这些坐标。 |
11+
| /quit (/q) | 该命令的功能不言自明,用于退出游戏。你也可以使用更简短的 /q 命令,其功能完全相同。 |
12+
| /save | /save 可能是最常用的默认命令,也是最实用的命令。输入该命令后,你当前的位置会被保存到用户文件目录下的 savedpositions.txt 文件中,可在脚本中使用这些坐标。 |
1313
| /rs | /rs(原始保存)与 /save 类似,但仅保存当前位置和朝向角度到用户文件目录下的 rawpositions.txt 文件中。不会保存职业和武器等额外信息。 |
14-
| /interior | 与 /save 同等重要的命令,直接在聊天框显示您当前所处的室内场景编号|
15-
| /vw | 与 /save 同等重要的命令,直接在聊天框显示您当前所在的虚拟世界编号|
14+
| /interior | 与 /save 同等重要的命令,直接在聊天框显示你当前所处的室内场景编号|
15+
| /vw | 与 /save 同等重要的命令,直接在聊天框显示你当前所在的虚拟世界编号|
1616
| /fpslimit | 设置游戏帧率上限(FPS)。数值越高游戏越流畅。若在图形选项中关闭帧率限制则此命令无效。可设置范围 20-90,默认 50。对应 sa-mp.cfg 文件的 'fpslimit' 选项。 |
1717
| /pagesize | 设置聊天窗口显示的行数(10-20 行),默认显示 10 行。对应 sa-mp.cfg 文件的 'pagesize' 选项。 |
1818
| /headmove | 控制玩家头部是否随视角转动(本地生效,其他玩家仍会看到头部转动)。对应 sa-mp.cfg 文件的 'disableheadmove' 选项。 |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ sidebar_position: 1
1515

1616
遗憾的是,原 SA-MP Wiki 已于 2020 年 9 月下旬下线,后以不可编辑的存档形式恢复。
1717

18-
我们需要社区的力量将原 Wiki 内容迁移至这个新家!若您有意参与,请查阅[贡献指南](/docs/meta/Contributing)了解详情。
18+
我们需要社区的力量将原 Wiki 内容迁移至这个新家!若你有意参与,请查阅[贡献指南](/docs/meta/Contributing)了解详情。
1919

20-
如果您不熟悉 GitHub 使用或 HTML 转换也无需担心!您可以通过以下方式提供帮助
20+
如果你不熟悉 GitHub 使用或 HTML 转换也无需担心!你可以通过以下方式提供帮助
2121

2222
- 通过 [Discord](https://discord.gg/samp)[论坛](https://forum.open.mp) 或社交媒体反馈问题
2323
- 最重要的事:_广而告之!_ 欢迎收藏本站并分享给所有寻找 SA-MP Wiki 下落的开发者
2424

25-
我们诚邀您参与以下内容的完善
25+
我们诚邀你参与以下内容的完善
2626

2727
- 文档改进
2828
- 常见任务教程(如构建基础游戏模式)
2929
- 常用库与插件使用指南
3030

31-
若您有意贡献,请访问 [GitHub 项目页](https://github.com/openmultiplayer/web)
31+
若你有意贡献,请访问 [GitHub 项目页](https://github.com/openmultiplayer/web)

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/meta/Contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ sidebar_label: 贡献指南
44
description: 参与SA-MP Wiki与open.mp文档贡献的完整指南
55
---
66

7-
本文档源码向所有人开放贡献!您只需拥有[GitHub](https://github.com)账号即可参与,无需掌握 Git 技术,所有操作均可通过网页界面完成!
7+
本文档源码向所有人开放贡献!你只需拥有[GitHub](https://github.com)账号即可参与,无需掌握 Git 技术,所有操作均可通过网页界面完成!
88

9-
如需维护特定语言版本,请向[`CODEOWNERS`](https://github.com/openmultiplayer/web/blob/master/CODEOWNERS)文件提交 PR,在对应语言目录添加您的 GitHub 用户名。
9+
如需维护特定语言版本,请向[`CODEOWNERS`](https://github.com/openmultiplayer/web/blob/master/CODEOWNERS)文件提交 PR,在对应语言目录添加你的 GitHub 用户名。
1010

1111
## 内容编辑
1212

@@ -16,7 +16,7 @@ description: 参与SA-MP Wiki与open.mp文档贡献的完整指南
1616

1717
[SetVehicleAngularVelocity](../scripting/functions/SetVehicleAngularVelocity.md)页面为例,点击编辑按钮将跳转至[GitHub 编辑界面](https://github.com/openmultiplayer/web/blob/master/docs/scripting/functions/SetVehicleAngularVelocity.mdxx),登录后可直接在线修改内容。
1818

19-
提交修改后创建"Pull Request",Wiki 维护者与社区成员将审核您的变更,经讨论确认后合并至主分支。
19+
提交修改后创建"Pull Request",Wiki 维护者与社区成员将审核你的变更,经讨论确认后合并至主分支。
2020

2121
## 新增内容
2222

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnActorStreamIn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tags: ["角色"]
2626
public OnActorStreamIn(actorid, forplayerid)
2727
{
2828
new string[48];
29-
format(string, sizeof(string), "角色 %d 已为您完成流加载。", actorid);
29+
format(string, sizeof(string), "角色 %d 已为你完成流加载。", actorid);
3030
SendClientMessage(forplayerid, 0xFFFFFFFF, string);
3131
return 1;
3232
}

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnActorStreamOut.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tags: ["角色"]
2626
public OnActorStreamOut(actorid, forplayerid)
2727
{
2828
new string[48];
29-
format(string, sizeof(string), "角色 %d 已为您完成流卸载。", actorid);
29+
format(string, sizeof(string), "角色 %d 已为你完成流卸载。", actorid);
3030
SendClientMessage(forplayerid, 0xFFFFFFFF, string);
3131
return 1;
3232
}

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnDialogResponse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ tags: ["对话框"]
3535

3636
// 在某个指令中
3737
ShowPlayerDialog(playerid, DIALOG_RULES, DIALOG_STYLE_MSGBOX, "服务器规则",
38-
"- 禁止作弊\n- 禁止刷屏\n- 尊重管理员\n\n您是否同意遵守这些规则?", "同意", "拒绝");
38+
"- 禁止作弊\n- 禁止刷屏\n- 尊重管理员\n\n你是否同意遵守这些规则?", "同意", "拒绝");
3939

4040
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
4141
{
4242
if (dialogid == DIALOG_RULES)
4343
{
4444
if (response) // 点击左按钮或按下ENTER
4545
{
46-
SendClientMessage(playerid, COLOR_GREEN, "感谢您同意遵守服务器规则!");
46+
SendClientMessage(playerid, COLOR_GREEN, "感谢你同意遵守服务器规则!");
4747
}
4848
else // 按下ESC或点击右按钮
4949
{
@@ -63,7 +63,7 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
6363
6464
// 在某个指令中
6565
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "登录",
66-
"请输入您的密码:", "登录", "取消");
66+
"请输入你的密码:", "登录", "取消");
6767
6868
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
6969
{
@@ -85,7 +85,7 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
8585
8686
// 重新显示登录对话框
8787
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,
88-
"登录", "请输入您的密码:", "登录", "取消");
88+
"登录", "请输入你的密码:", "登录", "取消");
8989
}
9090
}
9191
return 1;

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCChangeNode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: ["npc", "节点", "导航"]
99

1010
## 描述
1111

12-
当 NPC 在基于节点的移动过程中尝试从一个导航节点切换到另一个节点时调用此回调。这允许您控制是否应允许或拒绝节点切换
12+
当 NPC 在基于节点的移动过程中尝试从一个导航节点切换到另一个节点时调用此回调。这允许你控制是否应允许或拒绝节点切换
1313

1414
| 参数 | 说明 |
1515
| --------- | --------------------------- |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCSpawn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public OnNPCSpawn(npcid)
3333
3434
- 当 `NPC_Spawn` 成功执行时调用此回调
3535
- NPC 在游戏世界中变得可见和可交互
36-
- 您可以在此回调中设置 NPC 的初始属性和行为
36+
- 你可以在此回调中设置 NPC 的初始属性和行为
3737
- NPC 的状态会自动设置为默认值(100 生命值,0 护甲,拳头武器)
3838
3939
## 相关函数

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnPlayerClickGangZone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tags: ["玩家", "帮派区域"]
2828
public OnPlayerClickGangZone(playerid, zoneid)
2929
{
3030
new string[128];
31-
format(string, sizeof(string), "您点击了帮派区域 %i", zoneid);
31+
format(string, sizeof(string), "你点击了帮派区域 %i", zoneid);
3232
SendClientMessage(playerid, 0xFFFFFFFF, string);
3333
return 1;
3434
}

0 commit comments

Comments
 (0)