mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-04 02:31:33 +00:00
Translate select2 messages
This commit is contained in:
committed by
Konrad
parent
1f2f5e2eec
commit
149ec5511c
@@ -10,6 +10,12 @@ angular.module("admin.utils").directive "variantAutocomplete", ($timeout) ->
|
||||
element.select2
|
||||
placeholder: t('admin.orders.select_variant')
|
||||
minimumInputLength: 3
|
||||
formatInputTooShort: ->
|
||||
t('admin.select2.minimal_search_length', count: 3)
|
||||
formatSearching: ->
|
||||
t('admin.select2.searching')
|
||||
formatNoMatches: ->
|
||||
t('admin.select2.no_matches')
|
||||
ajax:
|
||||
url: Spree.routes.variants_search
|
||||
datatype: "json"
|
||||
|
||||
@@ -1402,6 +1402,10 @@ en:
|
||||
resume:
|
||||
could_not_resume_the_order: Could not resume the order
|
||||
|
||||
select2:
|
||||
minimal_search_length: Please enter %{count} or more characters
|
||||
searching: Searching...
|
||||
no_matches: No matches found
|
||||
shared:
|
||||
user_guide_link:
|
||||
user_guide: User Guide
|
||||
|
||||
Reference in New Issue
Block a user