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
db171ab7
Commit
db171ab7
authored
Nov 23, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct store for lookup
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
aa92cdce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
weblate/trans/formats.py
weblate/trans/formats.py
+2
-2
No files found.
weblate/trans/formats.py
View file @
db171ab7
...
...
@@ -498,13 +498,13 @@ class FileFormat(object):
def
_find_unit_mono
(
self
,
context
,
store
):
# We search by ID when using template
ttkit_unit
=
s
elf
.
s
tore
.
findid
(
context
)
ttkit_unit
=
store
.
findid
(
context
)
if
ttkit_unit
is
not
None
:
return
ttkit_unit
# Do not use findid as it does not work for empty translations
for
search_unit
in
s
elf
.
s
tore
.
units
:
for
search_unit
in
store
.
units
:
if
search_unit
.
getid
()
==
context
:
return
search_unit
...
...
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