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

Improve some documentation and JSON #1618

Merged
merged 8 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ EN | [简中](README_zh-CN.md) | [繁中](README_zh-TW.md) | [FR](README_fr-FR.m

### Requirements

* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))
ChisatoNishikigi73 marked this conversation as resolved.
Show resolved Hide resolved

**Note:** If you just want to **run it**, then **jre** only is fine.

Expand Down
2 changes: 1 addition & 1 deletion README_HE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

### דרישות להפעלה

* Java SE - 17 ([קישור](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([קישור](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**הערה:** אם אתם רוצים רק **להריץ את זה כבר מוכן** אז **jre** בלבד זה בסדר

Expand Down
2 changes: 1 addition & 1 deletion README_es-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Requerimientos

* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**Nota:** Si solo quieres **ejecutarlo**, entonces **jre** es suficiente.

Expand Down
2 changes: 1 addition & 1 deletion README_fr-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Logiciels requis

* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**Note:** Si vous voulez juste **l'exécuter**, Alors vous pouvez télécharger seulement le **jre**

Expand Down
2 changes: 1 addition & 1 deletion README_pl-PL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Wymagania

* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**Uwaga:** Jeśli chcesz tylko **uruchomić** serwer, samo **jre** powinno wystarczyć.

Expand Down
2 changes: 1 addition & 1 deletion README_ru-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

### Требуется

* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([link](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**Заметка:** Для того, чтобы просто **запустить сервер**, достаточно только **jre**.

Expand Down
17 changes: 12 additions & 5 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[EN](README.md) | 简中 | [繁中](README_zh-TW.md) | [FR](README_fr-FR.md) | [ES](README_es-ES.md) | [HE](README_HE.md) | [RU](README_ru-RU.md) | [PL](README_pl-PL.md)

**请注意:** 欢迎成为本项目的贡献者。在提交 PR 之前, 请仔细阅读[代码规范](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md)。
**请注意:** 欢迎成为本项目的贡献者。在提交 PR 之前, 请仔细阅读[代码规范](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md )。

## 当前功能

Expand All @@ -24,7 +24,7 @@

### 环境需求

* Java SE - 17 ([链接](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([链接](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**注意:** 如果仅想**运行服务端**, 使用 **jre** 即可

Expand Down Expand Up @@ -78,15 +78,21 @@ Grasscutter 使用 Gradle 来处理依赖及编译。
- [Java SE Development Kits - 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
- [Git](https://git-scm.com/downloads)

##### Windows
##### Windows(在线克隆代码)

```shell
git clone https://github.com/Grasscutters/Grasscutter.git
git clone https://github.com/Grasscutters/Grasscutter.git # 或使用自己的fork地址
cd Grasscutter
.\gradlew.bat # 建立开发环境
.\gradlew jar # 编译
```
##### Windows(本地编译)

```shell
cd <本地地址>/Grasscutter
.\gradlew.bat # 建立开发环境
.\gradlew jar # 编译
```
##### Linux

```bash
Expand All @@ -96,7 +102,8 @@ chmod +x gradlew
./gradlew jar # 编译
```

编译后的 JAR 文件存放在根目录
* 编译后的 JAR 文件存放在根目录
* Windows如创建为.bat文件请删除注释

### 命令列表请到 [wiki](https://github.com/Grasscutters/Grasscutter/wiki/Commands) 查看

Expand Down
4 changes: 2 additions & 2 deletions README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[EN](README.md) | [简中](README_zh-CN.md) | 繁中 | [FR](README_fr-FR.md) | [ES](README_es-ES.md) | [HE](README_HE.md) | [RU](README_ru-RU.md) | [PL](README_pl-PL.md)

**請注意:** 歡迎成為本專案的貢獻者。在提交 PR 之前, 請仔細閱讀[程式碼規範](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md)。
**請注意:** 歡迎成為本專案的貢獻者。在提交 PR 之前, 請仔細閱讀[程式碼規範](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md )。

## 當前功能

Expand All @@ -24,7 +24,7 @@

### 環境需求

* Java SE - 17 ([連結](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html))
* Java SE - 17 ([連結](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ))

**注意:** 如果僅想**執行服務端**, 使用 **jre** 即可

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "Set weather ID to %s with climate type %s.",
"status": "Current weather ID is %s with climate type %s.",
"description": "Changes weather ID and climate type. Weather IDs can be found in WeatherExcelConfigData.json.\nClimate types: sunny, cloudy, rain, thunderstorm, snow, mist"
"description": "Changes weather ID and climate type. Weather IDs can be found in .\Resources\ExcelBinOutput\WeatherExcelConfigData.json.\nClimate types: sunny, cloudy, rain, thunderstorm, snow, mist"
ChisatoNishikigi73 marked this conversation as resolved.
Show resolved Hide resolved
},
"ban": {
"success": "Successful.",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "Establece el ID del clima %s con el tipo de clima %s.",
"status": "El ID del clima actual es %s con tipo de clima %s.",
"description": "Cambia el ID del clima y el tipo de clima. Los IDs de climas pueden ser encontrados en WeatherExcelConfigData.json.\nTipos de clima: sunny, cloudy, rain, thunderstorm, snow, mist"
"description": "Cambia el ID del clima y el tipo de clima. Los IDs de climas pueden ser encontrados en .\Resources\ExcelBinOutput\WeatherExcelConfigData.json.\nTipos de clima: sunny, cloudy, rain, thunderstorm, snow, mist"
},
"ban": {
"success": "Exitoso.",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "L'ID de la météo à été défini a %s avec le type de climat %s.",
"status": "L'ID de la météo accutel est %s avec le type de climat %s.",
"description": "Change la météo. Les ID de la météo peuvent être trouvés dans WeatherExcelConfigData.json.\nTypes de climatss: sunny, cloudy, rain, thunderstorm, snow, mist."
"description": "Change la météo. Les ID de la météo peuvent être trouvés dans .\Resources\ExcelBinOutput\WeatherExcelConfigData.json.\nTypes de climatss: sunny, cloudy, rain, thunderstorm, snow, mist."
},
"ban": {
"success": "Succès.",
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/languages/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,9 @@
"description": "플레이어의 위치를 이동시킵니다."
},
"weather": {
"usage": "사용법: weather [날씨ID] [climateType]\n날씨 ID들은 WeatherExcelConfigData.json에서 찾을 수 있습니다.\n날씨 타입: sunny, cloudy, rain, thunderstorm, snow, mist",
"success": "설정 날씨 ID %s 를 %s 로.",
"status": "현재 날씨 ID 는 %s 기후는 %s입니다.",
"description": "날씨 ID와 기후를 변경합니다. 날씨 ID들은 WeatherExcelConfigData.json에서 찾을 수 있습니다.\n날씨 타입: sunny, cloudy, rain, thunderstorm, snow, mist"
"description": "날씨 ID와 기후를 변경합니다. 날씨 ID들은 .\Resources\ExcelBinOutput\WeatherExcelConfigData.json에서 찾을 수 있습니다.\n날씨 타입: sunny, cloudy, rain, thunderstorm, snow, mist"
},
"ban": {
"command_usage": "사용법: ban <@플레이어ID> [timestamp] [reason]",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/ro-RO.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "A setat ID-ul meteo la %s cu tipul de climă %s",
"status": "ID-ul actual al vremii este %s cu tipul de climă %s",
"description": "Schimbă ID-ul vremii și tipul de climă. ID-urile de vreme pot fi găsite în WeatherExcelConfigData.json.\nTipuri de climă: sunny, cloudy, rain, thunderstorm, snow, mist"
"description": "Schimbă ID-ul vremii și tipul de climă. ID-urile de vreme pot fi găsite în .\Resources\ExcelBinOutput\WeatherExcelConfigData.json.\nTipuri de climă: sunny, cloudy, rain, thunderstorm, snow, mist"
},
"ban": {
"success": "Succes.",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "Установлен ID погоды %s, тип климата: %s.",
"status": "Текущий ID погоды: %s, тип климата: %s.",
"description": "Изменяет ID погоды и тип климата. ID погоды можно найти в WeatherExcelConfigData.json.\nТипы климата: sunny (солнечно), cloudy (облачно), rain (дождь), thunderstorm (гроза), snow (снег), mist (туман)"
"description": "Изменяет ID погоды и тип климата. ID погоды можно найти в .\Resources\ExcelBinOutput\WeatherExcelConfigData.json.\nТипы климата: sunny (солнечно), cloudy (облачно), rain (дождь), thunderstorm (гроза), snow (снег), mist (туман)"
},
"ban": {
"success": "Успех.",
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
"add_too_much": "服务端仅允许你队伍里至多有 %d 名角色。",
"failed_to_add_avatar": "无法根据ID %s 添加角色。",
"failed_to_parse_index": "无法解析索引:%s",
"remove_too_much": "你不能删除那么多角色,你的队伍列表将会变空。",
"remove_too_much": "你不能删除那么多角色,你的队伍列表将为空。",
"ignore_index": "忽略的索引列表:%s",
"index_out_of_range": "你指定的索引超出了范围。",
"failed_parse_avatar_id": "无法解析的角色ID:%s",
Expand All @@ -330,7 +330,7 @@
"weather": {
"success": "已设置天气ID 为 %s,气候类型为 %s。",
"status": "当前天气ID 为 %s,气候类型为 %s。",
"description": "更改天气ID和气候类型。天气ID可以在 WeatherExcelConfigData.json 中找到。\n气候类型:sunny(晴天), cloudy(多云), rain(雨), thunderstorm(雷雨), snow(雪), mist(雾)"
"description": "更改天气ID和气候类型。天气ID可以在 .\Resources\ExcelBinOutput\WeatherExcelConfigData.json 中找到。\n气候类型:sunny(晴天), cloudy(多云), rain(雨), thunderstorm(雷雨), snow(雪), mist(雾)"
},
"ban": {
"success": "成功封禁玩家。",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"weather": {
"success": "已設定天氣ID 為 %s,氣候型別為 %s。",
"status": "當前天氣ID 為 %s,氣候型別為 %s。",
"description": "更改天氣ID和氣候型別。天氣ID可以在 WeatherExcelConfigData.json 中找到。\n氣候型別:sunny(晴天), cloudy(多雲), rain(雨), thunderstorm(雷雨), snow(雪), mist(霧)"
"description": "更改天氣ID和氣候型別。天氣ID可以在 .\Resources\ExcelBinOutput\WeatherExcelConfigData.json 中找到。\n氣候型別:sunny(晴天), cloudy(多雲), rain(雨), thunderstorm(雷雨), snow(雪), mist(霧)"
},
"ban": {
"success": "停權成功。",
Expand Down