Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docusaurus ZH-CN translation #374

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docusaurus/docs/getting-started/quick-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
```
<!-- markdownlint-disable-next-line -->
As an alternative, you can copy the [.env.example](https://github.com/thijsvanloef/palworld-server-docker/blob/main/.env.example) file to a new file called **.env** file.<!-- markdownlint-disable-next-line -->
Modify it to your needs, check out the [environment variables](#environment-variables) section to check the correct <!-- markdownlint-disable-next-line -->
Modify it to your needs, check out the [environment variables](https://palworld-server-docker.loef.dev/getting-started/configuration/server-settings#environment-variables) section to check the correct <!-- markdownlint-disable-next-line -->
values. Modify your [docker-compose.yml](https://github.com/thijsvanloef/palworld-server-docker/blob/main/docker-compose.yml) to this:

```yml
Expand Down Expand Up @@ -102,7 +102,7 @@ docker run -d \
```
<!-- markdownlint-disable-next-line -->
As an alternative, you can copy the [.env.example](https://github.com/thijsvanloef/palworld-server-docker/blob/main/.env.example) file to a new file called **.env** file.<!-- markdownlint-disable-next-line -->
Modify it to your needs, check out the [environment variables](#environment-variables) section to check the
Modify it to your needs, check out the [environment variables](https://palworld-server-docker.loef.dev/getting-started/configuration/server-settings#environment-variables) section to check the
correct values. Change your docker run command to this:

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
<!-- markdownlint-disable-next-line -->
환경 변수를 설정하는 또 다른 방법으로 [.env.example](https://github.com/thijsvanloef/palworld-server-docker/blob/main/.env.example) 파일을 **.env** 라는 새로운 파일에 복사할 수 있습니다.
<!-- markdownlint-disable-next-line -->
필요에 맞게 수정하고 [환경 변수](https://palworld-server-docker.loef.dev/getting-started/configuration/server-settings#environment-variables) 섹션에서 올바른 값을 확인해보세요. [docker-compose.yml](https://github.com/thijsvanloef/palworld-server-docker/blob/main/docker-compose.yml)을 다음과 같이 수정합니다:
필요에 맞게 수정하고 [환경 변수](https://palworld-server-docker.loef.dev/ko/getting-started/configuration/server-settings/#환경-변수) 섹션에서 올바른 값을 확인해보세요. [docker-compose.yml](https://github.com/thijsvanloef/palworld-server-docker/blob/main/docker-compose.yml)을 다음과 같이 수정합니다:
```yml
services:
Expand Down
14 changes: 7 additions & 7 deletions docusaurus/i18n/zh/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"version.label": {
"message": "Next",
"message": "下一步",
"description": "The label for version current"
},
"sidebar.tutorialSidebar.category.Getting Started": {
"message": "Getting Started",
"message": "入门",
"description": "The label for category Getting Started in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Configuration": {
"message": "Configuration",
"message": "配置",
"description": "The label for category Configuration in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Guides": {
"message": "Guides",
"message": "指南",
"description": "The label for category Guides in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Backup": {
"message": "Backup",
"message": "备份",
"description": "The label for category Backup in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Discord integration": {
"message": "Discord integration",
"message": "Discord集成",
"description": "The label for category Discord integration in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Advanced": {
"message": "Advanced",
"message": "高级配置",
"description": "The label for category Advanced in sidebar tutorialSidebar"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ sidebar_position: 1

# Kubernetes

All files you will need to deploy this container to kubernetes are located in the [k8s folder](https://github.com/thijsvanloef/palworld-server-docker/tree/main/k8s).
部署此容器到 Kubernetes 所需的所有文件都位于 [k8s folder](https://github.com/thijsvanloef/palworld-server-docker/tree/main/k8s)

## Setup Palworld in kubernetes
## 在 Kubernetes 中设置 Palworld

Use the following commands to setup this Palworld container in Kubernetes:
使用以下命令在 Kubernetes 中设置 Palworld 容器:

* `kubectl apply -f pvc.yaml`
* `kubectl apply -f configmap.yaml`
* `kubectl apply -f secret.yaml`
* `kubectl apply -f service.yaml`
* `kubectl apply -f deployment.yaml`

## Using helm chart
## 使用 Helm Chart

The official helm chart can be found in a seperate repository, [palworld-server-chart](https://github.com/Twinki14/palworld-server-chart)
官方 Helm Chart 可在单独的存储库, [palworld-server-chart](https://github.com/Twinki14/palworld-server-chart) 找到。
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
sidebar_position: 1
---

# Palworld 目录

所有与 Palworld 数据相关的内容都在容器内的 `/palworld` 文件夹中。

## 文件夹结构

![文件夹结构](../../../../../../docusaurus/docs/assets/folder_structure.jpg)

| 文件夹 | 用途 |
|------------------------------|-------------------------------------------------------------------|
| palworld | 包含所有 Palworld 服务器文件的根文件夹 |
| backups | 存储所有 `backup` 命令生成的备份的文件夹 |
| Pal/Saved/Config/LinuxServer | 包含所有 .ini 配置文件的文件夹,用于手动配置 |

## 将数据目录附加到主机文件系统

将 palworld 文件夹附加到主机系统的最简单方法是使用 docker-compose.yml 文件中给出的示例:

```yml
volumes:
- ./palworld:/palworld/
```

这将在当前工作目录中创建一个 palworld 文件夹并挂载 /palworld 文件夹。
Loading