Module: wine
Branch: master
Commit: 9f3055e192901e31a6386777b2d3d3d49d2ca99e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f3055e192901e31a6386777b…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Tue Mar 31 00:17:47 2009 +0200
credui: Add the Romanian translation.
---
dlls/credui/credui.rc | 1 +
dlls/credui/credui_Ro.rc | 53 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/dlls/credui/credui.rc b/dlls/credui/credui.rc
index d144fd2..f66a942 100644
--- a/dlls/credui/credui.rc
+++ b/dlls/credui/credui.rc
@@ -38,6 +38,7 @@ IDB_BANNER BITMAP LOADONCALL DISCARDABLE banner.bmp
#include "credui_No.rc"
#include "credui_Pl.rc"
#include "credui_Pt.rc"
+#include "credui_Ro.rc"
#include "credui_Ru.rc"
#include "credui_Si.rc"
#include "credui_Sv.rc"
diff --git a/dlls/credui/credui_Ro.rc b/dlls/credui/credui_Ro.rc
new file mode 100644
index 0000000..73a1140
--- /dev/null
+++ b/dlls/credui/credui_Ro.rc
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2007 Robert Shearman (for CodeWeavers)
+ * Copyright 2009 Michael Stefaniuc
+ *
+ * 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
+ */
+
+LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+IDD_CREDDIALOG DIALOG DISCARDABLE 0, 0, 213, 149
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "IDS_TITLEFORMAT"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDB_BANNER,-1,"Static",SS_BITMAP | SS_CENTERIMAGE,0,
+ 0,213,37
+ LTEXT "IDS_MESSAGEFORMAT",IDC_MESSAGE,8,48,199,8,NOT WS_GROUP
+ LTEXT "Nume &utilizator:",-1,8,62,72,12,SS_CENTERIMAGE
+ CONTROL "",IDC_USERNAME,"ComboBoxEx32",CBS_DROPDOWN |
+ CBS_NOINTEGRALHEIGHT | WS_TABSTOP,80,62,126,87
+ LTEXT "&Parolă:",-1,8,80,72,12,SS_CENTERIMAGE
+ EDITTEXT IDC_PASSWORD,80,80,126,12,ES_PASSWORD | ES_AUTOHSCROLL
+ CONTROL "Ține minte pa&rola",IDC_SAVE,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,80,98,126,12
+ DEFPUSHBUTTON "OK",IDOK,97,128,50,14
+ PUSHBUTTON "Renunță",IDCANCEL,156,128,50,14
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_TITLEFORMAT "Conectare la %s"
+ IDS_MESSAGEFORMAT "Conectez la %s"
+ IDS_INCORRECTPASSWORDTITLE "Autentificare eșuată"
+ IDS_INCORRECTPASSWORD "Verificați numele de utilizator și parola."
+ IDS_CAPSLOCKONTITLE "Tasta Caps Lock este activată"
+ IDS_CAPSLOCKON "Cu tasta Caps Lock activată este foarte probabil că veți introduce parola greșit. \n\nInainte de a introduce parola apăsați tasta Caps Lock pentru a dezactiva scrierea cu majuscule."
+}
+
+#pragma code_page(default)
Module: wine
Branch: master
Commit: 88b64d486d865679ace4eb942df2855ce71310a5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=88b64d486d865679ace4eb942…
Author: Igor Tarasov <tarasov.igor(a)gmail.com>
Date: Mon Mar 30 21:05:40 2009 +0500
comctl32: CCS_VERT flips toolbar separators orientation.
---
dlls/comctl32/toolbar.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 5ef701d..92a1366 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -492,9 +492,9 @@ TOOLBAR_DrawFlatSeparator (const RECT *lpRect, HDC hdc, const TOOLBAR_INFO *info
/***********************************************************************
-* TOOLBAR_DrawDDFlatSeparator
+* TOOLBAR_DrawFlatHorizontalSeparator
*
-* This function draws the separator that was flagged as BTNS_DROPDOWN.
+* This function draws horizontal separator for toolbars having CCS_VERT style.
* In this case, the separator is a pixel high line of COLOR_BTNSHADOW,
* followed by a pixel high line of COLOR_BTNHIGHLIGHT. These separators
* are horizontal as opposed to the vertical separators for not dropdown
@@ -503,7 +503,7 @@ TOOLBAR_DrawFlatSeparator (const RECT *lpRect, HDC hdc, const TOOLBAR_INFO *info
* FIXME: It is possible that the height of each line is really SM_CYBORDER.
*/
static void
-TOOLBAR_DrawDDFlatSeparator (const RECT *lpRect, HDC hdc,
+TOOLBAR_DrawFlatHorizontalSeparator (const RECT *lpRect, HDC hdc,
const TOOLBAR_INFO *infoPtr)
{
RECT myrect;
@@ -855,8 +855,8 @@ TOOLBAR_DrawButton (HWND hwnd, TBUTTON_INFO *btnPtr, HDC hdc, DWORD dwBaseCustDr
/* empirical tests show that iBitmap can/will be non-zero */
/* when drawing the vertical bar... */
if ((dwStyle & TBSTYLE_FLAT) /* && (btnPtr->iBitmap == 0) */) {
- if (btnPtr->fsStyle & BTNS_DROPDOWN)
- TOOLBAR_DrawDDFlatSeparator (&rc, hdc, infoPtr);
+ if (dwStyle & CCS_VERT)
+ TOOLBAR_DrawFlatHorizontalSeparator (&rc, hdc, infoPtr);
else
TOOLBAR_DrawFlatSeparator (&rc, hdc, infoPtr);
}
@@ -1330,10 +1330,9 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
/* it is the actual width of the separator. This is used for */
/* custom controls in toolbars. */
/* */
- /* BTNS_DROPDOWN separators are treated as buttons for */
- /* width. - GA 8/01 */
+ /* horizontal separators are treated as buttons for width */
if ((btnPtr[i].fsStyle & BTNS_SEP) &&
- !(btnPtr[i].fsStyle & BTNS_DROPDOWN))
+ !(infoPtr->dwStyle & CCS_VERT))
cx = (btnPtr[i].iBitmap > 0) ?
btnPtr[i].iBitmap : SEPARATOR_WIDTH;
else
@@ -1689,7 +1688,7 @@ TOOLBAR_LayoutToolbar(HWND hwnd)
/* it is the actual width of the separator. This is used for */
/* custom controls in toolbars. */
if (btnPtr->fsStyle & BTNS_SEP) {
- if (btnPtr->fsStyle & BTNS_DROPDOWN) {
+ if (infoPtr->dwStyle & CCS_VERT) {
cy = (btnPtr->iBitmap > 0) ?
btnPtr->iBitmap : SEPARATOR_WIDTH;
cx = infoPtr->nButtonWidth;
@@ -1762,7 +1761,7 @@ TOOLBAR_LayoutToolbar(HWND hwnd)
/* UNDOCUMENTED: If a separator has a non zero bitmap index, */
/* it is the actual width of the separator. This is used for */
/* custom controls in toolbars. */
- if ( !(btnPtr->fsStyle & BTNS_DROPDOWN))
+ if ( !(infoPtr->dwStyle & CCS_VERT))
y += cy + ( (btnPtr->iBitmap > 0 ) ?
btnPtr->iBitmap : SEPARATOR_WIDTH) * 2 /3;
else