Update tl

This commit is contained in:
Yokayo
2024-11-06 01:33:24 +07:00
parent c8a28137e0
commit 9d664bc679
14 changed files with 181 additions and 94 deletions

View File

@ -32,6 +32,7 @@ import { commonEnumProviders } from './slash-commands/SlashCommandCommonEnumsPro
import { SlashCommandParser } from './slash-commands/SlashCommandParser.js';
import { createTagMapFromList } from './tags.js';
import { renderTemplateAsync } from './templates.js';
import { t } from './i18n.js';
import {
getUniqueName,
@ -263,7 +264,7 @@ export async function convertSoloToGroupChat() {
return;
}
const confirm = await Popup.show.confirm('Convert to group chat', 'Are you sure you want to convert this chat to a group chat?<br />This cannot be reverted.');
const confirm = await Popup.show.confirm(t`Convert to group chat`, t`Are you sure you want to convert this chat to a group chat?` + `<br />` + t`This cannot be reverted.`);
if (!confirm) {
return;
}