Skip to content

Commit ac8ed09

Browse files
committed
Merge branch '4.4'
* 4.4: Fix typo
2 parents 810ecd1 + 286fa63 commit ac8ed09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/intl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ for traditional Chinese)::
141141
All methods accept the translation locale as the last, optional parameter,
142142
which defaults to the current default locale::
143143

144-
$languages = Scripts::getNames('de');
144+
$scripts = Scripts::getNames('de');
145145
// => ['Adlm' => 'Adlam', 'Afak' => 'Afaka', ...]
146146

147-
$language = Scripts::getName('Hans', 'de');
147+
$script = Scripts::getName('Hans', 'de');
148148
// => 'Vereinfacht'
149149

150150
If the given script code doesn't exist, the methods trigger a

0 commit comments

Comments
 (0)