summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--language.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/language.py b/language.py
index b6af2a274..18f3f1b1a 100644
--- a/language.py
+++ b/language.py
@@ -265,8 +265,9 @@ class Language (SimpleConfigFile):
def writeKS(self, f):
sup = ""
- for n in self.getSupported():
- sup = sup + " " + self.getLangNickByName(n)
+ if len(self.info["SUPPORTED"]) != len(self.allSupportedLangs):
+ for n in self.getSupported():
+ sup = sup + " " + self.getLangNickByName(n)
f.write("langsupport --default %s%s\n" %
(self.getLangNickByName(self.getDefault()), sup))