Skip to content

Commit

Permalink
Add shortcut to schema and fix messages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
violine1101 committed May 23, 2020
1 parent 417f68e commit d7260ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ messages:
fillname: []
- project: mce
name: Crash logged automatically
shortcu: autocrash
shortcut: autocrash
message: |-
*Thank you for your report!*
However, this issue is {color:#FF5722}*Invalid*{color}.
Expand Down Expand Up @@ -298,7 +298,7 @@ messages:
duplicate-of-mc-297:
- project: mc
name: Duplicate of MC-297
shortcut: 297
shortcut: '297'
message: |-
*Thank you for your report!*
We're actually already tracking this issue in *MC-297*, so I've resolved and linked this ticket as a duplicate.
Expand Down Expand Up @@ -467,6 +467,7 @@ messages:
- realms
- web
name: I am a Bot
shortcut: bot
message:
"~{color:#888}-- I am a bot. This action was performed automagically!
Please report any issues in [Discord|https://discordapp.com/invite/rpCyfKV]
Expand Down
4 changes: 4 additions & 0 deletions messages_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"message": {
"type": "string"
},
"shortcut": {
"type": "string"
},
"localizedMessages": {
"$ref": "#/definitions/localizedValues"
},
Expand All @@ -57,6 +60,7 @@
"required": [
"project",
"name",
"shortcut",
"message",
"fillname"
]
Expand Down

0 comments on commit d7260ed

Please sign in to comment.