We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 810ecd1 + 286fa63 commit ac8ed09Copy full SHA for ac8ed09
components/intl.rst
@@ -141,10 +141,10 @@ for traditional Chinese)::
141
All methods accept the translation locale as the last, optional parameter,
142
which defaults to the current default locale::
143
144
- $languages = Scripts::getNames('de');
+ $scripts = Scripts::getNames('de');
145
// => ['Adlm' => 'Adlam', 'Afak' => 'Afaka', ...]
146
147
- $language = Scripts::getName('Hans', 'de');
+ $script = Scripts::getName('Hans', 'de');
148
// => 'Vereinfacht'
149
150
If the given script code doesn't exist, the methods trigger a
0 commit comments