mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
fix(chat): add default to switch block
This commit is contained in:
parent
106a0c9ed8
commit
259f7ef588
1 changed files with 3 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ export function translateMessage (lang, info) {
|
|||
case 'claim_task':
|
||||
msg = shared.i18n.t('userIsClamingTask', { username: info.user, task: info.task }, lang);
|
||||
break;
|
||||
|
||||
default:
|
||||
msg = "Error translating party chat. Unknown message type.";
|
||||
}
|
||||
|
||||
if (!msg.includes('`')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue