Make texts translatable

c522baf4f7889a8d1324ec7d8443758a66fa161a

Cohee <18619528+Cohee1207@users.noreply.github.com>

3 files changed, +3 -3Showing whitespace changes
public/script.js+1 -1
@@ -9884,7 +9884,7 @@ export async function renameChat(oldFileName, newName) {
98849884 return;
98859885 }
98869886 if (equalsIgnoreCaseAndAccents(body.original_file, body.renamed_file)) {
98879887 toastr.warning('t`Name not accepted, as it is the same as before (ignoring case and accents).'`, 't`Rename Chat'`);
98889888 return;
98899889 }
98909890
public/scripts/preset-manager.js+1 -1
@@ -896,7 +896,7 @@ export async function initPresetManager() {
896896 return;
897897 }
898898 if (equalsIgnoreCaseAndAccents(oldName, newName)) {
899899 toastr.warning('t`Name not accepted, as it is the same as before (ignoring case and accents).'`, 't`Rename Preset'`);
900900 return;
901901 }
902902
public/scripts/world-info.js+1 -1
@@ -3587,7 +3587,7 @@ async function renameWorldInfo(name, data) {
35873587 return;
35883588 }
35893589 if (equalsIgnoreCaseAndAccents(oldName, newName)) {
35903590 toastr.warning('t`Name not accepted, as it is the same as before (ignoring case and accents).'`, 't`Rename World Info'`);
35913591 return;
35923592 }
35933593