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 --- langpacks/russian/Plugins/SmileyAdd.txt | 174 +++++++++++++------------------ 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 +- 7 files changed, 92 insertions(+), 126 deletions(-) diff --git a/langpacks/russian/Plugins/SmileyAdd.txt b/langpacks/russian/Plugins/SmileyAdd.txt index 68dc16a13c..f71d9f9a89 100644 --- a/langpacks/russian/Plugins/SmileyAdd.txt +++ b/langpacks/russian/Plugins/SmileyAdd.txt @@ -1,37 +1,41 @@ #muuid {bd542bb4-5ae4-4d0e-a435-ba8dbe39607f} ;============================================================ -; File: SmileyAdd.dll, SmileyAddW.dll -; Module: SmileyAdd -; Versions: 0.1.3.2-0.2.3.15 -; URL: http://miranda-im.org/download/details.php?action=viewfile&id=540 +; File: SmileyAdd.dll +; Plugin: SmileyAdd +; Version: 0.2.3.17 +; Authors: Peacow, nightwish, bid, borkra ;============================================================ [Smiley support for Miranda NG.] Поддержка смайлов в Miranda NG. -[Specify library for each category] -Разные для разных категорий -[(Leave blank to disable for this category)] -(Оставьте пустым для выключения) -[Smiley Categories] +[Smiley categories] Категории смайлов -[Contact List smileys] -Список контактов -[Standard] -Стандартные -[Specify Smiley Pack for each category] +[Specify smiley pack for each category] Категории с разными наборами смайлов -[Nothing loaded] -Ничего не загружено -[Smiley Pack %s not found.\nSelect correct Smiley Pack in the Miranda Options | Customize | Smileys.] -Набор смайлов %s не найден.\nВыберите набор смайлов: Настройки -> Тонкая настройка -> Смайлы. +[Name:] +Название: +[Author:] +Автор: +[Version:] +Версия: +[Preview] +Тест +[Display] +Показывать [Replace only smileys surrounded by spaces] -Заменять только смайлы окружённые пробелами -[Scale smiley to textheight] +Заменять только смайлы, окружённые пробелами +[Scale smiley to text height] Масштабировать смайлы под текст [Disable custom smileys] Отключить загружаемые смайлы -[High Quality smiley scaling] +[High quality smiley scaling] Качественное масштабирование -[Smiley Selector] +[Animate] +Анимация +[Maximum 'Custom smiley' height] +Максимальная высота загруженных смайлов +[Minimum smiley height] +Минимальная высота смайлов +[Smiley selector] Выбор смайла [Surround inserted smiley with spaces] Вставить смайл с пробелами @@ -39,97 +43,59 @@ Размер всех смайлов как у первого [IEView style window] Окно в стиле IEView -[Input Area] +[Input area] Поле ввода -[Enable Smileys] +[Enable smileys] Включить смайлы [Don't replace at cursor] Не заменять под курсором -[Max "Custom Smiley" height] -Макс. высота загруж. смайлов -[Min smiley height] -Мин. высота смайлов -[Built-In Message Dialog Support] +[Built-in message dialog support] Поддержка плагинов сообщений -[Smiley Button] +[Disable] +Выключить +[Smiley button] Кнопка смайла -[off] -выкл -[Smileys] -Смайлы +[Show smiley selection window] +Показать окно для выбора смайла [SmileyAdd] Смайлы -[Standard smileys] -Станд. смайлы -[AIM smileys] -AIM смайлы -[ICQ smileys] -ICQ смайлы -[POP3 smileys] -POP3 смайлы -[smileys] -смайлы -[Smiley #%u in Smiley Pack %s not found. Correct Smiley Pack implementation.] -Смайл #%u в наборе %s не найден. Обновите набор смайлов. -[Smiley Pack malformed: %s on line %u position: %u Correct Smiley Pack implementation.\n XML spec could found here: http://www.w3.org/TR/xml11/] -Набор смайлов поврежден: %s в линии %u позиция: %u. Обновите набор смайлов.\nXML спецификации находятся тут: http://www.w3.org/TR/xml11/ -[Smiley Packs] -Набор смайлов -[SmileyAdd emoticon file (*.msl)] -Файл смайлов (*.msl) -[GDI+ not installed. Smiley Pack %s could not be loaded.\nGDI+ can be downloaded here: http://www.microsoft.com/downloads] -GDI+ не установлен. Набор смайлов %s не будет загружен.\nGDI+ можно загрузить отсюда: http://www.microsoft.com/downloads -[MS XML parser not installed. Smiley Pack %s could not be loaded.\nMS XML parser can be downloaded here: http://www.microsoft.com/downloads] -MS XML parser не установлен. Набор смайлов %s не будет загружен.\nMS XML parser можно загрузить отсюда: http://www.microsoft.com/downloads -[Regular Expression "%s" in smiley pack "%s" malformed.] -Регулярное выражение "%s" в наборе смайлов "%s" повреждено. -[Regular Expression "%s" in smiley pack "%s" malformed.\nCorrect Smiley Pack implementation.] -Регулярное выражение "%s" в пакете "%s" неверное.\nИсправьте ошибку. -[Regular Expression "%s" in smiley pack "%s" could produce "empty matches".\nCorrect Smiley Pack implementation.] -Регулярное выражение "%s" в наборе смайлов "%s" не может выводить "пустые значения". -[Only one instance of SmileyAdd could be executed.\nRemove duplicate instances from 'Plugins' directory] -Только одна копия SmileyAdd может быть запущена.\nУдалите дубликат из папки "Plugins" -[Selection] -Выбранное -[d'Oh!] -Ох! -[Smiley #%u in file %s for Smiley Pack %s not found.] -Смайл #%u в файле %s для набора смайликов %s не найден. -[Only one instance of SmileyAdd could be executed.\n] -Только одна копия SmileyAdd может быть запущена.\n -[Regular Expression "%s" in smiley pack "%s" could produce "empty matches".] -Регулярное выражение "%s" в наборе смайлов "%s" не может выводить "пустые значения". -[Remove duplicate instances from 'Plugins' directory] -Удалите дубликаты из папки 'Plugins' -[Time elapsed: %u] -Прошло времени: %u -[GDI+ can be downloaded here: http://www.microsoft.com/downloads] -GDI+ можно скачать здесь: http://www.microsoft.com/downloads -[Smiley Pack %s not found.\n] -Набор смайлов %s не найден.\n -[Test String] -Тестовая строка -[GDI+ not installed.\n] -GDI+ не установлен.\n +[Smiley cache] +Кэш смайлов [SmileyAdd HTTP connections] -HTTP подключение SmileyAdd -[Select correct Smiley Pack in the Miranda Options | Customize | Smileys.] -Выберите набор смайлов: Настройки -> Тонкая настройка -> Смайлы. -[There were problems loading smiley pack (it should be corrected).\nSee Network Log for details.] -Проблемы с загрузкой набора смайлов (необходимо исправить).\nДля подробностей смотрите сетевой журнал. -[Assign Smiley Category] +HTTP-подключение SmileyAdd +[Button smiley] +Кнопка смайла +[Assign smiley category] Категория смайлов +[Only one instance of SmileyAdd could be executed.\nRemove duplicate instances from 'Plugins' directory] +Только одна копия SmileyAdd может быть запущена.\nУдалите дубликат из папки "Plugins" +[Smileys] +Смайлы +[Customize] +Тонкая настройка +[Off] +Выкл. +[Top] +Верх +[Bottom] +Низ +[Smiley packs] +Наборы смайлов +[All files] +Все файлы [Protocol specific] В соответствии с протоколом -[Smiley #%u in file %s for Smiley Pack %s not found. Correct Smiley Pack implementation.] -Смайл #%u в файле %s набора смайлов %s не найден. Исправьте набор смайлов. -[Regular Expression "%s" malformed. Correct Smiley Pack implementation.] -Регулярное выражение "%s" неверное. Обновите набор смайлов. -[Smiley Cache] -Кэш смайлов -[Button Smiley] -Кнопка смайла -[Animate] -Анимация -[Disable] -Выключить \ No newline at end of file +[Smiley pack %s not found.\nSelect correct smiley pack in the Options -> Customize -> Smileys.] +Набор смайлов %s не найден.\nВыберите набор смайлов: Настройки -> Тонкая настройка -> Смайлы. +[There were problems loading smiley pack (it should be corrected).\nSee network log for details.] +Проблемы с загрузкой набора смайлов (необходимо исправить).\nДля подробностей смотрите сетевой лог. +[Smiley #%u in file %s for smiley pack %s not found.] +Смайл #%u в файле %s для набора смайликов %s не найден. +[Standard] +Стандартные +[Regular expression "%s" in smiley pack "%s" could produce "empty matches".] +Регулярное выражение "%s" в наборе смайлов "%s" может выводить "пустые значения". +[Regular expression "%s" in smiley pack "%s" malformed.] +Ошибочное регулярное выражение "%s" в наборе смайлов "%s". +[d'Oh!] +Ох! 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