Configurable commit message
This commit is contained in:
parent
26578ac307
commit
796935bb76
@ -183,6 +183,9 @@ LOGGING = {
|
||||
# Path where git repositories are stored, it needs to be writable
|
||||
GIT_ROOT = '%s/repos/' % WEB_ROOT
|
||||
|
||||
# Commit message for changes
|
||||
COMMIT_MESSAGE = 'Translated using Weblate.'
|
||||
|
||||
# Title of site to use
|
||||
SITE_TITLE = 'Weblate'
|
||||
|
||||
|
@ -284,7 +284,7 @@ class Translation(models.Model):
|
||||
repo.git.commit(
|
||||
self.filename,
|
||||
author = author,
|
||||
m = 'Translated using Weblate'
|
||||
m = settings.COMMIT_MESSAGE
|
||||
)
|
||||
|
||||
def update_unit(self, unit, request):
|
||||
|
Loading…
Reference in New Issue
Block a user