Commit 352aa7d6 authored by Kawaa's avatar Kawaa Committed by GitHub
Browse files

Improve some documentation and JSON (#1618)

Original commits:

* Updated instructions

* 更新说明

* 更新说明

* 更新说明

* 更新说明

* 更新说明

* Updated instructions

* Updated instructions
parent cf2832ae
...@@ -78,15 +78,21 @@ Grasscutter 使用 Gradle 来处理依赖及编译。 ...@@ -78,15 +78,21 @@ Grasscutter 使用 Gradle 来处理依赖及编译。
- [Java SE Development Kits - 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) - [Java SE Development Kits - 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
- [Git](https://git-scm.com/downloads) - [Git](https://git-scm.com/downloads)
##### Windows ##### Windows(在线克隆代码)
```shell ```shell
git clone https://github.com/Grasscutters/Grasscutter.git git clone https://github.com/Grasscutters/Grasscutter.git # 或使用自己的fork地址
cd Grasscutter cd Grasscutter
.\gradlew.bat # 建立开发环境 .\gradlew.bat # 建立开发环境
.\gradlew jar # 编译 .\gradlew jar # 编译
``` ```
##### Windows(本地编译)
```shell
cd <本地地址>/Grasscutter
.\gradlew.bat # 建立开发环境
.\gradlew jar # 编译
```
##### Linux ##### Linux
```bash ```bash
...@@ -96,7 +102,8 @@ chmod +x gradlew ...@@ -96,7 +102,8 @@ chmod +x gradlew
./gradlew jar # 编译 ./gradlew jar # 编译
``` ```
编译后的 JAR 文件存放在根目录 * 编译后的 JAR 文件存放在根目录
* Windows如创建为.bat文件请删除注释
### 命令列表请到 [wiki](https://github.com/Grasscutters/Grasscutter/wiki/Commands) 查看 ### 命令列表请到 [wiki](https://github.com/Grasscutters/Grasscutter/wiki/Commands) 查看
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "Set weather ID to %s with climate type %s.", "success": "Set weather ID to %s with climate type %s.",
"status": "Current weather ID is %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"
}, },
"ban": { "ban": {
"success": "Successful.", "success": "Successful.",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "Establece el ID del clima %s con el tipo de clima %s.", "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.", "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": { "ban": {
"success": "Exitoso.", "success": "Exitoso.",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "L'ID de la météo à été défini a %s avec le type de climat %s.", "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.", "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": { "ban": {
"success": "Succès.", "success": "Succès.",
......
...@@ -344,10 +344,9 @@ ...@@ -344,10 +344,9 @@
"description": "플레이어의 위치를 이동시킵니다." "description": "플레이어의 위치를 이동시킵니다."
}, },
"weather": { "weather": {
"usage": "사용법: weather [날씨ID] [climateType]\n날씨 ID들은 WeatherExcelConfigData.json에서 찾을 수 있습니다.\n날씨 타입: sunny, cloudy, rain, thunderstorm, snow, mist",
"success": "설정 날씨 ID %s 를 %s 로.", "success": "설정 날씨 ID %s 를 %s 로.",
"status": "현재 날씨 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": { "ban": {
"command_usage": "사용법: ban <@플레이어ID> [timestamp] [reason]", "command_usage": "사용법: ban <@플레이어ID> [timestamp] [reason]",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "ID pogody został ustawiony na %s, a typ klimatu na %s.", "success": "ID pogody został ustawiony na %s, a typ klimatu na %s.",
"status": "Bieżące ID pogody to %s, a typ klimatu to %s.", "status": "Bieżące ID pogody to %s, a typ klimatu to %s.",
"description": "Zmień ID pogody i typ klimatu." "description": "Zmień identyfikator pogody i typ klimatu. I dentyfikator pogody można znaleźć w folderze ./Resources/ExcelBinOutput/WeatherExcelConfigData.json.\nRodzaje klimatu: słoneczny, pochmurny, deszcz, burze, śnieg, mgła "
}, },
"ban": { "ban": {
"success": "Pomyślnie zbanowano podanego gracza.", "success": "Pomyślnie zbanowano podanego gracza.",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "A setat ID-ul meteo la %s cu tipul de climă %s", "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", "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": { "ban": {
"success": "Succes.", "success": "Succes.",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "Установлен ID погоды %s, тип климата: %s.", "success": "Установлен ID погоды %s, тип климата: %s.",
"status": "Текущий 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": { "ban": {
"success": "Успех.", "success": "Успех.",
......
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
"add_too_much": "服务端仅允许你队伍里至多有 %d 名角色。", "add_too_much": "服务端仅允许你队伍里至多有 %d 名角色。",
"failed_to_add_avatar": "无法根据ID %s 添加角色。", "failed_to_add_avatar": "无法根据ID %s 添加角色。",
"failed_to_parse_index": "无法解析索引:%s", "failed_to_parse_index": "无法解析索引:%s",
"remove_too_much": "你不能删除那么多角色,你的队伍列表将会变空。", "remove_too_much": "你不能删除那么多角色,你的队伍列表将空。",
"ignore_index": "忽略的索引列表:%s", "ignore_index": "忽略的索引列表:%s",
"index_out_of_range": "你指定的索引超出了范围。", "index_out_of_range": "你指定的索引超出了范围。",
"failed_parse_avatar_id": "无法解析的角色ID:%s", "failed_parse_avatar_id": "无法解析的角色ID:%s",
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "已设置天气ID 为 %s,气候类型为 %s。", "success": "已设置天气ID 为 %s,气候类型为 %s。",
"status": "当前天气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": { "ban": {
"success": "成功封禁玩家。", "success": "成功封禁玩家。",
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"weather": { "weather": {
"success": "已設定天氣ID 為 %s,氣候型別為 %s。", "success": "已設定天氣ID 為 %s,氣候型別為 %s。",
"status": "當前天氣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": { "ban": {
"success": "停權成功。", "success": "停權成功。",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment