Add some helps
This commit is contained in:
parent
dd32b9918e
commit
d517a9a29a
@ -48,13 +48,13 @@ class Project(models.Model):
|
|||||||
super(Project, self).save(*args, **kwargs)
|
super(Project, self).save(*args, **kwargs)
|
||||||
|
|
||||||
class SubProject(models.Model):
|
class SubProject(models.Model):
|
||||||
name = models.CharField(max_length = 100)
|
name = models.CharField(max_length = 100, help_text = _('Name to displa'))
|
||||||
slug = models.SlugField(db_index = True)
|
slug = models.SlugField(db_index = True, help_text = _('Name used in URLs'))
|
||||||
project = models.ForeignKey(Project)
|
project = models.ForeignKey(Project)
|
||||||
repo = models.CharField(max_length = 200)
|
repo = models.CharField(max_length = 200, help_text = _('URL of Git repositoru'))
|
||||||
repoweb = models.URLField()
|
repoweb = models.URLField(help_text = _('Link to repository browser, use %(file)s and %(line)s as filename and line placeholders'))
|
||||||
branch = models.CharField(max_length = 50)
|
branch = models.CharField(max_length = 50, help_text = _('Git branch to translate'))
|
||||||
filemask = models.CharField(max_length = 200)
|
filemask = models.CharField(max_length = 200, help_text = _('Mask of files to translate, use * istead of language code'))
|
||||||
style_choices = (('po', 'GNU Gettext'), ('ts', 'Qt TS'))
|
style_choices = (('po', 'GNU Gettext'), ('ts', 'Qt TS'))
|
||||||
style = models.CharField(max_length = 10, choices = style_choices)
|
style = models.CharField(max_length = 10, choices = style_choices)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user