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
e297a29a
Commit
e297a29a
authored
May 04, 2022
by
方块君
Committed by
Melledy
May 03, 2022
Browse files
Add some text to language file
parent
b8f52999
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/Language.java
View file @
e297a29a
...
@@ -36,6 +36,8 @@ public final class Language {
...
@@ -36,6 +36,8 @@ public final class Language {
public
String
Client_login
=
"[Dispatch] Client {ip} logged in as {uid}"
;
public
String
Client_login
=
"[Dispatch] Client {ip} logged in as {uid}"
;
public
String
Username_not_found
=
"Username not found."
;
public
String
Username_not_found
=
"Username not found."
;
public
String
Username_not_found_create_failed
=
"Username not found, create failed."
;
public
String
Username_not_found_create_failed
=
"Username not found, create failed."
;
public
String
Create_resources_folder
=
"Creating resources folder..."
;
public
String
Place_copy
=
"Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder."
;
// Command
// Command
public
String
No_command_specified
=
"No command specified."
;
public
String
No_command_specified
=
"No command specified."
;
...
...
src/main/java/emu/grasscutter/utils/Utils.java
View file @
e297a29a
...
@@ -176,15 +176,15 @@ public final class Utils {
...
@@ -176,15 +176,15 @@ public final class Utils {
// Check for resources folder.
// Check for resources folder.
if
(!
fileExists
(
resourcesFolder
))
{
if
(!
fileExists
(
resourcesFolder
))
{
logger
.
info
(
"
Creat
ing
resources
folder
..."
);
logger
.
info
(
Grasscutter
.
getLanguage
().
Creat
e_
resources
_
folder
);
logger
.
info
(
"Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder."
);
logger
.
info
(
Grasscutter
.
getLanguage
().
Place_copy
);
createFolder
(
resourcesFolder
);
exit
=
true
;
createFolder
(
resourcesFolder
);
exit
=
true
;
}
}
// Check for BinOutput + ExcelBinOuput.
// Check for BinOutput + ExcelBinOuput.
if
(!
fileExists
(
resourcesFolder
+
"BinOutput"
)
||
if
(!
fileExists
(
resourcesFolder
+
"BinOutput"
)
||
!
fileExists
(
resourcesFolder
+
"ExcelBinOutput"
))
{
!
fileExists
(
resourcesFolder
+
"ExcelBinOutput"
))
{
logger
.
info
(
"Place a copy of 'BinOutput' and 'ExcelBinOutput' in the resources folder."
);
logger
.
info
(
Grasscutter
.
getLanguage
().
Place_copy
);
exit
=
true
;
exit
=
true
;
}
}
...
...
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