Skip to content

Commit 916ad7a

Browse files
committed
Translate "and" in the sentence_list modifier. Closes #2463
1 parent 55fcf62 commit 916ad7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modifiers/CoreModifiers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ public function sentenceList($value, $params)
16881688
return $value;
16891689
}
16901690

1691-
$glue = Arr::get($params, 0, 'and');
1691+
$glue = Arr::get($params, 0, __('and'));
16921692
$oxford_comma = Arr::get($params, 1, true);
16931693

16941694
return Str::makeSentenceList($value, $glue, $oxford_comma);

0 commit comments

Comments
 (0)