credui[1/2]: move language-dependent resources to credui_En.rc
Mikołaj Zalewski
mikolaj at zalewski.pl
Tue Mar 13 12:35:43 CDT 2007
All dlls have language-dependent resources is distinct files so credui
should do the same?
-------------- next part --------------
From 90ffc5475c692e8540728e75fe2959d5eb12ad7b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Miko=C5=82aj_Zalewski?= <mikolaj at zalewski.pl>
Date: Mon, 12 Mar 2007 12:00:40 +0100
Subject: [PATCH] credui: move language-dependent resources to credui_En.rc
---
dlls/credui/credui.rc | 17 +----------------
dlls/credui/credui_En.rc | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 16 deletions(-)
diff --git a/dlls/credui/credui.rc b/dlls/credui/credui.rc
index 6306bc7..54dd126 100644
--- a/dlls/credui/credui.rc
+++ b/dlls/credui/credui.rc
@@ -24,19 +24,4 @@
#include "winnls.h"
#include "credui_resources.h"
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-
-IDD_CREDDIALOG DIALOG DISCARDABLE 0, 0, 220, 82
-STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Enter User Name and Password"
-FONT 8, "MS Shell Dlg"
-BEGIN
- LTEXT "&User Name:",IDC_STATIC,7,10,72,12,SS_CENTERIMAGE
- EDITTEXT IDC_USERNAME,80,10,130,12,ES_AUTOHSCROLL
- LTEXT "&Password:",IDC_STATIC,7,27,72,12,SS_CENTERIMAGE
- EDITTEXT IDC_PASSWORD,80,27,130,12,ES_PASSWORD | ES_AUTOHSCROLL
- LTEXT "&Domain Name:",IDC_STATIC,7,44,72,12,SS_CENTERIMAGE
- EDITTEXT IDC_DOMAIN,80,44,130,12,ES_AUTOHSCROLL
- DEFPUSHBUTTON "OK",IDOK,7,61,50,14
- PUSHBUTTON "Cancel",IDCANCEL,67,61,50,14
-END
+#include "credui_En.rc"
diff --git a/dlls/credui/credui_En.rc b/dlls/credui/credui_En.rc
new file mode 100644
index 0000000..09e429d
--- /dev/null
+++ b/dlls/credui/credui_En.rc
@@ -0,0 +1,36 @@
+/*
+ * English language resource file for Credentials UI
+ *
+ * Copyright 2007 Robert Shearman (for CodeWeavers)
+ *
+ * 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_ENGLISH, SUBLANG_ENGLISH_US
+
+IDD_CREDDIALOG DIALOG DISCARDABLE 0, 0, 220, 82
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Enter User Name and Password"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "&User Name:",IDC_STATIC,7,10,72,12,SS_CENTERIMAGE
+ EDITTEXT IDC_USERNAME,80,10,130,12,ES_AUTOHSCROLL
+ LTEXT "&Password:",IDC_STATIC,7,27,72,12,SS_CENTERIMAGE
+ EDITTEXT IDC_PASSWORD,80,27,130,12,ES_PASSWORD | ES_AUTOHSCROLL
+ LTEXT "&Domain Name:",IDC_STATIC,7,44,72,12,SS_CENTERIMAGE
+ EDITTEXT IDC_DOMAIN,80,44,130,12,ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK",IDOK,7,61,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,67,61,50,14
+END
--
1.4.4.2
More information about the wine-patches
mailing list