devenum: Split the translations into separate resource files.

Michael Stefaniuc mstefani at redhat.de
Thu May 27 18:39:56 CDT 2010


Also use the existing resource ID defines.

---
The devenum.dll.fake has the exact same SHA1 with or without this patch
applied. Found by Paul Vriens.


 dlls/devenum/Cs.rc             |   33 +++++++++
 dlls/devenum/De.rc             |   33 +++++++++
 dlls/devenum/En.rc             |   31 +++++++++
 dlls/devenum/Es.rc             |   33 +++++++++
 dlls/devenum/Fr.rc             |   33 +++++++++
 dlls/devenum/It.rc             |   33 +++++++++
 dlls/devenum/Ja.rc             |   33 +++++++++
 dlls/devenum/Ko.rc             |   33 +++++++++
 dlls/devenum/Lt.rc             |   33 +++++++++
 dlls/devenum/Makefile.in       |   19 +++++-
 dlls/devenum/Nl.rc             |   33 +++++++++
 dlls/devenum/No.rc             |   33 +++++++++
 dlls/devenum/Pl.rc             |   33 +++++++++
 dlls/devenum/Pt.rc             |   33 +++++++++
 dlls/devenum/Ro.rc             |   33 +++++++++
 dlls/devenum/Ru.rc             |   34 +++++++++
 dlls/devenum/Si.rc             |   33 +++++++++
 dlls/devenum/devenum.rc        |  145 ----------------------------------------
 dlls/devenum/devenum_private.h |    7 ++-
 19 files changed, 551 insertions(+), 147 deletions(-)
 create mode 100644 dlls/devenum/Cs.rc
 create mode 100644 dlls/devenum/De.rc
 create mode 100644 dlls/devenum/En.rc
 create mode 100644 dlls/devenum/Es.rc
 create mode 100644 dlls/devenum/Fr.rc
 create mode 100644 dlls/devenum/It.rc
 create mode 100644 dlls/devenum/Ja.rc
 create mode 100644 dlls/devenum/Ko.rc
 create mode 100644 dlls/devenum/Lt.rc
 create mode 100644 dlls/devenum/Nl.rc
 create mode 100644 dlls/devenum/No.rc
 create mode 100644 dlls/devenum/Pl.rc
 create mode 100644 dlls/devenum/Pt.rc
 create mode 100644 dlls/devenum/Ro.rc
 create mode 100644 dlls/devenum/Ru.rc
 create mode 100644 dlls/devenum/Si.rc

diff --git a/dlls/devenum/Cs.rc b/dlls/devenum/Cs.rc
new file mode 100644
index 0000000..c15ae1f
--- /dev/null
+++ b/dlls/devenum/Cs.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Dafaultní DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Standardní zařízení WaveOut"
+    IDS_DEVENUM_MIDEFAULT  "Standardní zařízení MidiOut"
+}
diff --git a/dlls/devenum/De.rc b/dlls/devenum/De.rc
new file mode 100644
index 0000000..ac32cde
--- /dev/null
+++ b/dlls/devenum/De.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Standard DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Standard WaveOut - Gerät"
+    IDS_DEVENUM_MIDEFAULT  "Standard MidiOut - Gerät"
+}
diff --git a/dlls/devenum/En.rc b/dlls/devenum/En.rc
new file mode 100644
index 0000000..ee982ac
--- /dev/null
+++ b/dlls/devenum/En.rc
@@ -0,0 +1,31 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Default DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Default WaveOut Device"
+    IDS_DEVENUM_MIDEFAULT  "Default MidiOut Device"
+}
diff --git a/dlls/devenum/Es.rc b/dlls/devenum/Es.rc
new file mode 100644
index 0000000..363e377
--- /dev/null
+++ b/dlls/devenum/Es.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "DirectSound por defecto"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Dispositivo WaveOut por defecto"
+    IDS_DEVENUM_MIDEFAULT  "Dispositivo MidiOut por defecto"
+}
diff --git a/dlls/devenum/Fr.rc b/dlls/devenum/Fr.rc
new file mode 100644
index 0000000..8577d09
--- /dev/null
+++ b/dlls/devenum/Fr.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "DirectSound par défaut"
+    IDS_DEVENUM_DS         "DirectSound : %s"
+    IDS_DEVENUM_WODEFAULT  "Périphérique WaveOut par défaut"
+    IDS_DEVENUM_MIDEFAULT  "Périphérique MidiOut par défaut"
+}
diff --git a/dlls/devenum/It.rc b/dlls/devenum/It.rc
new file mode 100644
index 0000000..c4273d8
--- /dev/null
+++ b/dlls/devenum/It.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "DirectSound di Default"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Dispositivo WaveOut di Default"
+    IDS_DEVENUM_MIDEFAULT  "Dispositivo MidiOut di Default"
+}
diff --git a/dlls/devenum/Ja.rc b/dlls/devenum/Ja.rc
new file mode 100644
index 0000000..42f674d
--- /dev/null
+++ b/dlls/devenum/Ja.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "デフォルト DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "デフォルト WaveOut デバイス"
+    IDS_DEVENUM_MIDEFAULT  "デフォルト MidiOut デバイス"
+}
diff --git a/dlls/devenum/Ko.rc b/dlls/devenum/Ko.rc
new file mode 100644
index 0000000..6f75861
--- /dev/null
+++ b/dlls/devenum/Ko.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "기본 다이렉트 사운드"
+    IDS_DEVENUM_DS         "다이렉트 사운드: %s"
+    IDS_DEVENUM_WODEFAULT  "기본 웨이브 출력 장치"
+    IDS_DEVENUM_MIDEFAULT  "기본 미디출력 장치"
+}
diff --git a/dlls/devenum/Lt.rc b/dlls/devenum/Lt.rc
new file mode 100644
index 0000000..20d3db6
--- /dev/null
+++ b/dlls/devenum/Lt.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_LITHUANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Numatytasis DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Numatytasis WaveOut įrenginys"
+    IDS_DEVENUM_MIDEFAULT  "Numatytasis MidiOut įrenginys"
+}
diff --git a/dlls/devenum/Makefile.in b/dlls/devenum/Makefile.in
index f2bd598..827447e 100644
--- a/dlls/devenum/Makefile.in
+++ b/dlls/devenum/Makefile.in
@@ -12,6 +12,23 @@ C_SRCS = \
 	mediacatenum.c \
 	parsedisplayname.c
 
