diff --git a/wire/modules/Inputfield/InputfieldTextTags/InputfieldTextTags.module b/wire/modules/Inputfield/InputfieldTextTags/InputfieldTextTags.module index f0107b68..b6bc0079 100644 --- a/wire/modules/Inputfield/InputfieldTextTags/InputfieldTextTags.module +++ b/wire/modules/Inputfield/InputfieldTextTags/InputfieldTextTags.module @@ -461,7 +461,7 @@ class InputfieldTextTags extends Inputfield implements * */ public function getTagLabel($tag, $language = null) { - if(!$language && $this->wire()->langauges) $language = $this->wire()->user->language; + if(!$language && $this->wire()->languages) $language = $this->wire()->user->language; $tags = $this->getTagsList($language); if(isset($tags[$tag])) return $tags[$tag]; if($this->allowUserTags()) return $tag; diff --git a/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module b/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module index fc34ec45..f13c1b0b 100644 --- a/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module +++ b/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module @@ -491,8 +491,7 @@ class InputfieldToggle extends Inputfield { if($labelType === null) $labelType = $this->labelType; - /** @var Languages $langauges */ - $languages = $this->wire('languages'); + $languages = $this->wire()->languages; $setLanguage = false; $languageId = ''; $yes = ''; diff --git a/wire/modules/LanguageSupport/Languages.php b/wire/modules/LanguageSupport/Languages.php index f8f2d0d2..32c8d4a9 100644 --- a/wire/modules/LanguageSupport/Languages.php +++ b/wire/modules/LanguageSupport/Languages.php @@ -431,7 +431,7 @@ class Languages extends PagesType { * $languages->setLocale(LC_ALL, 'en_US.UTF-8'); * * // Set locale for specific category (CTYPE) - * $langauges->setLocale(LC_CTYPE, 'en_US.UTF-8'); + * $languages->setLocale(LC_CTYPE, 'en_US.UTF-8'); * * // Try multiple locales till one works (in order) using array * $languages->setLocale(LC_ALL, [ 'en_US.UTF-8', 'en_US', 'en' ]); diff --git a/wire/modules/Process/ProcessField/ProcessField.module b/wire/modules/Process/ProcessField/ProcessField.module index 75821616..5864c578 100644 --- a/wire/modules/Process/ProcessField/ProcessField.module +++ b/wire/modules/Process/ProcessField/ProcessField.module @@ -1692,7 +1692,7 @@ class ProcessField extends Process implements ConfigurableModule { protected function buildEditFormTypeSelect() { $modules = $this->wire()->modules; - $languages = $this->wire()->langauges; + $languages = $this->wire()->languages; $fields = $this->wire()->fields; $config = $this->wire()->config; $isNew = !$this->field || !$this->field->id; @@ -3263,7 +3263,7 @@ class ProcessField extends Process implements ConfigurableModule { */ public function search($text, array $options = array()) { - $languages = $this->wire()->langauges; + $languages = $this->wire()->languages; $page = $this->getProcessPage(); $result = array( diff --git a/wire/modules/Process/ProcessTemplate/ProcessTemplate.module b/wire/modules/Process/ProcessTemplate/ProcessTemplate.module index be0631d2..991a10ab 100644 --- a/wire/modules/Process/ProcessTemplate/ProcessTemplate.module +++ b/wire/modules/Process/ProcessTemplate/ProcessTemplate.module @@ -3851,7 +3851,7 @@ class ProcessTemplate extends Process implements ConfigurableModule { */ public function search($text, array $options = array()) { - $languages = $this->wire()->langauges; + $languages = $this->wire()->languages; $page = $this->getProcessPage(); $property = isset($options['property']) ? $options['property'] : '';