mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 16:28:23 +00:00
Rename chat key to message in localization files
This commit is contained in:
parent
a9b77f7052
commit
b76ea72e14
3 changed files with 3 additions and 3 deletions
|
|
@ -129,7 +129,7 @@ public class DiscordMessageParser {
|
|||
boolean isMultiLine = truncatedRaw.contains("\n");
|
||||
|
||||
// Build segments from common.chat template
|
||||
JsonNode chatNode = I18nManager.getCustomMessages().path("common").path("chat");
|
||||
JsonNode chatNode = I18nManager.getCustomMessages().path("common").path("message");
|
||||
if (chatNode.isArray()) {
|
||||
for (JsonNode segNode : chatNode) {
|
||||
String text = segNode.path("text").asText("");
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ version: ${mod_version}
|
|||
# ==================================================
|
||||
|
||||
common:
|
||||
chat:
|
||||
message:
|
||||
- text: "[{server}] "
|
||||
bold: true
|
||||
color: "{server_color}"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ version: ${mod_version}
|
|||
# ==================================================
|
||||
|
||||
common:
|
||||
chat:
|
||||
message:
|
||||
- text: "[{server}] "
|
||||
bold: true
|
||||
color: "{server_color}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue