summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2017-12-04 21:09:51 +0300
committerdartraiden <wowemuh@gmail.com>2017-12-04 21:09:51 +0300
commit318b5aed7add7dafea941d0a2121ece35d34a3c9 (patch)
treed4403891b80c35b2e2aee0cf45d667a6e5b541d1 /plugins/BASS_interface
parent68cd9f8b9d6c29243ba585b40ba683d0592e436a (diff)
BASS_interface: proper capitalization
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r--plugins/BASS_interface/res/Bass.rc6
-rw-r--r--plugins/BASS_interface/src/Main.cpp12
-rw-r--r--plugins/BASS_interface/src/stdafx.h2
-rw-r--r--plugins/BASS_interface/src/version.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/plugins/BASS_interface/res/Bass.rc b/plugins/BASS_interface/res/Bass.rc
index 4937186c1d..fd6f3142a8 100644
--- a/plugins/BASS_interface/res/Bass.rc
+++ b/plugins/BASS_interface/res/Bass.rc
@@ -41,11 +41,11 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- GROUPBOX "un4seen's bass interface", IDC_STATIC, 5, 5, 302, 231
+ GROUPBOX "Un4seen's BASS interface", IDC_STATIC, 5, 5, 302, 231
LTEXT "bass.dll loading error", IDC_BASSVERSION, 20, 20, 210, 8, SS_LEFT
LTEXT "Current bass.dll path:", IDC_CURRPATHLABEL, 20, 45, 210, 8, SS_LEFT
LTEXT "", IDC_CURRPATH, 20, 60, 210, 8, SS_LEFT | SS_PATHELLIPSIS
- LTEXT "Maximum number of bass internal channels:", IDC_MAXCHANNELLABEL, 20, 85, 210, 8, SS_LEFT
+ LTEXT "Maximum number of BASS internal channels:", IDC_MAXCHANNELLABEL, 20, 85, 210, 8, SS_LEFT
COMBOBOX IDC_MAXCHANNEL, 20, 100, 48, 14, CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_TABSTOP
LTEXT "Output device:", IDC_OUTDEVICELABEL, 20, 125, 240, 8, SS_LEFT
COMBOBOX IDC_OUTDEVICE, 20, 140, 236, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_TABSTOP
@@ -55,7 +55,7 @@ BEGIN
CONTROL "", IDC_TIME1, DATETIMEPICK_CLASS, WS_TABSTOP | WS_DISABLED | DTS_TIMEFORMAT | DTS_UPDOWN | DTS_RIGHTALIGN, 79, 202, 35, 15
CONTROL "", IDC_TIME2, DATETIMEPICK_CLASS, WS_TABSTOP | WS_DISABLED | DTS_TIMEFORMAT | DTS_UPDOWN | DTS_RIGHTALIGN, 135, 202, 35, 15
CTEXT "-", IDC_STATIC, 117, 205, 15, 8, SS_CENTER
- CONTROL "download bass library", IDC_GETBASS, "Hyperlink", 0x50010002, 74, 222, 228, 10
+ CONTROL "download BASS library", IDC_GETBASS, "Hyperlink", 0x50010002, 74, 222, 228, 10
GROUPBOX "Play only if", IDC_STATIC, 235, 5, 72, 117
AUTOCHECKBOX "Offline", IDC_CHECKBOX1, 240, 20, 65, 8
AUTOCHECKBOX "Online", IDC_CHECKBOX2, 240, 30, 65, 8
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index 3363a4fb67..69145bd45a 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -190,7 +190,7 @@ INT_PTR CALLBACK OptionsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
}
else {
DWORD bassver = BASS_GetVersion();
- mir_snwprintf(tmp, TranslateT("un4seen's bass version: %d.%d.%d.%d"), bassver >> 24, (bassver >> 16) & 0xff, (bassver >> 8) & 0xff, bassver & 0xff);
+ mir_snwprintf(tmp, TranslateT("Un4seen's BASS version: %d.%d.%d.%d"), bassver >> 24, (bassver >> 16) & 0xff, (bassver >> 8) & 0xff, bassver & 0xff);
SetDlgItemText(hwndDlg, IDC_BASSVERSION, tmp);
SendDlgItemMessage(hwndDlg, IDC_OUTDEVICE, CB_RESETCONTENT, 0, 0);
@@ -304,7 +304,7 @@ INT_PTR CALLBACK OptionsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
break;
case IDC_GETBASS:
- Utils_OpenUrl("http://www.un4seen.com/");
+ Utils_OpenUrl("https://www.un4seen.com/");
break;
}
break;
@@ -449,11 +449,11 @@ void CreateFrame()
wndclass.lpszClassName = L"BassInterfaceFrame";
RegisterClass(&wndclass);
- hwnd_plugin = CreateWindow(L"BassInterfaceFrame", TranslateT("Bass Interface"),
+ hwnd_plugin = CreateWindow(L"BassInterfaceFrame", TranslateT("BASS interface"),
WS_CHILD | WS_CLIPCHILDREN, 0, 0, 10, 10, pcli->hwndContactList, nullptr, hInst, nullptr);
CLISTFrame Frame = { sizeof(CLISTFrame) };
- Frame.tname = TranslateT("Bass Interface");
+ Frame.tname = TranslateT("BASS interface");
Frame.hWnd = hwnd_plugin;
Frame.align = alBottom;
Frame.Flags = F_UNICODE | F_VISIBLE | F_SHOWTB | F_SHOWTBTIP;
@@ -540,14 +540,14 @@ int OnFoldersChanged(WPARAM, LPARAM)
int OnModulesLoaded(WPARAM, LPARAM)
{
- if (hBASSFolder = FoldersRegisterCustomPathT(LPGEN("Bass Interface"), LPGEN("Bass library"), PLUGINS_PATHT L"\\Bass")) {
+ if (hBASSFolder = FoldersRegisterCustomPathT(LPGEN("Bass Interface"), LPGEN("Bass library"), PLUGINS_PATHT L"\\BASS")) {
FoldersGetCustomPathT(hBASSFolder, CurrBassPath, MAX_PATH, L"");
mir_wstrcat(CurrBassPath, L"\\bass.dll");
}
else {
DBVARIANT dbv;
if (db_get_ws(NULL, ModuleName, OPT_BASSPATH, &dbv)) {
- mir_wstrncpy(CurrBassPath, VARSW(L"Plugins\\Bass\\bass.dll"), _countof(CurrBassPath));
+ mir_wstrncpy(CurrBassPath, VARSW(L"Plugins\\BASS\\bass.dll"), _countof(CurrBassPath));
db_set_ws(NULL, ModuleName, OPT_BASSPATH, CurrBassPath);
}
else {
diff --git a/plugins/BASS_interface/src/stdafx.h b/plugins/BASS_interface/src/stdafx.h
index f09b58d36c..e1e9a88231 100644
--- a/plugins/BASS_interface/src/stdafx.h
+++ b/plugins/BASS_interface/src/stdafx.h
@@ -23,7 +23,7 @@ Copyright (C) 2010, 2011 tico-tico
#include "resource.h"
#include "version.h"
-#define ModuleName LPGEN("Bass Interface")
+#define ModuleName LPGEN("BASS interface")
#define OPT_VOLUME "Volume"
#define OPT_BASSPATH "PathToDll"
diff --git a/plugins/BASS_interface/src/version.h b/plugins/BASS_interface/src/version.h
index 16d349601c..bff0a5501c 100644
--- a/plugins/BASS_interface/src/version.h
+++ b/plugins/BASS_interface/src/version.h
@@ -7,7 +7,7 @@
#define __PLUGIN_NAME "BASS interface"
#define __FILENAME "BASS_interface.dll"
-#define __DESCRIPTION "un4seen's BASS interface Miranda NG plugin."
+#define __DESCRIPTION "Un4seen's BASS interface Miranda NG plugin."
#define __AUTHOR "tico-tico"
#define __AUTHOREMAIL ""
#define __AUTHORWEB "https://miranda-ng.org/p/BASS_interface/"