Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClass.cpp

Issue 29333426: Issue 3501 - use hardcoded value until there is a real error message
Patch Set: Created Jan. 12, 2016, 7:26 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -1624,6 +1624,8 @@
Dictionary* dictionary = Dictionary::GetInstance();
std::wstring errorText = dictionary->Lookup("updater", "update-error-text");
std::wstring errorTitle = dictionary->Lookup("updater", "update-error-title");
+ // use hardcoded value until there is a real error message
+ ReplaceString(errorText , L"?1?", L"Unknown error");
Eric 2016/01/13 15:14:13 I'm uncomfortable with putting an English phrase i
pClass->notificationMessage.SetTextAndIcon(errorText, errorTitle, TTI_ERROR);
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld