diff --git a/grocy.openapi.json b/grocy.openapi.json index 70fb445f..1f4baac7 100644 --- a/grocy.openapi.json +++ b/grocy.openapi.json @@ -1175,7 +1175,7 @@ "shopping_location_id": { "type": "number", "format": "integer", - "description": "If omitted, no shopping location will be affected" + "description": "If omitted, no store will be affected" }, "purchased_date": { "type": "string", @@ -1487,7 +1487,7 @@ "shopping_location_id": { "type": "number", "format": "integer", - "description": "If omitted, no shopping location will be affected" + "description": "If omitted, no store will be affected" } }, "example": { @@ -1719,7 +1719,7 @@ "shopping_location_id": { "type": "number", "format": "integer", - "description": "If omitted, no shopping location will be affected" + "description": "If omitted, no store will be affected" }, "location_id": { "type": "number", diff --git a/localization/strings.pot b/localization/strings.pot index f3881af5..d31cd336 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -79,7 +79,7 @@ msgstr "" msgid "Locations" msgstr "" -msgid "Shopping locations" +msgid "Stores" msgstr "" msgid "Quantity units" @@ -178,9 +178,6 @@ msgstr "" msgid "Location" msgstr "" -msgid "Shopping location" -msgstr "" - msgid "Min. stock amount" msgstr "" @@ -220,7 +217,7 @@ msgstr "" msgid "Create location" msgstr "" -msgid "Create shopping location" +msgid "Create store" msgstr "" msgid "Create quantity unit" @@ -256,7 +253,7 @@ msgstr "" msgid "Edit location" msgstr "" -msgid "Edit shopping location" +msgid "Edit store" msgstr "" msgid "Record data" @@ -331,7 +328,7 @@ msgstr "" msgid "Are you sure to delete location \"%s\"?" msgstr "" -msgid "Are you sure to delete shopping location \"%s\"?" +msgid "Are you sure to delete store \"%s\"?" msgstr "" msgid "Manage API keys" @@ -1037,7 +1034,7 @@ msgstr "" msgid "You have to select a location" msgstr "" -msgid "You have to select a shopping location" +msgid "You have to select a store" msgstr "" msgid "List" @@ -1763,5 +1760,8 @@ msgstr "" msgid "Group ingredients by their product group" msgstr "" -msgid "Unknown shopping location" +msgid "Unknown store" +msgstr "" + +msgid "Store" msgstr "" diff --git a/public/viewjs/components/productcard.js b/public/viewjs/components/productcard.js index 73a1fefc..951207d1 100644 --- a/public/viewjs/components/productcard.js +++ b/public/viewjs/components/productcard.js @@ -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 diff --git a/public/viewjs/shoppinglocations.js b/public/viewjs/shoppinglocations.js index bea4c47b..972bce7d 100644 --- a/public/viewjs/shoppinglocations.js +++ b/public/viewjs/shoppinglocations.js @@ -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: { diff --git a/views/components/shoppinglocationpicker.blade.php b/views/components/shoppinglocationpicker.blade.php index 8c104675..f3ccf237 100644 --- a/views/components/shoppinglocationpicker.blade.php +++ b/views/components/shoppinglocationpicker.blade.php @@ -9,12 +9,12 @@ @php if(empty($nextInputSelector)) { $nextInputSelector = ''; } @endphp