mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
i18n
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
.editInviteMessage(params, messageType, slot)
|
||||
.catch((err) => {
|
||||
console.error('Invite response message update failed', err);
|
||||
toast.error('Error');
|
||||
toast.error(t('message.error'));
|
||||
})
|
||||
.then((args) => {
|
||||
if (args.json[slot].message === I.messageSlot.message) {
|
||||
@@ -84,7 +84,7 @@
|
||||
toast.error(errorMessage);
|
||||
throw new Error(errorMessage);
|
||||
} else {
|
||||
toast('Invite message updated');
|
||||
toast(t('message.invite.message_updated'));
|
||||
}
|
||||
return args;
|
||||
});
|
||||
@@ -98,13 +98,13 @@
|
||||
.sendInviteResponsePhoto(params, I.invite.id)
|
||||
.catch((err) => {
|
||||
console.error('Invite response photo failed', err);
|
||||
toast.error('Error');
|
||||
toast.error(t('message.error'));
|
||||
})
|
||||
.then((args) => {
|
||||
notificationRequest.hideNotification({
|
||||
notificationId: I.invite.id
|
||||
});
|
||||
toast.success('Invite response message sent');
|
||||
toast.success(t('message.invite.response_sent'));
|
||||
return args;
|
||||
})
|
||||
.finally(() => {
|
||||
@@ -115,13 +115,13 @@
|
||||
.sendInviteResponse(params, I.invite.id)
|
||||
.catch((err) => {
|
||||
console.error('Invite response failed', err);
|
||||
toast.error('Error');
|
||||
toast.error(t('message.error'));
|
||||
})
|
||||
.then((args) => {
|
||||
notificationRequest.hideNotification({
|
||||
notificationId: I.invite.id
|
||||
});
|
||||
toast.success('Invite response message sent');
|
||||
toast.success(t('message.invite.response_sent'));
|
||||
return args;
|
||||
})
|
||||
.finally(() => {
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
notificationRequest.hideNotification({
|
||||
notificationId: D.invite.id
|
||||
});
|
||||
toast.success('Invite response photo message sent');
|
||||
toast.success(t('message.invite.response_photo_sent'));
|
||||
return args;
|
||||
})
|
||||
.finally(() => {
|
||||
@@ -79,13 +79,13 @@
|
||||
.sendInviteResponse(params, D.invite.id)
|
||||
.catch((err) => {
|
||||
console.error('Invite response failed', err);
|
||||
toast.error('Error');
|
||||
toast.error(t('message.error'));
|
||||
})
|
||||
.then((args) => {
|
||||
notificationRequest.hideNotification({
|
||||
notificationId: D.invite.id
|
||||
});
|
||||
toast.success('Invite response message sent');
|
||||
toast.success(t('message.invite.response_sent'));
|
||||
return args;
|
||||
})
|
||||
.finally(() => {
|
||||
|
||||
Reference in New Issue
Block a user