Update tl

This commit is contained in:
Yokayo
2024-09-28 20:47:37 +07:00
parent 578fc8e6f1
commit bb76649478
5 changed files with 69 additions and 23 deletions

View File

@ -7853,7 +7853,7 @@ function addAlternateGreeting(template, greeting, index, getArray) {
}).val(greeting);
greetingBlock.find('.greeting_index').text(index + 1);
greetingBlock.find('.delete_alternate_greeting').on('click', async function () {
if (confirm('Are you sure you want to delete this alternate greeting?')) {
if (confirm(t`Are you sure you want to delete this alternate greeting?`)) {
const array = getArray();
array.splice(index, 1);
// We need to reopen the popup to update the index numbers