Changed some localization strings

This commit is contained in:
Bernd Bestel 2020-01-26 20:13:15 +01:00
parent 71a57c9dcb
commit 2764bb680c
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 6 additions and 6 deletions

View File

@ -917,7 +917,7 @@ msgstr ""
msgid "Mark %1$s of %2$s as open" msgid "Mark %1$s of %2$s as open"
msgstr "" msgstr ""
msgid "When a product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)" msgid "When this product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)"
msgstr "" msgstr ""
msgid "Default best before days after opened" msgid "Default best before days after opened"
@ -1688,13 +1688,13 @@ msgstr ""
msgid "When moving products from/to a freezer location, the products best before date is automatically adjusted according to the product settings" msgid "When moving products from/to a freezer location, the products best before date is automatically adjusted according to the product settings"
msgstr "" msgstr ""
msgid "On moving this product to a freezer location, the best before date will be replaced by today + this amount of days" msgid "On moving this product to a freezer location (so when freezing it), the best before date will be replaced by today + this amount of days"
msgstr "" msgstr ""
msgid "Default best before days after freezing" msgid "Default best before days after freezing"
msgstr "" msgstr ""
msgid "On moving this product from a freezer location, the best before date will be replaced by today + this amount of days" msgid "On moving this product from a freezer location (so when thawing it), the best before date will be replaced by today + this amount of days"
msgstr "" msgstr ""
msgid "Default best before days after thawing" msgid "Default best before days after thawing"

View File

@ -125,7 +125,7 @@
'min' => 0, 'min' => 0,
'value' => $value, 'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '-1'), 'invalidFeedback' => $__t('The amount cannot be lower than %s', '-1'),
'hint' => $__t('When a product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)') 'hint' => $__t('When this product was marked as opened, the best before date will be replaced by today + this amount of days (a value of 0 disables this)')
)) ))
<div class="form-group"> <div class="form-group">
@ -235,7 +235,7 @@
'min' => -1, 'min' => -1,
'value' => $value, 'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'), 'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'),
'hint' => $__t('On moving this product to a freezer location, the best before date will be replaced by today + this amount of days') 'hint' => $__t('On moving this product to a freezer location (so when freezing it), the best before date will be replaced by today + this amount of days')
)) ))
@php if($mode == 'edit') { $value = $product->default_best_before_days_after_thawing; } else { $value = 0; } @endphp @php if($mode == 'edit') { $value = $product->default_best_before_days_after_thawing; } else { $value = 0; } @endphp
@ -245,7 +245,7 @@
'min' => -1, 'min' => -1,
'value' => $value, 'value' => $value,
'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'), 'invalidFeedback' => $__t('The amount cannot be lower than %s', '0'),
'hint' => $__t('On moving this product from a freezer location, the best before date will be replaced by today + this amount of days') 'hint' => $__t('On moving this product from a freezer location (so when thawing it), the best before date will be replaced by today + this amount of days')
)) ))
@else @else
<input type="hidden" name="default_best_before_days_after_freezing" value="0"> <input type="hidden" name="default_best_before_days_after_freezing" value="0">