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
- + -
{{ $__t('You have to select a shopping location') }}
+
{{ $__t('You have to select a store') }}
diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php index d1cecf11..0ac57062 100644 --- a/views/layout/default.blade.php +++ b/views/layout/default.blade.php @@ -247,7 +247,7 @@
  • - {{ $__t('Shopping locations') }} + {{ $__t('Stores') }}
  • @endif diff --git a/views/shoppinglocationform.blade.php b/views/shoppinglocationform.blade.php index 1b773deb..bbe1a35f 100644 --- a/views/shoppinglocationform.blade.php +++ b/views/shoppinglocationform.blade.php @@ -1,9 +1,9 @@ @extends('layout.default') @if($mode == 'edit') - @section('title', $__t('Edit shopping location')) + @section('title', $__t('Edit store')) @else - @section('title', $__t('Create shopping location')) + @section('title', $__t('Create store')) @endif @section('viewJsName', 'shoppinglocationform') diff --git a/views/shoppinglocations.blade.php b/views/shoppinglocations.blade.php index 12be3024..ed49f777 100644 --- a/views/shoppinglocations.blade.php +++ b/views/shoppinglocations.blade.php @@ -1,6 +1,6 @@ @extends('layout.default') -@section('title', $__t('Shopping locations')) +@section('title', $__t('Stores')) @section('activeNav', 'shoppinglocations') @section('viewJsName', 'shoppinglocations') diff --git a/views/stockentries.blade.php b/views/stockentries.blade.php index 498da5a3..36fda7bb 100644 --- a/views/stockentries.blade.php +++ b/views/stockentries.blade.php @@ -36,7 +36,7 @@ {{ $__t('Best before date') }} @if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING){{ $__t('Location') }}@endif @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) - {{ $__t('Shopping location') }} + {{ $__t('Store') }} {{ $__t('Price') }} @endif {{ $__t('Purchased date') }}