diff options
Diffstat (limited to 'plugins/SmileyAdd/src')
| -rw-r--r-- | plugins/SmileyAdd/src/dlgboxsubclass.cpp | 2 | ||||
| -rw-r--r-- | plugins/SmileyAdd/src/download.cpp | 2 | ||||
| -rw-r--r-- | plugins/SmileyAdd/src/main.cpp | 4 | ||||
| -rw-r--r-- | plugins/SmileyAdd/src/options.cpp | 4 | ||||
| -rw-r--r-- | plugins/SmileyAdd/src/smileys.cpp | 10 | 
5 files changed, 11 insertions, 11 deletions
diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 634c7b0c90..aed46dc9c6 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -244,7 +244,7 @@ public:  				SendMessage(hSmlButton, BM_SETIMAGE, IMAGE_ICON, (LPARAM)hSmlIco);
  			}
 -			SendMessage(hSmlButton, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Show Smiley Selection Window"), 0);
 +			SendMessage(hSmlButton, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Show smiley selection window"), 0);
  			SendMessage(hSmlButton, BUTTONSETASFLATBTN, TRUE, 0);
  		}
  	}
 diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp index a83953bfbf..c342fe1a0d 100644 --- a/plugins/SmileyAdd/src/download.cpp +++ b/plugins/SmileyAdd/src/download.cpp @@ -205,7 +205,7 @@ int FolderChanged(WPARAM, LPARAM)  void GetSmileyCacheFolder(void)
  {
 -	hFolder = FoldersRegisterCustomPathT(LPGEN("SmileyAdd"), LPGEN("Smiley Cache"), MIRANDA_USERDATAT _T("\\SmileyCache"));
 +	hFolder = FoldersRegisterCustomPathT(LPGEN("SmileyAdd"), LPGEN("Smiley cache"), MIRANDA_USERDATAT _T("\\SmileyCache"));
  	if (hFolder) {
  		FoldersGetCustomPathT(hFolder, cachepath, MAX_PATH, _T(""));
  		HookEvent(ME_FOLDERS_PATH_CHANGED, FolderChanged);
 diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index f8ee1407a1..ff989721a0 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -48,7 +48,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD /* mira  	return (PLUGININFOEX*)&pluginInfoEx;
  }
 -static IconItem icon = { LPGEN("Button Smiley"), "SmileyAdd_ButtonSmiley", IDI_SMILINGICON };
 +static IconItem icon = { LPGEN("Button smiley"), "SmileyAdd_ButtonSmiley", IDI_SMILINGICON };
  static int ModulesLoaded(WPARAM, LPARAM)
  {
 @@ -63,7 +63,7 @@ static int ModulesLoaded(WPARAM, LPARAM)  	mi.position = 2000070050;
  	mi.icolibItem = icon.hIcolib;
  	mi.pszPopupName = (char*)-1;
 -	mi.pszName = LPGEN("Assign Smiley Category");
 +	mi.pszName = LPGEN("Assign smiley category");
  	hContactMenuItem = Menu_AddContactMenuItem(&mi);
  	DownloadInit();
 diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index 7bc1f76290..2da19f7c31 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -489,12 +489,12 @@ bool OptionsDialogType::BrowseForSmileyPacks(int item)  	ofn.hwndOwner = m_hwndDialog;
  	TCHAR filter[512], *pfilter;
 -	_tcscpy(filter, TranslateT("Smiley Packs"));
 +	_tcscpy(filter, TranslateT("Smiley packs"));
  	lstrcat(filter, _T(" (*.msl;*.asl;*.xep)"));
  	pfilter = filter + _tcslen(filter) + 1;
  	_tcscpy(pfilter, _T("*.msl;*.asl;*.xep"));
  	pfilter = pfilter + _tcslen(pfilter) + 1;
 -	_tcscpy(pfilter, TranslateT("All Files"));
 +	_tcscpy(pfilter, TranslateT("All files"));
  	lstrcat(pfilter, _T(" (*.*)"));
  	pfilter = pfilter + _tcslen(pfilter) + 1;
  	_tcscpy(pfilter, _T("*.*"));
 diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index 4a3fb3af50..abcfe7b7aa 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -305,7 +305,7 @@ bool SmileyPackType::LoadSmileyFile(const CMString& filename, bool onlyInfo, boo  	int fh = _topen(modpath.c_str(), _O_BINARY | _O_RDONLY);
  	if (fh == -1) {
  		if (!noerr) {
 -			static const TCHAR errmsg[] = LPGENT("Smiley Pack %s not found.\nSelect correct Smiley Pack in the Miranda Options | Customize | Smileys.");
 +			static const TCHAR errmsg[] = LPGENT("Smiley pack %s not found.\nSelect correct smiley pack in the Options -> Customize -> Smileys.");
  			TCHAR msgtxt[1024];
  			mir_sntprintf(msgtxt, SIZEOF(msgtxt), TranslateTS(errmsg), modpath.c_str());
  			ReportError(msgtxt);
 @@ -348,7 +348,7 @@ bool SmileyPackType::LoadSmileyFile(const CMString& filename, bool onlyInfo, boo  		res = LoadSmileyFileXEP(tbuf, onlyInfo, modpath);
  	if (errorFound)
 -		ReportError(TranslateT("There were problems loading smiley pack (it should be corrected).\nSee Network Log for details."));
 +		ReportError(TranslateT("There were problems loading smiley pack (it should be corrected).\nSee network log for details."));
  	return res;
  }
 @@ -468,7 +468,7 @@ bool SmileyPackType::LoadSmileyFileMSL(CMString& tbuf, bool onlyInfo, CMString&  				m_SmileyList.insert(dat);
  			if (!noerr) {
 -				static const TCHAR errmsg[] = LPGENT("Smiley #%u in file %s for Smiley Pack %s not found."); 
 +				static const TCHAR errmsg[] = LPGENT("Smiley #%u in file %s for smiley pack %s not found."); 
  				TCHAR msgtxt[1024];
  				mir_sntprintf(msgtxt, SIZEOF(msgtxt), TranslateTS(errmsg), smnum, resname.c_str(), modpath.c_str());
  				CallService(MS_NETLIB_LOG,(WPARAM) hNetlibUser, (LPARAM)(char*)T2A_SM(msgtxt));
 @@ -982,13 +982,13 @@ SmileyLookup::SmileyLookup(const CMString& str, const bool regexs, const int ind  			m_valid &= (!matcher->findFirstMatch() ||
  				matcher->getStartingIndex() != matcher->getEndingIndex());
  			if (!m_valid) {
 -				static const TCHAR errmsg[] = LPGENT("Regular Expression \"%s\" in smiley pack \"%s\" could produce \"empty matches\".");
 +				static const TCHAR errmsg[] = LPGENT("Regular expression \"%s\" in smiley pack \"%s\" could produce \"empty matches\".");
  				mir_sntprintf(msgtxt, SIZEOF(msgtxt), TranslateTS(errmsg), str.c_str(), smpt.c_str());
  			}
  			delete matcher;
  		}
  		else {
 -			static const TCHAR errmsg[] = LPGENT("Regular Expression \"%s\" in smiley pack \"%s\" malformed.") ;
 +			static const TCHAR errmsg[] = LPGENT("Regular expression \"%s\" in smiley pack \"%s\" malformed.") ;
  			mir_sntprintf(msgtxt, SIZEOF(msgtxt), TranslateTS(errmsg), str.c_str(), smpt.c_str());
  		}
  | 
