/usr/share/games/kiki-the-nano-bot/py/lang.py is in kiki-the-nano-bot-data 1.0.2+dfsg1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # -*- encoding: utf-8 -*-
if Controller.isDebugVersion(): print "[lang.py]"
Controller.language = "english"
lang_list = [ "dutch", "english", "euskara", "francaise", "german", "portuguese", "spanish", "swedish", ]
lang = {}
for langName in lang_list:
execfile (kikipy_path + os.path.sep + "lang" + os.path.sep + langName + ".py")
def getLocalizedString(text):
if lang[Controller.language].has_key(text):
return lang[Controller.language][text]
else:
return text
Controller.getLocalizedString = getLocalizedString
del getLocalizedString
|