diff options
author | Lukas Winkler <git@lw1.at> | 2020-04-08 13:30:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 13:30:16 +0300 |
commit | 2c5c72e2da4c015efa78069c9c1b407fc55a6483 (patch) | |
tree | fecec8638249689fb02b93a883517cc7c64f52d6 /core/Common.php | |
parent | bb4cad6d756e119f92f397a8dd4574d0d1bf539c (diff) |
many typo fixes in the code thanks to codespell (#15730)
* many typo fixes in the code thanks to codespell
* reset submodules
I really need to stop using `git commit -a`
* reset change in library
* rebuilt piwik.js
* fix test
* updates expected UI file
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'core/Common.php')
-rw-r--r-- | core/Common.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Common.php b/core/Common.php index 11602fe11c..50f107c8d4 100644 --- a/core/Common.php +++ b/core/Common.php @@ -920,7 +920,7 @@ class Common * Returns the language and region string, based only on the Browser 'accepted language' information. * * The language tag is defined by ISO 639-1 * - * @param string $browserLanguage Browser's accepted langauge header + * @param string $browserLanguage Browser's accepted language header * @param array $validLanguages array of valid language codes * @return string 2 letter ISO 639 code 'es' (Spanish) */ @@ -945,7 +945,7 @@ class Common * * The language tag is defined by ISO 639-1 * * The region tag is defined by ISO 3166-1 * - * @param string $browserLanguage Browser's accepted langauge header + * @param string $browserLanguage Browser's accepted language header * @param array $validLanguages array of valid language codes. Note that if the array includes "fr" then it will consider all regional variants of this language valid, such as "fr-ca" etc. * @return string 2 letter ISO 639 code 'es' (Spanish) or if found, includes the region as well: 'es-ar' */ |