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
5d212902
Commit
5d212902
authored
Apr 10, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap long lines
parent
8f61da82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
trans/models.py
trans/models.py
+17
-4
No files found.
trans/models.py
View file @
5d212902
...
...
@@ -146,15 +146,28 @@ class SubProject(models.Model):
name
=
models
.
CharField
(
max_length
=
100
,
help_text
=
_
(
'Name to display'
))
slug
=
models
.
SlugField
(
db_index
=
True
,
help_text
=
_
(
'Name used in URLs'
))
project
=
models
.
ForeignKey
(
Project
)
repo
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'URL of Git repository'
))
push
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'URL of push Git repository'
),
blank
=
True
)
repo
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'URL of Git repository'
)
)
push
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'URL of push Git repository'
),
blank
=
True
)
repoweb
=
models
.
URLField
(
help_text
=
_
(
'Link to repository browser, use %(branch)s for branch, %(file)s and %(line)s as filename and line placeholders'
),
validators
=
[
validate_repoweb
],
blank
=
True
,
)
branch
=
models
.
CharField
(
max_length
=
50
,
help_text
=
_
(
'Git branch to translate'
))
filemask
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'Mask of files to translate, use * instead of language code'
))
branch
=
models
.
CharField
(
max_length
=
50
,
help_text
=
_
(
'Git branch to translate'
)
)
filemask
=
models
.
CharField
(
max_length
=
200
,
help_text
=
_
(
'Mask of files to translate, use * instead of language code'
)
)
class
Meta
:
ordering
=
[
'name'
]
...
...
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