-RC_SRCS = devenum.rc
+RC_SRCS = \
+	devenum.rc \
+	Cs.rc \
+	De.rc \
+	En.rc \
+	Es.rc \
+	Fr.rc \
+	It.rc \
+	Ja.rc \
+	Ko.rc \
+	Lt.rc \
+	Nl.rc \
+	No.rc \
+	Pl.rc \
+	Pt.rc \
+	Ro.rc \
+	Ru.rc \
+	Si.rc
 
 @MAKE_DLL_RULES@
diff --git a/dlls/devenum/Nl.rc b/dlls/devenum/Nl.rc
new file mode 100644
index 0000000..b08beca
--- /dev/null
+++ b/dlls/devenum/Nl.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Standaard DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Standaardapparaat WaveOut"
+    IDS_DEVENUM_MIDEFAULT  "Standaardapparaat MidiOut"
+}
diff --git a/dlls/devenum/No.rc b/dlls/devenum/No.rc
new file mode 100644
index 0000000..1352d48
--- /dev/null
+++ b/dlls/devenum/No.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Standard DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Standard enhet for lydavspilling"
+    IDS_DEVENUM_MIDEFAULT  "Standard enhet for MIDI-avspilling"
+}
diff --git a/dlls/devenum/Pl.rc b/dlls/devenum/Pl.rc
new file mode 100644
index 0000000..b5e452e
--- /dev/null
+++ b/dlls/devenum/Pl.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Standardowe DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Standardowe urządzenie WaveOut"
+    IDS_DEVENUM_MIDEFAULT  "Standardowe urządzenie Device"
+}
diff --git a/dlls/devenum/Pt.rc b/dlls/devenum/Pt.rc
new file mode 100644
index 0000000..ff58ad6
--- /dev/null
+++ b/dlls/devenum/Pt.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "DirectSound padrão"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Dispositivo padrão WaveOut"
+    IDS_DEVENUM_MIDEFAULT  "Dispositivo padrão MidiOut"
+}
diff --git a/dlls/devenum/Ro.rc b/dlls/devenum/Ro.rc
new file mode 100644
index 0000000..d4620a6
--- /dev/null
+++ b/dlls/devenum/Ro.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "DirectSound implicit"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Dispozitiv WaveOut implicit"
+    IDS_DEVENUM_MIDEFAULT  "Dispozitiv MidiOut implicit"
+}
diff --git a/dlls/devenum/Ru.rc b/dlls/devenum/Ru.rc
new file mode 100644
index 0000000..35875ac
--- /dev/null
+++ b/dlls/devenum/Ru.rc
@@ -0,0 +1,34 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Стандартный DirectSound"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Звуковое устройство вывода по умолчанию"
+    IDS_DEVENUM_MIDEFAULT  "Устройство вывода MIDI по умолчанию"
+
+}
diff --git a/dlls/devenum/Si.rc b/dlls/devenum/Si.rc
new file mode 100644
index 0000000..13038ed
--- /dev/null
+++ b/dlls/devenum/Si.rc
@@ -0,0 +1,33 @@
+/*
+ * Resources for Device Enumerator
+ *
+ * Copyright 2002 Robert Shearman
+ *
+ * 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 "devenum_private.h"
+
+LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+    IDS_DEVENUM_DSDEFAULT  "Privzeta DirectSound naprava"
+    IDS_DEVENUM_DS         "DirectSound: %s"
+    IDS_DEVENUM_WODEFAULT  "Privzeta WaveOut naprava"
+    IDS_DEVENUM_MIDEFAULT  "Privzeta MidiOut naprava"
+}
diff --git a/dlls/devenum/devenum.rc b/dlls/devenum/devenum.rc
index 01f76b4..89844bf 100644
--- a/dlls/devenum/devenum.rc
+++ b/dlls/devenum/devenum.rc
@@ -34,148 +34,3 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 #define WINE_PRODUCTVERSION_STR "6.5"
 
 #include "wine/wine_common_ver.rc"
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
-{
-	7  "Default DirectSound"
-	8  "DirectSound: %s"
-	9  "Default WaveOut Device"
-	10 "Default MidiOut Device"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
-{
-	7  "DirectSound par défaut"
-	8  "DirectSound : %s"
-	9  "Périphérique WaveOut par défaut"
-	10 "Périphérique MidiOut par défaut"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
-{
-	7  "Standard DirectSound"
-	8  "DirectSound: %s"
-	9  "Standard WaveOut - Gerät"
-	10 "Standard MidiOut - Gerät"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
-{
-	7  "DirectSound di Default"
-	8  "DirectSound: %s"
-	9  "Dispositivo WaveOut di Default"
-	10 "Dispositivo MidiOut di Default"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
-{
-	7  "DirectSound padrão"
-	8  "DirectSound: %s"
-	9  "Dispositivo padrão WaveOut"
-	10 "Dispositivo padrão MidiOut"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
-{
-	7  "DirectSound por defecto"
-	8  "DirectSound: %s"
-	9  "Dispositivo WaveOut por defecto"
-	10 "Dispositivo MidiOut por defecto"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
-{
-	7  "Dafaultní DirectSound"
-	8  "DirectSound: %s"
-	9  "Standardní zařízení WaveOut"
-	10 "Standardní zařízení MidiOut"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
-{
-	7  "Standardowe DirectSound"
-	8  "DirectSound: %s"
-	9  "Standardowe urządzenie WaveOut"
-	10 "Standardowe urządzenie Device"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
-{
-7  "Standard DirectSound"
-8  "DirectSound: %s"
-9  "Standard enhet for lydavspilling"
-10 "Standard enhet for MIDI-avspilling"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
-{
-	7  "Standaard DirectSound"
-	8  "DirectSound: %s"
-	9  "Standaardapparaat WaveOut"
-	10 "Standaardapparaat MidiOut"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
-{
-	7  "DirectSound implicit"
-	8  "DirectSound: %s"
-	9  "Dispozitiv WaveOut implicit"
-	10 "Dispozitiv MidiOut implicit"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
-{
-	7  "Стандартный DirectSound"
-	8  "DirectSound: %s"
-	9  "Звуковое устройство вывода по умолчанию"
-	10 "Устройство вывода MIDI по умолчанию"
-
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
-{
-	7  "Privzeta DirectSound naprava"
-	8  "DirectSound: %s"
-	9  "Privzeta WaveOut naprava"
-	10 "Privzeta MidiOut naprava"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
-{
-	7  "기본 다이렉트 사운드"
-	8  "다이렉트 사운드: %s"
-	9  "기본 웨이브 출력 장치"
-	10 "기본 미디출력 장치"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_LITHUANIAN, SUBLANG_NEUTRAL
-{
-	7  "Numatytasis DirectSound"
-	8  "DirectSound: %s"
-	9  "Numatytasis WaveOut įrenginys"
-	10 "Numatytasis MidiOut įrenginys"
-}
-
-STRINGTABLE DISCARDABLE
-LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
-{
-	7  "デフォルト DirectSound"
-	8  "DirectSound: %s"
-	9  "デフォルト WaveOut デバイス"
-	10 "デフォルト MidiOut デバイス"
-}
diff --git a/dlls/devenum/devenum_private.h b/dlls/devenum/devenum_private.h
index 5266d03..da65add 100644
--- a/dlls/devenum/devenum_private.h
+++ b/dlls/devenum/devenum_private.h
@@ -22,7 +22,9 @@
  * - Private file where devenum globals are declared
  */
 
+#ifndef RC_INVOKED
 #include <stdarg.h>
+#endif
 
 #include "windef.h"
 #include "winbase.h"
@@ -36,9 +38,12 @@
 #include "ole2.h"
 #include "strmif.h"
 #include "olectl.h"
-#include "wine/unicode.h"
 #include "uuids.h"
 
+#ifndef RC_INVOKED
+#include "wine/unicode.h"
+#endif
+
 /**********************************************************************
  * Dll lifetime tracking declaration for devenum.dll
  */
-- 
1.7.1



More information about the wine-patches mailing list