From e336f242252301d0ee7c087b593a37e9465480e0 Mon Sep 17 00:00:00 2001
From: Bernd Bestel
' + __t("Undo") + '');
+ toastr.success(__t('Tracked charge cycle of battery %1$s on %2$s', batteryDetails.battery.name, $('#tracked_time').find('input').val()) + '
' + __t("Undo") + '');
Grocy.Components.BatteryCard.Refresh($('#battery_id').val());
$('#battery_id').val('');
diff --git a/public/viewjs/choresoverview.js b/public/viewjs/choresoverview.js
index 4be94c1d..64d40b1b 100644
--- a/public/viewjs/choresoverview.js
+++ b/public/viewjs/choresoverview.js
@@ -270,10 +270,10 @@ function RefreshStatistics()
}
});
- $("#info-due-today-chores").html('' + dueTodayCount + ' ' + __n(dueTodayCount, '%s chore is due to be done today', '%s chores are due to be done today'));
- $("#info-due-soon-chores").html('' + dueSoonCount + ' ' + __n(dueSoonCount, '%s chore is due to be done', '%s chores are due to be done') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days'));
- $("#info-overdue-chores").html('' + overdueCount + ' ' + __n(overdueCount, '%s chore is overdue to be done', '%s chores are overdue to be done'));
- $("#info-assigned-to-me-chores").html('' + assignedToMeCount + ' ' + __n(assignedToMeCount, '%s chore is assigned to me', '%s chores are assigned to me'));
+ $("#info-due-today-chores").html('' + dueTodayCount + ' ' + __n(dueTodayCount, '%s chore is due to be done today', '%s chores are due to be done today'));
+ $("#info-due-soon-chores").html('' + dueSoonCount + ' ' + __n(dueSoonCount, '%s chore is due to be done', '%s chores are due to be done') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days'));
+ $("#info-overdue-chores").html('' + overdueCount + ' ' + __n(overdueCount, '%s chore is overdue to be done', '%s chores are overdue to be done'));
+ $("#info-assigned-to-me-chores").html('' + assignedToMeCount + ' ' + __n(assignedToMeCount, '%s chore is assigned to me', '%s chores are assigned to me'));
},
function(xhr)
{
diff --git a/public/viewjs/choretracking.js b/public/viewjs/choretracking.js
index 84f90ddb..a86772ba 100644
--- a/public/viewjs/choretracking.js
+++ b/public/viewjs/choretracking.js
@@ -27,7 +27,7 @@
Grocy.Components.UserfieldsForm.Save(function()
{
Grocy.FrontendHelpers.EndUiBusy("choretracking-form");
- toastr.success(__t('Tracked execution of chore %1$s on %2$s', choreDetails.chore.name, Grocy.Components.DateTimePicker.GetValue()) + '
' + __t("Undo") + '');
+ toastr.success(__t('Tracked execution of chore %1$s on %2$s', choreDetails.chore.name, Grocy.Components.DateTimePicker.GetValue()) + '
' + __t("Undo") + '');
Grocy.Components.ChoreCard.Refresh($('#chore_id').val());
$('#chore_id').val('');
diff --git a/public/viewjs/components/barcodescanner.js b/public/viewjs/components/barcodescanner.js
index 293a4197..3efc6f10 100644
--- a/public/viewjs/components/barcodescanner.js
+++ b/public/viewjs/components/barcodescanner.js
@@ -234,7 +234,7 @@ $(document).on("click", "#barcodescanner-start-button", async function(e)
closeButton: true,
buttons: {
torch: {
- label: '',
+ label: '',
className: 'btn-warning responsive-button torch',
callback: function()
{
@@ -291,11 +291,11 @@ Grocy.Components.BarcodeScanner.Init = function()
{
if ($(this).hasAttr("disabled"))
{
- $(this).after('');
+ $(this).after('');
}
else
{
- $(this).after('');
+ $(this).after('');
}
Grocy.Components.BarcodeScanner.InitDone = true;
diff --git a/public/viewjs/components/calendarcard.js b/public/viewjs/components/calendarcard.js
index 36cc3425..6a130bf3 100644
--- a/public/viewjs/components/calendarcard.js
+++ b/public/viewjs/components/calendarcard.js
@@ -8,15 +8,15 @@ $('#calendar').datetimepicker(
calendarWeeks: true,
locale: moment.locale(),
icons: {
- time: 'far fa-clock',
- date: 'far fa-calendar',
- up: 'fas fa-arrow-up',
- down: 'fas fa-arrow-down',
- previous: 'fas fa-chevron-left',
- next: 'fas fa-chevron-right',
- today: 'fas fa-calendar-check',
- clear: 'far fa-trash-alt',
- close: 'far fa-times-circle'
+ time: 'fa-regular fa-clock',
+ date: 'fa-regular fa-calendar',
+ up: 'fa-solid fa-arrow-up',
+ down: 'fa-solid fa-arrow-down',
+ previous: 'fa-solid fa-chevron-left',
+ next: 'fa-solid fa-chevron-right',
+ today: 'fa-solid fa-calendar-check',
+ clear: 'fa-regular fa-trash-alt',
+ close: 'fa-regular fa-times-circle'
},
keepOpen: true,
inline: true,
diff --git a/public/viewjs/components/datetimepicker.js b/public/viewjs/components/datetimepicker.js
index 3e44be9a..df8f0cd0 100644
--- a/public/viewjs/components/datetimepicker.js
+++ b/public/viewjs/components/datetimepicker.js
@@ -95,15 +95,15 @@ Grocy.Components.DateTimePicker.Init = function(reInit = false)
defaultDate: startDate,
useCurrent: false,
icons: {
- time: 'far fa-clock',
- date: 'far fa-calendar',
- up: 'fas fa-arrow-up',
- down: 'fas fa-arrow-down',
- previous: 'fas fa-chevron-left',
- next: 'fas fa-chevron-right',
- today: 'fas fa-calendar-day',
- clear: 'far fa-trash-alt',
- close: 'fas fa-check'
+ time: 'fa-regular fa-clock',
+ date: 'fa-regular fa-calendar',
+ up: 'fa-solid fa-arrow-up',
+ down: 'fa-solid fa-arrow-down',
+ previous: 'fa-solid fa-chevron-left',
+ next: 'fa-solid fa-chevron-right',
+ today: 'fa-solid fa-calendar-day',
+ clear: 'fa-regular fa-trash-alt',
+ close: 'fa-solid fa-check'
},
sideBySide: true,
keyBinds: {
diff --git a/public/viewjs/components/datetimepicker2.js b/public/viewjs/components/datetimepicker2.js
index a134e460..017c79b3 100644
--- a/public/viewjs/components/datetimepicker2.js
+++ b/public/viewjs/components/datetimepicker2.js
@@ -95,15 +95,15 @@ Grocy.Components.DateTimePicker2.Init = function(reInit = false)
defaultDate: startDate,
useCurrent: false,
icons: {
- time: 'far fa-clock',
- date: 'far fa-calendar',
- up: 'fas fa-arrow-up',
- down: 'fas fa-arrow-down',
- previous: 'fas fa-chevron-left',
- next: 'fas fa-chevron-right',
- today: 'fas fa-calendar-day',
- clear: 'far fa-trash-alt',
- close: 'fas fa-check'
+ time: 'fa-regular fa-clock',
+ date: 'fa-regular fa-calendar',
+ up: 'fa-solid fa-arrow-up',
+ down: 'fa-solid fa-arrow-down',
+ previous: 'fa-solid fa-chevron-left',
+ next: 'fa-solid fa-chevron-right',
+ today: 'fa-solid fa-calendar-day',
+ clear: 'fa-regular fa-trash-alt',
+ close: 'fa-solid fa-check'
},
sideBySide: true,
keyBinds: {
diff --git a/public/viewjs/components/productpicker.js b/public/viewjs/components/productpicker.js
index 6003c92d..4655940e 100644
--- a/public/viewjs/components/productpicker.js
+++ b/public/viewjs/components/productpicker.js
@@ -255,7 +255,7 @@ $('#product_id_text_input').on('blur', function(e)
if (!Grocy.FeatureFlags.GROCY_FEATURE_FLAG_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING)
{
buttons.retrycamerascanning = {
- label: 'C ',
+ label: 'C ',
className: 'btn-primary responsive-button retry-camera-scanning-button',
callback: function()
{
diff --git a/public/viewjs/consume.js b/public/viewjs/consume.js
index 2a733a2b..6bb6adbf 100644
--- a/public/viewjs/consume.js
+++ b/public/viewjs/consume.js
@@ -82,11 +82,11 @@
if (productDetails.product.enable_tare_weight_handling == 1 && !jsonData.exact_amount)
{
- var successMessage = __t('Removed %1$s of %2$s from stock', Math.abs(jsonForm.amount - (parseFloat(productDetails.product.tare_weight) + parseFloat(productDetails.stock_amount))) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
+ var successMessage = __t('Removed %1$s of %2$s from stock', Math.abs(jsonForm.amount - (parseFloat(productDetails.product.tare_weight) + parseFloat(productDetails.stock_amount))) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
}
else
{
- var successMessage = __t('Removed %1$s of %2$s from stock', Math.abs(jsonForm.amount) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
+ var successMessage = __t('Removed %1$s of %2$s from stock', Math.abs(jsonForm.amount) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
}
if (GetUriParam("embedded") !== undefined)
@@ -187,7 +187,7 @@ $('#save-mark-as-open-button').on('click', function(e)
}
Grocy.FrontendHelpers.EndUiBusy("consume-form");
- toastr.success(__t('Marked %1$s of %2$s as opened', parseFloat(jsonForm.amount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '');
+ toastr.success(__t('Marked %1$s of %2$s as opened', parseFloat(jsonForm.amount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '');
if (BoolVal(Grocy.UserSettings.stock_default_consume_amount_use_quick_consume_amount))
{
diff --git a/public/viewjs/inventory.js b/public/viewjs/inventory.js
index fbf158c7..b834fdf4 100644
--- a/public/viewjs/inventory.js
+++ b/public/viewjs/inventory.js
@@ -121,7 +121,7 @@
Grocy.Api.Get('stock/products/' + jsonForm.product_id,
function(result)
{
- var successMessage = __t('Stock amount of %1$s is now %2$s', result.product.name, result.stock_amount + " " + __n(result.stock_amount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true)) + '
' + __t("Undo") + '';
+ var successMessage = __t('Stock amount of %1$s is now %2$s', result.product.name, result.stock_amount + " " + __n(result.stock_amount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true)) + '
' + __t("Undo") + '';
if (GetUriParam("embedded") !== undefined)
{
diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js
index 411a7822..b52954de 100644
--- a/public/viewjs/mealplan.js
+++ b/public/viewjs/mealplan.js
@@ -64,7 +64,7 @@ $(".calendar").each(function()
$(".calendar[data-primary-section='true'] .fc-day-header").prepend('\
' + fulfillmentIconHtml + " " + fulfillmentInfoHtml + '
\
' + costsAndCaloriesPerServing + ' \
\
- \
- \
- \
+ \
+ \
+ \
' + shoppingListButtonHtml + ' \
' + doneButtonHtml + ' \
\
@@ -282,8 +282,8 @@ $(".calendar").each(function()
');
@@ -830,7 +830,7 @@ $(document).on('click', '.product-consume-button', function(e)
Grocy.Api.Get('stock/products/' + productId,
function(result)
{
- var toastMessage = __t('Removed %1$s of %2$s from stock', consumeAmount.toString() + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
+ var toastMessage = __t('Removed %1$s of %2$s from stock', consumeAmount.toString() + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
Grocy.Api.Put('objects/meal_plan/' + mealPlanEntryId, { "done": 1 },
function(result)
diff --git a/public/viewjs/purchase.js b/public/viewjs/purchase.js
index 775205ad..9ef0eb33 100644
--- a/public/viewjs/purchase.js
+++ b/public/viewjs/purchase.js
@@ -121,7 +121,7 @@ $('#save-purchase-button').on('click', function(e)
{
amountMessage = parseFloat(jsonForm.amount) - parseFloat(productDetails.stock_amount) - parseFloat(productDetails.product.tare_weight);
}
- var successMessage = __t('Added %1$s of %2$s to stock', amountMessage + " " + __n(amountMessage, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
+ var successMessage = __t('Added %1$s of %2$s to stock', amountMessage + " " + __n(amountMessage, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name) + '
' + __t("Undo") + '';
if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_LABEL_PRINTER)
{
diff --git a/public/viewjs/stockentries.js b/public/viewjs/stockentries.js
index 788742c0..47d7a84f 100644
--- a/public/viewjs/stockentries.js
+++ b/public/viewjs/stockentries.js
@@ -81,7 +81,7 @@ $(document).on('click', '.stock-consume-button', function(e)
Grocy.Api.Get('stock/products/' + productId,
function(result)
{
- var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(consumeAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
+ var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(consumeAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
if (wasSpoiled)
{
toastMessage += " (" + __t("Spoiled") + ")";
@@ -128,7 +128,7 @@ $(document).on('click', '.product-open-button', function(e)
{
button.addClass("disabled");
Grocy.FrontendHelpers.EndUiBusy();
- toastr.success(__t('Marked %1$s of %2$s as opened', 1 + " " + productQuName, productName) + '
' + __t("Undo") + '');
+ toastr.success(__t('Marked %1$s of %2$s as opened', 1 + " " + productQuName, productName) + '
' + __t("Undo") + '');
RefreshStockEntryRow(stockRowId);
},
function(xhr)
diff --git a/public/viewjs/stockentryform.js b/public/viewjs/stockentryform.js
index ba503c36..77222f4f 100644
--- a/public/viewjs/stockentryform.js
+++ b/public/viewjs/stockentryform.js
@@ -44,7 +44,7 @@
Grocy.Api.Put("stock/entry/" + Grocy.EditObjectId, jsonData,
function(result)
{
- var successMessage = __t('Stock entry successfully updated') + '
' + __t("Undo") + '';
+ var successMessage = __t('Stock entry successfully updated') + '
' + __t("Undo") + '';
window.parent.postMessage(WindowMessageBag("StockEntryChanged", Grocy.EditObjectId), Grocy.BaseUrl);
window.parent.postMessage(WindowMessageBag("ShowSuccessMessage", successMessage), Grocy.BaseUrl);
diff --git a/public/viewjs/stockoverview.js b/public/viewjs/stockoverview.js
index 491ef295..1762c3ee 100755
--- a/public/viewjs/stockoverview.js
+++ b/public/viewjs/stockoverview.js
@@ -147,11 +147,11 @@ $(document).on('click', '.product-consume-button', function(e)
{
if (result.product.enable_tare_weight_handling == 1)
{
- var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(originalTotalStockAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
+ var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(originalTotalStockAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
}
else
{
- var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(consumeAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
+ var toastMessage = __t('Removed %1$s of %2$s from stock', parseFloat(consumeAmount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + __n(consumeAmount, result.quantity_unit_stock.name, result.quantity_unit_stock.name_plural, true), result.product.name) + '
' + __t("Undo") + '';
}
if (wasSpoiled)
@@ -207,7 +207,7 @@ $(document).on('click', '.product-open-button', function(e)
}
Grocy.FrontendHelpers.EndUiBusy();
- toastr.success(__t('Marked %1$s of %2$s as opened', parseFloat(amount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + productQuName, productName) + '
' + __t("Undo") + '');
+ toastr.success(__t('Marked %1$s of %2$s as opened', parseFloat(amount).toLocaleString({ minimumFractionDigits: 0, maximumFractionDigits: Grocy.UserSettings.stock_decimal_places_amounts }) + " " + productQuName, productName) + '
' + __t("Undo") + '');
RefreshStatistics();
RefreshProductRow(productId);
},
@@ -261,10 +261,10 @@ function RefreshStatistics()
Grocy.Api.Get('stock/volatile?due_soon_days=' + nextXDays,
function(result)
{
- $("#info-duesoon-products").html('' + result.due_products.length + ' ' + __n(result.due_products.length, '%s product is due', '%s products are due') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days') + '');
- $("#info-overdue-products").html('' + result.overdue_products.length + ' ' + __n(result.overdue_products.length, '%s product is overdue', '%s products are overdue') + '');
- $("#info-expired-products").html('' + result.expired_products.length + ' ' + __n(result.expired_products.length, '%s product is expired', '%s products are expired') + '');
- $("#info-missing-products").html('' + result.missing_products.length + ' ' + __n(result.missing_products.length, '%s product is below defined min. stock amount', '%s products are below defined min. stock amount') + '');
+ $("#info-duesoon-products").html('' + result.due_products.length + ' ' + __n(result.due_products.length, '%s product is due', '%s products are due') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days') + '');
+ $("#info-overdue-products").html('' + result.overdue_products.length + ' ' + __n(result.overdue_products.length, '%s product is overdue', '%s products are overdue') + '');
+ $("#info-expired-products").html('' + result.expired_products.length + ' ' + __n(result.expired_products.length, '%s product is expired', '%s products are expired') + '');
+ $("#info-missing-products").html('' + result.missing_products.length + ' ' + __n(result.missing_products.length, '%s product is below defined min. stock amount', '%s products are below defined min. stock amount') + '');
},
function(xhr)
{
diff --git a/public/viewjs/tasks.js b/public/viewjs/tasks.js
index c020b4c6..3c9e0411 100644
--- a/public/viewjs/tasks.js
+++ b/public/viewjs/tasks.js
@@ -213,9 +213,9 @@ function RefreshStatistics()
}
});
- $("#info-due-today-tasks").html('' + dueTodayCount + ' ' + __n(dueTodayCount, '%s task is due to be done today', '%s tasks are due to be done today'));
- $("#info-due-soon-tasks").html('' + dueSoonCount + ' ' + __n(dueSoonCount, '%s task is due to be done', '%s tasks are due to be done') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days'));
- $("#info-overdue-tasks").html('' + overdueCount + ' ' + __n(overdueCount, '%s task is overdue to be done', '%s tasks are overdue to be done'));
+ $("#info-due-today-tasks").html('' + dueTodayCount + ' ' + __n(dueTodayCount, '%s task is due to be done today', '%s tasks are due to be done today'));
+ $("#info-due-soon-tasks").html('' + dueSoonCount + ' ' + __n(dueSoonCount, '%s task is due to be done', '%s tasks are due to be done') + ' ' + __n(nextXDays, 'within the next day', 'within the next %s days'));
+ $("#info-overdue-tasks").html('' + overdueCount + ' ' + __n(overdueCount, '%s task is overdue to be done', '%s tasks are overdue to be done'));
},
function(xhr)
{
diff --git a/public/viewjs/transfer.js b/public/viewjs/transfer.js
index f6d35f46..dec23cc5 100644
--- a/public/viewjs/transfer.js
+++ b/public/viewjs/transfer.js
@@ -61,11 +61,11 @@
if (productDetails.product.enable_tare_weight_handling == 1)
{
- var successMessage = __t('Transfered %1$s of %2$s from %3$s to %4$s', Math.abs(jsonForm.amount - parseFloat(productDetails.product.tare_weight)) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name, $('option:selected', "#location_id_from").text(), $('option:selected', "#location_id_to").text()) + '
' + __t("Undo") + '';
+ var successMessage = __t('Transfered %1$s of %2$s from %3$s to %4$s', Math.abs(jsonForm.amount - parseFloat(productDetails.product.tare_weight)) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name, $('option:selected', "#location_id_from").text(), $('option:selected', "#location_id_to").text()) + '
' + __t("Undo") + '';
}
else
{
- var successMessage = __t('Transfered %1$s of %2$s from %3$s to %4$s', Math.abs(jsonForm.amount) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name, $('option:selected', "#location_id_from").text(), $('option:selected', "#location_id_to").text()) + '
' + __t("Undo") + '';
+ var successMessage = __t('Transfered %1$s of %2$s from %3$s to %4$s', Math.abs(jsonForm.amount) + " " + __n(jsonForm.amount, productDetails.quantity_unit_stock.name, productDetails.quantity_unit_stock.name_plural, true), productDetails.product.name, $('option:selected', "#location_id_from").text(), $('option:selected', "#location_id_to").text()) + '
' + __t("Undo") + '';
}
if (GetUriParam("embedded") !== undefined)
@@ -82,7 +82,7 @@
if (parseInt($("#location_id_from option:selected").attr("data-is-freezer")) === 0 && parseInt($("#location_id_to option:selected").attr("data-is-freezer")) === 1) // Frozen
{
- toastr.info('' + __t("Frozen") + " ");
+ toastr.info('' + __t("Frozen") + " ");
if (BoolVal(productDetails.product.should_not_be_frozen))
{
@@ -91,7 +91,7 @@
}
if (parseInt($("#location_id_from option:selected").attr("data-is-freezer")) === 1 && parseInt($("#location_id_to option:selected").attr("data-is-freezer")) === 0) // Thawed
{
- toastr.info('' + __t("Thawed") + " ");
+ toastr.info('' + __t("Thawed") + " ");
}
$("#specific_stock_entry").find("option").remove().end().append("");
diff --git a/services/DemoDataGeneratorService.php b/services/DemoDataGeneratorService.php
index 90943641..4311b83f 100644
--- a/services/DemoDataGeneratorService.php
+++ b/services/DemoDataGeneratorService.php
@@ -190,7 +190,7 @@ class DemoDataGeneratorService extends BaseService
INSERT INTO equipment (name, description, instruction_manual_file_name) VALUES ('{$this->__t_sql('Coffee machine')}', '{$loremIpsumWithHtmlFormattings}', 'loremipsum.pdf'); --1
INSERT INTO equipment (name, description) VALUES ('{$this->__t_sql('Dishwasher')}', '{$loremIpsumWithHtmlFormattings}'); --2
- INSERT INTO userentities (name, caption, description, show_in_sidebar_menu, icon_css_class) VALUES ('exampleuserentity', '{$this->__t_sql('Example userentity')}', '{$this->__t_sql('This is an example user entity...')}', 1, 'fas fa-smile'); --1
+ INSERT INTO userentities (name, caption, description, show_in_sidebar_menu, icon_css_class) VALUES ('exampleuserentity', '{$this->__t_sql('Example userentity')}', '{$this->__t_sql('This is an example user entity...')}', 1, 'fa-solid fa-smile'); --1
INSERT INTO userfields (entity, name, caption, type, show_as_column_in_tables) VALUES ('userentity-exampleuserentity', 'customfield1', '{$this->__t_sql('Custom field')} 1', 'text-single-line', 1); --1
INSERT INTO userfields (entity, name, caption, type, show_as_column_in_tables) VALUES ('userentity-exampleuserentity', 'customfield2', '{$this->__t_sql('Custom field')} 2', 'text-single-line', 1); --2
diff --git a/views/about.blade.php b/views/about.blade.php
index d6814274..f3386913 100644
--- a/views/about.blade.php
+++ b/views/about.blade.php
@@ -44,7 +44,7 @@
{{ $__t('Do you find grocy useful?') }}
{{ $__t('Say thanks') }}
+ target="_blank">{{ $__t('Say thanks') }}