Make texts translatable

This commit is contained in:
Cohee
2025-04-09 19:18:05 +03:00
parent ceceb8f3f0
commit c522baf4f7
3 changed files with 3 additions and 3 deletions

View File

@ -9884,7 +9884,7 @@ export async function renameChat(oldFileName, newName) {
return;
}
if (equalsIgnoreCaseAndAccents(body.original_file, body.renamed_file)) {
toastr.warning('Name not accepted, as it is the same as before (ignoring case and accents).', 'Rename Chat');
toastr.warning(t`Name not accepted, as it is the same as before (ignoring case and accents).`, t`Rename Chat`);
return;
}