Skip to content

Commit 286fa63

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Fix typo
2 parents 970dcb9 + c4ea8f6 commit 286fa63

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
@@ -145,10 +145,10 @@ for traditional Chinese)::
145145
All methods accept the translation locale as the last, optional parameter,
146146
which defaults to the current default locale::
147147

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

151-
$language = Scripts::getName('Hans', 'de');
151+
$script = Scripts::getName('Hans', 'de');
152152
// => 'Vereinfacht'
153153

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

0 commit comments

Comments
 (0)