Commit 73a72a0a authored by Michal Čihař's avatar Michal Čihař

Include language name in default commit message

parent 21568210
...@@ -278,7 +278,7 @@ class Project(models.Model): ...@@ -278,7 +278,7 @@ class Project(models.Model):
commit_message = models.TextField( commit_message = models.TextField(
help_text = ugettext_lazy('You can use %(language)s, %(subproject)s or %(project)s for language shortcut, subproject or project names.'), help_text = ugettext_lazy('You can use %(language)s, %(subproject)s or %(project)s for language shortcut, subproject or project names.'),
validators = [validate_commit_message], validators = [validate_commit_message],
default = 'Translated using Weblate\n\nCurrently translated at %(translated_percent)s%% (%(translated)s of %(total)s strings)' default = 'Translated using Weblate (%(language_name)s)\n\nCurrently translated at %(translated_percent)s%% (%(translated)s of %(total)s strings)'
) )
committer_name = models.CharField( committer_name = models.CharField(
max_length = 200, max_length = 200,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment