FIX: differentiate one/other select-kit maximumLabel/minimumLabel
This commit is contained in:
parent
185d6ac747
commit
ba905b24ca
|
@ -1251,8 +1251,12 @@ en:
|
|||
no_content: No matches found
|
||||
filter_placeholder: Search...
|
||||
create: "Create: '{{content}}'"
|
||||
max_content_reached: "You can only select {{count}} item(s)."
|
||||
min_content_not_reached: "Select at least {{count}} item(s)."
|
||||
max_content_reached:
|
||||
one: "You can only select {{count}} item."
|
||||
other: "You can only select {{count}} item(s)."
|
||||
min_content_not_reached:
|
||||
one: "Select at least {{count}} item."
|
||||
other: "Select at least {{count}} item(s)."
|
||||
|
||||
emoji_picker:
|
||||
filter_placeholder: Search for emoji
|
||||
|
|
|
@ -171,7 +171,7 @@ componentTest('with minimum', {
|
|||
test(assert) {
|
||||
this.get('subject').expand();
|
||||
|
||||
andThen(() => assert.equal(this.get('subject').validationMessage(), 'Select at least 1 item(s).'));
|
||||
andThen(() => assert.equal(this.get('subject').validationMessage(), 'Select at least 1 item.'));
|
||||
|
||||
this.get('subject').selectRowByValue('sam');
|
||||
|
||||
|
|
|
@ -512,7 +512,7 @@ componentTest('with minimum', {
|
|||
test(assert) {
|
||||
this.get('subject').expand();
|
||||
|
||||
andThen(() => assert.equal(this.get('subject').validationMessage(), 'Select at least 1 item(s).'));
|
||||
andThen(() => assert.equal(this.get('subject').validationMessage(), 'Select at least 1 item.'));
|
||||
|
||||
this.get('subject').selectRowByValue('sam');
|
||||
|
||||
|
|
Loading…
Reference in New Issue