From 8d0586acd95c20adaf397c3b01f16f424f3d6d89 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Fri, 13 Dec 2013 23:27:34 +0000 Subject: SmileyAdd: decapitalization langpacks/russian: update git-svn-id: http://svn.miranda-ng.org/main/trunk@7197 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/res/resource.rc | 22 +++++++++++----------- plugins/SmileyAdd/src/dlgboxsubclass.cpp | 2 +- plugins/SmileyAdd/src/download.cpp | 2 +- plugins/SmileyAdd/src/main.cpp | 4 ++-- plugins/SmileyAdd/src/options.cpp | 4 ++-- plugins/SmileyAdd/src/smileys.cpp | 10 +++++----- 6 files changed, 22 insertions(+), 22 deletions(-) (limited to 'plugins/SmileyAdd') diff --git a/plugins/SmileyAdd/res/resource.rc b/plugins/SmileyAdd/res/resource.rc index 49db7abde8..dfcfb24c6b 100644 --- a/plugins/SmileyAdd/res/resource.rc +++ b/plugins/SmileyAdd/res/resource.rc @@ -29,9 +29,9 @@ STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - GROUPBOX "Smiley Categories",IDC_STATIC,6,3,310,102 + GROUPBOX "Smiley categories",IDC_STATIC,6,3,310,102 CONTROL "",IDC_CATEGORYLIST,"SysTreeView32",TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_CHECKBOXES | WS_BORDER | WS_HSCROLL | WS_TABSTOP,14,13,104,83 - CONTROL "Specify Smiley Pack for each category",IDC_USESTDPACK, + CONTROL "Specify smiley pack for each category",IDC_USESTDPACK, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,124,11,165,11 EDITTEXT IDC_FILENAME,124,25,185,12,ES_AUTOHSCROLL,WS_EX_ACCEPTFILES PUSHBUTTON "...",IDC_BROWSE,296,11,13,11 @@ -48,18 +48,18 @@ BEGIN GROUPBOX "Display",IDC_STATIC,6,106,310,54 CONTROL "Replace only smileys surrounded by spaces",IDC_SPACES, "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,16,115,198,12,WS_EX_RTLREADING - CONTROL "Scale smiley to textheight",IDC_SCALETOTEXTHEIGHT, + CONTROL "Scale smiley to text height",IDC_SCALETOTEXTHEIGHT, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,128,147,10 CONTROL "Disable custom smileys",IDC_DISABLECUSTOM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,138,147,10 - CONTROL "High Quality smiley scaling",IDC_HQSCALING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,148,148,10 + CONTROL "High quality smiley scaling",IDC_HQSCALING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,148,148,10 CONTROL "Animate",IDC_ANIMATEDLG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,116,91,10 EDITTEXT IDC_MAXCUSTSMSZ,165,128,30,15,ES_AUTOHSCROLL | ES_NUMBER | NOT WS_BORDER,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE CONTROL "",IDC_MAXCUSTSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,182,129,11,12 - LTEXT "Max ""Custom Smiley"" height",IDC_STATIC,198,132,109,8 + LTEXT "Maximum 'Custom smiley' height",IDC_STATIC,198,132,115,8 EDITTEXT IDC_MINSMSZ,165,144,30,15,ES_AUTOHSCROLL | ES_NUMBER | NOT WS_BORDER,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE CONTROL "",IDC_MINSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,182,145,11,12 - LTEXT "Min smiley height",IDC_STATIC,198,148,110,8 - GROUPBOX "Smiley Selector",IDC_STATIC,6,160,310,46 + LTEXT "Minimum smiley height",IDC_STATIC,198,148,115,8 + GROUPBOX "Smiley selector",IDC_STATIC,6,160,310,46 CONTROL "Surround inserted smiley with spaces",IDC_APPENDSPACES, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,171,235,10 CONTROL "Use first smiley for selection size",IDC_SCALEALLSMILEYS, @@ -67,13 +67,13 @@ BEGIN CONTROL "IEView style window",IDC_IEVIEWSTYLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,193,198,10 CONTROL "",IDC_SELCLR,"ColourPicker",WS_TABSTOP,260,170,50,11 CONTROL "Animate",IDC_ANIMATESEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,218,193,91,10 - GROUPBOX "Input Area",IDC_STATIC,6,208,145,42 - CONTROL "Enable Smileys",IDC_INPUTSMILEYS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,15,219,130,12 + GROUPBOX "Input area",IDC_STATIC,6,208,145,42 + CONTROL "Enable smileys",IDC_INPUTSMILEYS,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,15,219,130,12 CONTROL "Don't replace at cursor",IDC_DCURSORSMILEY,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,15,231,130,12 - GROUPBOX "Built-In Message Dialog Support",IDC_STATIC,154,208,162,42 + GROUPBOX "Built-in message dialog support",IDC_STATIC,154,208,162,42 CONTROL "Disable",IDC_PLUGENABLED,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,240,217,69,12 COMBOBOX IDC_SMLBUT,159,230,55,35,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP - LTEXT "Smiley Button",IDC_STATIC,161,219,72,8 + LTEXT "Smiley button",IDC_STATIC,161,219,72,8 END 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()); } -- cgit v1.2.3