aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-11-25 09:49:38 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-11-25 09:49:38 +0100
commited2cbe10c1c5dae3763802268c840d0328482180 (patch)
treea39b0f08b8b0db0351a866010a35faa92e2c27dc /lib/python
parent7950c2de2dbfd5bfee3650faaf45301187f7184a (diff)
downloadenigma2-ed2cbe10c1c5dae3763802268c840d0328482180.tar.gz
enigma2-ed2cbe10c1c5dae3763802268c840d0328482180.zip
DVDBurn Plugin: prevent "English" from showing up twice in language selection
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/Plugins/Extensions/DVDBurn/TitleProperties.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py b/lib/python/Plugins/Extensions/DVDBurn/TitleProperties.py
index 11601cc3..c3f78d4a 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()