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
aa92cdce
Commit
aa92cdce
authored
Nov 23, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coding style fixes
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
f46cbc6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
weblate/trans/formats.py
weblate/trans/formats.py
+6
-3
No files found.
weblate/trans/formats.py
View file @
aa92cdce
...
...
@@ -508,12 +508,15 @@ class FileFormat(object):
if
search_unit
.
getid
()
==
context
:
return
search_unit
def
_find_unit_template
(
self
,
context
):
# Need to create new unit based on template
template_ttkit_unit
=
self
.
_find_unit_mono
(
context
,
self
.
template_store
)
template_ttkit_unit
=
self
.
_find_unit_mono
(
context
,
self
.
template_store
)
# We search by ID when using template
ttkit_unit
=
self
.
_find_unit_mono
(
context
,
self
.
store
)
ttkit_unit
=
self
.
_find_unit_mono
(
context
,
self
.
store
)
# We always need new unit to translate
if
ttkit_unit
is
None
:
...
...
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