Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
895e2bc4
Commit
895e2bc4
authored
May 10, 2022
by
mingjun97
Committed by
Melledy
May 11, 2022
Browse files
Display version info at console starting
parent
170db70b
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/Grasscutter.java
View file @
895e2bc4
...
@@ -190,6 +190,7 @@ public final class Grasscutter {
...
@@ -190,6 +190,7 @@ public final class Grasscutter {
}
}
getLogger
().
info
(
translate
(
"messages.status.done"
));
getLogger
().
info
(
translate
(
"messages.status.done"
));
getLogger
().
info
(
translate
(
"messages.status.version"
,
BuildConfig
.
VERSION
,
BuildConfig
.
GIT_HASH
));
String
input
=
null
;
String
input
=
null
;
boolean
isLastInterrupted
=
false
;
boolean
isLastInterrupted
=
false
;
while
(
true
)
{
while
(
true
)
{
...
...
src/main/resources/languages/en-US.json
View file @
895e2bc4
...
@@ -48,7 +48,8 @@
...
@@ -48,7 +48,8 @@
"run_mode_error"
:
"Invalid server run mode: %s."
,
"run_mode_error"
:
"Invalid server run mode: %s."
,
"run_mode_help"
:
"Server run mode must be 'HYBRID', 'DISPATCH_ONLY', or 'GAME_ONLY'. Unable to start Grasscutter..."
,
"run_mode_help"
:
"Server run mode must be 'HYBRID', 'DISPATCH_ONLY', or 'GAME_ONLY'. Unable to start Grasscutter..."
,
"create_resources"
:
"Creating resources folder..."
,
"create_resources"
:
"Creating resources folder..."
,
"resources_error"
:
"Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder."
"resources_error"
:
"Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder."
,
"version"
:
"Grasscutter version: %s, Git Hash: %s"
}
}
},
},
"commands"
:
{
"commands"
:
{
...
...
src/main/resources/languages/pl-PL.json
View file @
895e2bc4
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
"run_mode_error"
:
"Błędny tryb pracy serwera: %s."
,
"run_mode_error"
:
"Błędny tryb pracy serwera: %s."
,
"run_mode_help"
:
"Tryb pracy serwera musi być ustawiony na 'HYBRID', 'DISPATCH_ONLY', lub 'GAME_ONLY'. Nie można wystartować Grasscutter..."
,
"run_mode_help"
:
"Tryb pracy serwera musi być ustawiony na 'HYBRID', 'DISPATCH_ONLY', lub 'GAME_ONLY'. Nie można wystartować Grasscutter..."
,
"create_resources"
:
"Tworzenie folderu resources..."
,
"create_resources"
:
"Tworzenie folderu resources..."
,
"resources_error"
:
"Umieść kopię 'BinOutput' i 'ExcelBinOutput' w folderze resources."
"resources_error"
:
"Umieść kopię 'BinOutput' i 'ExcelBinOutput' w folderze resources."
,
"version"
:
"Grasscutter versión: %s, Git Hash: %s"
}
}
},
},
"commands"
:
{
"commands"
:
{
...
...
src/main/resources/languages/zh-CN.json
View file @
895e2bc4
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
"run_mode_error"
:
"无效的服务器运行模式:%s。"
,
"run_mode_error"
:
"无效的服务器运行模式:%s。"
,
"run_mode_help"
:
"服务器运行模式必须为 HYBRID、DISPATCH_ONLY 或 GAME_ONLY。Grasscutter 启动失败..."
,
"run_mode_help"
:
"服务器运行模式必须为 HYBRID、DISPATCH_ONLY 或 GAME_ONLY。Grasscutter 启动失败..."
,
"create_resources"
:
"正在创建 resources 目录..."
,
"create_resources"
:
"正在创建 resources 目录..."
,
"resources_error"
:
"请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。"
"resources_error"
:
"请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。"
,
"version"
:
"Grasscutter版本: %s, Git Hash: %s"
}
}
},
},
"commands"
:
{
"commands"
:
{
...
...
src/main/resources/languages/zh-TW.json
View file @
895e2bc4
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
"run_mode_error"
:
"無效的伺服器運行模式: %s。"
,
"run_mode_error"
:
"無效的伺服器運行模式: %s。"
,
"run_mode_help"
:
"伺服器運行模式必須為 HYBRID 或者 DISPATCH_ONLY 或者 GAME_ONLY。Grasscutter 啟動失敗..."
,
"run_mode_help"
:
"伺服器運行模式必須為 HYBRID 或者 DISPATCH_ONLY 或者 GAME_ONLY。Grasscutter 啟動失敗..."
,
"create_resources"
:
"正在建立 resources 資料夾..."
,
"create_resources"
:
"正在建立 resources 資料夾..."
,
"resources_error"
:
"請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。"
"resources_error"
:
"請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。"
,
"version"
:
"Grasscutter版本: %s, Git Hash: %s"
}
}
},
},
"commands"
:
{
"commands"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment