diff --git a/frontend/app.js b/frontend/app.js index 44c0afd..6ce2d7c 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -2671,7 +2671,7 @@ function noteApp() { // Rename a folder async renameFolder(folderPath, currentName) { - const newName = prompt(`Rename folder "${currentName}" to:`, currentName); + const newName = prompt(this.t('folders.prompt_rename', { name: currentName }), currentName); if (!newName || newName === currentName) return; const sanitizedName = newName.trim().replace(/[^a-zA-Z0-9-_\s]/g, '');