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

Unified Diff: Shared/PluginUserSettings.cpp

Issue 9843129: Always use the system language for the UI (Closed)
Patch Set: Created March 22, 2013, 2:59 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
« Shared/PluginClientBase.cpp ('K') | « Shared/PluginClientBase.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Shared/PluginUserSettings.cpp
===================================================================
--- a/Shared/PluginUserSettings.cpp
+++ b/Shared/PluginUserSettings.cpp
@@ -255,10 +255,7 @@
CComBSTR language = pDispparams->rgvarg[0].bstrVal;
settings->SetString(SETTING_LANGUAGE, (BSTR)language);
- CPluginDictionary* dict = CPluginDictionary::GetInstance();
- dict->SetLanguage((BSTR)language);
settings->Write();
-
settings->CheckFilterAndDownload();
}
else if (s_GetLanguage == method)
« Shared/PluginClientBase.cpp ('K') | « Shared/PluginClientBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld