Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
796935bb
Commit
796935bb
authored
Mar 01, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configurable commit message
parent
26578ac3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
settings.py
settings.py
+3
-0
trans/models.py
trans/models.py
+1
-1
No files found.
settings.py
View file @
796935bb
...
...
@@ -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'
...
...
trans/models.py
View file @
796935bb
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment