diff --git a/localization/strings.pot b/localization/strings.pot index 61a40133..b6951360 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -2000,7 +2000,7 @@ msgstr "" msgid "Disabled" msgstr "" -msgid "This also removes any stock amount, the journal and all other references of this product - consider disabling this product instead, if you want to keep that and just hide it." +msgid "This also removes any stock amount, the journal and all other references of this product - consider disabling it instead, if you want to keep that and just hide the product." msgstr "" msgid "Show disabled products" diff --git a/public/viewjs/products.js b/public/viewjs/products.js index 67ac189c..d94b7ca4 100644 --- a/public/viewjs/products.js +++ b/public/viewjs/products.js @@ -51,7 +51,7 @@ $(document).on('click', '.product-delete-button', function(e) var objectId = $(e.currentTarget).attr('data-product-id'); bootbox.confirm({ - message: __t('Are you sure to delete product "%s"?', objectName) + '

' + __t('This also removes any stock amount, the journal and all other references of this product - consider disabling this product instead, if you want to keep that and just hide it.'), + message: __t('Are you sure to delete product "%s"?', objectName) + '

' + __t('This also removes any stock amount, the journal and all other references of this product - consider disabling it instead, if you want to keep that and just hide the product.'), closeButton: false, buttons: { confirm: {