From ed2cbe10c1c5dae3763802268c840d0328482180 Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Wed, 25 Nov 2009 09:49:38 +0100 Subject: [PATCH] DVDBurn Plugin: prevent "English" from showing up twice in language selection --- lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py b/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py index 11601cc..c3f78d4 100755 --- a/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py +++ b/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py @@ -164,7 +164,8 @@ class LanguageChoices(): self.choices.sort() self.choices.insert(0,("nolang", ("unspecified"))) self.choices.insert(1,(syslang, self.langdict[syslang])) - self.choices.insert(2,("en", self.langdict["en"])) + if syslang != "en": + self.choices.insert(2,("en", self.langdict["en"])) def getLanguage(self, DVB_lang): DVB_lang = DVB_lang.lower() -- 2.7.4