mirror of
https://github.com/grocy/grocy.git
synced 2025-08-08 07:19:32 +00:00
Improve delete confirmation wording details (references #2624)
This commit is contained in:
parent
b2aa882abb
commit
5f26e914a2
@ -270,7 +270,7 @@ msgstr ""
|
||||
msgid "Invalid credentials, please try again"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete battery \"%s\"?"
|
||||
msgid "Are you sure you want to delete battery \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Yes"
|
||||
@ -279,7 +279,7 @@ msgstr ""
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete chore \"%s\"?"
|
||||
msgid "Are you sure you want to delete chore \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "\"%s\" could not be resolved to a product, how do you want to proceed?"
|
||||
@ -300,16 +300,16 @@ msgstr ""
|
||||
msgid "Add as new product and prefill barcode"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete quantity unit \"%s\"?"
|
||||
msgid "Are you sure you want to delete quantity unit \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete product \"%s\"?"
|
||||
msgid "Are you sure you want to delete product \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete location \"%s\"?"
|
||||
msgid "Are you sure you want to delete location \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete store \"%s\"?"
|
||||
msgid "Are you sure you want to delete store \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Manage API keys"
|
||||
@ -426,13 +426,13 @@ msgstr ""
|
||||
msgid "Edit recipe ingredient"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete recipe \"%s\"?"
|
||||
msgid "Are you sure you want to delete recipe \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete recipe ingredient \"%s\"?"
|
||||
msgid "Are you sure you want to delete recipe ingredient \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to empty shopping list \"%s\"?"
|
||||
msgid "Are you sure you want to empty shopping list \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clear list"
|
||||
@ -473,7 +473,7 @@ msgstr ""
|
||||
msgid "Put missing amount on shopping list"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to put all missing ingredients for recipe \"%s\" on the shopping list?"
|
||||
msgid "Are you sure you want to put all missing ingredients for recipe \"%s\" on the shopping list?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Added for recipe %s"
|
||||
@ -488,7 +488,7 @@ msgstr ""
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete user \"%s\"?"
|
||||
msgid "Are you sure you want to delete user \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create user"
|
||||
@ -582,7 +582,7 @@ msgstr ""
|
||||
msgid "Only check if any amount is in stock"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to consume all ingredients needed by recipe \"%s\" (ingredients marked with \"only check if any amount is in stock\" will be ignored)?"
|
||||
msgid "Are you sure you want to consume all ingredients needed by recipe \"%s\" (ingredients marked with \"only check if any amount is in stock\" will be ignored)?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Removed all ingredients of recipe \"%s\" from stock"
|
||||
@ -636,7 +636,7 @@ msgstr ""
|
||||
msgid "Edit task"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete task \"%s\"?"
|
||||
msgid "Are you sure you want to delete task \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "%s task is due to be done"
|
||||
@ -670,7 +670,7 @@ msgstr ""
|
||||
msgid "Product group"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete product group \"%s\"?"
|
||||
msgid "Are you sure you want to delete product group \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Stay logged in permanently"
|
||||
@ -976,7 +976,7 @@ msgstr ""
|
||||
msgid "Create shopping list"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete shopping list \"%s\"?"
|
||||
msgid "Are you sure you want to delete shopping list \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Average shelf life"
|
||||
@ -1169,7 +1169,7 @@ msgstr ""
|
||||
msgid "Time of printing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete equipment \"%s\"?"
|
||||
msgid "Are you sure you want to delete equipment \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Parent product"
|
||||
@ -1281,7 +1281,7 @@ msgstr ""
|
||||
msgid "Consume product on chore execution"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete user field \"%s\"?"
|
||||
msgid "Are you sure you want to delete user field \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Userentities"
|
||||
@ -1302,7 +1302,7 @@ msgstr ""
|
||||
msgid "Create %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete this userobject?"
|
||||
msgid "Are you sure you want to delete this userobject?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon CSS class"
|
||||
@ -1386,7 +1386,7 @@ msgstr ""
|
||||
msgid "If enabled, the min. stock amount of sub products will be accumulated into this product, means the sub product will never be missing, only this product"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to remove this conversion?"
|
||||
msgid "Are you sure you want to remove this conversion?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unit price"
|
||||
@ -1404,7 +1404,7 @@ msgstr ""
|
||||
msgid "Clear"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to remove the included recipe \"%s\"?"
|
||||
msgid "Are you sure you want to remove the included recipe \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Period interval"
|
||||
@ -1478,7 +1478,7 @@ msgstr ""
|
||||
msgid "Booking does not exist or was already undone"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete API key \"%s\"?"
|
||||
msgid "Are you sure you want to delete API key \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add note"
|
||||
@ -1529,7 +1529,7 @@ msgstr ""
|
||||
msgid "Frozen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete userentity \"%s\"?"
|
||||
msgid "Are you sure you want to delete userentity \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shopping list settings"
|
||||
@ -1799,7 +1799,7 @@ msgstr ""
|
||||
msgid "Copy"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to remove this barcode?"
|
||||
msgid "Are you sure you want to remove this barcode?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Due date type"
|
||||
@ -1935,7 +1935,7 @@ msgstr ""
|
||||
msgid "Reset"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to reset the table options?"
|
||||
msgid "Are you sure you want to reset the table options?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hide/view columns"
|
||||
@ -2159,13 +2159,13 @@ msgstr ""
|
||||
msgid "Edit meal plan section"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to delete meal plan section \"%s\"?"
|
||||
msgid "Are you sure you want to delete meal plan section \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Section"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure to empty the shopping list?"
|
||||
msgid "Are you sure you want to empty the shopping list?"
|
||||
msgstr ""
|
||||
|
||||
msgid "This is the default which will be prefilled on purchase"
|
||||
|
@ -295,7 +295,7 @@ $(".change-table-columns-visibility-button").on("click", function(e)
|
||||
callback: function()
|
||||
{
|
||||
bootbox.confirm({
|
||||
message: __t("Are you sure to reset the table options?"),
|
||||
message: __t("Are you sure you want to reset the table options?"),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
cancel: {
|
||||
|
@ -33,7 +33,7 @@ $(document).on('click', '.battery-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-battery-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete battery "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete battery "%s"?', objectName),
|
||||
buttons: {
|
||||
confirm: {
|
||||
label: __t('Yes'),
|
||||
|
@ -32,7 +32,7 @@ $(document).on('click', '.chore-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-chore-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete chore "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete chore "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -119,7 +119,7 @@ $(document).on('click', '.equipment-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-equipment-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete equipment "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete equipment "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.location-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-location-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete location "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete location "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -32,7 +32,7 @@ $(document).on('click', '.apikey-delete-button', function(e)
|
||||
var objectId = button.attr('data-apikey-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete API key "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete API key "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -761,7 +761,7 @@ $(document).on('click', '.recipe-order-missing-button', function(e)
|
||||
var servings = $(e.currentTarget).attr('data-mealplan-servings');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to put all missing ingredients for recipe "%s" on the shopping list?', objectName),
|
||||
message: __t('Are you sure you want to put all missing ingredients for recipe "%s" on the shopping list?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -870,7 +870,7 @@ $(document).on('click', '.recipe-consume-button', function(e)
|
||||
var mealPlanEntryId = $(e.currentTarget).attr('data-mealplan-entry-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to consume all ingredients needed by recipe "%s" (ingredients marked with "only check if any amount is in stock" will be ignored)?', objectName),
|
||||
message: __t('Are you sure you want to consume all ingredients needed by recipe "%s" (ingredients marked with "only check if any amount is in stock" will be ignored)?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.mealplansection-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-mealplansection-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete meal plan section "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete meal plan section "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -282,7 +282,7 @@ $(document).on('click', '.qu-conversion-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-qu-conversion-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to remove this conversion?'),
|
||||
message: __t('Are you sure you want to remove this conversion?'),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -319,7 +319,7 @@ $(document).on('click', '.barcode-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-barcode-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to remove this barcode?'),
|
||||
message: __t('Are you sure you want to remove this barcode?'),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.product-group-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-group-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete product group "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete product group "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -70,7 +70,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) + '<br><br>' + __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.'),
|
||||
message: __t('Are you sure you want to delete product "%s"?', objectName) + '<br><br>' + __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: {
|
||||
|
@ -159,7 +159,7 @@ $(document).on('click', '.qu-conversion-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-qu-conversion-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to remove this conversion?'),
|
||||
message: __t('Are you sure you want to remove this conversion?'),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.quantityunit-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-quantityunit-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete quantity unit "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete quantity unit "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -136,7 +136,7 @@ $(document).on('click', '.recipe-pos-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-pos-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete recipe ingredient "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete recipe ingredient "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -173,7 +173,7 @@ $(document).on('click', '.recipe-include-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-include-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to remove the included recipe "%s"?', objectName),
|
||||
message: __t('Are you sure you want to remove the included recipe "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -137,7 +137,7 @@ $(".recipe-delete").on('click', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete recipe "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete recipe "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -192,7 +192,7 @@ $(document).on('click', '.recipe-shopping-list', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to put all missing ingredients for recipe "%s" on the shopping list?', objectName) + "<br><br>" + __t("Uncheck ingredients to not put them on the shopping list") + ":" + $("#missing-recipe-pos-list")[0].outerHTML.replace("d-none", ""),
|
||||
message: __t('Are you sure you want to put all missing ingredients for recipe "%s" on the shopping list?', objectName) + "<br><br>" + __t("Uncheck ingredients to not put them on the shopping list") + ":" + $("#missing-recipe-pos-list")[0].outerHTML.replace("d-none", ""),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -238,7 +238,7 @@ $(".recipe-consume").on('click', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to consume all ingredients needed by recipe "%s" (ingredients marked with "only check if any amount is in stock" will be ignored)?', objectName),
|
||||
message: __t('Are you sure you want to consume all ingredients needed by recipe "%s" (ingredients marked with "only check if any amount is in stock" will be ignored)?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -86,7 +86,7 @@ $("#delete-selected-shopping-list").on("click", function()
|
||||
var objectId = $("#selected-shopping-list").val();
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete shopping list "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete shopping list "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
@ -183,10 +183,10 @@ $(document).on('click', '#add-overdue-expired-products', function(e)
|
||||
|
||||
$(document).on('click', '#clear-shopping-list', function(e)
|
||||
{
|
||||
var confirmMessage = __t('Are you sure to empty shopping list "%s"?', $("#selected-shopping-list option:selected").text());
|
||||
var confirmMessage = __t('Are you sure you want to empty shopping list "%s"?', $("#selected-shopping-list option:selected").text());
|
||||
if (!BoolVal(Grocy.FeatureFlags.GROCY_FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS))
|
||||
{
|
||||
confirmMessage = __t('Are you sure to empty the shopping list?');
|
||||
confirmMessage = __t('Are you sure you want to empty the shopping list?');
|
||||
}
|
||||
|
||||
bootbox.confirm({
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.shoppinglocation-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-shoppinglocation-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete store "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete store "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.task-category-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-category-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete task category "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete task category "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -138,7 +138,7 @@ $(document).on('click', '.delete-task-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-task-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete task "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete task "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.userentity-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-userentity-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete userentity "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete userentity "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -45,7 +45,7 @@ $(document).on('click', '.userfield-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-userfield-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete user field "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete user field "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -30,7 +30,7 @@ $(document).on('click', '.userobject-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-userobject-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete this userobject?'),
|
||||
message: __t('Are you sure you want to delete this userobject?'),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
@ -31,7 +31,7 @@ $(document).on('click', '.user-delete-button', function(e)
|
||||
var objectId = $(e.currentTarget).attr('data-user-id');
|
||||
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to delete user "%s"?', objectName),
|
||||
message: __t('Are you sure you want to delete user "%s"?', objectName),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user