Clarify help text (it's not always about one unit, but about the corresponding amount opened)

This commit is contained in:
Bernd Bestel 2022-04-18 17:29:00 +02:00
parent 260cccd299
commit 16f033afc5
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 5 additions and 2 deletions

View File

@ -2330,5 +2330,5 @@ msgstr ""
msgid "Move on open"
msgstr ""
msgid "When checked, opening the product will move one unit to the default consume location"
msgid "When enabled, on marking this product as opened, the corresponding amount will be moved to the default consume location"
msgstr ""

View File

@ -146,6 +146,7 @@
$location->id == $product->default_consume_location_id) selected="selected" @endif value="{{ $location->id }}">{{ $location->name }}</option>
@endforeach
</select>
@if(GROCY_FEATURE_FLAG_STOCK_PRODUCT_OPENED_TRACKING)
<div class="custom-control custom-checkbox">
<input @if($mode=='edit'
@ -155,10 +156,12 @@
for="move_on_open">{{ $__t('Move on open') }}&nbsp;<i class="fa-solid fa-question-circle text-muted"
data-toggle="tooltip"
data-trigger="hover click"
title="{{ $__t("When checked, opening the product will move one unit to the default consume location") }}"></i>
title="{{ $__t("When enabled, on marking this product as opened, the corresponding amount will be moved to the default consume location")
}}"></i>
</label>
</div>
@endif
</div>
@else
<input type="hidden"