From d7c8377d71cbb85848e97af15e358bae69385de8 Mon Sep 17 00:00:00 2001 From: artiume Date: Sun, 25 Sep 2022 17:36:47 -0400 Subject: [PATCH] Add metadata lost warning to renaming libraries --- src/controllers/dashboard/library.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/dashboard/library.js b/src/controllers/dashboard/library.js index 8a43d7b690..fc5a80cbad 100644 --- a/src/controllers/dashboard/library.js +++ b/src/controllers/dashboard/library.js @@ -76,7 +76,8 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder'; function renameVirtualFolder(page, virtualFolder) { import('../../components/prompt/prompt').then(({default: prompt}) => { prompt({ - label: globalize.translate('LabelNewName'), + title: globalize.translate('LabelNewName'), + label: globalize.translate('MessageAreYouSureYouWishToRenameMediaFolder'), confirmText: globalize.translate('ButtonRename') }).then(function (newName) { if (newName && newName != virtualFolder.Name) {