notepad default language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

The attached patch makes sure that if you LANG is not one of those 
notepad already has resources for, English will be used.

License: LGPL
Changelog:
    Shachar Shemesh <winecode@sun.consumer.org.il>

    programs/notepad/En.rc
        Change sublanguage from "NEUTRAL" to "DEFAULT", so the matching 
algorithm in "LoadResource" will be able to find it if no other language 
is a better match.

Index: programs/notepad/En.rc
===================================================================
RCS file: /home/sun/sources/wine/cvs/wine/programs/notepad/En.rc,v
retrieving revision 1.8
diff -u -r1.8 En.rc
--- programs/notepad/En.rc	8 Jul 2002 19:41:09 -0000	1.8
+++ programs/notepad/En.rc	16 Aug 2002 06:47:09 -0000
@@ -20,7 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
+MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 {
  POPUP "&File" {
   MENUITEM "&New...",           CMD_NEW
@@ -66,7 +66,7 @@
 /* Dialog `Page setup' */
 
 DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
-LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
+LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
 FONT 8, "Helv"
 CAPTION "Page Setup"
@@ -91,7 +91,7 @@
 PUSHBUTTON    "&Help",       0x153,                180, 39, 40, 15, WS_TABSTOP
 }
 
-STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
+STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 {
 STRING_PAGESETUP_HEADERVALUE,   "&n"        /* FIXME */
 STRING_PAGESETUP_FOOTERVALUE,   "Page &s"   /* FIXME */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux