mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Only show the "Test plural forms"-button on the qu edit page when the current language requires more than 2 plural forms (references #261)
This commit is contained in:
@@ -57,7 +57,10 @@
|
||||
))
|
||||
|
||||
<button id="save-quantityunit-button" class="btn btn-success">{{ $__t('Save') }}</button>
|
||||
|
||||
@if(intval($pluralCount) > 2)
|
||||
<button id="test-quantityunit-plural-forms-button" class="btn btn-secondary">{{ $__t('Test plural forms') }}</button>
|
||||
@endif
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user