'use strict';

var index$1 = require('./bundle-D7YiKR6i.js');
var index = require('./bundle-Dn0hi6OJ.js');

function getModalDeleteMessageTitle(stringSet, message) {
    return index.K(message)
        .when(index$1.isMultipleFilesMessage, function () {
        var filesCount = message.fileInfoList.length;
        return "Do you want to delete all ".concat(filesCount, " photos?");
    })
        .otherwise(function () {
        return stringSet.MODAL__DELETE_MESSAGE__TITLE;
    });
}

exports.getModalDeleteMessageTitle = getModalDeleteMessageTitle;
//# sourceMappingURL=bundle-C4t_1F0C.js.map
