home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / restext / custom.r < prev    next >
Encoding:
Text File  |  1998-04-08  |  13.9 KB  |  352 lines

  1.  /*
  2.  * The contents of this file are subject to the Netscape Public License
  3.  * Version 1.0 (the "NPL"); you may not use this file except in
  4.  * compliance with the NPL.  You may obtain a copy of the NPL at
  5.  * http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  8.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9.  * for the specific language governing rights and limitations under the
  10.  * NPL.
  11.  *
  12.  * The Initial Developer of this code under the NPL is Netscape
  13.  * Communications Corporation.  Portions created by Netscape are
  14.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15.  * Reserved.
  16.  */
  17. #undef BETA
  18. #undef ALPHA
  19. #include "SysTypes.r"
  20.  
  21. #define        APPLICATION_NAME        "Mozilla"
  22. #define        TRADEMARK_NAME            APPLICATION_NAME "¬ "
  23.  
  24. #define        VERSION_CORP_STR        "Mozilla.Org"
  25.  
  26. #define     APPLICATION_LANGUAGE    "en"
  27.  
  28. #define        VERSION_MAJOR_STR        "5.0 Development"
  29. #define        VERSION_MINOR_STR        ""
  30. #define        VERSION_STRING            VERSION_MAJOR_STR VERSION_MINOR_STR
  31. #define     VERSION_LANG            "en"    // e.g. en, ja, de, fr
  32. #define     VERSION_COUNTRY            "_US"        // e.g.,  _JP, _DE, _FR, _US
  33. #define     VERSION_LOCALE            VERSION_LANG VERSION_COUNTRY
  34. #define     VERSION_MAJOR            5
  35. #define        VERSION_MINOR            0        // Actually minor and bug rev in BCD format
  36. #define     VERSION_MICRO            0        // Actually internal non release rev #
  37. #define        VERSION_KIND            development
  38. #define        COPYRIGHT_STRING        ", ⌐ Netscape Communications Corporation 1995-8"
  39.  
  40.  
  41. //#define        GETINFO_DESC            TRADEMARK_NAME VERSION_STRING
  42. #define        GETINFO_DESC            VERSION_CORP_STR
  43.  
  44. #define        GETINFO_VERSION            VERSION_STRING COPYRIGHT_STRING
  45.  
  46. #ifdef MOZ_NAV_BUILD_PREFIX
  47. #define        USER_AGENT_PPC_STRING        "(Macintosh; %s; PPC, Nav)"
  48. #define        USER_AGENT_68K_STRING        "(Macintosh; %s; 68K, Nav)"
  49. #else
  50. #define        USER_AGENT_PPC_STRING        "(Macintosh; %s; PPC)"
  51. #define        USER_AGENT_68K_STRING        "(Macintosh; %s; 68K)"
  52. #endif
  53.  
  54. #define        USER_AGENT_NAME            "Mozilla"
  55.  
  56. #ifdef    powerc
  57. #define        USER_AGENT_VERSION        VERSION_STRING " [" VERSION_LOCALE "] " USER_AGENT_PPC_STRING
  58. #else
  59. #define        USER_AGENT_VERSION        VERSION_STRING " [" VERSION_LOCALE "] " USER_AGENT_68K_STRING
  60. #endif
  61.  
  62. /*-----------------------------------------------------------------------------
  63.     Version Numbers
  64. -----------------------------------------------------------------------------*/
  65.  
  66. resource 'vers' (1, "Program") {
  67.     VERSION_MAJOR,
  68.     VERSION_MINOR,
  69.     VERSION_KIND,
  70.     VERSION_MICRO,
  71.     verUS,
  72.     USER_AGENT_VERSION,
  73.     GETINFO_VERSION
  74. };
  75.  
  76. resource 'vers' (2, "Suite") {
  77.     VERSION_MAJOR,
  78.     VERSION_MINOR,
  79.     VERSION_KIND,
  80.     VERSION_MICRO,
  81.     verUS,
  82.     USER_AGENT_VERSION,
  83.     GETINFO_DESC
  84. };
  85.  
  86. resource 'STR#' ( ID_STRINGS, "IDs", purgeable) {{
  87.     APPLICATION_NAME
  88. ,    VERSION_MAJOR_STR            // Actually the user agent string - was VERSION_STRING
  89. ,    USER_AGENT_NAME
  90. ,    USER_AGENT_68K_STRING
  91. ,    USER_AGENT_PPC_STRING
  92. ,   APPLICATION_LANGUAGE
  93. }};
  94.  
  95. #define        NETSCAPE_LOCATION        "http://www.netscape.com"
  96. #define        CGI_LOCATION            "http://cgi.netscape.com/"
  97. #define        ENG_LOCATION            NETSCAPE_LOCATION "eng/mozilla/" VERSION_MAJOR_STR "/"
  98. #define        HOME_LOCATION            NETSCAPE_LOCATION "home/"
  99.  
  100. #define        WELCOME_LOCATION        "welcome.html"
  101.  
  102. #define        WHATSNEW_LOCATION        HOME_LOCATION "whats-new.html"
  103. #define        WHATSCOOL_LOCATION        HOME_LOCATION "whats-cool.html"
  104. #define        NEWSRC_LOCATION            "news:"
  105. #define        MARKETPLACE_LOCATION    HOME_LOCATION "netscape-galleria.html"
  106. #define        DIRECTORY_LOCATION        HOME_LOCATION "internet-directory.html"
  107. #define        SEARCH_LOCATION            HOME_LOCATION "internet-search.html"
  108. #define        WHITEPAGES_LOCATION        HOME_LOCATION "internet-white-pages.html"
  109. #define        ABOUTINTERNET_LOCATION    HOME_LOCATION "about-the-internet.html"
  110.  
  111. #define        ABOUT_LOCATION            "about:"
  112. #define        ABOUT_PLUGINS_LOCATIONS    "about:plugins"
  113. #define        REGISTRATION_LOCATION    CGI_LOCATION "cgi-bin/reginfo.cgi"
  114. #define     MANUAL_LOCATION         ENG_LOCATION "handbook/"        
  115. #define        ESCAPES_LOCATION        NETSCAPE_LOCATION "escapes/index.html"
  116. #define     VERSION_LOCATION        ENG_LOCATION "relnotes/mac-" VERSION_STRING ".html"
  117. #define        FAQ_LOCATION            "http://help.netscape.com/faqs.html"
  118. #define        HELPONSEC_LOCATION        NETSCAPE_LOCATION "info/security-doc.html"
  119. #define        HELPONNEWS_LOCATION        ENG_LOCATION "news/news.html"
  120. #define        FEEDBACK_LOCATION        "http://cgi.netscape.com/cgi-bin/auto_bug.cgi"
  121. #define        SUPPORT_LOCATION        "http://help.netscape.com"
  122. #define        WEBSERVICES_LOCATION    HOME_LOCATION "how-to-create-web-services.html"
  123. #define        SOFTWARE_LOCATION        NETSCAPE_LOCATION "comprod/upgrades/index.html"
  124.  
  125. // Note: moved NEWDOC_TEMPLATE_LOCATION and WIZARD_LOCATION to config.js
  126.  
  127. #define        ABOUT_PLUGINS_LOCATION        "about:plugins"
  128. #define        ABOUT_SOFTWARE_LOCATION        NETSCAPE_LOCATION    "comprod/upgrades/index.html"
  129. #define        WEB_PAGE_STARTER_LOCATION    HOME_LOCATION         "starter.html"
  130.  
  131. #define        ESSENTIALS_FOLDER        "Essential Files"
  132. #define        CONFIG_FILENAME            "mozilla.cfg"
  133.  
  134. // Note: moved DIR_BUTTON_BASE and DIR_MENU_BASE lists of directory URLs to config.js
  135.  
  136. resource 'STR ' ( LOGO_BUTTON_URL_RESID, "Logo Button URL", purgeable ) {
  137.     NETSCAPE_LOCATION
  138. };
  139.  
  140. resource 'STR#' ( 300, "Pref file names", purgeable ) {{
  141.     PREFS_FOLDER_NAME;                        // 1
  142.     PREFS_FILE_NAME;                        // 2
  143.     "Global History";                        // 3 Global history
  144.     "Cache ─";                                // 4 Cache folder name
  145.     "CCache log";                            // 5 Cache file allocation table name
  146.     "newsrc";                                // 6 Subscribed Newsgroups
  147.     "Bookmarks.html";                        // 7 Bookmarks
  148.     "";                                        // 8 MIME types, not used
  149.     "MagicCookie";                            // 9 Magic cookie file
  150.     "socks.conf";                            // 10 SOCKS file, inside preferences
  151.     "Newsgroups";                            // 11 Newsgroup listings
  152.     "NewsFAT";                                // 12 Mappings of newsrc files
  153.     "Certificates";                            // 13 Certificates
  154.     "Certificate Index";                    // 14 Certificate index
  155.     "Mail";                                    // 15 Mail folder
  156.     "News";                                    // 16 News folder
  157.     "Security";                                // 17 Security folder
  158.     ".snm";                                    // 18 Mail index extension
  159.     ":Filter Rules";                        // 19 aka Mail sort file
  160.     "Pop State";                            // 20 Mail pop state
  161.     "Proxy Config";                            // 21 Proxy configuration
  162.     "Key Database";                            // 22 Key db
  163.     "Headers cache";                        // 23 Headers xover cache
  164.     "abook.nab";                            // 24 Address Book
  165.     "Sent";                                    // 25 Sent mail
  166.     "Sent";                                    // 26 Posted news articles
  167.     "External Cache";                        // 27 External cache FAT
  168.     ".sbd";                                    // 28 Subdirectory extension
  169.     "News Host DB";                            // 29 News Host DB (really.)
  170.     CONFIG_FILENAME;                        // 30 Local config/lock file
  171.     "User Profiles";                        // 31 User profiles database
  172.     ":Mail Filter Log";                        // 32 Mail Filter Log
  173.     "Navigator Registry";                        // 33 Netscape registry
  174.     ESSENTIALS_FOLDER;                        // 34 Essential files (where java stuff is, and other required stuff)
  175.     "archive";                                // 35
  176.     "archive.fat";                            // 36
  177.     IBM3270_FOLDER;                            // 37 IBM 3270 folder
  178.     IBM3270_FILE;                            // 38 IBM 3270 file
  179.     "addressbook.html";                        // 39
  180.     ".vcf";                                    // 40 Extension for vcard files.
  181.     ".ldi";                                    // 41 Extension for LDIF files.
  182.     ".ldif";                                // 42 Another extension for LDIFF files.
  183.     "Security Modules";                        // 43 secModuleDb
  184.     "Navigator Users";                        // 44 Folder containing user profiles
  185.     "Unknown";                                // 45 App name for unknown mime type
  186.     "Account Setup";                        // 46 Name of the magic "Account Setup" launcher
  187.     "NetHelp";                                // 47 Folder containing nethelp files
  188.     "Folder Cache";                            // 48 Cache of last known folder pane state
  189.     "Defaults";                                // 49 Template folder for new profiles
  190.     "moz40p3";                                // 50 Cryptographic policy file
  191.     "SignedAppletDB";                        // 51 Signed applet file
  192. }};
  193.  
  194. resource 'STR#' ( BUTTON_STRINGS_RESID, "Button Names", purgeable ) {{
  195.     "Back";                    // 1 Main
  196.     "Forward";                // 2 Main
  197.     "Home";                    // 3 Main
  198.     "Reload";                // 4 Main
  199.     "Images";                // 5 Main
  200.     "Open";                    // 6 Main
  201.     "Print";                // 7 Main
  202.     "Find";                    // 8 Main
  203.     "Stop";                    // 9 Main
  204.     "What╒s New?";            // 10 Directory button
  205.     "What╒s Cool?";            // 11 Directory button
  206.     "Destinations";            // 12 Directory button
  207.     "Net Search";            // 13 Directory button
  208.     "People";        // 14 Directory button
  209.     "Software";                // 15 Directory button
  210.     "Get Mail";                // 16 Mail: Get New Mail
  211.     "To: Mail";                // 17 Mail: Mail New
  212.     "Delete";                // 18 Mail: Delete Message
  213.     "Re: Mail";                // 19 Mail: Reply to Sender
  214.     "Re: All";                // 20 Mail: Reply to All
  215.     "Forward";                // 21 Mail and News: Forward Message
  216.     "Previous";                // 22 Mail and News: Previous Unread Message
  217.     "Next";                    // 23 Mail and News: Next Unread Message
  218.     "New";                    // 24 (not used)
  219.     "Read";                    // 25 (not used)
  220.     "Send Now";                // 26 Compose: Send Now
  221.     "Attach";                // 27 Compose: Attach
  222.     "Address";                // 28 Compose: Bring up Address Book
  223.     "Send Later";            // 29 Compose: Send Later
  224.     "Quote";                // 30 Compose: Quote Original Message
  225.     "To: News";                // 31 News: Post to News
  226.     "To: Mail";                // 32 News: Send Mail
  227.     "Re: Mail";                // 33 News: Reply via Mail
  228.     "Re: News";                // 34 News: Reply via News
  229.     "Re: Both";                // 35 News: Reply via Mail and News
  230.     "Thread";                // 36 News: Mark Thread Read
  231.     "Group";                // 37 News: Mark Group Read
  232.     "Mozilla";                // 38 Main: Co-brand button
  233.     "New";                    // 39 Editor; File/Edit: New Document
  234.     "Open";                    // 40 Editor; File/Edit: Open
  235.     "Save";                    // 41 Editor; File/Edit: Save
  236.     "Browse";                // 42 Editor; File/Edit: Browse Document
  237.     "Cut";                    // 43 Editor; File/Edit: Cut
  238.     "Copy";                    // 44 Editor; File/Edit: Copy
  239.     "Paste";                // 45 Editor; File/Edit: Paste
  240.     "Print";                // 46 Editor; File/Edit: Print
  241.     "Find";                    // 47 Editor; File/Edit: Find
  242.     "Edit";                    // 48 Edit
  243.     "Publish";                // 49 Editor; File/Edit: Publish
  244.     "";                        // 50 Editor; Decrease font size
  245.     "";                        // 51 Editor; Increase font size
  246.     "";                        // 52 Editor; Bold
  247.     "";                        // 53 Editor; Italic
  248.     "";                        // 54 Editor; Fixed Width
  249.     "";                        // 55 Editor; Font Color
  250.     "";                        // 56 Editor; Make Link
  251.     "";                        // 57 Editor; Clear All Styles
  252.     "";                        // 58 Editor; Insert Target (Named Anchor)
  253.     "";                        // 59 Editor; Insert Image
  254.     "";                        // 60 Editor; Insert Horiz. Line
  255.     "";                        // 61 Editor; Table
  256.     "";                        // 62 Editor; Object Properties
  257.     "";                        // 63 Editor; Bullet List
  258.     "";                        // 64 Editor; Numbered List
  259.     "";                        // 65 Editor; Decrease Indent
  260.     "";                        // 66 Editor; Increase Indent
  261.     "";                        // 67 Editor; Align Left
  262.     "";                        // 68 Editor; Center
  263.     "";                        // 69 Editor; Align Right
  264. }};
  265.  
  266. #if 0 /* these have moved elsewhere */
  267. resource 'STR#' ( BUTTON_TOOLTIPS_RESID, "", purgeable ) {{
  268.     "Back";                    // 1 Main
  269.     "Forward";                // 2 Main
  270.     "Go To Home Page";        // 3 Main
  271.     "Reload Page";            // 4 Main
  272.     "Load Images";            // 5 Main
  273.     "Open Location";        // 6 Main
  274.     "Print";                // 7 Main
  275.     "Find Text On Page";    // 8 Main
  276.     "Stop Loading";            // 9 Main
  277.     "";                        // 10 What's New ?
  278.     "";                        // 11 Directory button
  279.     "";                        // 12 Handbook
  280.     "";                        // 13 Net Search
  281.     "";                        // 14 Net Directory
  282.     "";                        // 15 Software
  283.     "Get New Mail";            // 16 Mail: Get New Mail
  284.     "Compose New Mail Message";        // 17 Mail: Mail New
  285.     "Delete Selected Messages";        // 18 Mail: Delete Message
  286.     "Reply To Sender";                // 19 Mail: Reply to Sender
  287.     "Reply To All";                    // 20 Mail: Reply to All
  288.     "Forward Message";                // 21 Mail and News: Forward Message
  289.     "Previous Unread Message";        // 22 Mail and News: Previous Unread Message
  290.     "Next Unread Message";            // 23 Mail and News: Next Unread Message
  291.     "";                                // 24 (not used)
  292.     "";                                // 25 (not used)
  293.     "Send Mail Now";            // 26 Compose: Send Now
  294.     "Attach";                    // 27 Compose: Attach
  295.     "Open Address Book";        // 28 Compose: Bring up Address Book
  296.     "Place Message In Outbox";    // 29 Compose: Send Later
  297.     "Quote Original Message";    // 30 Compose: Quote Original Message
  298.     "Post News Message";        // 31 News: Post to News
  299.     "Compose New Mail Message";    // 32 News: Send Mail
  300.     "Reply via Mail";            // 33 News: Reply via Mail
  301.     "Reply via News";            // 34 News: Reply via News
  302.     "Reply via Mail and News";    // 35 News: Reply via Mail and News
  303.     "Mark Thread Read";            // 36 News: Mark Thread Read
  304.     "Mark Group Read";            // 37 News: Mark Group Read
  305.     "";                            // 38 Main: Co-brand button
  306.     "New Document";                // 39 Editor; File/Edit: New Document
  307.     "Open File To Edit";        // 40 Editor; File/Edit: Open
  308.     "Save";                        // 41 Editor; File/Edit: Save
  309.     "View in Browser";            // 42 Editor; File/Edit: Browse Document
  310.     "Cut";                        // 43 Editor; File/Edit: Cut
  311.     "Copy";                        // 44 Editor; File/Edit: Copy
  312.     "Paste";                    // 45 Editor; File/Edit: Paste
  313.     "Print";                    // 46 Editor; File/Edit: Print
  314.     "Find";                        // 47 Editor; File/Edit: Find
  315.     "Edit";                        // 48 Edit
  316.     "Publish";                    // 49 Editor; File/Edit: Publish
  317.     "Decrease font size";        // 50 Editor; Decrease font size
  318.     "Increase font size";        // 51 Editor; Increase font size
  319.     "Bold";                        // 52 Editor; Bold
  320.     "Italic";                    // 53 Editor; Italic
  321.     "Fixed Width";                // 54 Editor; Fixed Width
  322.     "Font Color";                // 55 Editor; Font Color
  323.     "Make Link";                // 56 Editor; Make Link
  324.     "Clear All Styles";            // 57 Editor; Clear All Styles
  325.     "Insert Target (Named Anchor)";        // 58 Editor; Insert Target (Named Anchor)
  326.     "Insert Image";                // 59 Editor; Insert Image
  327.     "Insert Horiz. Line";        // 60 Editor; Insert Horiz. Line
  328.     "Table";                    // 61 Editor; Table
  329.     "Object Properties";        // 62 Editor; Object Properties
  330.     "Bullet List";                // 63 Editor; Bullet List
  331.     "Numbered List";            // 64 Editor; Numbered List
  332.     "Decrease Indent";            // 65 Editor; Decrease Indent
  333.     "Increase Indent";            // 66 Editor; Increase Indent
  334.     "Align Left";                // 67 Editor; Align Left
  335.     "Center";                    // 68 Editor; Center
  336.     "Align Right";                // 69 Editor; Align Right
  337. }};
  338. #endif 0
  339.  
  340. /******************************************************************
  341.  * PREFERENCES
  342.  ******************************************************************/
  343.  
  344. /* -- 4.0 xp prefs --
  345.  * Default string/int/bool values have been removed from here
  346.  * and moved to xp initializers in libpref/src/init/all.js
  347.  * To add or edit default values, edit all.js and make sure
  348.  * your prefs have corresponding xp keys in uprefd.cp.
  349.  */
  350.  
  351.  
  352.