Name shopping locations "Stores" on the frontend (references #658)

This commit is contained in:
Bernd Bestel
2020-03-25 20:09:28 +01:00
parent 5214a775ed
commit 305f5b67e4
9 changed files with 21 additions and 21 deletions

View File

@@ -122,7 +122,7 @@ Grocy.Components.ProductCard.Refresh = function(productId)
var chart = Grocy.Components.ProductCard.PriceHistoryChart.data;
priceHistoryDataPoints.forEach((dataPoint) =>
{
var key = __t("Unknown shopping location");
var key = __t("Unknown store");
if (dataPoint.shopping_location)
{
key = dataPoint.shopping_location.name

View File

@@ -25,7 +25,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 shopping location "%s"?', objectName),
message: __t('Are you sure to delete store "%s"?', objectName),
closeButton: false,
buttons: {
confirm: {