Index: src/plugin/PluginClientBase.cpp |
=================================================================== |
--- a/src/plugin/PluginClientBase.cpp |
+++ b/src/plugin/PluginClientBase.cpp |
@@ -3,17 +3,16 @@ |
// Internet / FTP |
#include <wininet.h> |
// IP adapter |
#include <iphlpapi.h> |
#include "PluginSettings.h" |
#include "PluginSystem.h" |
-#include "PluginDictionary.h" |
#include "PluginHttpRequest.h" |
#include "PluginMutex.h" |
#include "PluginClass.h" |
#include "PluginClientBase.h" |
// IP adapter |
#pragma comment(lib, "IPHLPAPI.lib") |
@@ -87,19 +86,16 @@ CString& CPluginClientBase::UnescapeUrl( |
} |
void CPluginClientBase::SetLocalization() |
{ |
CPluginSystem* system = CPluginSystem::GetInstance(); |
CString browserLanguage = system->GetBrowserLanguage(); |
- CPluginDictionary* dic = CPluginDictionary::GetInstance(); |
- dic->SetLanguage(browserLanguage); |
- |
CPluginSettings* settings = CPluginSettings::GetInstance(); |
if (settings->IsMainProcess() && settings->IsMainThread() && !settings->Has(SETTING_LANGUAGE)) |
{ |
// TODO: We might want to set this to "en" if browserLanguage is not in filterLanguagesList |
settings->SetString(SETTING_LANGUAGE, browserLanguage); |
settings->Write(); |
} |
} |