Module: wine
Branch: refs/heads/master
Commit: a8494aa9a904f58ecf1b67b9c51986f8f4cdbd0d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a8494aa9a904f58ecf1b67b…
Author: Mike McCormack <mike(a)codeweavers.com>
Date: Tue Apr 25 22:51:09 2006 +0900
ole32: Store drop targets in a standard list.
---
dlls/ole32/ole2.c | 204 +++++++----------------------------------------------
1 files changed, 28 insertions(+), 176 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 1c61ff9..fc2926b 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -48,6 +48,7 @@ #include "wownt32.h"
#include "wine/unicode.h"
#include "compobj_private.h"
+#include "wine/list.h"
#include "wine/debug.h"
@@ -61,9 +62,8 @@ WINE_DECLARE_DEBUG_CHANNEL(accel);
typedef struct tagDropTargetNode
{
HWND hwndTarget;
- IDropTarget* dropTarget;
- struct tagDropTargetNode* prevDropTarget;
- struct tagDropTargetNode* nextDropTarget;
+ IDropTarget* dropTarget;
+ struct list entry;
} DropTargetNode;
typedef struct tagTrackerWindowInfo
@@ -117,7 +117,7 @@ static const char OLEDD_DRAGTRACKERCLASS
/*
* This is the head of the Drop target container.
*/
-static DropTargetNode* targetListHead = NULL;
+static struct list targetListHead = LIST_INIT(targetListHead);
/******************************************************************************
* These are the prototypes of miscelaneous utility methods
@@ -148,12 +148,9 @@ extern void OLEClipbrd_Initialize(void);
*/
static void OLEDD_Initialize(void);
static void OLEDD_UnInitialize(void);
-static void OLEDD_InsertDropTarget(
- DropTargetNode* nodeToAdd);
-static DropTargetNode* OLEDD_ExtractDropTarget(
- HWND hwndOfTarget);
static DropTargetNode* OLEDD_FindDropTarget(
HWND hwndOfTarget);
+static void OLEDD_FreeDropTarget(DropTargetNode*);
static LRESULT WINAPI OLEDD_DragTrackerWindowProc(
HWND hwnd,
UINT uMsg,
@@ -321,19 +318,17 @@ HRESULT WINAPI RegisterDragDrop(
return E_OUTOFMEMORY;
dropTargetInfo->hwndTarget = hwnd;
- dropTargetInfo->prevDropTarget = NULL;
- dropTargetInfo->nextDropTarget = NULL;
/*
* Don't forget that this is an interface pointer, need to nail it down since
* we keep a copy of it.
*/
+ IDropTarget_AddRef(pDropTarget);
dropTargetInfo->dropTarget = pDropTarget;
- IDropTarget_AddRef(dropTargetInfo->dropTarget);
- OLEDD_InsertDropTarget(dropTargetInfo);
+ list_add_tail(&targetListHead, &dropTargetInfo->entry);
- return S_OK;
+ return S_OK;
}
/***********************************************************************
@@ -349,7 +344,7 @@ HRESULT WINAPI RevokeDragDrop(
/*
* First, check if the window is already registered.
*/
- dropTargetInfo = OLEDD_ExtractDropTarget(hwnd);
+ dropTargetInfo = OLEDD_FindDropTarget(hwnd);
/*
* If it ain't in there, it's an error.
@@ -357,14 +352,9 @@ HRESULT WINAPI RevokeDragDrop(
if (dropTargetInfo==NULL)
return DRAGDROP_E_NOTREGISTERED;
- /*
- * If it's in there, clean-up it's used memory and
- * references
- */
- IDropTarget_Release(dropTargetInfo->dropTarget);
- HeapFree(GetProcessHeap(), 0, dropTargetInfo);
+ OLEDD_FreeDropTarget(dropTargetInfo);
- return S_OK;
+ return S_OK;
}
/***********************************************************************
@@ -1841,148 +1831,33 @@ static void OLEDD_Initialize()
}
/***
- * OLEDD_UnInitialize()
+ * OLEDD_FreeDropTarget()
*
- * Releases the OLE drag and drop data structures.
+ * Frees the drag and drop data structure
*/
-static void OLEDD_UnInitialize()
+static void OLEDD_FreeDropTarget(DropTargetNode *dropTargetInfo)
{
- /*
- * Simply empty the list.
- */
- while (targetListHead!=NULL)
- {
- RevokeDragDrop(targetListHead->hwndTarget);
- }
+ list_remove(&dropTargetInfo->entry);
+ IDropTarget_Release(dropTargetInfo->dropTarget);
+ HeapFree(GetProcessHeap(), 0, dropTargetInfo);
}
/***
- * OLEDD_InsertDropTarget()
+ * OLEDD_UnInitialize()
*
- * Insert the target node in the tree.
+ * Releases the OLE drag and drop data structures.
*/
-static void OLEDD_InsertDropTarget(DropTargetNode* nodeToAdd)
+static void OLEDD_UnInitialize(void)
{
- DropTargetNode* curNode;
- DropTargetNode** parentNodeLink;
-
/*
- * Iterate the tree to find the insertion point.
- */
- curNode = targetListHead;
- parentNodeLink = &targetListHead;
-
- while (curNode!=NULL)
- {
- if (nodeToAdd->hwndTarget<curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a smaller HWND, go left
- */
- parentNodeLink = &curNode->prevDropTarget;
- curNode = curNode->prevDropTarget;
- }
- else if (nodeToAdd->hwndTarget>curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a larger HWND, go right
- */
- parentNodeLink = &curNode->nextDropTarget;
- curNode = curNode->nextDropTarget;
- }
- else
- {
- /*
- * The item was found in the list. It shouldn't have been there
- */
- assert(FALSE);
- return;
- }
- }
-
- /*
- * If we get here, we have found a spot for our item. The parentNodeLink
- * pointer points to the pointer that we have to modify.
- * The curNode should be NULL. We just have to establish the link and Voila!
- */
- assert(curNode==NULL);
- assert(parentNodeLink!=NULL);
- assert(*parentNodeLink==NULL);
-
- *parentNodeLink=nodeToAdd;
-}
-
-/***
- * OLEDD_ExtractDropTarget()
- *
- * Removes the target node from the tree.
- */
-static DropTargetNode* OLEDD_ExtractDropTarget(HWND hwndOfTarget)
-{
- DropTargetNode* curNode;
- DropTargetNode** parentNodeLink;
-
- /*
- * Iterate the tree to find the insertion point.
+ * Simply empty the list.
*/
- curNode = targetListHead;
- parentNodeLink = &targetListHead;
-
- while (curNode!=NULL)
+ while (!list_empty(&targetListHead))
{
- if (hwndOfTarget<curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a smaller HWND, go left
- */
- parentNodeLink = &curNode->prevDropTarget;
- curNode = curNode->prevDropTarget;
- }
- else if (hwndOfTarget>curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a larger HWND, go right
- */
- parentNodeLink = &curNode->nextDropTarget;
- curNode = curNode->nextDropTarget;
- }
- else
- {
- /*
- * The item was found in the list. Detach it from it's parent and
- * re-insert it's kids in the tree.
- */
- assert(parentNodeLink!=NULL);
- assert(*parentNodeLink==curNode);
-
- /*
- * We arbitrately re-attach the left sub-tree to the parent.
- */
- *parentNodeLink = curNode->prevDropTarget;
-
- /*
- * And we re-insert the right subtree
- */
- if (curNode->nextDropTarget!=NULL)
- {
- OLEDD_InsertDropTarget(curNode->nextDropTarget);
- }
-
- /*
- * The node we found is still a valid node once we complete
- * the unlinking of the kids.
- */
- curNode->nextDropTarget=NULL;
- curNode->prevDropTarget=NULL;
-
- return curNode;
- }
+ DropTargetNode* curNode;
+ curNode = LIST_ENTRY(list_head(&targetListHead), DropTargetNode, entry);
+ OLEDD_FreeDropTarget(curNode);
}
-
- /*
- * If we get here, the node is not in the tree
- */
- return NULL;
}
/***
@@ -1995,34 +1870,11 @@ static DropTargetNode* OLEDD_FindDropTar
DropTargetNode* curNode;
/*
- * Iterate the tree to find the HWND value.
+ * Iterate the list to find the HWND value.
*/
- curNode = targetListHead;
-
- while (curNode!=NULL)
- {
- if (hwndOfTarget<curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a smaller HWND, go left
- */
- curNode = curNode->prevDropTarget;
- }
- else if (hwndOfTarget>curNode->hwndTarget)
- {
- /*
- * If the node we want to add has a larger HWND, go right
- */
- curNode = curNode->nextDropTarget;
- }
- else
- {
- /*
- * The item was found in the list.
- */
+ LIST_FOR_EACH_ENTRY(curNode, &targetListHead, DropTargetNode, entry)
+ if (hwndOfTarget==curNode->hwndTarget)
return curNode;
- }
- }
/*
* If we get here, the item is not in the list
Module: wine
Branch: refs/heads/master
Commit: 0c8a4d99db531a922ad52a3dd282886dd777dbe3
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0c8a4d99db531a922ad52a3…
Author: András Kovács <andras(a)csevego.net>
Date: Sat Apr 22 01:32:16 2006 +0200
Translated README file to Hungarian.
---
documentation/README.hu | 210 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 210 insertions(+), 0 deletions(-)
create mode 100644 documentation/README.hu
diff --git a/documentation/README.hu b/documentation/README.hu
new file mode 100644
index 0000000..887dcaa
--- /dev/null
+++ b/documentation/README.hu
@@ -0,0 +1,210 @@
+1. BEVEZET�S
+
+A Wine egy program amivel lehet�s�g ny�lik a Microsoft Windows
+programok futtat�s�ra (bele�rtve a DOS, Windows 3.x �s Win32
+futtathat� �llom�nyokat) Unix alatt. Tartalmaz egy program bet�lt�t,
+ami bet�lt �s futtat egy Microsoft Windows bin�rist, �s egy
+f�ggv�nyk�nyvt�rat (nev�n Winelib), ami implement�lja a Windows
+API h�v�sokat azok Unix, vagy X11 megfelel�inek haszn�lat�val.
+Ez a f�ggv�nyk�nyvt�r haszn�lhat� a Win32 k�d nat�v Unix futtathat�
+�llom�nny� portl�s�hoz.
+
+A Wine egy szabad szoftver, a GNU LGPL alatt kiadva; n�zze meg a
+LICENSE f�jlt a r�szletek�rt.
+
+2. GYORS IND�T�S
+
+Ha �n forr�sb�l ford�totta, aj�nlott a Wine telep�t� haszn�lata a
+a Wine leford�t�s�hoz �s telep�t�s�hez. A Wine forr�sk�d sz�l�-
+k�nyvt�r�b�l (ami tartalmazza ezt a f�jlt), futtassa:
+
+./tools/wineinstall
+
+A programok futtat�sa "wine [opci�k] program". A tov�bbi inform�ci�khoz
+�s a probl�ma felvil�gos�t�shoz olvassa el ennek a f�jlnak a tov�bbi r�sz�t,
+a Wine man oldal�t, �s k�l�n�sen gazdag inform�ci� tal�lhat� itt:
+http://www.winehq.org.
+
+3. K�VETELM�NYEK
+
+A Wine-nak a ford�t�s�hoz �s futtat�s�hoz �nnek sz�ks�ge lesz a k�vetkez�kb�l
+egynek:
+
+ Linux 2.0.36-os, vagy feletti verzi�
+ FreeBSD 5.3, vagy k�s�bbi
+ Solaris x86 2.5, vagy k�s�bbi
+ NetBSD-current
+
+Mivel a Wine-nak k�ks�ges kernelszint� fut�si sz�l t�mogat�s a futtat�shoz, csak
+a fent eml�tett oper�ci�s rendszerek t�mogatottak.
+M�s oper�ci�s rendszerek, amik t�mogatj�k a kernel fut�si sz�lakat, t�mogatva
+lesznek a j�v�ben.
+
+Linux inform�ci�:
+ Amig a Linux 2.2.x m�k�dik, �s a Linux 2.0.x is m�k�dni fog
+ (a r�gebbi 2.0.x verzi�kban fut�si sz�l miatti �sszeoml�sok voltak),
+ az a legjobb, ha �nnek a legfrisebb kernele van, mint p�ld�ul a 2.4.x.
+
+FreeBSD inform�ci�:
+ Wine-nak le kell fordulnia a FreeBSD 4.x �s FreeBSD 5.x verzi�kon, de a
+ FreeBSD 5.3 el�tti verzi�kon �ltal�ban nem fog m�k�dni.
+
+ T�bb inform�ci� tal�lhat� a FreeBSD ports f�ban itt:
+ <ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/emulators/wine/>.
+
+Solaris inform�ci�:
+ A Wine ford�t�s�hoz kell a GNU toolchain (gcc, gas, etc.).
+ Figyelem : A gas telep�t�se *nemt* biztos�t�k, hogy a gcc fogja is
+ haszn�lni. A gcc �jraford�t�sa a gas telep�t�se ut�n, vagy a cc
+ szimbolikus linkel�se, �s ld-z�se a gnu tools-hoz sz�ks�ges.
+
+NetBSD inform�ci�:
+ ellen�rizze, hogy a USER_LDT, SYSVSHM, SYSVSEM, �s SYSVMSG opci�k be vannak-e
+ kapcsolva a kernelben.
+
+
+T�mogatott f�jlrendszerek:
+ A Wine fut a legt�bb f�jlrendszeren. Hab�r a Wine nem fog elindulni, ha
+ umsdos-t haszn�lunk a /tmp k�nyvt�rban. N�h�ny kompatibilit�si gondot
+ is bejelentettek a Samb�n kereszt�l el�rt f�jlok eset�ben. Az NTFS-t
+ lehet haszn�lni biztons�gban �r�sv�dett hozz�f�r�ssel, de az NTFS ellen
+ sz�l, hogy a Windows programoknak majdnem mindenhova �r�si jog kell.
+ NTFS f�jlok eset�n m�soljuk �t �ket egy �rhat� helyre.
+
+Alap k�vetelm�nyek:
+ �nnek fel kell telep�tenie az X11 fejleszt�i f�jlokat
+ (xlib6g-dev n�ven van a Debianban �s XFree86-devel n�ven a Red Hat-ben).
+
+Ford�t�si eszk�z k�vetelm�nyek:
+ x86 rendszereken gcc >= 2.7.2 sz�ks�ges.
+ A 2.7.2.3-n�l r�gebbi verzi�kban probl�m�k lehetnek k�l�nf�le f�jlokkal,
+ amik optimaliz�ci�val lettek ford�tva, gyakran a fejl�c f�jlok kezel�s�nek
+ probl�m�i miatt. A pgcc jelenelg nem m�k�dik s Wine-sl. A probl�ma oka
+ ismeretlen.
+
+ Term�szetesen kell a "make" is (legink�bb a GNU make).
+
+ Kell m�g a flex 2.5 verzi�, vagy k�s�bbi, �s a bison.
+
+Opci�n�lis t�mogat�si f�ggv�nyk�nyvt�rak:
+ Ha szeretne CUPS nyomtat� t�mogat�st, telep�tse fel a cups �s a cups-devel
+ csomagot.
+ Telep�tse fel a libxml2 csomagot, ha szeretn� hogy m�k�dj�n az msxml
+ implement�ci�.
+
+4. FORD�T�S
+
+Ha �n nem haszn�lja a wineinstall-t, futtassa a k�vetkez� parancsokat s
+Wine ford�t�s�hoz:
+
+./configure
+make depend
+make
+
+Ez le fogja ford�tani a "wine" programot �s sz�mos f�ggv�nyk�nyvt�rat/bin�rist.
+A "wine" program be fogja t�lteni �s futtatni fogja a Windows futtathat�
+�llom�nyokat.
+A "libwine" f�ggv�nyk�nyvt�r ("Winelib") haszn�lhat� a Windows forr�sk�d Unix
+alatt t�rt�n� ford�t�s�hoz �s linkel�s�hez.
+
+A ford�t�si konfigur�ci�s opci�k megtekin�t�s�hez n�zze haszn�lja a ./configure --help
+parancsot.
+
+�j kiad�sra friss�t�skor patch f�jl haszn�lat�val el�sz�r v�ltos a kiad�s legfels�
+k�nyvt�rszintj�re (ahol a README f�jl megtal�lhat�).
+Azut�n haszn�lja a "make clean" parancsot, �s foltozza meg a kiad�st ezzel:
+
+ gunzip -c patch-f�jl | patch -p1
+
+ahol a "patch-f�jl" a jav�t�folt f�jl f�jlneve (valami ilyesmi:
+Wine-yymmdd.diff.gz). �jrafuttathatja a "./configure", �s azut�n
+a "make depend && make" parancsokat.
+
+5. TELEP�T�S
+
+Ha a Wine egyszer helyesen lefordult, haszn�lhatja a "make install"
+parancsot; ez telep�teni fogja a wine futtathat� f�jlt, a Wine man
+oldal�t, �s n�h�ny egy�b sz�ks�ges f�jlt.
+
+El�sz�r ne felejtse elt�vol�tani b�rmely el�z� Wine telep�t�st.
+Pr�b�lja ki a "dpkg -r wine", �s az "rpm -e wine", vagy a "make uninstall"
+parancsot telep�t�s el�tt.
+
+L�togassa meg a t�mogat�si oldalt itt: http://www.winehq.org/ a konfigur�ci�s
+tippekhez.
+
+F�ggv�nyk�nyvt�r bet�lt�si hib�k eset�n
+(pl. "Error while loading shared libraries: libntdll.so"), ellen�rizze az
+f�ggv�nyk�nyvt�r �tvonalt, hogy benne van-e az /etc/ld.so.conf �s futtassa az
+ldconfig-ot root-k�nt.
+
+6. PROGRAMOK FUTTAT�SA
+
+Ha seg�ts�g�l h�vja a Wine-t, megadhatja a teljes �tvonal�t a futtathat�
+�llom�nynak, vagy csak a f�jlnevet.
+
+P�ld�ul: a Paszi�nsz ind�t�sa:
+
+ wine sol (a konfigf�jlban megadott keres�si �tvonal
+ wine sol.exe haszn�lat�val keress�k meg a f�jlt)
+
+ wine c:\\windows\\sol.exe (a DOS f�jln�v szintaxis haszn�lat�val)
+
+ wine /usr/windows/sol.exe (a Unix-os f�jln�v szintaxis haszn�lat�val)
+
+ wine sol.exe /param�ter1 -param�ter2 param�ter3
+ (program h�v�sa param�terekkel)
+
+Felh�v�s: a f�jl el�s�i �tja is hozz� lesz adva a path-hez, ha a teljes n�v
+ meg lett adva a parancssorban.
+
+A Wine m�g nem teljes, �gy n�h�ny program �sszeomlik. Ha helyesen be�ll�tja a
+winedbg-ot a documentation/debugger.sgml-nek megfelel�en, �n be lesz l�ptetve
+egy hibakeres�be, ahol ut�naj�rhat, �s kijav�thatja a probl�m�t.
+A tov�bbi infom�ci�hoz, hogy hogy kell ezt megcsin�lni, k�rem olvassa el a
+documentation/debugging.sgml f�jlt.
+
+Jobb ha biztons�gba helyezi a fontos f�jlokat, miel�tt hozz�f�r�st a Wine-nak,
+vagy haszn�ljon egy speci�lis Wine m�solatot bel�l�k, mert n�h�ny esetben a
+felhaszn�l�k f�jls�r�l�st jeleztek. NE futtassa az Explorer-t, p�ld�ul,
+ha �nnek nincs helyes biztons�gi ment�se, mert n�ha �tnevez/t�nkretesz
+n�h�ny k�nyvt�rat. Nem csak m�s MS alkalmaz�s mint p�ld�ul a Messenger bizton�sgos,
+de valahogy az Explorer futtat�sa is. Ez a bizonyos s�r�l�s (!$!$!$!$.pfr)
+r�szlegesen jav�that� ennek a haszn�lat�val:
+http://home.nexgo.de/andi.mohr/download/decorrupt_explorer
+
+7. T�BB INFORM�CI� BESZERZ�SE
+
+WWW: A Wine-r�l hatalmas mennyis�g� inform�ci� �rhet� el a WineHQ-n ezen
+ a c�men: http://www.winehq.org/ : k�l�nb�z� Wine �tmutat�k,
+ alkalmaz�s adatb�zis, �s hibak�vet�s.
+ Ez tal�n a legjobb kiindul�si pont.
+
+GYIK: A Wine GYIK itt tal�lhat�: http://www.winehq.org/FAQ
+
+Usenet: T�rsaloghat a Wine-hoz kapcsol�d� t�m�kban, �s seg�ts�get k�rhet itt:
+ comp.emulators.ms-windows.wine.
+
+Hib�k: Wine hibabejelent�s a Bugzilla-n kereszt�l itt: http://bugs.winehq.org
+ K�rem hibabejelent�s k�ld�se el�tt ellen�rizze, hogy az �n probl�m�ja
+ m�r megtal�lhat�-e az adatb�zisban. K�ldhet hibabejelent�seket a
+ comp.emulators.ms-windows.wine c�mre is.
+ K�rem olvassa el a documentation/bugs.sgml f�jlt, �s n�zze meg melyik
+ inform�ci� sz�ks�ges.
+
+IRC: Azonnali seg�ts�g el�rhet� a #WineHQ csatorn�n a irc.freenode.net-en.
+
+CVS: A jelenlegi Wine fejleszt�i fa el�rhet� CVS-en kereszt�l.
+ L�togasson el ide a tov�bbi inform�ci�hoz: http://www.winehq.org/cvs
+
+Levelez�list�k:
+ El�rhet� n�h�ny levelez�lista a Wine fejleszt�k sz�m�ra; n�zze meg a
+ http://www.winehq.org/forums c�met a tov�bbi inform�ci�hoz.
+
+Ha valamit hozz�ad, vagy hib�t jav�t, k�rem k�ldj�n jav�t�foltot ('diff -u'
+form�tumban) a wine-patches(a)winehq.org levelez�lista c�mre, hogy beletehess�k a
+k�vetkez� kiad�sba.
+
+--
+Alexandre Julliard
+julliard(a)winehq.org
Module: wine
Branch: refs/heads/master
Commit: 94c65025d411c255d8ea305551dab00bbc2317a4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=94c65025d411c255d8ea305…
Author: András Kovács <andras(a)csevego.net>
Date: Sat Apr 22 01:38:54 2006 +0200
wordpad: Translation to Hungarian.
---
programs/wordpad/Hu.rc | 66 ++++++++++++++++++++++++++++++++++++++++++++++
programs/wordpad/rsrc.rc | 1 +
2 files changed, 67 insertions(+), 0 deletions(-)
create mode 100644 programs/wordpad/Hu.rc
diff --git a/programs/wordpad/Hu.rc b/programs/wordpad/Hu.rc
new file mode 100644
index 0000000..d39fd32
--- /dev/null
+++ b/programs/wordpad/Hu.rc
@@ -0,0 +1,66 @@
+/*
+ * Copyright 2006 Andras Kovacs
+ *
+ * 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_HUNGARIAN, SUBLANG_DEFAULT
+
+MAINMENU MENU DISCARDABLE
+BEGIN
+ POPUP "&F�jl"
+ BEGIN
+ MENUITEM "&�j", ID_FILE_NEW
+ MENUITEM "&Megnyit�s", ID_FILE_OPEN
+ MENUITEM "M&ent�s", ID_FILE_SAVE
+ MENUITEM SEPARATOR
+ MENUITEM "&Kil�p�s", ID_FILE_EXIT
+ END
+ POPUP "Sz&erkeszt�s"
+ BEGIN
+ MENUITEM "&Visszavon�s\tCtrl+Z", ID_EDIT_UNDO
+ MENUITEM "&El�re\tCtrl+Y", ID_EDIT_REDO
+ MENUITEM "M&indet kijel�li\tCtrl+A", ID_EDIT_SELECTALL
+ MENUITEM SEPARATOR
+ MENUITEM "Kiv&�g�s\tCtrl+X", ID_EDIT_CUT
+ MENUITEM "M�&sol�s\tCtrl+C", ID_EDIT_COPY
+ MENUITEM SEPARATOR
+ MENUITEM "Csak &olvashat�", ID_EDIT_READONLY
+ MENUITEM "M�&dos�tva", ID_EDIT_MODIFIED
+ MENUITEM SEPARATOR
+ POPUP "&Extr�k"
+ BEGIN
+ MENUITEM "Kijel�l�s &inform�ci�", ID_EDIT_SELECTIONINFO
+ MENUITEM "Karakter&form�tum", ID_EDIT_CHARFORMAT
+ MENUITEM "A&laprtelmezett karakter form�tum", ID_EDIT_DEFCHARFORMAT
+ MENUITEM "&Bekezd�s form�tum", ID_EDIT_PARAFORMAT
+ MENUITEM "Sz&�vegszerz�s", ID_EDIT_GETTEXT
+ END
+ END
+ POPUP "F&orm�tum"
+ BEGIN
+ POPUP "&H�tt�r"
+ BEGIN
+ MENUITEM "&Rendszer\tCtrl+1", ID_BACK_1
+ MENUITEM "&S�rg�ban k�rem\tCtrl+2", ID_BACK_2
+ END
+ POPUP "&Igaz�t�s"
+ BEGIN
+ MENUITEM "&Balra\tCtrl+L", ID_ALIGN_LEFT
+ MENUITEM "&K�z�pre\tCtrl+E", ID_ALIGN_CENTER
+ MENUITEM "&Jobbra\tCtrl+R", ID_ALIGN_RIGHT
+ END
+ END
+END
diff --git a/programs/wordpad/rsrc.rc b/programs/wordpad/rsrc.rc
index 67c2661..7cfc0e7 100644
--- a/programs/wordpad/rsrc.rc
+++ b/programs/wordpad/rsrc.rc
@@ -79,6 +79,7 @@ IDB_TOOLBAR BITMAP "toolbar.bmp"
#include "De.rc"
#include "En.rc"
#include "Fr.rc"
+#include "Hu.rc"
#include "Ko.rc"
#include "Nl.rc"
#include "No.rc"
ChangeSet ID: 24447
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2006/05/03 19:24:18
Modified files:
include : testResults.php
Log message:
"Alexander N. Sørnes" <alex(a)thehandofagony.com>
Improve language consistency in testResults.php
Patch: http://cvs.winehq.org/patch.py?id=24447
Old revision New revision Changes Path
1.13 1.14 +10 -10 appdb/include/testResults.php
Index: appdb/include/testResults.php
diff -u -p appdb/include/testResults.php:1.13 appdb/include/testResults.php:1.14
--- appdb/include/testResults.php:1.13 4 May 2006 0:24:18 -0000
+++ appdb/include/testResults.php 4 May 2006 0:24:18 -0000
@@ -341,9 +341,9 @@ class testData{
$oRow = mysql_fetch_object($hResult);
echo '<p><b>What works</b><br />',"\n";
echo $oRow->whatWorks;
- echo '<p><b>What Doesn\'t</b><br />',"\n";
+ echo '<p><b>What does not</b><br />',"\n";
echo $oRow->whatDoesnt;
- echo '<p><b>What wasn\'t tested</b><br />',"\n";
+ echo '<p><b>What was not tested</b><br />',"\n";
echo $oRow->whatNotTested;
return $oRow->testingId;
}
@@ -444,11 +444,11 @@ class testData{
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
// What works
- echo '<tr valign=top><td class="color0"><b>What Works</b></td>',"\n";
+ echo '<tr valign=top><td class="color0"><b>What works</b></td>',"\n";
echo '<td class="color0"><p><textarea cols="80" rows="20" id="Test1" name="sWhatWorks">';
echo $this->sWhatWorks.'</textarea></p></td></tr>',"\n";
// What Does not work
- echo '<tr valign=top><td class=color1><b>What Does not work</b></td>',"\n";
+ echo '<tr valign=top><td class=color1><b>What does not work</b></td>',"\n";
echo '<td class="color0"><p><textarea cols="80" rows="20" id="Test2" name="sWhatDoesnt">';
echo $this->sWhatDoesnt.'</textarea></p></td></tr>',"\n";
// What was not tested
@@ -456,7 +456,7 @@ class testData{
echo '<td class="color0"><p><textarea cols="80" rows="20" id="Test3" name="sWhatNotTested">';
echo $this->sWhatNotTested.'</textarea></p></td></tr>',"\n";
// Date Tested
- echo '<tr valign=top><td class="color1"><b>Date Tested </b></td>',"\n";
+ echo '<tr valign=top><td class="color1"><b>Date tested </b></td>',"\n";
echo '<td class="color0"><input type=text name="sTestedDate" value="'.$this->sTestedDate.'" size="20"></td></tr>',"\n";
echo '<tr valign=top><td class="color1"></td><td class="color0"><p/>YYYY-MM-DD HH:MM:SS</td></tr>',"\n";
// Distribution
@@ -470,7 +470,7 @@ class testData{
make_distribution_list("iDistributionId", $this->iDistributionId);
echo '</td></tr>',"\n";
// Version List
- echo '<tr><td class=color1><b>Tested Release</b></td><td class=color0>',"\n";
+ echo '<tr><td class=color1><b>Tested release</b></td><td class=color0>',"\n";
make_bugzilla_version_list("sTestedRelease", $this->sTestedRelease);
echo '</td></tr>',"\n";
// Installs
@@ -486,7 +486,7 @@ class testData{
make_maintainer_rating_list("sTestedRating", $this->sTestedRating);
echo '</td></tr>',"\n";
// extra comments
- echo '<tr valign=top><td class="color1"><b>Extra Comments</b></td>',"\n";
+ echo '<tr valign=top><td class="color1"><b>Extra comments</b></td>',"\n";
echo '<td class="color0"><textarea name="sComments" rows=10 cols=35>';
echo $this->sComments.'</textarea></td></tr>',"\n";
@@ -516,14 +516,14 @@ class testData{
$errors .= "<li>Please enter what was not tested.</li>\n";
if (empty($_REQUEST['sTestedDate']))
- $errors .= "<li>Please enter the Date and Time that you tested.</li>\n";
+ $errors .= "<li>Please enter the date and time when you tested.</li>\n";
if (empty($_REQUEST['sTestedRelease']))
$errors .= "<li>Please enter the version of Wine that you tested with.</li>\n";
// No Distribution entered, and nothing in the list is selected
if (empty($sDistribution) && !$_REQUEST['iDistributionId'])
- $errors .= "<li>Please enter a Distribution.</li>\n";
+ $errors .= "<li>Please enter a distribution.</li>\n";
if (empty($_REQUEST['sInstalls']))
$errors .= "<li>Please enter whether this application installs or not.</li>\n";
@@ -532,7 +532,7 @@ class testData{
$errors .= "<li>Please enter whether this application runs or not.</li>\n";
if (empty($_REQUEST['sTestedRating']))
- $errors .= "<li>Please enter a Rating based on how well this application runs.</li>\n";
+ $errors .= "<li>Please enter a rating based on how well this application runs.</li>\n";
return $errors;