FreeBSD Bugzilla – Attachment 199485 Details for
Bug 232392
net/linphone: Unable to open main window. Segmentation fault
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-src-app-translator-DefaultTranslator.cpp
patch-src-app-translator-DefaultTranslator.cpp (text/plain), 657 bytes, created by
Tijl Coosemans
on 2018-11-23 16:06:50 UTC
(
hide
)
Description:
patch-src-app-translator-DefaultTranslator.cpp
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2018-11-23 16:06:50 UTC
Size:
657 bytes
patch
obsolete
>--- src/app/translator/DefaultTranslator.cpp.orig 2017-06-15 07:25:58 UTC >+++ src/app/translator/DefaultTranslator.cpp >@@ -58,13 +58,15 @@ QString DefaultTranslator::translate ( > int n > ) const { > if (!context) >- return QString(""); >+ return QString(sourceText); > > QString translation = QTranslator::translate(context, sourceText, disambiguation, n); > >- if (translation.length() == 0 && mContexts.contains(context)) >+ if (translation.length() == 0) { > qWarning() << QStringLiteral("Unable to find a translation. (context=%1, label=%2)") > .arg(context).arg(sourceText); >+ return QString("FAIL"); >+ } > > return translation; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232392
:
199131
|
199134
|
199416
| 199485