From 4a4b816398add26a704f13af1aa2ff5023df01af Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 24 Oct 2013 14:21:35 +0000 Subject: langpackmgr update, belarusian langpack update (by Jebifor) git-svn-id: http://svn.miranda-ng.org/main/trunk@6607 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- langpacks/LangPackMgr.exe | Bin 520192 -> 532480 bytes langpacks/belarusian/=CORE=.txt | 24 +- langpacks/belarusian/=HEAD=.txt | 2 +- langpacks/belarusian/Plugins/Actman.txt | 22 +- langpacks/belarusian/Plugins/AddContactPlus.txt | 4 +- langpacks/belarusian/Plugins/AdvancedAutoAway.txt | 2 + langpacks/belarusian/Plugins/AssocMgr.txt | 8 +- langpacks/belarusian/Plugins/AvatarHistory.txt | 10 + langpacks/belarusian/Plugins/BasicHistory.txt | 8 + langpacks/belarusian/Plugins/BuddyPounce.txt | 50 ++ .../belarusian/Plugins/ClientChangeNotify.txt | 2 + langpacks/belarusian/Plugins/Clist_modern.txt | 2 + langpacks/belarusian/Plugins/CmdLine.txt | 26 + langpacks/belarusian/Plugins/Cslist.txt | 6 + langpacks/belarusian/Plugins/Db_autobackups.txt | 4 + langpacks/belarusian/Plugins/Facebook.txt | 113 ++-- langpacks/belarusian/Plugins/FileAsMessage.txt | 2 + langpacks/belarusian/Plugins/Fingerprint.txt | 6 + langpacks/belarusian/Plugins/FtpFile.txt | 8 + langpacks/belarusian/Plugins/GG.txt | 4 + langpacks/belarusian/Plugins/MsgPopup.txt | 31 ++ langpacks/belarusian/Plugins/NimContact.txt | 104 ++++ langpacks/belarusian/Plugins/NotifyAnything.txt | 14 + langpacks/belarusian/Plugins/OpenFolder.txt | 10 + langpacks/belarusian/Plugins/Ping.txt | 165 ++++++ langpacks/belarusian/Plugins/SkypeStatusChange.txt | 16 + langpacks/belarusian/Plugins/StopSpam.txt | 104 ++++ langpacks/belarusian/Plugins/UserGuide.txt | 11 + langpacks/belarusian/Plugins/VKontakte.txt | 37 ++ langpacks/belarusian/Plugins/WebView.txt | 15 + langpacks/belarusian/Plugins/WhatsApp.txt | 12 + langpacks/belarusian/Plugins/WhenWasIt.txt | 6 + langpacks/belarusian/Plugins/WinterSpeak.txt | 13 + langpacks/belarusian/Plugins/XSoundNotify.txt | 12 +- langpacks/belarusian/Plugins/Xfire.txt | 46 +- langpacks/belarusian/Plugins/YARelay.txt | 2 + langpacks/belarusian/Plugins/wbOSD.txt | 56 +- langpacks/corebasic.txt | 22 - tools/langpackmgr/Unit1.dfm | 228 ++++---- tools/langpackmgr/Unit1.pas | 594 ++++++++++----------- tools/langpackmgr/Unit2.dfm | 79 +++ tools/langpackmgr/Unit2.pas | 89 +++ tools/langpackmgr/lpmanager.dpr | 21 + tools/langpackmgr/lpmanager.dproj | 196 +++++++ tools/langpackmgr/lpmanager_Icon.ico | Bin 0 -> 5430 bytes 45 files changed, 1604 insertions(+), 582 deletions(-) create mode 100644 langpacks/belarusian/Plugins/MsgPopup.txt create mode 100644 langpacks/belarusian/Plugins/NimContact.txt create mode 100644 langpacks/belarusian/Plugins/NotifyAnything.txt create mode 100644 langpacks/belarusian/Plugins/OpenFolder.txt create mode 100644 langpacks/belarusian/Plugins/Ping.txt create mode 100644 langpacks/belarusian/Plugins/SkypeStatusChange.txt create mode 100644 langpacks/belarusian/Plugins/StopSpam.txt create mode 100644 langpacks/belarusian/Plugins/UserGuide.txt create mode 100644 langpacks/belarusian/Plugins/VKontakte.txt create mode 100644 langpacks/belarusian/Plugins/WebView.txt create mode 100644 langpacks/belarusian/Plugins/WhatsApp.txt create mode 100644 langpacks/belarusian/Plugins/WinterSpeak.txt delete mode 100644 langpacks/corebasic.txt create mode 100644 tools/langpackmgr/Unit2.dfm create mode 100644 tools/langpackmgr/Unit2.pas create mode 100644 tools/langpackmgr/lpmanager.dpr create mode 100644 tools/langpackmgr/lpmanager.dproj create mode 100644 tools/langpackmgr/lpmanager_Icon.ico diff --git a/langpacks/LangPackMgr.exe b/langpacks/LangPackMgr.exe index 2df2f5a503..4f791290f9 100644 Binary files a/langpacks/LangPackMgr.exe and b/langpacks/LangPackMgr.exe differ diff --git a/langpacks/belarusian/=CORE=.txt b/langpacks/belarusian/=CORE=.txt index 9a4a2d5460..cb66de9016 100644 --- a/langpacks/belarusian/=CORE=.txt +++ b/langpacks/belarusian/=CORE=.txt @@ -27,8 +27,8 @@ Група: [Options] Налады -[Authorization Request] -Запыт на аўтарызацыю +[Authorization request] +Запыт аўтарызацыі [Delete Contact] Выдаліць кантакт [&Yes] @@ -1230,8 +1230,6 @@ Miranda %u дадаў(ла) вас у свой спіс [Alerts] Апавяшчэнні -[Authorization request] -Запыт аўтарызацыі [Added event] Падзея дадання ;file \src\core\stdauth\authdialogs.cpp @@ -1949,6 +1947,8 @@ Miranda %s набірае тэкст [Typing Notification] Апавяшчэнне пра набор тэксту +[Miranda could not load the built-in message module, riched20.dll is missing. Press 'Yes' to continue loading Miranda.] +Miranda не здолела загрузіць убудаваную сістэму паведамленняў, так як адсутнічае riched20.dll. націсніце "Да" для працягу загрузкі праграмы. [Instant messages] Паведамленні IM [Incoming (Focused Window)] @@ -2090,6 +2090,8 @@ URL ад %s Імя карыстача [FirstName LastName] Імя Прозвішча +[LastName FirstName] +Прозвішча Імя ['(Unknown Contact)' (not movable)] '(Невядомы)' (заўсёды апошняе) ['(Unknown Contact)'] @@ -2188,14 +2190,16 @@ Miranda NG не можа адкрыць гэты профіль Вы ўпэўнены, што хочаце выдаліць профіль "%s"? [Size] Памер -[Created] -Створаны -[Modified] -Зменены [Run] Запусціць [Check database] Праверыць базу +[Created] +Створаны +[Modified] +Зменены +[Manage your Miranda NG profile] +Кіраванне профілямі Miranda NG [My Profiles] Мае профілі [New Profile] @@ -2302,6 +2306,8 @@ Miranda NG не можа адкрыць гэты профіль Абраць шлях ды файла лога [Select program to be run] Абраць праграму для запуску +[Standard netlib log] +Стандартны журнал netlib ;file \src\modules\netlib\netlibopts.cpp [] <Усе далучэнні> @@ -2539,6 +2545,8 @@ ANSI плагін ;file \src\modules\utils\path.cpp [Avatars] Аватары +[Avatars root folder] +Каранёвая тэчка аватараў ;file \src\modules\utils\timezones.cpp [] <не паказана> diff --git a/langpacks/belarusian/=HEAD=.txt b/langpacks/belarusian/=HEAD=.txt index 1f49f86833..afc4faf214 100644 --- a/langpacks/belarusian/=HEAD=.txt +++ b/langpacks/belarusian/=HEAD=.txt @@ -1,5 +1,5 @@ Miranda Language Pack Version 1 Language: Belarusian (BY) Locale: 0423 -Last-Modified-Using: 0.94.5 +Last-Modified-Using: 0.94.6 Authors: Jerbifor, Inha \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/Actman.txt b/langpacks/belarusian/Plugins/Actman.txt index b4fa9e97a2..95675b6d30 100644 --- a/langpacks/belarusian/Plugins/Actman.txt +++ b/langpacks/belarusian/Plugins/Actman.txt @@ -9,8 +9,6 @@ ;============================================================ [Contact window] Вакно кантакту -[Text insert] -Устаўка тэксту [vars] змен. [DWord] @@ -27,8 +25,6 @@ wParam [lParam] lParam -[Structure] -Структура [Result action] Вынік дзеяння [Window option] @@ -69,6 +65,8 @@ lParam апошні вынік [structure] структура +[Structure] +Структура [Link to action] Спасылка на дзеянне [Plugin for manage hotkeys to open contact window, insert text, run program and call services] @@ -167,6 +165,8 @@ lParam Толькі дзейсныя конты [Dropdown list format] Выгляд выпадальнага спісу +[Apply] +Ужыць [Apply format] Ужыць фармат [Use Byte array/pointer for ANSI strings\n\Use Word array/pointer for Unicode strings\n\n\$## replaces by byte with hex value ##\n\$#### replaces by word with hex value #### (for Unicode strings only)\n\n\All data length calculating in bytes] @@ -286,18 +286,20 @@ lParam бягучы кантакт [Choose Contact] Абраць кантакт +[Miranda service help] +Дапамога па сэрвісам [Return] Якое вяртаецца [Effect] Эффект [Start] Пачаць -[action group list was changed: some was added or deleted] -спіс дзеянняў быў зменены: былі выдалены ці дабаўнены -[the context menu for a contact is about to be built] -будзе зроблены ў кантэкстным меню кантакта -[double click on the CList] -падвойная пстрычка па спісе +[Action group list was changed: some was added or deleted] +Спіс гуртоў дзеянняў змяніўся: некаторыя былі дададзены ці прыбраныя +[The context menu for a contact is about to be built] +Пабудова кантэкстнага меню для кантакту +[Double click on the CList] +Падвойная пстрычка па спісу кантактаў [New contact added to database] Новы кантакт дададзены ў базу [Contact deleting] diff --git a/langpacks/belarusian/Plugins/AddContactPlus.txt b/langpacks/belarusian/Plugins/AddContactPlus.txt index 52e99364cf..2f13c7a6da 100644 --- a/langpacks/belarusian/Plugins/AddContactPlus.txt +++ b/langpacks/belarusian/Plugins/AddContactPlus.txt @@ -28,8 +28,8 @@ ID Кантакта: Адправіць "Вас дадалі" [Send authorization request] Адправіць запыт на аўтарызацыю -[Authorization Request] -Запыт на аўтарызацыю +[Authorization request] +Запыт аўтарызацыі [&Add] &Дадаць [&Cancel] diff --git a/langpacks/belarusian/Plugins/AdvancedAutoAway.txt b/langpacks/belarusian/Plugins/AdvancedAutoAway.txt index e01e0628da..0765e296aa 100644 --- a/langpacks/belarusian/Plugins/AdvancedAutoAway.txt +++ b/langpacks/belarusian/Plugins/AdvancedAutoAway.txt @@ -252,6 +252,8 @@ Dial-up (эксперыментальна) Не змяняць статус пры вяртанні [Pre-conditions] Перадумовы +[TriggerData] +Дадзеныя трыгера [Status: The status the account will change to\r\nAccount: The account changing state] Статус: Статус конта зменіцца на\r\nКонт: Змяненне стану конта ;file \plugins\StatusPlugins\AdvancedAutoAway\options.cpp diff --git a/langpacks/belarusian/Plugins/AssocMgr.txt b/langpacks/belarusian/Plugins/AssocMgr.txt index 4f41964d6c..68aa30217c 100644 --- a/langpacks/belarusian/Plugins/AssocMgr.txt +++ b/langpacks/belarusian/Plugins/AssocMgr.txt @@ -12,8 +12,8 @@ Зарэгістраваныя асацыяцыі для Miranda NG: [Miscellaneous] Іншае -[&Start Miranda NG automatically when the сomputer starts (using current profile)] -&Загружаць праграму пры запуску кампутара (выкарыстоўваючы бягучы профіль) +[&Start Miranda NG automatically when the computer starts (using current profile)] +&Загружаць праграму пры запуску кампутара (выкарыстоўваючы гэты профіль) [Only associate with Miranda NG while it is &running] Асацыяваць толькі падчас &працы праграмы ;file \plugins\AssocMgr\src\assoclist.cpp @@ -54,8 +54,8 @@ Miranda NG не можа адкрыць файл Miranda NG не можа адкрыць спасылку [Miranda NG was not able to open "%S".\n\nThere is no registered handler for this URL type.] Міранда NG не ў стане адкрыць "% S".\n\nНяма зарэгістраванага апрацоўшчыка для гэтага тыпу URL. -[Miranda NG was not able to open "%S".\n\nThe given URL is invalid and can not be parsed.] -Міранда NG не ў стане адкрыць "% S".\n\nДадзеная гіперспасылка несапраўдная і не можа быць апрацавана. +[Miranda NG was not able to open "%S".\n\nThe given URL is invalid and cannot be parsed.] +Miranda NG не можа адчыніць "% S".\n\nДадзеная спасылка не можа быць прачытана і апрацавана. ;file \plugins\AssocMgr\src\reg.cpp [Access failed:\n%.64hs(%.128s)\n%.250hs(%u)\n%.256hs (%u)] Доступ забаронены:\n%.64hs(%.128s)\n%.250hs(%u)\n%.256hs (%u) diff --git a/langpacks/belarusian/Plugins/AvatarHistory.txt b/langpacks/belarusian/Plugins/AvatarHistory.txt index 5bbc2e6f60..9caf567a69 100644 --- a/langpacks/belarusian/Plugins/AvatarHistory.txt +++ b/langpacks/belarusian/Plugins/AvatarHistory.txt @@ -95,6 +95,8 @@ [All avatars are stored as \\Avatars History\\\\\\ (the same image can be stored lot of times)] Усе аватары захоўваюцца як <Профіль>\\Avatars History\\<Пратакол>\\\\<час> (аднолькавыя аватары могуць быць захаваны некалькі разоў) ;file \plugins\AvatarHistory\src\AvatarDlg.cpp +[Avatar History for %s] +Гісторыя аватараў %s [Are you sure you wish to delete this history entry?\nOnly the entry in history will be deleted, bitmap file will be kept!] Вы ўпэўнены, што жадаеце выдаліць гэты запіс з гісторыі?\n Будзе выдалена толькі сам запіс, файл малюнка застанецца! [Delete avatar log?] @@ -107,8 +109,16 @@ Выдаліць аватар? [Are you sure you wish to delete this archived avatar?\nThis will delete the shortcut and the bitmap file.\nWARNING:This can affect more than one shortcut!] Вы ўпэўнены, што жадаеце выдаліць гэты захаваны аватар?\n Будуць выдалены цэтлік і файл малюнка.\n УВАГА: Гэта можа закрануць некалькі цэтлікаў! +[Avatar History is empty!] +Гісторыя аватараў пустая! +[avatar path is null.] +шлях да аватара пусты. [View Avatar History] Паказаць гісторыю аватараў +[Save Avatar for %s] +Захаваць аватар %s +[Save Avatar] +Захаваць аватар ;file \plugins\AvatarHistory\src\AvatarHistory.cpp [Avatars] Аватары diff --git a/langpacks/belarusian/Plugins/BasicHistory.txt b/langpacks/belarusian/Plugins/BasicHistory.txt index 8c4d702283..8c024243f8 100644 --- a/langpacks/belarusian/Plugins/BasicHistory.txt +++ b/langpacks/belarusian/Plugins/BasicHistory.txt @@ -391,11 +391,19 @@ Dat (мКантакты) ;file \plugins\BasicHistory\src\PlainHtmlExport.cpp [History Log] Прагляд гісторыі +[Filter:] +Фільтр: [Conversation started at %s] Гутарка пачата ў %s ;file \plugins\BasicHistory\src\RichHtmlExport.cpp +[_files] +_файлы [Menu] Меню +[Open all] +Адчыніць усе +[Close all] +Зачыніць усе ;file \plugins\BasicHistory\src\Scheduler.cpp [History task] Гісторыя diff --git a/langpacks/belarusian/Plugins/BuddyPounce.txt b/langpacks/belarusian/Plugins/BuddyPounce.txt index 8f2bceb55c..5bd4935a77 100644 --- a/langpacks/belarusian/Plugins/BuddyPounce.txt +++ b/langpacks/belarusian/Plugins/BuddyPounce.txt @@ -32,6 +32,8 @@ Налады тэксту..... [Settings] Налады +[Contact To Send Pounce To] +Кантакт для адпраўкі з затрымкай [<< Simple] << Менш [Advanced >>] @@ -42,9 +44,31 @@ Гутарка [Status] Статус +[Use Advanced Dialog] +Пашыраны дыялог +[The Message (characters: )] +Паведамленне (сімв.): [Default Settings] Змаўчанні +[Show Delivery Messages] +Паказаць адпраўл. паведамленні +[These settings are also used when sending a "Simple" pounce] +Гэтыя налады таксама вык. для "простых" пведамленняў з затрымкай ;file \plugins\BuddyPounce\src\dialog.cpp +[Send If My Status Is...] +Адсылаць, калі мой статус... +[Send If They Change Status to...] +Адсылаць, калі яны змяняюць статус на... +[Reuse Pounce] +Ужыць затрыманае +[Give Up delay] +Затрымка скасавання +[Confirmation Window] +Вакно пацверджання +[Send If My Status Is] +Адправіць, калі мой статус +[Any] +Заўсёды [Online] Далучаны [Away] @@ -63,14 +87,40 @@ На тэлефоне [Out To Lunch] За абедам +[Send If Their Status changes] +Адправіць калі яны змяняюць статус +[From Offline] +Пры далучэнні +[To Online] +На "Далучаны" +[The Message (%d Characters)] +Паведамленне (%d сімвалаў) +[Couldn't allocate enough memory] +Не атрымалася вылучыць дастаткова памяці [error......] памылка... +[The Message (0 Characters)] +Паведамленне (0 сімвалаў) +[Reuse this message? (0 to use it once)] +Паўтарыць паведамленне? (0, каб выкарыстоўваць адзін раз) [Times] Час +[Giveup after.. (0 to not giveup)] +Здавацца пасля .. (пры 0 не здавацца) [Days] Дзён +[Show confirmation window? (0 to not Show)] +Паказаць акно пацверджання? (0, каб не паказваць) +[Seconds to wait before sending] +Чаканне ў секундах перад адпраўкай +[Pounce being sent to %s in %d seconds] +Pounce адпраўлены %s за %d секунд [Retry] Яшчэ раз +[Message successfully sent to %s] +Паведамленне %s паспяхова адпраўлена +[Message failed to send to %s] +Памылка адпраўкі паведамлення %s ;file \plugins\BuddyPounce\src\main.cpp [Message Sessions] Гутаркі diff --git a/langpacks/belarusian/Plugins/ClientChangeNotify.txt b/langpacks/belarusian/Plugins/ClientChangeNotify.txt index 32c23f17ba..bcda1bcfeb 100644 --- a/langpacks/belarusian/Plugins/ClientChangeNotify.txt +++ b/langpacks/belarusian/Plugins/ClientChangeNotify.txt @@ -85,6 +85,8 @@ Апавяшчэнне пра змену кліента: Кліент змяніўся [ClientChangeNotify] Апавяшчэнне пра змену кліента +[`[`!cdate()-!ctime()`]` ?cinfo(%subject%,display) (?cinfo(%subject%,id)) changed client to %extratext%] +`[`!cdate()-!ctime()`]` ?cinfo(%subject%,display) (?cinfo(%subject%,id)) changed client to %extratext% ;file \plugins\ClientChangeNotify\src\Misc.h [Error #%d] Памылка #%d diff --git a/langpacks/belarusian/Plugins/Clist_modern.txt b/langpacks/belarusian/Plugins/Clist_modern.txt index 8c4e83e295..c87090d69c 100644 --- a/langpacks/belarusian/Plugins/Clist_modern.txt +++ b/langpacks/belarusian/Plugins/Clist_modern.txt @@ -681,6 +681,8 @@ Ctrl + Левы клік укл. фільтр па пратаколу, клік Жадаеце выдаліць '%s' з метакантакту '%s' і дадаць у '%s'? [Changing MetaContacts (Moving)] Змена метакантакту (перасоўванне) +[Do you want contact '%s' to be added to MetaContact '%s'?] +Хочаце дадаць кантакт '%s' ў метакантакт '%s'? ;file \plugins\Clist_modern\src\modern_clcopts.cpp [Contact names] Кантакты diff --git a/langpacks/belarusian/Plugins/CmdLine.txt b/langpacks/belarusian/Plugins/CmdLine.txt index 0bfa5920b4..0c2eeae3ec 100644 --- a/langpacks/belarusian/Plugins/CmdLine.txt +++ b/langpacks/belarusian/Plugins/CmdLine.txt @@ -33,6 +33,28 @@ Miranda была зачынена ці адбылася памылка пры ч [Error] Памылка ;file \plugins\CmdLine\src\mimcmd_data.h +[Change account status either globally or per account.\nUsage: status [].\nPossible values for are: offline, online, away, dnd, na, occupied, freechat, invisible, onthephone, outtolunch.\n is the name of the account. If it's not specified then the command will issue a global status change.] +Змена статуса конта ці глабальнага статуса.\n  Выкарыстанне: status <статус> [<конт>]\n  Магчымыя значэнні <статус>: offline, online, away, dnd, na, occupied, freechat, invisible, onthephone, outtolunch.\n  <конт> - імя конта. Калі не пазначана - будзе ўсталяваны глабальны статус. +[Change away message either globally or per account.\nUsage: awaymsg [].\n is the new away message.\n is an optional parameter specifying the account to set the away message for. If not specified then the away message will be set globally.] +Змена статуснага паведамлення конта ці глабальнага.\n  Выкарыстанне: awaymsg <паведамленне> [<конт>]\n  <паведамленне> - тэкст статуснага паведамлення.\n  <конт> - дадатковы параметр, які паказвае імя конта для ўсталёўкі паведамлення. Калі не пазначана - паведамленне статуса будзе устаноўлена глабальна. +[Change extended status either globally or per account.\nUsage xstatus [].\n is the new extended status to set. Possible values are:...\n is an optional parameter specifying the account for which extended status is set. If not specified then extended status for all accounts will be changed.\nNOTE: Not all accounts/protocols support extended status.] +Змена пашыранага статусу ўліковага запісу або глабальна.\n  Выкарыстанне: xstatus <паведамленне> [<конт>].\n  <паведамленне> - тэкст паведамлення пашыранага статуса. Магчымыя значэнні: ...\n  <конт> - дадатковы параметр, які паказвае імя конту для ўсталёўкі паведамлення пашыранага статуса. Калі не пазначана - паведамленне будзе ўсталёвана для ўсіх контаў.\n  ЗАЎВАГА: Не ўсе конты\пратаколы падтрымліваюць пашыраны статус. +[Disables or enables popups display.\nUsage popups (disable | enable | toggle).\nThe command will either enable or disable popups display.] +Ўключае ці выключае усплывальныя вокны.\n  Выкарыстанне: popups (disable | enable | toggle) *\n  Каманда альбо ўключае, альбо выключае адлюстраванне усплываючых вокнаў.\n  * disable - выключыць\n  * enable - уключыць\n  * toggle - пераключыць стан. +[Disables or enables sounds.\nUsage: sounds (disable | enable | toggle).\nThe command will either disable or enable sounds.] +Ўключае ці выключае гукі.\n Выкарыстанне: sounds (disable | enable | toggle) *\n Каманда альбо ўключае, альбо адключае гукі.\n * disable - выключыць\n * enable - уключыць\n * toggle - пераключыць стан. +[Hides or shows the contact list window.\nUsage: clist (show | hide | toggle).\nThe command will either show or hide the contact list window.] +Ўключае ці выключае гукі.\n Выкарыстанне: sounds (disable | enable | toggle) *\n Каманда альбо ўключае, альбо адключае гукі.\n * disable - выключыць\n * enable - уключыць\n * toggle - пераключыць стан. +[Closes Miranda.\nUsage: quit [wait]. If wait is used then the command will return only when CmdLine plugin has been unloaded by Miranda.] +Закрывае Miranda.\n Выкарыстанне quit [wait].\n Калі [wait] пазначана, вяртанне ў кансоль адбудзецца толькі пасля таго, як плагін CmdLine будзе выгружаны з Miranda. +[Provides help on other commands.\nUsage: help [].\nThe command will print help information for other commands. If run without any parameters it will print available commands.] +Адлюстроўвае дапамогу па іншых камандам.\n  Выкарыстанне: help [<каманда>]\n  Каманда адлюструе на экране даведачную інфармацыю па іншай камандзе. Пры запуску без параметраў адлюструе спіс даступных каманд. +[Notifies Exchange plugin to check for email.\nUsage: exchange check] +Запускае праверку пошты ў плагіне Exchangе.\n  Выкарыстанне: exchange check +[Notifies YAMN plugin to check for email.\nUsage: yamn check.] +Запускае праверку пошты ў убудове YAMN.\n  Выкарыстанне: yamn check +[Calls a Miranda service.\nUsage: callservice (d|s) (d|s). The command will call Miranda service using wParam and lParam as arguments; the first letter of the paramater must be either 'd' if the parameter is a decimal number or 's' if the parameter is a string. Be careful when you use this function as you can only pass numbers and strings as data.\nNOTE:If you pass invalid data to a service Miranda might crash.] +Выклікае сэрвіс Miranda.\n  Выкарыстанне: callservice <сэрвіс> (d | s) (d | s) \n  Каманда выклікае <сэрвіс> Miranda з выкарыстаннем у якасці аргументаў wParam і lParam. Першая літара параметру павінна быць альбо 'd' (калі параметр - лічба), альбо 's' (калі параметр - радок). Будзьце асцярожныя з выкарыстаннем гэтай каманды, бо можна передвать толькі лічбы і радкі як значэнні параметраў.\n  Заўвага: Калі вы пакажаце няслушныя дадзеныя ў параметрах сэрвісу, Miranda можа аварыйна завяршыцца. ;file \plugins\CmdLine\src\mimcmd_handlers.cpp [Command '%s' is not currently supported.] Каманда '%s' не падтрымліваецца. @@ -88,7 +110,11 @@ Miranda была зачынена ці адбылася памылка пры ч %s:%s - %d непрачытаныя паведамленні. [Contact '%s' has '%d' events in history.] Кантакт '%s' мае '%d' падзей у гісторыі. +[Error setting nickname to '%s' for protocol '%s'] +Памылка ўсталёўкі мянушкі '%s' для пратакола '%s' ;file \plugins\CmdLine\src\services.cpp +[Could not create CommandLine listening server!] +Немагчыма стварыць сервер CommandLine! [You can only run one instance of CmdLine plugin.] Вы можаце запускаць толькі адну копію плагіна CmdLine. ;file \plugins\CmdLine\src\utils.cpp diff --git a/langpacks/belarusian/Plugins/Cslist.txt b/langpacks/belarusian/Plugins/Cslist.txt index d2f8e58986..627daedf29 100644 --- a/langpacks/belarusian/Plugins/Cslist.txt +++ b/langpacks/belarusian/Plugins/Cslist.txt @@ -12,6 +12,10 @@ Карыстацкі спіс статусаў [No items available in the database.\nClick the Add button to define some.] Няма запісаў у базе дадзеных.\n Націсніце на кнопку "Дадаць новы пункт" для запаўнення спісу. +[Add/Modify Custom Status] +Дадаць/Змяніць хстатус +[Add/Modify] +Дадаць/Змяніць [Cancel] Скасаваць [List settings] @@ -37,6 +41,8 @@ Змяніць [Warning] Папярэджанне +[This field doesn't accept string longer than %d characters. The string will be truncated.] +Гэта поле не прымае радок даўжэй, чым% D знакаў. Радок будзе ссечаны. [Favorites] Абраныя [Regular statuses] diff --git a/langpacks/belarusian/Plugins/Db_autobackups.txt b/langpacks/belarusian/Plugins/Db_autobackups.txt index 23e9820371..55ddd52572 100644 --- a/langpacks/belarusian/Plugins/Db_autobackups.txt +++ b/langpacks/belarusian/Plugins/Db_autobackups.txt @@ -5,6 +5,8 @@ ; Version: 0.0.0.8 ; Authors: chaos.persei, sje, Kildor, Billy_Bons ;============================================================ +[Db autobackuper plugin.] +Плагін стварэння рэзервовых копій профілю. ;file \plugins\Db_autobackups\res\db_autobackups.rc [Backup progress] Ход працэсу рэзервавання @@ -87,5 +89,7 @@ Хвілін [Select Backup Folder] Абярыце тэчку для рэзервовых копій +[Error creating backup folder] +Памылка пры стварэнні тэчкі для рэзервовага капіравання [Database AutoBackups] Аўтарэзервіраванне профіля diff --git a/langpacks/belarusian/Plugins/Facebook.txt b/langpacks/belarusian/Plugins/Facebook.txt index e540f2115f..ec9b106a6f 100644 --- a/langpacks/belarusian/Plugins/Facebook.txt +++ b/langpacks/belarusian/Plugins/Facebook.txt @@ -2,7 +2,7 @@ ;============================================================ ; File: Facebook.dll ; Plugin: Facebook RM -; Version: 0.1.1.1 +; Version: 0.2.1.0 ; Authors: Michal Zelinka, Robert Pösel ;============================================================ [Facebook protocol support for Miranda NG.] @@ -16,16 +16,24 @@ Стварыць новы конт Facebook [What's on your mind?] Пра што вы думаеце? +[Wall:] +Сцяна: +[Visibility:] +Бачнасць: [Text:] Тэкст: +[URL:] +URL: [Place:] Месца: -[Visibility:] -Бачнасць: [Share] Падзяліцца [Cancel] Скасаваць +[Contacts >>] +Кантакты >> +[Attach contacts:] +Далучыць кантакты: [User Details] Пра карыстача [Default group:] @@ -40,32 +48,20 @@ Загружаць кантакты "з мабільнага" [Event notifications] Апавяшчэнні -[Colors] -Колеры -[Back] -Фон -[Text] -Тэкст [Notifications] Апавяшчэнні -[Default] -Змаўчанні [News feeds] Навіны +[News Feed types to notify:] +Апавяшчаць пра тыпы навін: [Other events] Іншыя падзеі [Client notifications] Апавяшчэнні кліента -[Timeout (sec.)] -Працягласць (сек.) -[(0 = default, -1 = infinite)] -(0 = змаўчанне, -1 = бясконца) [Preview] Тэст [Use balloon notifications in system tray instead of popups] Апавяшчаць падказкай у трэі замест усплывальных вокнаў -[News Feed types to notify:] -Апавяшчаць пра тыпы навін: [Advanced Settings] Пашыраныя параметры [Force secure (HTTPS) connection] @@ -82,10 +78,19 @@ Падтрымка карыстацкіх смайлаў (Эксперыментальна!) [Use local time for received messages] Выкарыстоўваць мясцовы час для прынятых паведамленняў -[Send "Seen" info when marking messages as read] -"Заўважаны", калі пазначаць паведамленні як прачытаныя [Use this server for opening links:] Выкарыстоўваць гэты сервер для адкрыцця спасылкі: +[Allow posting statuses to my pages (may slow down login)] +Дазволіць публікаваць статусы на сваіх старонках (замаруджвае уваход) +;file \protocols\FacebookRM\src\chat.cpp +[&Invite user...] +&Запрасіць карыстальніка ... +[&Leave chat session] +&Пакінуць чат +[User &details] +Дадзеныя карыстача +[User &history] +Гісторыя карыстача ;file \protocols\FacebookRM\src\communication.cpp [Login error: %s] Памылка далучэння: %s @@ -93,18 +98,22 @@ Невядомая памылка [Login error: Invalid request.] Памылка далучэння: Памылковы запрос. -[Your account requires HTTPS connection. Activating.] -Ваш конт патрабуе HTTPS злучэння. Актывацыя. [Login error: Some Facebook things are required.] Памылка далучэння: Неабходны некаторыя рэчы Facebook. +[Login error: Captcha code is required. Bad login credentials?] +Памылка: Патрабуецца ўвесці код абароны. Няслушныя дадзеныя конта? [Login error, probably bad login credentials.] Памылка далучэння, верагодна, няслушныя дадзеныя для ўваходу. +[Your account requires HTTPS connection. Activating.] +Ваш конт патрабуе HTTPS злучэння. Актывацыя. [Something happened to Facebook. Maybe there was some major update so you should wait for an update.] Нешта здарылася з Facebook. Можа быць, было сур'ёзнае абнаўленне, таму чакайце абнаўлення плагіна. [Need confirmation for sending messages to other clients.\nOpen facebook website and try to send message to this contact again!] Маюць патрэбу ў пацверджанні для адпраўкі паведамленняў з іншых кліентаў.\n  Адкрыйце сайт facebook і паспрабуйце адправіць паведамленне гэтаму кантакту зноў! [Timeout when sending message.] Затрымка пры адпраўцы паведамлення. +[Status update was successful.] +Паспяховае абнаўленне статуса. ;file \protocols\FacebookRM\src\connection.cpp [Please enter a username.] Калі ласка, увядзіце імя карыстача. @@ -129,14 +138,16 @@ Мабільны сайт [Smartphone website] Для смартфонаў -[For everyone] -Усе -[For friends of friends] -Сябры сяброў -[For friends] -Сябры -[Only for me] -Толькі я +[Public] +Усім +[Friends of friends] +сябрам сяброў +[Friends] +Сябрам +[Friends except acquaintances] +ябрам, акрамя знаёмых +[Only me] +Толькі мне ;file \protocols\FacebookRM\src\contacts.cpp [Contact was removed from your server list.] Кантакт быў выдалены з вашага спісу на серверы. @@ -151,6 +162,10 @@ [Error occurred when canceling friendship request.] Адбылася памылка пры скасаванні запыта сяброўства. ;file \protocols\FacebookRM\src\dialogs.cpp +[Default] +Змаўчанні +[<< Contacts] +<< Кантакты [What's on your mind, %s?] Што ў цябе ў галаве, %s? [Sample event] @@ -162,33 +177,39 @@ [Sample notification] Прыклад апавяшчэння ;file \protocols\FacebookRM\src\json.cpp +[a sticker] +сцікер +[files] +файлы +[a file] +файл +[photos] +фатаграфіі +[a photo] +фатаграфію +[User sent you %s:] +Кантакт паслаў вам %s: ;file \protocols\FacebookRM\src\messages.cpp [You cannot send messages when you are offline.] Вы не можаце адпраўляць паведамленні без далучэння. ;file \protocols\FacebookRM\src\process.cpp ;file \protocols\FacebookRM\src\proto.cpp -[Show Mind Window] -Статус Facebook [%s server connection] Далучэнне да сервера %s [Unable to get Netlib connection for Facebook] Не атрымалася Netlib злучэнне да Facebook -[Notification] -Апавяшчэнне -[News Feed] -Навіны -[Other Event] -Іншая падзея [Network] Сеціва [Account] Конт -[Advanced] -Дадаткова -[Popups] -Усплывальныя вокны [Events] Падзеі +[Advanced] +Дадаткова +[Share status...] +Статус... +[Own wall] +Свая сцяна [Loading newsfeeds...] Загрузка навін... [Checking friend requests...] @@ -197,6 +218,14 @@ Абнаўленне спісу сяброў... [Do you want to cancel your friendship with '%s'?] Хочаце адмяніць сяброўства з '%s'? +[Show 'Share status' window] +Паведамленне статуса Facebook +[Notification] +Апавяшчэнне +[News Feed] +Навіны +[Other Event] +Іншая падзея ;file \protocols\FacebookRM\src\theme.cpp [Facebook icon] Абразок Facebook @@ -220,8 +249,6 @@ Дадаць ў сябры [Approve friendship] Дадаць ў сябры -[Mind...] -Думаю... [Services...] Службы... [Refresh Buddy List] diff --git a/langpacks/belarusian/Plugins/FileAsMessage.txt b/langpacks/belarusian/Plugins/FileAsMessage.txt index ca7efae96a..6f64bf4c57 100644 --- a/langpacks/belarusian/Plugins/FileAsMessage.txt +++ b/langpacks/belarusian/Plugins/FileAsMessage.txt @@ -57,6 +57,8 @@ Атрыманне... [Sent successfully] Паслана паспяхова +[Unknown command for "File As Message" was received] +Невядомая каманда для "File As Message" была атрыманая [Incoming file request. Do you want to proceed?] Уваходны файл. Хочаце працягнуць? [Canceled by remote user] diff --git a/langpacks/belarusian/Plugins/Fingerprint.txt b/langpacks/belarusian/Plugins/Fingerprint.txt index c2b4df80dc..5b222c7bb1 100644 --- a/langpacks/belarusian/Plugins/Fingerprint.txt +++ b/langpacks/belarusian/Plugins/Fingerprint.txt @@ -93,14 +93,20 @@ Miranda (невядома) спам кліент [PHP Jabber Client] PHP Jabber кліент +[MP3 Script for mIRC] +MP3 скрыпт для mIRC [Mail.Ru Agent (official)] Mail.Ru Агент (афіцыйны) [Mail.Ru (unknown client)] Mail.Ru (невядомы) +[TM 2008 and >] +TM 2008 і вышэй [Gadu-Gadu client] Gadu-Gadu [Tlen.pl client] Tlen.pl +[Python-based clients] +Кліенты на Python [Jabber client] Jabber [XMPP client] diff --git a/langpacks/belarusian/Plugins/FtpFile.txt b/langpacks/belarusian/Plugins/FtpFile.txt index c3c59cdbe2..2dab4225d5 100644 --- a/langpacks/belarusian/Plugins/FtpFile.txt +++ b/langpacks/belarusian/Plugins/FtpFile.txt @@ -108,6 +108,8 @@ FTP-конты Аўтаматычна выдаліць файл праз... [Disabled] Выключаны +[Delete from List] +Вызаліць з спісу [Copy Link] Капіяваць спасылку ;file \plugins\FTPFileYM\src\dialog.cpp @@ -142,10 +144,16 @@ FTP сервер 5 Сервер FTP %d [Upload file(s)] Загрузіць файл(ы) +[Zip and upload file(s)] +Запакаваць і адправіць файл(ы) +[Zip and upload folder] +Запакаваць і адправіць тэчку [FTP File manager] FTP файл мэнэджар [Show FTPFile manager] Паказаць FTP файл мэнэджар +[Upload file] +Адправіць файл [Zip and upload file] Запакаваць і загрузіць файл [File upload complete] diff --git a/langpacks/belarusian/Plugins/GG.txt b/langpacks/belarusian/Plugins/GG.txt index 43d2e90751..bf95cea7d4 100644 --- a/langpacks/belarusian/Plugins/GG.txt +++ b/langpacks/belarusian/Plugins/GG.txt @@ -290,6 +290,10 @@ HTTP невядомая памылка Захаваць [Delete image] Выдаліць малюнак +[Clear ignored conferences] +Выдаліць ігнаруемыя канферэнцыі +[Concurrent sessions] +Паралельныя сесіі ;file \protocols\Gadu-Gadu\src\image.cpp [&Image] Малюнак diff --git a/langpacks/belarusian/Plugins/MsgPopup.txt b/langpacks/belarusian/Plugins/MsgPopup.txt new file mode 100644 index 0000000000..3400fe5dc7 --- /dev/null +++ b/langpacks/belarusian/Plugins/MsgPopup.txt @@ -0,0 +1,31 @@ +#muuid CF25D645-4DAB-4B0A-B9F1-DE1E86231F9B} +;============================================================ +; File: MsgPopup.dll, messagepopup.dll +; Module: Message Popup. Replace a mesaage boxes to Popups +; Versions: 0.0.0.1 +; URL: http://miranda-im.org/download/feed.php?dlfile=1228 +;============================================================ +[ASTERISK style] +Зорачка +[Foreground] +Тэкст +[ERROR style] +Памылка +[QUESTION style] +Пытанне +[EXCLAMATION style] +Усклік +[Special values of the "Timeout":\n -1 - infinity, 0 - use default timeout value] +Адмысловыя значэнні "таймаўту":\n -1 - увесь час, 0 - значэнне па змаўчанні +[Emit a sound] +Граць гук +[MessagePopup - demo] +MessagePopup - Дэма +[This stuff will replace MessageBox'es [whose have only OK button] into Popups] +Замяняе дыялогавыя вокны з папярэджаннямі на ўсплывальныя вокны. Працуе сумесна з Popup. Пераклад: Wattman. +[Message with error] +Папярэджанне пра памылку +[Message with exclamation] +Усклік +[Message with asterisk] +Паведамленне *з зорачкай* \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/NimContact.txt b/langpacks/belarusian/Plugins/NimContact.txt new file mode 100644 index 0000000000..e2e145428f --- /dev/null +++ b/langpacks/belarusian/Plugins/NimContact.txt @@ -0,0 +1,104 @@ +#muuid {2e0d2ae3-e123-4607-8539-d4448d675ddb} +;============================================================ +; File: nimcontact.dll +; Module: Non-IM Contact +; Versions: 0.5.0.1 +;============================================================ +[Non-IM Contact allows you to add 'contacts' that can act as shortcuts to other programs, or links to web pages.\r\nThe contacts name can be read from a text file (includes any ASCII file).\r\nThis plugin is a combination of Favorites and Text Reader plugins both made by me)] +Не-IM кантакт дазваляе дадаваць спасылкі на іншыя праграмы і вэб-старонкі ў якасці «кантактаў». Імёны гэтых «кантактаў» могуць брацца з тэкставага файла (любога файла ASCII).\r\n Гэты плагін з'яўляецца камбінацыяй плагінаў Favorites і Text Reader, таксама напісаных мной. +[&String Maker] +Стварыць радок +[Contact is always visible] +Кантакт заўсёды бачны +[Returns....] +Зварот... +[Away as another status] +Адсутнічаю, як іншы статус +[Contacts Tooltip] +Падказка +[E&dit Contact Settings] +Змяніць налады кантакту +[Co&py Non-IM Contact] +Капіяваць не-IM кантакт +[View/Edit Files] +Прагляд/Змена файлаў +[Remove Selected File] +Выдаліць абраны +[Timer Options] +Опцыі таймера +[Program parameters:] +Аргументы праграмы: +[New Non-IM Contact] +Новы не-IM кантакт +[Disable timer] +Адключыць таймер +[Use Timer] +Выкарыстоўваць таймер +[Update URL every] +Абнаўляць URL праз +[Group\\Sub-Group] +Група\\Падгрупа +[Timer Settings] +Налады таймера +[CList Settings] +Налады спісу +[O&pen File] +Адкрыць файл +[String to test] +Радок для прагляду +[Type one replace string per line in the format "original text,new text"] +Адзін радок замены на кожны радок у фармаце "арыгінал,новы" +[Ignore global status change] +Ігнараваць глабальную змену статусу +[String Maker] +Стварыць радок +[Contacts display name] +Адлюстроўванае імя +[EXAMPLE: %fn1,%fn2] +ПРЫКЛАД: %fn1,%fn2 +[O&pen Folder] +Адкрыць тэчку +[&Add Non-IM Contact] +Дадаць не-IM кантакт +[&Export all Non-IM Contacts] +Экспарт усіх не-IM кантактаў +[&Export Non-IM Contact] +Экспарт не-IM кантакту +[&Import Non-IM Contacts] +Імпарт не-IM кантактаў +[&Non-IM Contact] +Не-IM кантакт +[&Test String] +Праверка +[&View/Edit Files] +Прагляд/змена файлаў +[Add File] ++ файл +[Add URL] ++ URL +[Non-IM Contacts] +Не-IM кантакты +[Non-IM Contact] +Не-IM кантакт +[Timer interval (in seconds)] +Інтэрвал (у секундах) +[This will take affect after Non-IM Contacts' status is changed] +Змены набудуць моц пасля змены статусу кантактаў +[Link and CList Settings] +Спасылкі і налады спісу +[Status Icon] +Значок статусу +[Unless Non-IM Contacts protocol is OFFLINE] +схаваць, калі не-IM пратакол не ў сеткі +[Non-IM Contact protocol timer is Disabled] +Выключаць пратакол па таймеры +[&Files] +Файлы +[file(#)] +файл(#) +[Intervals] +перыядаў +[If the protocol timer is disabled web pages won't be updated] +Пры выключаным таймеры спасылкі не абнаўляюцца +[NIM_Contact] +Не-IM кантакт diff --git a/langpacks/belarusian/Plugins/NotifyAnything.txt b/langpacks/belarusian/Plugins/NotifyAnything.txt new file mode 100644 index 0000000000..9da3ea8b4e --- /dev/null +++ b/langpacks/belarusian/Plugins/NotifyAnything.txt @@ -0,0 +1,14 @@ +#muuid {e92874ec-594a-4a2f-bded-c0be8b5a45d1} +;============================================================ +; File: NotifyAnything.dll +; Module: NotifyAnything +; Versions: 0.0.2.7 +;============================================================ +[Allow actions to execute programs] +Дазволіць выкананне праграм +[Message debugging] +Адладка паведамленняў +[Only listen to localhost] +Толькі ад гэтага кампутара +[Use internal speaker] +Выкарыстоўваць дынамік \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/OpenFolder.txt b/langpacks/belarusian/Plugins/OpenFolder.txt new file mode 100644 index 0000000000..fbb5d2058e --- /dev/null +++ b/langpacks/belarusian/Plugins/OpenFolder.txt @@ -0,0 +1,10 @@ +;============================================================ +; File: OpenFolder.dll +; Plugin: Adds a menu/toobar item which opens the main Miranda NG folder +; Versions: 1.1.0.0 +; URL: http://wiki.miranda-ng.org/index.php?title=Plugin:OpenFolder +; Source: https://mysvn.ru/ghazan/myranda/trunk/plugins/OpenFolder/ +; Authors: jarvis, Kreisquadratur +;============================================================ +[Adds a menu/toobar item which opens the main Miranda NG folder.] +Дадае пункт меню/панэлі кнопак, які адкрывае тэчку, дзе ўсталявана Miranda NG. \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/Ping.txt b/langpacks/belarusian/Plugins/Ping.txt new file mode 100644 index 0000000000..4261115af5 --- /dev/null +++ b/langpacks/belarusian/Plugins/Ping.txt @@ -0,0 +1,165 @@ +#muuid {760ea901-c0c2-446c-8029-94c3bc47c45e} +;============================================================ +; File: Ping.dll +; Plugin: Ping +; Version: 0.9.1.1 +; Authors: Scott Ellis +;============================================================ +[Ping labelled IP addresses or domain names.] +Пінгуе IP адрас ці даменнае імя. +;file \plugins\Ping\res\ping.rc +[Delay between pings (secs):] +Затрымка паміж пінгамі (сек): +[Timeout] +Таймаўт +[Ping timeout (secs):] +Таймаўт пінгаў (сек): +[Logging] +Гісторыя +[Log to File] +Лог файл +[Log Filename:] +Імя лог файла: +[Network] +Сеціва +[Popups] +Усплывальныя вокны +[Reply] +Адказ +[Block Repetitions] +Без паўтораў +[View Log] +Журнал +[Browse...] +Адкрыць... +[Interface] +Інтэрфейс +[Do not change icon when testing] +Не змяняць значок пры тэставанні +[Use the Customize/Fonts options to change text size and color.] +Налада шрыфтоў у "Тонкая налада->Шрыфты і колеры" +[Indent:] +Водступ: +[Row height:] +Вышыня радка: +[Repeats for success/failure:] +Паўтараць да выніку: +[Attach to contact list] +Дадаць у спіс +[Use CSV format] +Фармат CSV +[Add] +Дадаць +[Remove] +Выдаліць +[Edit] +Змяніць +[Up] +Угару +[Down] +Уніз +[Edit Host] +Кіраваць хост +[Address:] +Адрас: +[Label:] +Пазнака: +[TCP Connect] +TCP злучэнне +[Port:] +Порт: +[Control Protocol:] +Пратакол: +[Set my status to:] +Усталяваць мой статус у: +[On success, if my status is:] +Пры поспеху, калі мой статус: +[Execute the following command on double-click:] +Выканаць наступную каманду па падвойным кліку: +[Contact] +Кантакт +[Protocols] +Пратаколы +[(Optional) Command Parameters:] +Параметры каманды (дадаткова): +[Menu] +Меню +[Graph] +Граф +[Enable] +Уключана +[Disable all pings] +Выключыць усе пінгі +[Enable all pings] +Уключыць усе пінгі +[Options...] +Налады... +[Hosts...] +Хасты... +;file \plugins\Ping\src\menu.cpp +[PING] +Пінг +[Enable All Pings] +Уключыць усе пінгі +[Disable All Pings] +Выключыць усе пінгі +;file \plugins\Ping\src\options.cpp +[] +<не> +[] +<усё> +[Settings] +Налады +[Hosts] +Хасты +;file \plugins\Ping\src\ping.cpp +[Ping Plugin] +Плагін пінг +[Failed to initialize. Plugin disabled.] +Памылка ініцыялізацыі. Убудова адключаны. +;file \plugins\Ping\src\pinggraph.cpp +[Show grid lines] +Паказваць лініі +[Show stats] +Статыстыка +[%d ms] +%d мс +[AVG %.1lf ms] +СРДН %.1lf мс +[MAX %hd ms] +МАКС %hd мс +[MIN %hd ms] +МІН %hd мс +;file \plugins\Ping\src\pingthread.cpp +[%s - setting status of protocol '%s' (%d)] +%d - усталёўка статусу пратаколу '%s' (%d) +[%s - reply, %d] +%s - адказ, %d +[%s - timeout] +%s - таймаўт +[Disable] +Выключыць +[enabled] +уключаны +[double clicked] +падвойны націск +[Ping] +Пінг +[Show/Hide &Ping Window] +Паказаць/схаваць акно +;file \plugins\Ping\src\rawping.cpp +[Host %s requests that you reduce the amount of traffic you are sending.] +Хост %s патрабуе паменшыць колькасць пасыланага вамі трафіку. +;file \plugins\Ping\src\utils.cpp +[Unknown Address] +Невядомы адрас +[Unknown] +Невядома +[Responding] +Адказвае +[Not Responding] +Не адказвае +[Testing] +Тэставанне +[Disabled] +Выключаны \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/SkypeStatusChange.txt b/langpacks/belarusian/Plugins/SkypeStatusChange.txt new file mode 100644 index 0000000000..30c22e0d15 --- /dev/null +++ b/langpacks/belarusian/Plugins/SkypeStatusChange.txt @@ -0,0 +1,16 @@ +#muuid {2925520b-6677-4658-8bad-5661d13e4692} +;============================================================ +; File: SkypeStatusChange.dll +; Plugin: Skype status change +; Authors: Dioksin +;============================================================ +[Skype status change according to Miranda status.] +Змяняе статус запушчанага Skype у адпаведнасці са статусам Міранды. +[Change Skype status] +Змена статусу Skype +[&Check any protocol or any status to exclude it from synchronization:] +Адзначаныя пратаколы і статусы не будуць сінхранізавацца +[Synchronize status message] +Сінхранізаваць паведамленне статусу +[Synchronize if current status differs from previous one] +Сінхранізаваць калі бягучы статус адрозніваецца ад папярэдняга \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/StopSpam.txt b/langpacks/belarusian/Plugins/StopSpam.txt new file mode 100644 index 0000000000..07baf3dffa --- /dev/null +++ b/langpacks/belarusian/Plugins/StopSpam.txt @@ -0,0 +1,104 @@ +#muuid {94ced94c-a94a-4bb1-acbd-5cc6ebb689d4} +;============================================================ +; File: StopSpamMod.dll +; Plugin: StopSpam mod +; Version: 0.0.2.0 +; Authors: Roman Miklashevsky, sss, Elzor +;============================================================ +[Anti-spam plugin for Miranda NG.] +Плагін антыспама для Miranda NG. +;file \plugins\StopSpamMod\res\stopspam.rc +[Question: (Ctrl-Enter for carriage return)] +Пытанне: (Ctrl+Enter для пачатку новага радка) +[Restore defaults] +Скінуць +[Answer:] +Адказ: +[Congratulation:] +Віншаванні: +[Auth. request reply:] +Адказ на запыты аўтарызацыі: +[Vars] +Зменныя +[Available accounts:] +Даступныя конты: +[Filtered accounts:] +Засцярожаныя конты: +[Do not send more than] +Не адпраўляць больш +[questions to one contact (0 - for no limit)] +пытанняў кантакту (0 - неабмежавана) +[Enable StopSpam-StopSpam infinite talk protection] +Не адсылаць пытанне анціспаму +[Add contact permanently] +Дадаваць у сталы спіс +[Enable auth. requests blocking] +Блакаваць запыты аўтарызацыі +[Hide unanswered contacts and spammers from contact list] +Схаваць якія не адказалі кантакты з кантакт-ліста +[Ignore spammers (do not write messages to history)] +Ігнараваць спамераў (не пісаць паведамленні ў гісторыю) +[Log spam to file] +Запісваць спам у файл +[Case insensitive answer checking] +Не ўлічваць рэгістр адказу +[Disable question in invisible mode] +Адключыць пытанне пры статуце "Нябачны" +[Enable integration with DOS plugin] +Уключыць інтэграцыю з DOS модулем +[Exclude contacts which we sending something from spam check] +Адключаць антыспам для кантактаў, якім паслалі паведамленне +[Remove Excluded contacts after restart] +Выдаляць часова дададзеныя кантакты пасля перазапуску +[Add contacts to specified group:] +Дадаць кантакты ў групу: +[Ignore URL in messages and auth requests] +Ігнараваць спасылкі ў паведамленнях і запытах аўтарызацыі +[Add contact to server list] +Дадаць кантакт у спіс на серверы +[After congratulation (ICQ only)] +Пасля віншавання (толькі для ICQ) +[Automatically grant authorization] +Аўтарызаваць аўтаматычна +[Request authorization from contacts which pass stopspam test] +Запытваць аўтарызацыю ў кантактаў мінулых праверку антыспаму +[Remove all tempory contacts after restart] +Выдаляць усе часовыя кантакты пасля перазапуску +[Use regex for answers checking] +Выкарыстоўваць рэгулярныя выразы для праверкі адказаў +[Log Spammers to system history] +Запісваць у сістэмную гісторыю +[Use math expression in question] +Матэматычныя выразы ў пытанні +[Details..] +Дэталі.. +;file \plugins\StopSpamMod\src\init.cpp +[StopSpam] +Антыспам +[StopSpam Logs] +Журнал антыспама +[Remove Temporary Contacts] +Выдаліць часовыя кантакты +;file \plugins\StopSpamMod\src\options.cpp +[No more spam! Robots can't go! Only human beings invited!\r\n\r\nThis plugin works pretty simple:\r\nWhile messages from users on your contact list go as there is no any anti-spam software, messages from unknown users are not delivered to you. But also they are not ignored, this plugin replies with a simple question, and if user gives the right answer plugin adds him to your contact list so that he can contact you.] +Няма больш спаму! Робаты адпачываюць!\r\n\r\nГэты модуль працуе проста:\r\nУ той час як паведамленні ад карыстачоў у Вашым спісе прыходзяць без праверкі на спам, паведамленні ад невядомых карыстачоў вам не дастаўляюцца. Але яны не ігнаруюцца, модуль адказвае простым пытаннем, і калі карыстач дае правільны адказ, модуль дадае яго ў спіс, для таго каб ён мог звязацца з Вамі. +[Spammers made me to install small anti-spam system you are now speaking with.\r\nPlease reply "nospam" without quotes and spaces if you want to contact me.] +Прывітанне! Вы гавораце з с анты-спам ботам. Клі ласка, напішыце "nospam" без двукоссяў, каб прайсці праверку. +[StopSpam: send a message and reply to a anti-spam bot question.] +StopSpam: адпраўце паведамленне і адкажыце на простае пытанне анты-спам бота. +[Congratulations! You just passed human/robot test. Now you can write me a message.] +Віншуем! Вы прайшлі тэст, зараз можаце адпраўляць паведамленні карыстачу. +[If math expression is turned on you can use following expression in message text:\nXX+XX-X/X*X\neach X will be replaced by one random number and answer will be expression result\nMessage must contain only one expression without spaces] +Калі адключаны матэматычныя выразы, іх магчыма выкарыстоўваць у тэксце пытання:\nXX+XX-X/X*X\nкожны X будзе заменены выпадковай лічбай, адказам будзе рашэнне\nПытанне можа ўключаць толькі адзін выраз, запісаны без прабелаў +[Info] +Інфа +[Message Sessions] +Гутаркі +[General] +Агульнае +[Messages] +Паведамленні +[Accounts] +Конты +[Advanced] +Дадаткова diff --git a/langpacks/belarusian/Plugins/UserGuide.txt b/langpacks/belarusian/Plugins/UserGuide.txt new file mode 100644 index 0000000000..e48be667b6 --- /dev/null +++ b/langpacks/belarusian/Plugins/UserGuide.txt @@ -0,0 +1,11 @@ +#muuid {297ec1e7-41b7-41f9-bb91-efa95028f16c} +;============================================================ +; File: UserGuide.dll +; Module: This plug-in adds the main menu item used to view miranda-im pack user guide +; Versions: 0.0.0.1 +; URL:http://code.google.com/p/alfamar/ +;============================================================ +[This plug-in adds the main menu item used to view miranda-im pack user guide.] +Гэты плагін дадае пункт у галоўнае меню для прагляду кіраўніцтва карыстача па зборцы Miranda NG. +[User Guide] +Кіраўніцтва \ No newline at end of file diff --git a/langpacks/belarusian/Plugins/VKontakte.txt b/langpacks/belarusian/Plugins/VKontakte.txt new file mode 100644 index 0000000000..ff7ec69117 --- /dev/null +++ b/langpacks/belarusian/Plugins/VKontakte.txt @@ -0,0 +1,37 @@ +#muuid {32579908-724b-467f-adad-22b6359a749a} +;============================================================ +; File: VKontakte.dll +; Plugin: VKontakte +; Version: 0.1.0.2 +; Authors: Miranda NG Team +;============================================================ +[VKontakte protocol support for Miranda NG.] +Падтрымка пратаколу Вконтакте ў Miranda NG. +[Login or phone number:] +Пошта ці нумар тэлефона: +[Password:] +Пароль: +[Open VK site] +Адкрыць старонку ВК +[Bots Challenge Test] +Абарона ад ботаў +[Instruction:] +Інструкцыя +[Submit] +Прыняць +[Cancel] +Скасаваць +[Captcha form icon] +Абразок формы +[Protocols] +Пратаколы +[VKontakte] +Вконтакте +[Enter the text you see] +Увядзіце тэкст, які бачыце +[Network] +Сеціва +[Account] +Конт +[%s server connection] +Далучэнне да сервера %s diff --git a/langpacks/belarusian/Plugins/WebView.txt b/langpacks/belarusian/Plugins/WebView.txt new file mode 100644 index 0000000000..9bbfc2397c --- /dev/null +++ b/langpacks/belarusian/Plugins/WebView.txt @@ -0,0 +1,15 @@ +#muuid {cd5427fb-5320-4f65-b4bf-86b7cf7b5087} +;============================================================ +; File: Webview.dll +; Plugin: Webview +; Version: 0.1.3.0 +; Authors: Vincent Joyce +;============================================================ +;file \plugins\WebView\res\webview.rc +;file \plugins\WebView\src\main.cpp +;file \plugins\WebView\src\webview.cpp +;file \plugins\WebView\src\webview_alerts.cpp +;file \plugins\WebView\src\webview_datawnd.cpp +;file \plugins\WebView\src\webview_getdata.cpp +;file \plugins\WebView\src\webview_opts.cpp +;file \plugins\WebView\src\webview_services.cpp diff --git a/langpacks/belarusian/Plugins/WhatsApp.txt b/langpacks/belarusian/Plugins/WhatsApp.txt new file mode 100644 index 0000000000..0a7d57921a --- /dev/null +++ b/langpacks/belarusian/Plugins/WhatsApp.txt @@ -0,0 +1,12 @@ +#muuid {4f1ff7fa-4d75-44b9-93b0-2ced2e4f9e3e} +;============================================================ +; File: WhatsApp.dll +; Plugin: WhatsApp +; Version: 0.0.2.0 +; Authors: Uli Hecht +;============================================================ +;file \protocols\WhatsApp\res\whatsapp.rc +;file \protocols\WhatsApp\src\connection.cpp +;file \protocols\WhatsApp\src\dialogs.cpp +;file \protocols\WhatsApp\src\proto.cpp +;file \protocols\WhatsApp\src\theme.cpp diff --git a/langpacks/belarusian/Plugins/WhenWasIt.txt b/langpacks/belarusian/Plugins/WhenWasIt.txt index 9053a4cb3b..5be3736c46 100644 --- a/langpacks/belarusian/Plugins/WhenWasIt.txt +++ b/langpacks/belarusian/Plugins/WhenWasIt.txt @@ -209,6 +209,8 @@ Пачатак абнаўлення інфармацыі пра карыстачоў [Done refreshing user details] Абнаўленне інфармацыі пра карыстачоў завершана +[Could not create worker thread. Error#%d - threadID %d] +Не ўдалося стварыць працоўны струмень. Error#%d - threadID %d [Error] Памылка [Birthdays files] @@ -227,8 +229,12 @@ Ідзе экспарт у файл %s [Done exporting birthdays] Экспарт завершаны +[Could not open file to import birthdays] +Не атрымалася адкрыць файл імпарту дзён нараджэння [Warning] Папярэджанне +[Could not open file to export birthdays] +Не атрымалася адкрыць файл каб экспартаваць дні нараджэння [Please do not edit this file by hand. Use the export function of WhenWasIt plugin.\n] Не трэба рэдагаваць гэты файл ўручную. Карыстайцеся функцыяй экспарту плагіна WhenWasIt.\n [Warning! Please do not mix Unicode and Ansi exported birthday files. You should use the same version (Ansi/Unicode) of WhenWasIt that was used to export the info.\n] diff --git a/langpacks/belarusian/Plugins/WinterSpeak.txt b/langpacks/belarusian/Plugins/WinterSpeak.txt new file mode 100644 index 0000000000..54d65da3c2 --- /dev/null +++ b/langpacks/belarusian/Plugins/WinterSpeak.txt @@ -0,0 +1,13 @@ +#muuid {81e189dc-c251-45f6-9edf-a0f3a05c4248} +;============================================================ +; File: WinterSpeak.dll +; Plugin: WinterSpeak +; Version: 0.9.8.3 +; Authors: Ryan Winter, BlubbFish +;============================================================ +;file \plugins\WinterSpeak\res\Speak.rc +;file \plugins\WinterSpeak\src\DialogConfigActive.cpp +;file \plugins\WinterSpeak\src\DialogConfigEngine.cpp +;file \plugins\WinterSpeak\src\EventInformation.cpp +;file \plugins\WinterSpeak\src\main.cpp +;file \plugins\WinterSpeak\src\SpeakAnnounce.cpp diff --git a/langpacks/belarusian/Plugins/XSoundNotify.txt b/langpacks/belarusian/Plugins/XSoundNotify.txt index 492c14631b..253fd704f8 100644 --- a/langpacks/belarusian/Plugins/XSoundNotify.txt +++ b/langpacks/belarusian/Plugins/XSoundNotify.txt @@ -24,20 +24,26 @@ Скід [Ignore sound for this contact] Ігнараваць гук для гэтага кантакту +[XSoundNotify] +XSoundNotify [OK] ОК [Cancel] Скасаваць -;file \plugins\XSoundNotify\src\xsn_main.cpp +;file \plugins\XSoundNotify\src\dialog.cpp +[Custom sound for %s (%s)] +Карыстацкі гук для %s (%s) [Sound files] Гукавыя файлы [WAV files] Файлы WAV +;file \plugins\XSoundNotify\src\options.cpp [Sounds] Гукі [XSound Notify] Карыстацкія гукі -[Custom sound for %s (%s)] -Карыстацкі гук для %s (%s) +;file \plugins\XSoundNotify\src\xsn_main.cpp +[Self status] +Свой статус [Custom contact sound] Карыстацкі гук кантакту diff --git a/langpacks/belarusian/Plugins/Xfire.txt b/langpacks/belarusian/Plugins/Xfire.txt index 5cb729ee08..52c8a1c6c6 100644 --- a/langpacks/belarusian/Plugins/Xfire.txt +++ b/langpacks/belarusian/Plugins/Xfire.txt @@ -5,6 +5,8 @@ ; Version: 0.1.9.0 ; Authors: dufte ;============================================================ +[Xfire protocol support for Miranda NG.] +Падтрымка пратакола XFire в Miranda NG. ;file \protocols\Xfire\res\resource.rc [Password:] Пароль: @@ -20,8 +22,8 @@ XFire Нататка: Вы можаце змяніць налады, толькі калі далучаны да Xfire. [Create a new Xfire account on website] Стварыць новы конт праз вэб-сайт -[Lost Password?] -Забыліся пароль? +[Lost password?] +Забылі пароль? [Account options] Налады конта [Show my friends] @@ -56,14 +58,18 @@ XFire Асноўная група для сяброў сяброў: [Files] Файлы +[xfire_games.ini] +xfire_games.ini +[icons.dll] +icons.dll [Blocked User List] Заблакаваны спіс карыстачоў [This list contains all your blocked Xfire users. You can remove one, if you wanna allow him to send you a friend request.] Гэты спіс утрымоўвае заблакаваных карыстачоў. Вы можаце выдаліць аднаго, што дазволіць яму пасылаць вам паведамленні. [You can simply block someone, if you right click on his friend request in clist and choose Block User...] Вы можаце проста заблакаваць каго-небудзь, пстрычкай правай кнопкі па карыстачу ў кантакт лісце. -[This file is used for the game search, game detection and gameid resolving. It contains all xfire supported games.] -Гэты файл выкарыстоўваецца для пошуку і выяўленні гульні. Файл утрымоўвае падтрымоўваныя гульні Xfire. +[This file is used for the game search, game detection and game ID resolving. It contains all xfire supported games.] +Гэты файл выкарыстоўваецца для пошуку гульняў. Ён змяшчае ўсе падтрымоўваемыя XFire гульні. [This file contains all original game icons. You can also activate the option for icon downloading, if you don't have it.] Гэты файл утрымоўвае арыгінальныя значкі гульняў. Вы можаце гэтак жа актываваць аўтаматычную загрузку, калі гэтага файла ў вас няма. [Be sure you put these files in following folder:] @@ -114,8 +120,6 @@ XFire IP: [Port:] Порт: -[Userdetails] -Дэталі карыстача [Copy] Капіяваць [Enter Password] @@ -128,24 +132,16 @@ IP: ОК [Cancel] Скасаваць -[New supported Games:] -Падтрымліваюцца новыя гульні: [Update] Абнавіць -[Add Game] -Дадаць [Search:] Шукаць: -[Custom ...] -Налаздіць... +[Add Game] +Дадаць [Game name:] Назва гульні: -[Browse ...] -Агляд... [Add a new game] Дадаць новую гульню -[Searching games ...] -Пошук гульняў ... ;file \protocols\Xfire\src\addgamedialog.cpp [All Files] Усе файлы @@ -188,18 +184,8 @@ IP: Капіяваць адрас і порт сервера [Cop&y Voice Server Address and Port] Капіяваць адрас і порт сервера зносін -[Join &Game ...] -Зайсці ў гульню... -[Play this Game ...] -Гуляць у гэту гульню... -[Remove F&riend ...] -Выдаліць з сяброў ... -[Block U&ser ...] -Заблакаваць карыстача... [&My XFire Online Profile] Мой профіль XFire -[&Rescan my Games ...] -Перасканаваць мае гульні... [Set &Nickname] Псеўданім... [Protocols/XFire] @@ -301,8 +287,6 @@ XFireне падтрымлівае паведамленні адключаным Вы ўпэунены, што жадаеце выдаліць гульню? [Please select a game.] Абярыце гульню. -[Error unknown game id.] -Памылка невядомы ID гульні. [Not supported] Не падтрымліваецца [Configuration saved!] @@ -320,11 +304,7 @@ XFireне падтрымлівае паведамленні адключаным [StatusMsg] Статусныя паведамленні ;file \protocols\Xfire\src\pwd_dlg.cpp -[Please enter server password...] - ;file \protocols\Xfire\src\searching4games.cpp -[Write to database ...] -Запісь у БД... [Games found:%s%s] Знойдзены гульні:%s%s ;file \protocols\Xfire\src\userdetails.cpp @@ -334,5 +314,3 @@ XFireне падтрымлівае паведамленні адключаным [Start game] Пачаць гульню ;file \protocols\Xfire\src\Xfire_gamelist.cpp -[Please wait ...] -Калі ласка пачакайце diff --git a/langpacks/belarusian/Plugins/YARelay.txt b/langpacks/belarusian/Plugins/YARelay.txt index 1427704e71..6b3a4ff4e9 100644 --- a/langpacks/belarusian/Plugins/YARelay.txt +++ b/langpacks/belarusian/Plugins/YARelay.txt @@ -63,3 +63,5 @@ !НЕ ПЕРАСЫЛАЦЬ! [Plugins] Плагіны +[yaRelay] +yaRelay diff --git a/langpacks/belarusian/Plugins/wbOSD.txt b/langpacks/belarusian/Plugins/wbOSD.txt index da6a275e77..940dc50480 100644 --- a/langpacks/belarusian/Plugins/wbOSD.txt +++ b/langpacks/belarusian/Plugins/wbOSD.txt @@ -8,52 +8,50 @@ [Shows new message/status change info using on-screen display.] Адлюстроўвае новыя паведамленні/змены статусу, выкарыстоўваючы OSD. ;file \plugins\wbOSD\res\wbOSD.rc +[General] +Агульнае +[Align] +Выраўноўванне [Select font] Шрыфт -[Text color] -Колер тэксту -[Background color] -Колер фону -[Transparent] -Празрыста +[Shadow] +Цень +[Show drop shadow] +Маляваць цень +[Shadow align] +Становішча [Shadow color] Колер ценю [Alternative shadow] Альтэрнатыўны цень -[Shadow align] -Становішча -[General] -Агульнае -[Shadow] -Цень -[Show drop shadow] - -[Align] -Выраўноўванне [Shadow distance:] Зрух ценю: [Other] Іншае +[Background color] +Колер фону +[Transparent] +Празрыста [Alpha:] Альфа: -[Announce] -Аб'яўленьне [Timeout (ms):] Працягласць (мс): -[Show events] -Паказваць падзеі -[Status changes] -Змены статусу [Show testing OSD] Прадпрагляд +[Announce] +Аб'яўленьне +[Status changes] +Змены статусу [Show my status changes] Паказваць змены майго статусу -[Show message window after click] -Націск адкрывае акно паведамлення -[Static] -Статычны +[Text color] +Колер тэксту +[Show events] +Паказваць падзеі [Format:] Фармат: +[Show message window after click] +Націск адкрывае акно паведамлення [Show when my status is:] Паказваць OSD, калі мой статус: ;file \plugins\wbOSD\src\events.cpp @@ -61,11 +59,9 @@ %s гэта %s ;file \plugins\wbOSD\src\options.cpp [Variables:\n %n : Nick\n %m : Message\n %l : New line] - +Зменныя:\n %n : Імя\n %m : Паведамленне\n %l : Новы радок [Help] - -[Miranda NG is great and this is a long message.] - +Дапамога [Plugins] Плагіны [OSD] diff --git a/langpacks/corebasic.txt b/langpacks/corebasic.txt deleted file mode 100644 index 2c372d2527..0000000000 --- a/langpacks/corebasic.txt +++ /dev/null @@ -1,22 +0,0 @@ -This file contains a list of plug-ins that run in build: -AIM -AVS -AdvaImg -Clist_modern -Clist_mw -Clist_nicer -DbChecker -Dbx_3x -Dbx_mmap -Facebook -GG -ICQ -Import -IRC -Jabber -MSN -PluginUpdater -Scriver -TabSRMM -TopToolBar -Yahoo \ No newline at end of file diff --git a/tools/langpackmgr/Unit1.dfm b/tools/langpackmgr/Unit1.dfm index 81f4a341d7..90dba5b17b 100644 --- a/tools/langpackmgr/Unit1.dfm +++ b/tools/langpackmgr/Unit1.dfm @@ -1,134 +1,160 @@ object Form1: TForm1 Left = 0 Top = 0 - Caption = 'LangPackMgr' - ClientHeight = 342 - ClientWidth = 785 + BorderIcons = [biSystemMenu, biMinimize] + BorderStyle = bsSingle + Caption = 'Miranda Langpack Manager' + ClientHeight = 286 + ClientWidth = 630 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] - Menu = MainMenu1 OldCreateOrder = False OnCreate = FormCreate PixelsPerInch = 96 TextHeight = 13 object Label1: TLabel - Left = 514 - Top = 320 - Width = 6 + Left = 192 + Top = 16 + Width = 37 Height = 13 - Caption = '0' + Caption = 'Strings:' end - object Button1: TButton - Left = 631 - Top = 308 - Width = 146 - Height = 25 - Caption = 'Save and refresh' + object Label2: TLabel + Left = 192 + Top = 35 + Width = 60 + Height = 13 + Caption = 'Untranslate:' + end + object Label3: TLabel + Left = 192 + Top = 54 + Width = 46 + Height = 13 + Caption = 'Changes:' + end + object Memo1: TMemo + Left = 168 + Top = 88 + Width = 449 + Height = 80 + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False + ScrollBars = ssHorizontal TabOrder = 0 - TabStop = False - OnClick = Button1Click end - object Button2: TButton - Left = 8 - Top = 308 - Width = 146 - Height = 25 - Caption = 'Custom Plugins' + object RadioGroup1: TRadioGroup + Left = 360 + Top = 9 + Width = 257 + Height = 73 + Caption = 'Available translations' + Columns = 2 + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False TabOrder = 1 - TabStop = False - OnClick = Button2Click + OnClick = RadioGroup1Click end - object BitBtn1: TBitBtn - Left = 160 - Top = 308 - Width = 41 - Height = 25 - Caption = 'Copy' + object ComboBox1: TComboBox + Left = 8 + Top = 8 + Width = 154 + Height = 21 + Style = csDropDownList TabOrder = 2 - TabStop = False - OnClick = BitBtn1Click + OnChange = ComboBox1Change end - object BitBtn2: TBitBtn - Left = 207 - Top = 308 - Width = 42 - Height = 25 - Caption = 'Google:' + object Memo2: TMemo + Left = 168 + Top = 176 + Width = 449 + Height = 80 + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False + ScrollBars = ssHorizontal TabOrder = 3 - TabStop = False - OnClick = BitBtn2Click end - object BitBtn3: TBitBtn - Left = 279 - Top = 308 - Width = 50 - Height = 25 - Caption = 'Clear' + object StringGrid1: TStringGrid + Left = 8 + Top = 35 + Width = 154 + Height = 247 + ColCount = 1 + DefaultColWidth = 150 + DefaultRowHeight = 14 + FixedCols = 0 + RowCount = 1 + FixedRows = 0 + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False + ScrollBars = ssVertical TabOrder = 4 - TabStop = False - OnClick = BitBtn3Click + OnClick = Click + OnDrawCell = Draw end - object ListBox1: TListBox - Left = 8 - Top = 8 - Width = 146 - Height = 294 - TabStop = False - Enabled = False - ItemHeight = 13 + object Button2: TButton + Left = 239 + Top = 262 + Width = 58 + Height = 20 + Caption = 'Google' + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False TabOrder = 5 - OnClick = ListBox1Click + OnClick = Button2Click end - object ListBox2: TListBox - Left = 631 - Top = 8 - Width = 146 - Height = 294 - ItemHeight = 13 + object Button3: TButton + Left = 559 + Top = 262 + Width = 58 + Height = 20 + Caption = 'Save' + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False TabOrder = 6 - OnClick = ListBox2Click + OnClick = Button3Click end - object Edit1: TEdit - Left = 255 - Top = 312 - Width = 18 - Height = 21 + object Button1: TButton + Left = 168 + Top = 262 + Width = 58 + Height = 20 + Caption = 'Copy' + Font.Charset = RUSSIAN_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Verdana' + Font.Style = [] + ParentFont = False TabOrder = 7 - Text = 'be' - end - object Memo1: TMemo - Left = 160 - Top = 8 - Width = 465 - Height = 144 - ScrollBars = ssHorizontal - TabOrder = 8 - end - object Memo2: TMemo - Left = 160 - Top = 158 - Width = 465 - Height = 144 - ScrollBars = ssHorizontal - TabOrder = 9 - end - object MainMenu1: TMainMenu - Left = 512 - Top = 309 - object File1: TMenuItem - Caption = 'File' - object Open1: TMenuItem - Caption = 'Open' - OnClick = Open1Click - end - end - end - object SaveTextFileDialog1: TSaveTextFileDialog - Left = 480 - Top = 309 + OnClick = Button1Click end end diff --git a/tools/langpackmgr/Unit1.pas b/tools/langpackmgr/Unit1.pas index a0083263d2..5267e27673 100644 --- a/tools/langpackmgr/Unit1.pas +++ b/tools/langpackmgr/Unit1.pas @@ -4,327 +4,177 @@ interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, - System.Classes, Vcl.Graphics, - Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.ExtDlgs, Vcl.StdCtrls, - Vcl.CheckLst, Vcl.ComCtrls, Vcl.Buttons, ShellApi; + System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, + Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, ShellApi; type TForm1 = class(TForm) - - SaveTextFileDialog1: TSaveTextFileDialog; - - MainMenu1: TMainMenu; - File1: TMenuItem; - Open1: TMenuItem; - - ListBox1: TListBox; - ListBox2: TListBox; - Button1: TButton; Button2: TButton; - - BitBtn1: TBitBtn; - BitBtn2: TBitBtn; - BitBtn3: TBitBtn; - Edit1: TEdit; + Button3: TButton; Label1: TLabel; + Label2: TLabel; + Label3: TLabel; Memo1: TMemo; Memo2: TMemo; + RadioGroup1: TRadioGroup; + ComboBox1: TComboBox; + StringGrid1: TStringGrid; - procedure Open1Click(Sender: TObject); // =head= procedure FormCreate(Sender: TObject); - procedure Button2Click(Sender: TObject); // - procedure ListBox1Click(Sender: TObject);// - procedure listfiles;// listbox - procedure progress; // - procedure parsing;// - procedure ListBox2Click(Sender: TObject); - procedure viewline; - procedure BitBtn1Click(Sender: TObject); - procedure BitBtn2Click(Sender: TObject); + procedure Click(Sender: TObject); procedure Button1Click(Sender: TObject); - procedure BitBtn3Click(Sender: TObject); + procedure Button2Click(Sender: TObject); + procedure Button3Click(Sender: TObject); + procedure viewline; + procedure RadioGroup1Click(Sender: TObject); + procedure ComboBox1Change(Sender: TObject); + procedure Draw(Sender: TObject; ACol, ARow: Integer; Rect: TRect; + State: TGridDrawState); + + private { Private declarations } - public { Public declarations } end; var Form1: TForm1; - openDialog : TOpenDialog; openfile:textfile; + lang,stmp: string; + str: array [0..40,0..6000] of string; + ffile:array [0..6000] of string; + core: array [0..30] of string; + l:array [0..6000] of integer; + ns:array [0..6000] of boolean; + ii,i,n:integer; - stmp: string; // - lang: string; // - sfull: array [0..6000] of string; // - ifull: integer; // - se: array [0..200,0..6000] of string; // - st: array [0..200,0..6000] of string; // - - sfilter:array [1..30] of string; // - ifilter: integer; // - bfilter: boolean; // - - n,t:integer; // / - il,ii,iindex:integer; // - newlines:boolean; - - adres: array [0..6000]of integer; - ilines: array [0..200] of integer; // - nlines: array [0..200] of integer; // - tlines: array [0..200] of integer; // - - lineindex: array [0..2000] of integer; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); -begin - assignfile(openfile,ExtractFilePath(Application.ExeName)+ - '\corebasic.txt',CP_UTF8); - reset(openfile); - readln(openfile); - ifilter:=0; - while not eof(openfile) do - begin - ifilter:=ifilter+1; - readln(openfile,sfilter[ifilter]); - end; - listfiles; -end; - -/////////////////////////////////////////////////////////////////////////////// -procedure TForm1.ListBox1Click(Sender: TObject); -begin - iindex:=ListBox1.ItemIndex; - listbox2.Items.Clear; - memo1.Lines.Clear; - memo1.Lines.add('Plugin:'+listbox1.Items[iindex]); - memo1.Lines.add('Lines:'+inttostr(tlines[iindex]) - +'/'+inttostr(nlines[iindex])); - memo1.Lines.add('Completed:' - +copy(floattostr(100*tlines[iindex]/nlines[iindex]),1,4)+'%'); - il:=-1; - for ii:=0 to ilines[iindex] do - begin - if (copy(se[iindex,ii],1,1)='[') and (st[iindex,ii]='') then - begin - listbox2.Items.add(se[iindex,ii]); - adres[listbox2.items.Count-1]:=ii; - il:=il+1; - lineindex[il]:=ii; - end; - end; -end; -/////////////////////////////////////////////////////////////////////////////// -procedure TForm1.ListBox2Click(Sender: TObject); -var il,index:integer; -begin - index:=strtoint(label1.Caption)-1; - if index<>-1 then - begin - // - if memo2.Lines.Count=memo1.Lines.Count then - st[iindex,adres[index]]:=''; - il:=0; - while ilmemo2.Lines.Count-1 then - st[iindex,adres[index]]:= - st[iindex,adres[index]]+'\n'; - il:=il+1; - end; - end; - label1.Caption:=inttostr(listbox2.ItemIndex+1); - memo1.Lines.Clear; - memo2.Lines.Clear; - viewline; -end; -/////////////////////////////////////////////////////////////////////////////// -procedure TForm1.Open1Click(Sender: TObject); -begin - chdir(ExtractFilePath(Application.ExeName)); - opendialog:=TOpenDialog.Create(self); - opendialog.filter:='Langpack Head File|=HEAD=.txt'; - opendialog.initialDir:=GetCurrentDir; - opendialog.options:=[ofFileMustExist]; - if (opendialog.execute) then - begin - lang:=copy(openDialog.filename, - length(ExtractFilePath(Application.ExeName))+1, - length(openDialog.filename)- - length(ExtractFilePath(Application.ExeName))-11); - chdir(ExtractFilePath(openDialog.filename)); - form1.Caption:='LangPackMgr: '+lang; - ListBox1.enabled:=true; - parsing; - end; -end; -/////////////////////////////////////////////////////////////////////////////// -procedure tform1.parsing; -begin - memo1.lines.clear; - listbox2.Items.clear; - n:=0;t:=0; - for iindex:=0 to listbox1.items.Count-1 do - progress; - if button2.Caption='Custom Plugins' - then memo1.Lines.Add('Language:'+lang+' (Standart Bulid)') - else memo1.Lines.Add('Language:'+lang+' (Custom Plugins)'); - memo1.Lines.Add('Translated:'+copy(floattostr(100*t/n),1,4)+'%'); -end; -/////////////////////////////////////////////////////////////////////////////// -procedure tform1.progress; -begin - if copy(listbox1.Items[iindex],1,2)='=C' then - stmp:='=CORE=' else - if copy(listbox1.Items[iindex],1,2)='p|' then - stmp:='\plugins\'+copy(listbox1.Items[iindex],3, - length(listbox1.Items[iindex])-2) else - if copy(listbox1.Items[iindex],1,2)='w|' then - stmp:='\weather\'+copy(listbox1.Items[iindex],3, - length(listbox1.Items[iindex])-2); -// - for ifull := 0 to 4000 do sfull[ifull]:=''; - if fileexists(ExtractFilePath(Application.ExeName) - +'\'+lang+'\'+stmp+'.txt') then - begin - assignfile(openfile,ExtractFilePath(Application.ExeName) - +'\'+lang+'\'+stmp+'.txt',CP_UTF8); - reset(openfile); - ifull:=0; - while not Eof(openfile) do - begin - ifull:=ifull+1; - ReadLn(openfile,sfull[ifull]); - end; - closefile(openfile); - end; - for ii := 0 to 6000 do st[iindex,ii]:=''; - assignfile(openfile,ExtractFilePath(Application.ExeName) - +'\english\'+stmp+'.txt',CP_UTF8); - reset(openfile); - ilines[iindex]:=-1; - nlines[iindex]:=0; - tlines[iindex]:=0; - while not Eof(openfile) do - begin - ilines[iindex]:=ilines[iindex]+1; - ReadLn(openfile,se[iindex,ilines[iindex]]); - if (copy(se[iindex,ilines[iindex]],1,1)='[') then - begin - nlines[iindex]:= nlines[iindex]+1; - for ii:=0 to ifull-1 do - if se[iindex,ilines[iindex]]=sfull[ii] then - if (copy(sfull[ii+1],1,1)<>';') - and(copy(sfull[ii+1],1,1)<>'[') - and(copy(sfull[ii+1],1,1)<>'') - then - begin - st[iindex,ilines[iindex]]:=sfull[ii+1]; - tlines[iindex]:=tlines[iindex]+1; - end; - end; - end; - closefile(openfile); - n:=n+nlines[iindex]; - t:=t+tlines[iindex]; -end; -/////////////////////////////////////////////////////////////////////////////// -procedure tform1.listfiles; -Var +var SR:TSearchRec; Res:Integer; - i:integer; begin - n:=0;t:=0; - ListBox1.Items.Clear; - if button2.Caption='Custom Plugins' then - begin - Form1.ListBox1.Items.Add('=CORE='); - for i := 1 to ifilter do - Form1.ListBox1.Items.Add('p|'+sfilter[i]); - end else - begin - // plugins - Res:=FindFirst(ExtractFilePath(Application.ExeName) - +'\english\plugins\*.txt', faAnyFile, SR); - while Res = 0 do + combobox1.Items.Clear; + combobox1.Items.Add('=CORE='); + Res:=FindFirst(ExtractFilePath(Application.ExeName) + +'\english\plugins\*.txt', faAnyFile, SR); + while Res = 0 do begin - bfilter:=false; - for i:=1 to ifilter do - if sfilter[i]=copy(extractfilename(SR.Name), - 1,length(extractfilename(SR.Name))-4) then bfilter:=true; - if bfilter=false then - Form1.ListBox1.Items.Add('p|'+copy(extractfilename(SR.Name), - 1,length(extractfilename(SR.Name))-4)); - Res:=FindNext(SR); + Form1.comboBox1.Items.Add('p|'+copy(extractfilename(SR.Name), + 1,length(extractfilename(SR.Name))-4)); + Res:=FindNext(SR); end; - FindClose(SR); - // weather - Res:=FindFirst(ExtractFilePath(Application.ExeName) - +'\english\weather\*.txt', faAnyFile, SR); - while Res = 0 do + FindClose(SR); + + Res:=FindFirst(ExtractFilePath(Application.ExeName) + +'\english\weather\*.txt', faAnyFile, SR); + while Res = 0 do begin - Form1.ListBox1.Items.Add('w|'+copy(extractfilename(SR.Name), - 1,length(extractfilename(SR.Name))-4)); - Res:=FindNext(SR); + Form1.comboBox1.Items.Add('w|'+copy(extractfilename(SR.Name), + 1,length(extractfilename(SR.Name))-4)); + Res:=FindNext(SR); end; - end; -end; -// ///////////////////////////////////////////////////////// -procedure TForm1.BitBtn1Click(Sender: TObject); -begin -memo2.Lines:=memo1.Lines; -end; -// ////////////////////////////////////////////////////////// -procedure TForm1.BitBtn2Click(Sender: TObject); + FindClose(SR); + end; + + + +procedure TForm1.Button2Click(Sender: TObject); + var str:string; i:integer; begin - str:='http://translate.google.com/?hl=&ie=&langpair=en#en/'+edit1.Text+'/'; -for i:=0 to memo1.Lines.Count-1 do -begin -str:=str+memo1.Lines[i]; -if i'') then + begin + writeln(openfile, str[0,fi]); + writeln(openfile, str[1,fi]); + end; + end; + CloseFile(openfile); end; -procedure TForm1.BitBtn3Click(Sender: TObject); +procedure TForm1.Button1Click(Sender: TObject); begin - memo1.Lines.Clear; - memo2.Lines.Clear; - st[iindex,adres[listbox2.ItemIndex]]:=''; - viewline; + memo2.Lines:=memo1.Lines; end; -// ////////////////////////////////////////////////////////// - - -procedure TForm1.Button2Click(Sender: TObject); +procedure TForm1.Click(Sender: TObject); +var sa:integer; da:string; begin - if button2.Caption='Custom Plugins' - then button2.Caption:='Core and basic' - else button2.Caption:='Custom Plugins'; - listfiles; - if ListBox1.enabled=true then - parsing; + da:=str[1,l[ii]]; + str[1,l[ii]]:=''; + for sa:=0 to memo2.Lines.Count-1 do +begin + str[1,l[ii]]:=str[1,l[ii]]+memo2.Lines[sa]; + if sa<>memo2.Lines.Count-1 then str[1,l[ii]]:=str[1,l[ii]]+'\n'; +end; + if str[1,l[ii]]<>da then ns[ii]:=true; +memo1.Lines.clear; +memo2.Lines.clear; +viewline; +ii:=stringgrid1.Row; +stringgrid1.rowcount:=stringgrid1.rowcount+1; +stringgrid1.rowcount:=stringgrid1.rowcount-1; end; + procedure tform1.viewline; var im,m:integer; +untranslate,changes: integer; sse:string; begin - m:=1; sse:=copy(se[iindex,lineindex[listbox2.itemindex]],2, - length(se[iindex,lineindex[listbox2.itemindex]])-2); + m:=1; + if RadioGroup1.itemindex=0 + then + sse:=copy(str[0,l[stringgrid1.row]],2, length(str[0,l[stringgrid1.row]])-2) + else + sse:=str[2,l[stringgrid1.row]]; for im := 1 to length(sse)-1 do begin if copy(sse,im,2)='\n' then @@ -335,74 +185,170 @@ begin end; if m=1 then memo1.Lines.Add(sse) else memo1.Lines.Add(copy(sse,m,length(sse)-m+2)); - - if st[iindex,adres[listbox2.ItemIndex]]<>'' then + if str[1,l[stringgrid1.row]]<>'' then begin m:=1; - for im := 1 to length(st[iindex,adres[listbox2.ItemIndex]])-1 do + for im := 1 to length(str[1,l[stringgrid1.row]])-1 do begin - if copy(st[iindex,adres[listbox2.ItemIndex]],im,2)='\n' then + if copy(str[1,l[stringgrid1.row]],im,2)='\n' then begin - memo2.Lines.Add(copy(st[iindex,adres[listbox2.ItemIndex]],m,im-m)); + memo2.Lines.Add(copy(str[1,l[stringgrid1.row]],m,im-m)); m:=im+2; end; end; - if m=1 then memo2.Lines.Add(st[iindex,adres[listbox2.ItemIndex]]) - else memo2.Lines.Add(copy(st[iindex,adres[listbox2.ItemIndex]],m, - length(st[iindex,adres[listbox2.ItemIndex]])-m+2)); + if m=1 then memo2.Lines.Add(str[1,l[stringgrid1.row]]) + else memo2.Lines.Add(copy(str[1,l[stringgrid1.row]],m, + length(str[1,l[stringgrid1.row]])-m+2)); end; - memo2.SetFocus; + + changes:=0; + for im:= 0 to stringgrid1.rowcount-1 do + if ns[im]=true then changes:=changes+1; + label2.Caption:='Changes:'+inttostr(changes); + untranslate:=0; + for im:= 0 to stringgrid1.rowcount-1 do + if str[1,l[im]]='' then untranslate:=untranslate+1; + label3.Caption:='Untranslate:'+inttostr(untranslate); + end; -/////////////////////////////////////////////////////////////////////////////// -/// -// -procedure TForm1.Button1Click(Sender: TObject); -var il,index:integer; + +procedure TForm1.ComboBox1Change(Sender: TObject); + begin - index:=strtoint(label1.Caption)-1; - if index<>-1 then - begin - // - if memo2.Lines.Count=memo1.Lines.Count then - st[iindex,adres[index]]:=''; - il:=0; - while ilmemo2.Lines.Count-1 then - st[iindex,adres[index]]:= - st[iindex,adres[index]]+'\n'; - il:=il+1; + for n:=0 to 40 do str[n,i]:=''; + l[i]:=0; + ns[i]:=false; + memo1.Lines.Clear; + memo2.Lines.Clear; end; + if ComboBox1.Text='=CORE=' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+ + '\english\=CORE=.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='w|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+ + '\english\weather\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='p|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+ + '\english\plugins\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + reset(openfile); + readln(openfile,stmp); + str[0,0]:=stmp; + stringgrid1.Rowcount:=0; + n:=0; +while not eof(openfile) do +begin + n:=n+1; + readln(openfile,stmp); + str[0,n]:=stmp; + if copy(stmp,1,1)='[' then + begin + l[stringgrid1.Rowcount-1]:=n; + stringgrid1.Cells[0,stringgrid1.Rowcount-1]:=stmp; + stringgrid1.Rowcount:=stringgrid1.Rowcount+1; end; +end; +////////////////////////////////////////////////////////// + +if RadioGroup1.Items.Count=2 then +begin + if ComboBox1.Text='=CORE=' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+ + '\'+RadioGroup1.Items[1]+'\=CORE=.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='w|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+'\' + +RadioGroup1.Items[1]+ + '\weather\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='p|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+'\' + +RadioGroup1.Items[1]+ + '\plugins\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + reset(openfile); + readln(openfile); + n:=0; + while not eof(openfile) do +begin + readln(openfile,ffile[n]); + n:=n+1; +end; +for i := 0 to stringgrid1.Rowcount do +for ii := 0 to n-1 do +if ffile[ii]=stringgrid1.cells[0,i] then +str[2,l[i]]:=ffile[ii+1]; +end; +/////////////////////////////////////// +////////////////////////////////////////////////////////// + if ComboBox1.Text='=CORE=' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+ + '\'+form1.Caption+'\=CORE=.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='w|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+'\'+form1.Caption+ + '\weather\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + if copy(ComboBox1.Text,1,2)='p|' then + assignfile(openfile,ExtractFilePath(Application.ExeName)+'\'+form1.Caption+ + '\plugins\'+copy(ComboBox1.Text,3,length(ComboBox1.Text)-2)+'.txt',CP_UTF8); + reset(openfile); + readln(openfile); + n:=0; + while not eof(openfile) do +begin + readln(openfile,ffile[n]); + n:=n+1; +end; +for i := 0 to stringgrid1.Rowcount do +for ii := 0 to n-1 do +if ffile[ii]=stringgrid1.cells[0,i] then +str[1,l[i]]:=ffile[ii+1]; +//////////////////////////////////////////////////////////////// + + +stringgrid1.Rowcount:=stringgrid1.Rowcount-1; +label1.Caption:='Strings:'+inttostr(stringgrid1.Rowcount); + +ii:=0; +viewline; +end; + +procedure TForm1.Draw(Sender: TObject; ACol, ARow: Integer; Rect: TRect; + State: TGridDrawState); +Var + StringGrid: TStringGrid; + Can: TCanvas; +begin + StringGrid := Sender as TStringGrid; + Can := StringGrid.Canvas; Can.Font := StringGrid.Font; + if (ARow >= StringGrid.FixedRows) and (ACol >= StringGrid.FixedCols) + then Can.Brush.Color := StringGrid.Color + else Can.Brush.Color := StringGrid.FixedColor; + if str[1,l[ARow]]='' then Can.Brush.Color:=clRed; + if ns[arow]=true then Can.Brush.Color:=clGreen; + Can.FillRect(Rect); + Can.TextOut(Rect.Left+2,Rect.Top+2, StringGrid.Cells[ACol, ARow]); +end; + +procedure TForm1.RadioGroup1Click(Sender: TObject); +var m,im:integer; +sse:string; +begin memo1.Lines.Clear; -memo2.Lines.Clear; - if copy(listbox1.Items[iindex],1,2)='=C' then - stmp:='=CORE=' else - if copy(listbox1.Items[iindex],1,2)='p|' then - stmp:='\plugins\'+copy(listbox1.Items[iindex],3, - length(listbox1.Items[iindex])-2) else - if copy(listbox1.Items[iindex],1,2)='w|' then - stmp:='\weather\'+copy(listbox1.Items[iindex],3, - length(listbox1.Items[iindex])-2); -assignfile(openfile,ExtractFilePath(Application.ExeName) - +'\'+lang+'\'+stmp+'.txt',CP_UTF8); -rewrite(openfile); -writeLn(openfile,se[iindex,0]); - for ii := 1 to ilines[iindex] do - begin - if copy(se[iindex,ii],1,1)=';' then writeln(openfile,se[iindex,ii]); - if (copy(se[iindex,ii],1,1)='[') and (st[iindex,ii]<>'') + m:=1; + if RadioGroup1.itemindex=0 then - begin - writeln(openfile,se[iindex,ii]); - writeln(openfile,st[iindex,ii]); - end; - end; -closefile(openfile); -// - parsing; + sse:=copy(str[0,l[stringgrid1.row]],2, length(str[0,l[stringgrid1.row]])-2) + else + sse:=str[2,l[stringgrid1.row]]; + for im := 1 to length(sse)-1 do + begin + if copy(sse,im,2)='\n' then + begin + memo1.Lines.Add(copy(sse,m,im-m)); + m:=im+2; + end; + end; + if m=1 then memo1.Lines.Add(sse) + else memo1.Lines.Add(copy(sse,m,length(sse)-m+2)); end; + end. diff --git a/tools/langpackmgr/Unit2.dfm b/tools/langpackmgr/Unit2.dfm new file mode 100644 index 0000000000..1f6cb2313f --- /dev/null +++ b/tools/langpackmgr/Unit2.dfm @@ -0,0 +1,79 @@ +object Form2: TForm2 + Left = 0 + Top = 0 + BorderIcons = [] + Caption = 'Select the language' + ClientHeight = 151 + ClientWidth = 205 + Color = clBtnFace + Font.Charset = DEFAULT_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'Tahoma' + Font.Style = [] + OldCreateOrder = False + OnCreate = FormCreate + PixelsPerInch = 96 + TextHeight = 13 + object Label1: TLabel + Left = 8 + Top = 8 + Width = 89 + Height = 13 + Caption = 'Editable language:' + end + object Label2: TLabel + Left = 8 + Top = 62 + Width = 113 + Height = 13 + Caption = 'Languages to compare:' + end + object ComboBox1: TComboBox + Left = 8 + Top = 27 + Width = 185 + Height = 22 + Style = csOwnerDrawFixed + TabOrder = 0 + OnChange = ComboBox1Change + end + object CheckBox1: TCheckBox + Left = 137 + Top = 61 + Width = 56 + Height = 17 + Caption = 'english' + Checked = True + Enabled = False + State = cbChecked + TabOrder = 1 + end + object Button1: TButton + Left = 103 + Top = 118 + Width = 89 + Height = 25 + Caption = 'Start' + Enabled = False + TabOrder = 2 + OnClick = Button1Click + end + object Button2: TButton + Left = 8 + Top = 118 + Width = 89 + Height = 25 + Caption = 'Cancel' + TabOrder = 3 + OnClick = Button2Click + end + object ComboBox2: TComboBox + Left = 8 + Top = 84 + Width = 185 + Height = 22 + Style = csOwnerDrawFixed + TabOrder = 4 + end +end diff --git a/tools/langpackmgr/Unit2.pas b/tools/langpackmgr/Unit2.pas new file mode 100644 index 0000000000..b71163e1aa --- /dev/null +++ b/tools/langpackmgr/Unit2.pas @@ -0,0 +1,89 @@ +unit Unit2; + +interface + +uses + Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, + Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CheckLst, unit1; + +type + TForm2 = class(TForm) + ComboBox1: TComboBox; + CheckBox1: TCheckBox; + Button1: TButton; + Label1: TLabel; + Label2: TLabel; + Button2: TButton; + ComboBox2: TComboBox; + procedure Button1Click(Sender: TObject); + procedure FormCreate(Sender: TObject); + procedure ComboBox1Change(Sender: TObject); + procedure Button2Click(Sender: TObject); + private + { Private declarations } + public + { Public declarations } + end; + +var + Form2: TForm2; + n:integer; +implementation + +{$R *.dfm} + +procedure TForm2.Button1Click(Sender: TObject); +begin +form1.caption:=ComboBox1.text; +form1.RadioGroup1.Items.Add('english'); +if combobox2.text<>'' then +form1.RadioGroup1.Items.Add(combobox2.text); +form1.RadioGroup1.ItemIndex:=0; +form1.showmodal; +form2.Close; +end; + +procedure TForm2.Button2Click(Sender: TObject); +begin +form2.Close; +end; + +procedure TForm2.ComboBox1Change(Sender: TObject); +var i:integer; +begin + combobox2.Items.Clear; + for i :=0 to combobox1.ItemHeight+5 do // +5 + if i<>combobox1.ItemIndex then + combobox2.Items.Add(combobox1.Items[i]); + button1.Enabled:=true; +end; + +procedure TForm2.FormCreate(Sender: TObject); +var + SR:TSearchRec; + Res:Integer; +begin + +Res:=FindFirst(ExtractFilePath(Application.ExeName)+'*', faAnyFile, SR); +while Res = 0 do +begin +if ((SR.Attr and faDirectory)=faDirectory) and ((SR.Name='.')or(SR.Name='..')) then +begin +Res:=FindNext(SR); +Continue; +end; +if ((SR.Attr and faDirectory)=faDirectory) then +begin +if (fileexists(ExtractFilePath(Application.ExeName)+'/'+SR.Name+'/=HEAD=.txt')) +and (sr.Name<>'english') then +begin +Form2.combobox1.Items.Add(SR.Name); + +end; +end; +Res:=FindNext(SR); +end; +FindClose(SR); +end; + +end. diff --git a/tools/langpackmgr/lpmanager.dpr b/tools/langpackmgr/lpmanager.dpr new file mode 100644 index 0000000000..876548f6f7 --- /dev/null +++ b/tools/langpackmgr/lpmanager.dpr @@ -0,0 +1,21 @@ +program lpmanager; + +uses + Vcl.Forms, + Unit1 in 'Unit1.pas' {Form1}, + Unit2 in 'Unit2.pas' {Form2}; + +{ IMAGE_FILE_LINE_NUMS_STRIPPED or IMAGE_FILE_LOCAL_SYMS_STRIPPED or + IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP or IMAGE_FILE_NET_RUN_FROM_SWAP} + {$WEAKLINKRTTI ON} + {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} +{$R *.res} + +begin + Application.Initialize; + Application.MainFormOnTaskbar := True; + Application.Title := 'Miranda LangPack Manager'; + Application.CreateForm(TForm2, Form2); + Application.CreateForm(TForm1, Form1); + Application.Run; +end. diff --git a/tools/langpackmgr/lpmanager.dproj b/tools/langpackmgr/lpmanager.dproj new file mode 100644 index 0000000000..4125de70fd --- /dev/null +++ b/tools/langpackmgr/lpmanager.dproj @@ -0,0 +1,196 @@ + + + {2DD0A017-C6BD-47BC-89F3-19A1F4372290} + 14.6 + VCL + lpmanager.dpr + True + Release + Win32 + 3 + Application + + + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Cfg_1 + true + true + + + true + Base + true + + + true + Cfg_2 + true + true + + + 1049 + CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= + None + $(BDS)\bin\delphi_PROJECTICON.ico + System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) + .\$(Platform)\$(Config) + .\..\..\langpacks + false + false + false + false + false + + + 1033 + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) + $(BDS)\bin\default_app.manifest + CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= + true + bindcompfmx;DBXSqliteDriver;vcldbx;rtl;dbrtl;DbxClientDriver;IndySystem;bindcomp;inetdb;inetdbbde;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DBXOdbcDriver;DataSnapServer;DataSnapProviderClient;xmlrtl;svnui;DBXSybaseASEDriver;DbxCommonDriver;vclimg;IndyProtocols;dbxcds;DBXMySQLDriver;DatasnapConnectorsFreePascal;MetropolisUILiveTile;bindcompdbx;vclactnband;bindengine;vcldb;soaprtl;vcldsnap;bindcompvcl;vclie;vcltouch;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;VclSmp;dsnap;IndyIPServer;DBXInformixDriver;IndyCore;vcl;DataSnapConnectors;IndyIPCommon;CloudService;DBXMSSQLDriver;dsnapcon;DBXFirebirdDriver;inet;vclx;inetdbxpress;webdsnap;svn;DBXSybaseASADriver;bdertl;dbexpress;adortl;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) + + + 1033 + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + $(BDS)\bin\default_app.manifest + CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= + true + bindcompfmx;DBXSqliteDriver;rtl;dbrtl;DbxClientDriver;IndySystem;bindcomp;inetdb;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DBXOdbcDriver;DataSnapServer;DataSnapProviderClient;xmlrtl;DBXSybaseASEDriver;DbxCommonDriver;vclimg;IndyProtocols;dbxcds;DBXMySQLDriver;DatasnapConnectorsFreePascal;MetropolisUILiveTile;bindcompdbx;vclactnband;bindengine;vcldb;soaprtl;vcldsnap;bindcompvcl;vclie;vcltouch;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;VclSmp;dsnap;IndyIPServer;DBXInformixDriver;IndyCore;vcl;DataSnapConnectors;IndyIPCommon;CloudService;DBXMSSQLDriver;dsnapcon;DBXFirebirdDriver;inet;vclx;inetdbxpress;webdsnap;DBXSybaseASADriver;dbexpress;adortl;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage) + + + DEBUG;$(DCC_Define) + true + false + true + true + true + + + 1033 + true + false + + + RELEASE;$(DCC_Define) + 0 + false + + + CompanyName=;FileDescription=;FileVersion=0.0.1.1;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= + $(BDS)\bin\default_app.manifest + true + 1 + true + 1 + 0 + 1059 + true + lpmanager_Icon.ico + + + + MainSource + + +
Form1
+ dfm +
+ +
Form2
+ dfm +
+ + Cfg_2 + Base + + + Base + + + Cfg_1 + Base + +
+ + Delphi.Personality.12 + + + + + False + False + 1 + 0 + 0 + 0 + False + False + False + False + False + 1049 + 1251 + + + + + 1.0.0.0 + + + + + + 1.0.0.0 + + + + + + + + + + + + + + + + + + lpmanager.dpr + + + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components + + + + + True + True + + + 12 + + + +
diff --git a/tools/langpackmgr/lpmanager_Icon.ico b/tools/langpackmgr/lpmanager_Icon.ico new file mode 100644 index 0000000000..297ce84a9f Binary files /dev/null and b/tools/langpackmgr/lpmanager_Icon.ico differ -- cgit v1.2.3