Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/v/e/Vealous-HEAD/vealous/service/chat.py   Vealous(Download)
    def _dict(self):
        if 'zh' != config.LANGUAGE:
            return 'disabled for international user'
        d = DictCN(self._content)
        data = d.reply()
    def _qqdict(self):
        if 'zh' != config.LANGUAGE:
            return 'disabled for international user'
        d = QQDict(self._content)
        data = d.reply()
    def _google(self):
        g = GoogleDict(self._content)
        lan = g.detect()
        condition = lan == config.LANGUAGE
        if 'zh' == config.LANGUAGE:
            condition = lan in ('zh-CN', 'zh-TW')
        if condition:
            g = GoogleDict(self._content, lan, 'en')
        else:
            g = GoogleDict(self._content, lan, config.LANGUAGE)

src/v/e/Vealous-HEAD/vealous/god/douban.py   Vealous(Download)
        self.response.out.write(simplejson.dumps(data))
 
if 'zh' == config.LANGUAGE:
    apps = webapp.WSGIApplication(
        [