Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
6460fc83
Commit
6460fc83
authored
Nov 28, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(app/DefaultTranslator): display correctly qt messages
parent
a3ae2b29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
DefaultTranslator.cpp
tests/src/app/DefaultTranslator.cpp
+1
-4
No files found.
tests/src/app/DefaultTranslator.cpp
View file @
6460fc83
...
...
@@ -27,12 +27,9 @@ QString DefaultTranslator::translate (
const
char
*
disambiguation
,
int
n
)
const
{
if
(
!
m_contexts
.
contains
(
context
))
return
""
;
QString
translation
=
QTranslator
::
translate
(
context
,
source_text
,
disambiguation
,
n
);
if
(
translation
.
length
()
==
0
)
if
(
translation
.
length
()
==
0
&&
m_contexts
.
contains
(
context
)
)
qWarning
()
<<
QStringLiteral
(
"Unable to find a translation. (context=%1, label=%2)"
)
.
arg
(
context
).
arg
(
source_text
);
...
...
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