[PATCH 3/3] winhelp: Fix and activate the Romansh translation.

Michael Stefaniuc mstefani at redhat.de
Thu Mar 27 19:23:58 CDT 2008


---
After 6 years of bitrotting somebody (me) tripped again over
programs/winhelp/Va.rc:
http://www.winehq.org/?issue=122#Geography%20Lesson:%20Rumantsch

Va.rc wasn't included in programs/winhelp/rsrc.rc so my first impulse
was to send a patch to just remove that file. But so shortly before
Wine-1.0 I couldn't risk of getting Alexandre expatriated for accepting
such a patch ;). Windows Vista adds support for LANG_ROMANSH and the
syntax of Va.rc file was easy to fix so here it is.


 programs/winhelp/Rm.rc   |   74 ++++++++++++++++++++++++++++++++++++++++++++
 programs/winhelp/Va.rc   |   76 ----------------------------------------------
 programs/winhelp/rsrc.rc |    1 +
 3 files changed, 75 insertions(+), 76 deletions(-)
 create mode 100644 programs/winhelp/Rm.rc
 delete mode 100644 programs/winhelp/Va.rc

diff --git a/programs/winhelp/Rm.rc b/programs/winhelp/Rm.rc
new file mode 100644
index 0000000..c677e48
--- /dev/null
+++ b/programs/winhelp/Rm.rc
@@ -0,0 +1,74 @@
+/*
+ * Help Viewer
+ *
+ * Copyright 1996 Ulrich Schmid
+ * Rumantsch Ladin (Vallader) by mbaur at g26.ethz.ch
+ * Copyright 2002 Sylvain Petreolle <spetreolle at yahoo.fr>
+ *
+ * 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
+ */
+
+/* FIXME: This file is in the Vallader Romansh dialect and not in the
+   official Rumantsch Grischun. */
+
+/* Menu */
+
+MAIN_MENU MENU LANGUAGE LANG_ROMANSH, SUBLANG_DEFAULT
+{
+ POPUP "&Datoteca" {
+  MENUITEM "&Rivir", MNID_FILE_OPEN
+  MENUITEM SEPARATOR
+  MENUITEM "&Stampar tema", MNID_FILE_PRINT
+  MENUITEM "&Installaziun dal stampader...", MNID_FILE_SETUP
+   MENUITEM SEPARATOR
+  MENUITEM "&Finir", MNID_FILE_EXIT
+ }
+ POPUP "&Lavurar" {
+   MENUITEM "Capchar", MNID_EDIT_COPYDLG
+   MENUITEM SEPARATOR
+   MENUITEM "&Annotaziun...", MNID_EDIT_ANNOTATE
+ }
+ POPUP "&Marca" {
+   MENUITEM "&Definir...", MNID_BKMK_DEFINE
+ }
+ POPUP "&Ag�d" {
+   MENUITEM "&Douvrar l'ag�d", MNID_HELP_HELPON
+   MENUITEM "Ad�na da&vant", MNID_HELP_HELPTOP
+   MENUITEM SEPARATOR
+   MENUITEM "I&nfuormaziuns", MNID_HELP_ABOUT
+#ifdef WINELIB
+   MENUITEM "Davart &Wine", MNID_HELP_WINE
+#endif
+ }
+}
+
+/* Strings */
+STRINGTABLE DISCARDABLE LANGUAGE LANG_ROMANSH, SUBLANG_DEFAULT
+{
+STID_WINE_HELP,         "WINE ag�d"
+STID_WHERROR,           "SBAGL"
+STID_WARNING,           "ATTENZIUN"
+STID_INFO,              "INFUORMAZIUN"
+STID_NOT_IMPLEMENTED,   "Na implementa"
+STID_HLPFILE_ERROR_s,   "Sbagl cun leger la datoteca d'ag�d `%s'"
+STID_CONTENTS,          "&Cuntgn�"
+STID_SEARCH,            "&Tscherchar"
+STID_BACK,              "&Inavo"
+STID_HISTORY,           "&Fin qua"
+STID_TOPICS,            "T&opics"
+STID_ALL_FILES,         "Tuot las datotecas (*.*)"
+STID_HELP_FILES_HLP,    "Datotecas d'ag�d (*.hlp)"
+STID_FILE_NOT_FOUND_s   "Cannot find '%s'. Do you want to find this file yourself?"
+}
diff --git a/programs/winhelp/Va.rc b/programs/winhelp/Va.rc
deleted file mode 100644
index 647c9df..0000000
--- a/programs/winhelp/Va.rc
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Help Viewer
- *
- * Copyright 1996 Ulrich Schmid
- * Rumantsch Ladin (Vallader) by mbaur at g26.ethz.ch
- * Copyright 2002 Sylvain Petreolle <spetreolle at yahoo.fr>
- *
- * 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
- */
-
-/* Menu */
-
-/*
-*  language : switzerland romanch
-*  not supported today
-*/
-MAIN_MENU MENU LANGUAGE LANG_, SUBLANG_DEFAULT
-{
- POPUP "&Datoteca" {
-  MENUITEM "&Rivir", MNID_FILE_OPEN
-  MENUITEM SEPARATOR
-  MENUITEM "&Stampar tema", MNID_FILE_PRINT
-  MENUITEM "&Installaziun dal stampader...", MNID_FILE_SETUP
-   MENUITEM SEPARATOR
-  MENUITEM "&Finir", MNID_FILE_EXIT
- }
- POPUP "&Lavurar" {
-   MENUITEM "Capchar", MNID_EDIT_COPYDLG
-   MENUITEM SEPARATOR
-   MENUITEM "&Annotaziun...", MNID_EDIT_ANNOTATE
- }
- POPUP "&Marca" {
-   MENUITEM "&Definir...", MNID_BKMK_DEFINE
- }
- POPUP "&Ag�d" {
-   MENUITEM "&Douvrar l'ag�d", MNID_HELP_HELPON
-   MENUITEM "Ad�na da&vant", MNID_HELP_HELPTOP
-   MENUITEM SEPARATOR
-   MENUITEM "I&nfuormaziuns", MNID_HELP_ABOUT
-#ifdef WINELIB
-   MENUITEM "Davart &WINE", MNID_HELP_WINE
-#endif
- }
-}
-
-/* Strings */
-
-STRINGTABLE DISCARDABLE LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
-{
-WINE_HELP, 		"WINE ag�d"
-WHERROR, 		"SBAGL"
-WARNING,  		"ATTENZIUN"
-INFO,  			"INFUORMAZIUN"
-NOT_IMPLEMENTED, 	"Na implementa"
-HLPFILE_ERROR_s, 	"Sbagl cun leger la datoteca d'ag�d `%s'"
-CONTENTS, 		"&Cuntgn�"
-SEARCH, 		"&Tscherchar"
-BACK, 			"&Inavo"
-HISTORY, 		"&Fin qua"
-TOPICS,			"T&opics"
-ALL_FILES, 		"Tuot las datotecas (*.*)"
-HELP_FILES_HLP, 	"Datotecas d'ag�d (*.hlp)"
-STID_FILE_NOT_FOUND_s   "Cannot find '%s'. Do you want to find this file yourself?"
-}
diff --git a/programs/winhelp/rsrc.rc b/programs/winhelp/rsrc.rc
index 8109916..c8a6417 100644
--- a/programs/winhelp/rsrc.rc
+++ b/programs/winhelp/rsrc.rc
@@ -41,6 +41,7 @@
 #include "No.rc"
 #include "Pl.rc"
 #include "Pt.rc"
+#include "Rm.rc"
 #include "Ru.rc"
 #include "Si.rc"
 #include "Sk.rc"
-- 
1.5.4.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080328/b729924a/attachment.pgp 


More information about the wine-patches mailing list