Skip to content

Commit

Permalink
Language.py - fix spelling in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Twol committed Jul 5, 2022
1 parent c6e5e05 commit 5cbe5f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/Language.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def activateLanguage_TRY(self, index):
if index not in self.lang:
print("[Language] Selected language %s is not installed, fallback to en_US!" % index)
index = "en_US"
Notifications.AddNotification(MessageBox, _("The selected langugage is unavailable - using en_US"), MessageBox.TYPE_INFO, timeout=3)
Notifications.AddNotification(MessageBox, _("The selected language is unavailable - using en_US"), MessageBox.TYPE_INFO, timeout=3)
lang = self.lang[index]
print("[Language] Activating language " + lang[0])
self.catalog = gettext.translation('enigma2', resolveFilename(SCOPE_LANGUAGE, ""), languages=[index], fallback=True)
Expand Down Expand Up @@ -131,7 +131,7 @@ def activateLanguage_TRY(self, index):
def activateLanguage(self, index):
if not self.activateLanguage_TRY(index):
print("[Language] - retry with ", "en_US")
Notifications.AddNotification(MessageBox, _("The selected langugage is unavailable - using en_US"), MessageBox.TYPE_INFO, timeout=3)
Notifications.AddNotification(MessageBox, _("The selected language is unavailable - using en_US"), MessageBox.TYPE_INFO, timeout=3)
self.activateLanguage_TRY("en_US")

def activateLanguageIndex(self, index):
Expand Down

0 comments on commit 5cbe5f3

Please sign in to comment.