Michael Stefaniuc : oleacc: Build language resource files separately.
Alexandre Julliard
julliard at winehq.org
Tue Jun 30 08:33:28 CDT 2009
Module: wine
Branch: master
Commit: fed054a9ef7416caca514285e99fd712683c91dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fed054a9ef7416caca514285e99fd712683c91dc
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Jun 30 11:11:36 2009 +0200
oleacc: Build language resource files separately.
Instead of including them from an other rc file.
---
dlls/oleacc/Makefile.in | 9 ++++++++-
dlls/oleacc/oleacc.rc | 30 ------------------------------
dlls/oleacc/oleacc_De.rc | 2 ++
dlls/oleacc/oleacc_En.rc | 2 ++
dlls/oleacc/oleacc_Fr.rc | 2 ++
dlls/oleacc/oleacc_Ko.rc | 2 ++
dlls/oleacc/oleacc_Lt.rc | 4 ++--
dlls/oleacc/oleacc_Nl.rc | 2 ++
dlls/oleacc/oleacc_Pl.rc | 2 ++
9 files changed, 22 insertions(+), 33 deletions(-)
diff --git a/dlls/oleacc/Makefile.in b/dlls/oleacc/Makefile.in
index 01b03ae..3a2b0b7 100644
--- a/dlls/oleacc/Makefile.in
+++ b/dlls/oleacc/Makefile.in
@@ -9,7 +9,14 @@ IMPORTS = user32 kernel32
C_SRCS = \
main.c
-RC_SRCS = oleacc.rc
+RC_SRCS = \
+ oleacc_De.rc \
+ oleacc_En.rc \
+ oleacc_Fr.rc \
+ oleacc_Ko.rc \
+ oleacc_Lt.rc \
+ oleacc_Nl.rc \
+ oleacc_Pl.rc
@MAKE_DLL_RULES@
diff --git a/dlls/oleacc/oleacc.rc b/dlls/oleacc/oleacc.rc
deleted file mode 100644
index abcd7fb..0000000
--- a/dlls/oleacc/oleacc.rc
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Top level resource file for oleacc
- *
- * Copyright 2008 Nikolay Sivov
- *
- * 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
- */
-
-#include "windef.h"
-#include "oleacc.h"
-
-#include "oleacc_De.rc"
-#include "oleacc_En.rc"
-#include "oleacc_Fr.rc"
-#include "oleacc_Ko.rc"
-#include "oleacc_Lt.rc"
-#include "oleacc_Nl.rc"
-#include "oleacc_Pl.rc"
diff --git a/dlls/oleacc/oleacc_De.rc b/dlls/oleacc/oleacc_De.rc
index 7d96d2a..f39ff39 100644
--- a/dlls/oleacc/oleacc_De.rc
+++ b/dlls/oleacc/oleacc_De.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
diff --git a/dlls/oleacc/oleacc_En.rc b/dlls/oleacc/oleacc_En.rc
index 992d29c..5c1af2d 100644
--- a/dlls/oleacc/oleacc_En.rc
+++ b/dlls/oleacc/oleacc_En.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
diff --git a/dlls/oleacc/oleacc_Fr.rc b/dlls/oleacc/oleacc_Fr.rc
index 87bea0b..fbdfa05 100644
--- a/dlls/oleacc/oleacc_Fr.rc
+++ b/dlls/oleacc/oleacc_Fr.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
diff --git a/dlls/oleacc/oleacc_Ko.rc b/dlls/oleacc/oleacc_Ko.rc
index a1993f1..919b8d4 100644
--- a/dlls/oleacc/oleacc_Ko.rc
+++ b/dlls/oleacc/oleacc_Ko.rc
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
diff --git a/dlls/oleacc/oleacc_Lt.rc b/dlls/oleacc/oleacc_Lt.rc
index 5498e84..4056c3d 100644
--- a/dlls/oleacc/oleacc_Lt.rc
+++ b/dlls/oleacc/oleacc_Lt.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
/* UTF-8 */
#pragma code_page(65001)
@@ -91,5 +93,3 @@ STRINGTABLE DISCARDABLE
ROLE_SYSTEM_IPADDRESS "IP adresas"
ROLE_SYSTEM_OUTLINEBUTTON "plano mygtukas"
}
-
-#pragma code_page(default)
diff --git a/dlls/oleacc/oleacc_Nl.rc b/dlls/oleacc/oleacc_Nl.rc
index 1dce053..47daa1f 100644
--- a/dlls/oleacc/oleacc_Nl.rc
+++ b/dlls/oleacc/oleacc_Nl.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
diff --git a/dlls/oleacc/oleacc_Pl.rc b/dlls/oleacc/oleacc_Pl.rc
index fc93cb0..5d45368 100644
--- a/dlls/oleacc/oleacc_Pl.rc
+++ b/dlls/oleacc/oleacc_Pl.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "oleacc.h"
+
LANGUAGE LANG_POLISH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
More information about the wine-cvs
mailing list