From 4bb30933bdac9cb40aa6aaae7c611009e33380a8 Mon Sep 17 00:00:00 2001 From: Michiel van der Geest Date: Wed, 2 Oct 2024 22:02:00 +0200 Subject: [PATCH] Fixed error in documentation of language plugin on how to retrieve the current language. --- docs/plugins/language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/language.md b/docs/plugins/language.md index b84c0600..b791e579 100644 --- a/docs/plugins/language.md +++ b/docs/plugins/language.md @@ -121,7 +121,7 @@ Blits.Component('MyComponent', { ## Getting the current language -The current language can be retrieved via the `this.$language.get()` method. It will return the currently set language code. +The current language can be retrieved via the `this.$languagelanguage` property. It will return the currently set language code. ## Translating