mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +00:00
Sync to Wine-20040716:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> - HeapAlloc for WSTR must allocate len* sizeof(WCHARS). Henning Gerhardt <henning.gerhardt@web.de> - Translated some English resource files into German. JosT Manuel Ferrer Ortiz <jmfo1982@yahoo.es> - Added Spanish translation. Hajime Segawa <winetips@sidenet.ddo.jp> - Added some Japanese translations. svn path=/trunk/; revision=10430
This commit is contained in:
parent
9fa7984747
commit
66219a7d31
5 changed files with 82 additions and 1 deletions
|
@ -21,4 +21,7 @@
|
|||
#include "winbase.h"
|
||||
#include "mprres.h"
|
||||
|
||||
#include "mpr_De.rc"
|
||||
#include "mpr_En.rc"
|
||||
#include "mpr_Es.rc"
|
||||
#include "mpr_Ja.rc"
|
||||
|
|
26
reactos/lib/mpr/mpr_De.rc
Normal file
26
reactos/lib/mpr/mpr_De.rc
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* MPR dll resources
|
||||
*
|
||||
* Copyright (C) 2004 Henning Gerhardt
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_ENTIRENETWORK "Gesamtes Netzwerk"
|
||||
}
|
26
reactos/lib/mpr/mpr_Es.rc
Normal file
26
reactos/lib/mpr/mpr_Es.rc
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* MPR dll Spanish resources
|
||||
*
|
||||
* Copyright (C) 2004 José Manuel Ferrer Ortiz
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_ENTIRENETWORK "Toda la red"
|
||||
}
|
26
reactos/lib/mpr/mpr_Ja.rc
Normal file
26
reactos/lib/mpr/mpr_Ja.rc
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* MPR dll resources
|
||||
*
|
||||
* Copyright (C) 2004 Hajime Segawa
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
IDS_ENTIRENETWORK "ƒlƒbƒgƒ<67><C692>[ƒN‘S‘Ì"
|
||||
}
|
|
@ -1541,7 +1541,7 @@ DWORD WINAPI WNetGetConnectionA( LPCSTR lpLocalName,
|
|||
|
||||
if (len)
|
||||
{
|
||||
PWSTR wideLocalName = (PWSTR)HeapAlloc(GetProcessHeap(), 0, len);
|
||||
PWSTR wideLocalName = (PWSTR)HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
|
||||
|
||||
if (wideLocalName)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue