~iferca/yape/trunk

« back to all changes in this revision

Viewing changes to src/yape/project/django/template/command.py

  • Committer: Israel Fernández Cabrera
  • Date: 2009-08-02 05:31:23 UTC
  • mto: This revision was merged to the branch mainline in revision 136.
  • Revision ID: iferca@tah-20090802053123-xrjfaptxbhf3skqd
Primera versión de YaPe en español. No está 100% ok pero está bien. Además se han creado las herramientas para manejar las traducciones en sucesivas versiones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def getActions(self, actions=[]):
28
28
        self_actions = [
29
 
            ("CreateNewTemplate", 'web-template', "New Template", None, "New Tempalte", self.onNewTemplate),
 
29
            ("CreateNewTemplate", 'web-template', _("New Template"), None, _("New Template"), self.onNewTemplate),
30
30
        ]
31
31
        return super(TemplateGroupMenu, self).getActions(self_actions+actions)
32
32
 
65
65
        for t in templatesSettingsPath:
66
66
            if self.isFileInPath(baseTemplatePath, t.path):
67
67
                return baseTemplatePath.split(t.path)[1][1:]
68
 
        return 'FIXEME! Write base template name by hand!!!'
 
68
        return _('FIXEME! Write base template name by hand!!!')
69
69
 
70
70
    def onAsistantComplete(self, assistant, tmpPath=False):
71
71
        path = self.dialog.newTemplatePath()