Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac8ed09

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

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎components/intl.rst

Copy file name to clipboardExpand all lines: components/intl.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.