Dmitry Chapyshev <lentind@yandex.ru>
- Fix russian translation in shell32 and rasapi32. - Add rasdlg.dll ("Wine-style"). svn path=/trunk/; revision=30678
|
@ -118,6 +118,7 @@
|
||||||
<property name="BASEADDRESS_CRYPTDLL" value="0x76740000" />
|
<property name="BASEADDRESS_CRYPTDLL" value="0x76740000" />
|
||||||
<property name="BASEADDRESS_SHFOLDER" value="0x76780000" />
|
<property name="BASEADDRESS_SHFOLDER" value="0x76780000" />
|
||||||
<property name="BASEADDRESS_NTMARTA" value="0x768A0000" />
|
<property name="BASEADDRESS_NTMARTA" value="0x768A0000" />
|
||||||
|
<property name="BASEADDRESS_RASDLG" value="0x768d0000" />
|
||||||
<property name="BASEADDRESS_GDIPLUS" value="0x76a00000" />
|
<property name="BASEADDRESS_GDIPLUS" value="0x76a00000" />
|
||||||
<property name="BASEADDRESS_WINTRUST" value="0x76c30000" />
|
<property name="BASEADDRESS_WINTRUST" value="0x76c30000" />
|
||||||
<property name="BASEADDRESS_IMAGEHLP" value="0x76c90000" />
|
<property name="BASEADDRESS_IMAGEHLP" value="0x76c90000" />
|
||||||
|
|
|
@ -4,30 +4,30 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
BEGIN
|
BEGIN
|
||||||
4097 "Файл скрипта '%1' ненайден."
|
4097 "Сценарий '%1' не найден."
|
||||||
4098 "%1(%2!d!) : неправильное окончание файла"
|
4098 "%1(%2!d!) : Неожиданный конец файла"
|
||||||
4099 "%1(%2!d!) : '%3' : синтаксичесская ошибка"
|
4099 "%1(%2!d!) : '%3' : синтаксическая ошибка"
|
||||||
4100 "%1 : 'proc main' отсутствует доступ"
|
4100 "%1 : отсутствует объявление 'proc main'"
|
||||||
4101 "%1(%2!d!) : необходим маркер"
|
4101 "%1(%2!d!) : ожидается идентификатор"
|
||||||
4102 "%1(%2!d!) : необходим строчный параметр"
|
4102 "%1(%2!d!) : ожидается строковый параметр"
|
||||||
4103 "%1(%2!d!) : необходим параметр интеграл"
|
4103 "%1(%2!d!) : ожидается целочисленный параметр"
|
||||||
4104 "%1(%2!d!) : '%3' : неправильный тип"
|
4104 "%1(%2!d!) : '%3' : недопустимый тип"
|
||||||
4105 "Несоответствие размера скрипта процессу."
|
4105 "Недостаточно памяти для выполнения сценария."
|
||||||
4106 "%1(%2!d!) : '%3' : критичесская внутрення ошибка."
|
4106 "%1(%2!d!) : '%3' : критичесская внутрення ошибка."
|
||||||
4107 "%1(%2!d!) : '%3' : неправильный параметр"
|
4107 "%1(%2!d!) : '%3' : недопустимый параметр"
|
||||||
4108 "%1(%2!d!) : '%3' : неправильный 'set ipaddr' параметр"
|
4108 "%1(%2!d!) : '%3' : недопустимый параметр 'set ipaddr'"
|
||||||
4109 "%1(%2!d!) : '%3' : неправильный 'set port' параметр"
|
4109 "%1(%2!d!) : '%3' : недопустимый параметр 'set port'"
|
||||||
4110 "%1(%2!d!) : '%3' : неправильный цифровой указатель"
|
4110 "%1(%2!d!) : '%3' : недопустимый числовой диапазон"
|
||||||
4111 "%1(%2!d!) : '%3' : неправильный 'set screen' параметр"
|
4111 "%1(%2!d!) : '%3' : недопустимый парамет 'set screen'"
|
||||||
4112 "%1(%2!d!) : '%3' : '(' необходим"
|
4112 "%1(%2!d!) : '%3' : ожидается '('"
|
||||||
4113 "%1(%2!d!) : '%3' : необходим тип интеграл"
|
4113 "%1(%2!d!) : '%3' : тип должен быть целочисленным"
|
||||||
4114 "%1(%2!d!) : '%3' : необходим тип строка"
|
4114 "%1(%2!d!) : '%3' : тип должен быть строковым"
|
||||||
4115 "%1(%2!d!) : '%3' : необходим тип булен"
|
4115 "%1(%2!d!) : '%3' : тип должен быть булевым"
|
||||||
4116 "%1(%2!d!) : '%3' : необходим тип интеграл или строка"
|
4116 "%1(%2!d!) : '%3' : тип должен быть целочисленным или строковым"
|
||||||
4117 "%1(%2!d!) : '%3' : несовпадение типов"
|
4117 "%1(%2!d!) : '%3' : несоответствие типов"
|
||||||
4118 "%1(%2!d!) : '%3' : маркер уже определен"
|
4118 "%1(%2!d!) : '%3' : идентификатор уже определен"
|
||||||
4119 "%1(%2!d!) : '%3' : маркер не установлен"
|
4119 "%1(%2!d!) : '%3' : идентификатор не определен"
|
||||||
4120 "%1(%2!d!) : '%3' : необходим тип метки"
|
4120 "%1(%2!d!) : '%3' : тип должен быть типом метки"
|
||||||
4121 "%1(%2!d!) : деление на ноль"
|
4121 "%1(%2!d!) : деление на ноль"
|
||||||
4122 "%1(%2!d!) : '%3' : тип должен быть интегралом, строкой, или буленом"
|
4122 "%1(%2!d!) : '%3' : тип должен быть целочисленным, строковым или булевым"
|
||||||
END
|
END
|
||||||
|
|
2373
reactos/dll/win32/rasdlg/lang/en-US.rc
Normal file
103
reactos/dll/win32/rasdlg/rasdlg.c
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
/*
|
||||||
|
* RASDLG
|
||||||
|
*
|
||||||
|
* Copyright 2007 Dmitry Chapyshev
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <ras.h>
|
||||||
|
#include "wine/debug.h"
|
||||||
|
#include <rasdlg.h>
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(ras);
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasDialDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPSTR lpszPhoneNumber, LPRASDIALDLG lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpszPhoneNumber,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasDialDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPWSTR lpszPhoneNumber, LPRASDIALDLG lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpszPhoneNumber,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasMonitorDlgA(LPSTR lpszDeviceName, LPRASMONITORDLG lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%p),stub!\n",lpszDeviceName,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasMonitorDlgW(LPWSTR lpszDeviceName, LPRASMONITORDLG lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%p),stub!\n",lpszDeviceName,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasEntryDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPRASENTRYDLGA lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasEntryDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPRASENTRYDLGW lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasPhonebookDlgA(LPSTR lpszPhonebook, LPSTR lpszEntry, LPRASPBDLGA lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
RasPhonebookDlgW(LPWSTR lpszPhonebook, LPWSTR lpszEntry, LPRASPBDLGW lpInfo)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%p),stub!\n",lpszPhonebook,lpszEntry,lpInfo);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static HINSTANCE hDllInstance;
|
||||||
|
|
||||||
|
BOOL WINAPI
|
||||||
|
DllMain(IN HINSTANCE hinstDLL,
|
||||||
|
IN DWORD dwReason,
|
||||||
|
IN LPVOID lpvReserved)
|
||||||
|
{
|
||||||
|
switch (dwReason)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
hDllInstance = hinstDLL;
|
||||||
|
DisableThreadLibraryCalls(hinstDLL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
12
reactos/dll/win32/rasdlg/rasdlg.rbuild
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<module name="rasdlg" type="win32dll" baseaddress="${BASEADDRESS_RASDLG}" installbase="system32" installname="rasdlg.dll">
|
||||||
|
<importlibrary definition="rasdlg.spec.def" />
|
||||||
|
<include base="rasdlg">.</include>
|
||||||
|
<define name="_DISABLE_TIDENTS" />
|
||||||
|
<library>wine</library>
|
||||||
|
<library>kernel32</library>
|
||||||
|
<library>ntdll</library>
|
||||||
|
<library>uuid</library>
|
||||||
|
<file>rasdlg.c</file>
|
||||||
|
<file>rasdlg.rc</file>
|
||||||
|
<file>rasdlg.spec</file>
|
||||||
|
</module>
|
38
reactos/dll/win32/rasdlg/rasdlg.rc
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
#include <windows.h>
|
||||||
|
#include <reactos/resource.h>
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
#define REACTOS_VERSION_DLL
|
||||||
|
#define REACTOS_STR_FILE_DESCRIPTION "Remote Access Common Dialog API\0"
|
||||||
|
#define REACTOS_STR_INTERNAL_NAME "rasdlg\0"
|
||||||
|
#define REACTOS_STR_ORIGINAL_FILENAME "rasdlg.dll\0"
|
||||||
|
#include <reactos/version.rc>
|
||||||
|
|
||||||
|
50 ICON "res/icons/50.ico"
|
||||||
|
51 ICON "res/icons/51.ico"
|
||||||
|
52 ICON "res/icons/52.ico"
|
||||||
|
53 ICON "res/icons/53.ico"
|
||||||
|
54 ICON "res/icons/54.ico"
|
||||||
|
55 ICON "res/icons/55.ico"
|
||||||
|
56 ICON "res/icons/56.ico"
|
||||||
|
57 ICON "res/icons/57.ico"
|
||||||
|
58 ICON "res/icons/58.ico"
|
||||||
|
59 ICON "res/icons/59.ico"
|
||||||
|
60 ICON "res/icons/60.ico"
|
||||||
|
61 ICON "res/icons/61.ico"
|
||||||
|
62 ICON "res/icons/62.ico"
|
||||||
|
63 ICON "res/icons/63.ico"
|
||||||
|
134 ICON "res/icons/134.ico"
|
||||||
|
135 ICON "res/icons/135.ico"
|
||||||
|
144 ICON "res/icons/144.ico"
|
||||||
|
145 ICON "res/icons/145.ico"
|
||||||
|
562 ICON "res/icons/562.ico"
|
||||||
|
563 ICON "res/icons/563.ico"
|
||||||
|
15102 ICON "res/icons/15102.ico"
|
||||||
|
|
||||||
|
1678 BITMAP "res/bitmaps/1678.bmp"
|
||||||
|
100 BITMAP "res/bitmaps/100.bmp"
|
||||||
|
101 BITMAP "res/bitmaps/101.bmp"
|
||||||
|
102 BITMAP "res/bitmaps/102.bmp"
|
||||||
|
|
||||||
|
#include "lang/en-US.rc"
|
36
reactos/dll/win32/rasdlg/rasdlg.spec
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
@ stub DwTerminalDlg
|
||||||
|
@ stub GetRasDialOutProtocols
|
||||||
|
@ stub RasAutodialDisableDlgA
|
||||||
|
@ stub RasAutodialDisableDlgW
|
||||||
|
@ stub RasAutodialQueryDlgA
|
||||||
|
@ stub RasAutodialQueryDlgW
|
||||||
|
@ stdcall RasDialDlgA(str str str ptr)
|
||||||
|
@ stdcall RasDialDlgW(wstr wstr wstr ptr)
|
||||||
|
@ stdcall RasEntryDlgA(str str ptr)
|
||||||
|
@ stdcall RasEntryDlgW(wstr wstr ptr)
|
||||||
|
@ stdcall RasMonitorDlgA(str ptr)
|
||||||
|
@ stdcall RasMonitorDlgW(wstr ptr)
|
||||||
|
@ stdcall RasPhonebookDlgA(str str ptr)
|
||||||
|
@ stdcall RasPhonebookDlgW(wstr wstr ptr)
|
||||||
|
@ stub RasSrvAddPropPages
|
||||||
|
@ stub RasSrvAddWizPages
|
||||||
|
@ stub RasSrvAllowConnectionsConfig
|
||||||
|
@ stub RasSrvCleanupService
|
||||||
|
@ stub RasSrvEnumConnections
|
||||||
|
@ stub RasSrvHangupConnection
|
||||||
|
@ stub RasSrvInitializeService
|
||||||
|
@ stub RasSrvIsConnectionConnected
|
||||||
|
@ stub RasSrvIsServiceRunning
|
||||||
|
@ stub RasSrvQueryShowIcon
|
||||||
|
@ stub RasUserEnableManualDial
|
||||||
|
@ stub RasUserGetManualDial
|
||||||
|
@ stub RasUserPrefsDlg
|
||||||
|
@ stub RasWizCreateNewEntry
|
||||||
|
@ stub RasWizGetNCCFlags
|
||||||
|
@ stub RasWizGetSuggestedEntryName
|
||||||
|
@ stub RasWizGetUserInputConnectionName
|
||||||
|
@ stub RasWizIsEntryRenamable
|
||||||
|
@ stub RasWizQueryMaxPageCount
|
||||||
|
@ stub RasWizSetEntryName
|
||||||
|
@ stub RouterEntryDlgA
|
||||||
|
@ stub RouterEntryDlgW
|
BIN
reactos/dll/win32/rasdlg/res/bitmaps/100.bmp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
reactos/dll/win32/rasdlg/res/bitmaps/101.bmp
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
reactos/dll/win32/rasdlg/res/bitmaps/102.bmp
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
reactos/dll/win32/rasdlg/res/bitmaps/1678.bmp
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/134.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/135.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/144.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/145.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/15102.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/50.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
reactos/dll/win32/rasdlg/res/icons/51.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
reactos/dll/win32/rasdlg/res/icons/52.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/53.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/54.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/55.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/56.ico
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/562.ico
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/563.ico
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/57.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/58.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/59.ico
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
reactos/dll/win32/rasdlg/res/icons/60.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
reactos/dll/win32/rasdlg/res/icons/61.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
reactos/dll/win32/rasdlg/res/icons/62.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
reactos/dll/win32/rasdlg/res/icons/63.ico
Normal file
After Width: | Height: | Size: 318 B |
12
reactos/dll/win32/rasdlg/resource.h
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#ifndef __NETID_RESOURCE_H
|
||||||
|
#define __NETID_RESOURCE_H
|
||||||
|
|
||||||
|
#define IDI_PHONE 201
|
||||||
|
#define IDI_LOCATION 202
|
||||||
|
#define IDI_CARD 203
|
||||||
|
#define IDI_SEC 504
|
||||||
|
|
||||||
|
#define IDB_RADIO 301
|
||||||
|
#define IDB_WIZARD 302
|
||||||
|
|
||||||
|
#endif /* __NETID_RESOURCE_H */
|
|
@ -357,7 +357,7 @@ BEGIN
|
||||||
IDS_DESKTOP "Ðàáî÷èé ñòîë"
|
IDS_DESKTOP "Ðàáî÷èé ñòîë"
|
||||||
IDS_MYCOMPUTER "Ìîé êîìïüþòåð"
|
IDS_MYCOMPUTER "Ìîé êîìïüþòåð"
|
||||||
IDS_RECYCLEBIN_FOLDER_NAME "Êîðçèíà"
|
IDS_RECYCLEBIN_FOLDER_NAME "Êîðçèíà"
|
||||||
IDS_CONTROLPANEL "Control Panel"
|
IDS_CONTROLPANEL "Панель управления"
|
||||||
|
|
||||||
/* context menus */
|
/* context menus */
|
||||||
IDS_VIEW_LARGE "&Áîëüøèå çíà÷êè"
|
IDS_VIEW_LARGE "&Áîëüøèå çíà÷êè"
|
||||||
|
|
|
@ -205,6 +205,9 @@
|
||||||
<directory name="rasapi32">
|
<directory name="rasapi32">
|
||||||
<xi:include href="rasapi32/rasapi32.rbuild" />
|
<xi:include href="rasapi32/rasapi32.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="rasdlg">
|
||||||
|
<xi:include href="rasdlg/rasdlg.rbuild" />
|
||||||
|
</directory>
|
||||||
<directory name="riched20">
|
<directory name="riched20">
|
||||||
<xi:include href="riched20/riched20.rbuild" />
|
<xi:include href="riched20/riched20.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|