diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MirFox/src/MirandaUtils.cpp | 2 | ||||
-rw-r--r-- | plugins/PackUpdater/Src/Utils.cpp | 2 | ||||
-rw-r--r-- | plugins/PasteIt/src/PasteIt.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/Main.cpp | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/download.cpp | 2 | ||||
-rwxr-xr-x | plugins/Watrack_MPD/src/init.cpp | 2 | ||||
-rw-r--r-- | plugins/mRadio/mradio.dpr | 4 |
8 files changed, 8 insertions, 10 deletions
diff --git a/plugins/MirFox/src/MirandaUtils.cpp b/plugins/MirFox/src/MirandaUtils.cpp index 552263339c..599c148faa 100644 --- a/plugins/MirFox/src/MirandaUtils.cpp +++ b/plugins/MirFox/src/MirandaUtils.cpp @@ -32,7 +32,7 @@ void MirandaUtils::netlibRegister() { NETLIBUSER nlu = {};
nlu.flags = NUF_UNICODE | NUF_NOOPTIONS;
nlu.szSettingsModule = MODULENAME;
- nlu.szDescriptiveName.w = TranslateT("MirFox log");
+ nlu.szDescriptiveName.w = MODULENAME;
netlibHandle = Netlib_RegisterUser(&nlu);
}
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp index 0bdf946a8c..384498b98c 100644 --- a/plugins/PackUpdater/Src/Utils.cpp +++ b/plugins/PackUpdater/Src/Utils.cpp @@ -50,7 +50,7 @@ BOOL NetlibInit() {
NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
- nlu.szDescriptiveName.w = TranslateT("Pack Updater");
+ nlu.szDescriptiveName.w = MODULENAME;
nlu.szSettingsModule = MODULENAME;
hNetlibUser = Netlib_RegisterUser(&nlu);
diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 0cfc630cee..ec291aae07 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -354,7 +354,7 @@ int CMPlugin::Load() NETLIBUSER nlu = {};
nlu.flags = NUF_UNICODE | NUF_OUTGOING | NUF_HTTPCONNS;
nlu.szSettingsModule = MODULENAME;
- nlu.szDescriptiveName.w = TranslateT("Paste It");
+ nlu.szDescriptiveName.w = MODULENAME;
g_hNetlibUser = Netlib_RegisterUser(&nlu);
pasteToWebs[0] = new PasteToWeb1();
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 95afed2a1d..cf570d9076 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -97,7 +97,7 @@ int CMPlugin::Load() // Netlib initialization
NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
- nlu.szDescriptiveName.w = TranslateT("Plugin Updater");
+ nlu.szDescriptiveName.w = MODULENAME;
nlu.szSettingsModule = MODULENAME;
g_hNetlibUser = Netlib_RegisterUser(&nlu);
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index fb8c92ed28..1807303205 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -210,7 +210,7 @@ int hook_ModulesLoaded(WPARAM, LPARAM) // Netlib register NETLIBUSER nlu = {}; nlu.szSettingsModule = __PLUGIN_NAME; - nlu.szDescriptiveName.w = TranslateT("SendSS"); + nlu.szDescriptiveName.w = __PLUGIN_NAME; nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; //|NUF_NOHTTPSOPTION; g_hNetlibUser = Netlib_RegisterUser(&nlu); diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp index 4e3094b4de..85e65a536c 100644 --- a/plugins/SmileyAdd/src/download.cpp +++ b/plugins/SmileyAdd/src/download.cpp @@ -228,7 +228,7 @@ void DownloadInit(void) NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_NOHTTPSOPTION | NUF_UNICODE;
nlu.szSettingsModule = MODULENAME;
- nlu.szDescriptiveName.w = TranslateT("SmileyAdd");
+ nlu.szDescriptiveName.w = MODULENAME;
hNetlibUser = Netlib_RegisterUser(&nlu);
hFolderPacks = FoldersRegisterCustomPathW(LPGEN("SmileyAdd"), LPGEN("Smiley packs' folder"), L"%miranda_path%");
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 9d8b044a07..e6792ff2a7 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -49,7 +49,7 @@ static int OnModulesLoaded(WPARAM, LPARAM) {
NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
- nlu.szDescriptiveName.w = TranslateT("Watrack MPD connection");
+ nlu.szDescriptiveName.w = __PLUGIN_NAME;
nlu.szSettingsModule = __PLUGIN_NAME;
ghNetlibUser = Netlib_RegisterUser(&nlu);
diff --git a/plugins/mRadio/mradio.dpr b/plugins/mRadio/mradio.dpr index ac7ef6a97c..1ef63d88cc 100644 --- a/plugins/mRadio/mradio.dpr +++ b/plugins/mRadio/mradio.dpr @@ -54,9 +54,7 @@ begin //-- network (for proxy)
FillChar(nlu,SizeOf(nlu),0);
- StrCopy(szTemp,Translate('%s (server)'));
- StrReplace(szTemp,'%s',PluginName);
- nlu.szDescriptiveName.a:=szTemp;
+ nlu.szDescriptiveName.a:=PluginName;
nlu.flags :=NUF_HTTPCONNS or NUF_NOHTTPSOPTION or NUF_OUTGOING;
nlu.szSettingsModule :=PluginName;
hNetLib:=Netlib_RegisterUser(@nlu);
|