8000
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 970dcb9 + c4ea8f6 commit 286fa63Copy full SHA for 286fa63
components/intl.rst
@@ -145,10 +145,10 @@ for traditional Chinese)::
145
All methods accept the translation locale as the last, optional parameter,
146
which defaults to the current default locale::
147
148
- $languages = Scripts::getNames('de');
+ $scripts = Scripts::getNames('de');
149
// => ['Adlm' => 'Adlam', 'Afak' => 'Afaka', ...]
150
151
- $language = Scripts::getName('Hans', 'de');
+ $script = Scripts::getName('Hans', 'de');
152
// => 'Vereinfacht'
153
154
If the given script code doesn't exist, the methods trigger a
0 commit comments