Skip to content

Commit bbce5c5

Browse files
committed
[skip ci] wording
1 parent c7cfbfe commit bbce5c5

File tree

1 file changed

+8
-3
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+8
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,9 +2031,14 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
20312031
},
20322032

20332033
__createConfirmTrashWindow: function(studyNames) {
2034-
let msg = this.tr("Are you sure you want to move to the trash");
2035-
const studiesText = osparc.product.Utils.getStudyAlias({plural: true});
2036-
msg += (studyNames.length > 1 ? ` ${studyNames.length} ${studiesText}?` : ` <b>${studyNames[0]}</b>?`);
2034+
let msg = this.tr("Are you sure you want to move");
2035+
if (studyNames.length > 1) {
2036+
const studiesText = osparc.product.Utils.getStudyAlias({plural: true});
2037+
msg += ` ${studyNames.length} ${studiesText} `
2038+
} else {
2039+
msg += ` '${studyNames[0]}' `;
2040+
}
2041+
msg += this.tr("to the Trash?");
20372042
const trashDays = osparc.store.StaticInfo.getInstance().getTrashRetentionDays();
20382043
msg += "<br><br>" + (studyNames.length > 1 ? "They" : "It") + this.tr(` will be permanently deleted after ${trashDays} days.`);
20392044
const confirmationWin = new osparc.ui.window.Confirmation(msg).set({

0 commit comments

Comments
 (0)