Mikołaj Zalewski : credui: Move language-dependent resources to credui_En.rc.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 13 16:56:28 CDT 2007
Module: wine
Branch: master
Commit: 840890e3b9d7c849af54990b4b816d317a114c06
URL: http://source.winehq.org/git/wine.git/?a=commit;h=840890e3b9d7c849af54990b4b816d317a114c06
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Mon Mar 12 12:00:40 2007 +0100
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
More information about the wine-cvs
mailing list