FIX: differentiate one/other select-kit maximumLabel/minimumLabel

This commit is contained in:
Claas Augner 2018-04-09 09:12:01 +02:00 committed by Joffrey JAFFEUX
parent 185d6ac747
commit ba905b24ca
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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');

View File

@ -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');