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.
1 parent 848db94 commit 04e38ddCopy full SHA for 04e38dd
components/intl.rst
@@ -117,10 +117,10 @@ for traditional Chinese)::
117
All methods accept the translation locale as the last, optional parameter,
118
which defaults to the current default locale::
119
120
- $languages = Scripts::getNames('de');
+ $scripts = Scripts::getNames('de');
121
// => ['Adlm' => 'Adlam', 'Afak' => 'Afaka', ...]
122
123
- $language = Scripts::getName('Hans', 'de');
+ $script = Scripts::getName('Hans', 'de');
124
// => 'Vereinfacht'
125
126
If the given script code doesn't exist, the methods trigger a
0 commit comments