1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
---|
2 | * |
---|
3 | * The contents of this file are subject to the Netscape Public |
---|
4 | * License Version 1.1 (the "License"); you may not use this file |
---|
5 | * except in compliance with the License. You may obtain a copy of |
---|
6 | * the License at http://www.mozilla.org/NPL/ |
---|
7 | * |
---|
8 | * Software distributed under the License is distributed on an "AS |
---|
9 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
---|
10 | * implied. See the License for the specific language governing |
---|
11 | * rights and limitations under the License. |
---|
12 | * |
---|
13 | * The Original Code is Mozilla Communicator client code. |
---|
14 | * |
---|
15 | * The Initial Developer of the Original Code is Netscape Communications |
---|
16 | * Corporation. Portions created by Netscape are |
---|
17 | * Copyright (C) 1998 Netscape Communications Corporation. All |
---|
18 | * Rights Reserved. |
---|
19 | * |
---|
20 | * Contributor(s): |
---|
21 | */ |
---|
22 | |
---|
23 | // Macintosh version resources |
---|
24 | |
---|
25 | #include "Types.r" |
---|
26 | |
---|
27 | |
---|
28 | // Version Numbers // |
---|
29 | |
---|
30 | #define VERSION_MAJOR 1 |
---|
31 | #define VERSION_MINOR 0x40 // revision & fix in BCD |
---|
32 | #define VERSION_KIND alpha // alpha, beta, or final |
---|
33 | #define VERSION_MICRO 0 // internal stage: alpha or beta number |
---|
34 | |
---|
35 | |
---|
36 | // Version Strings (Finder's Get Info dialog box) // |
---|
37 | |
---|
38 | #define VERSION_STRING "1.4a" |
---|
39 | //#define VERSION_LANG "en" // e.g. en, ja, de, fr |
---|
40 | //#define VERSION_COUNTRY "_US" // e.g., _JP, _DE, _FR, _US |
---|
41 | //#define VERSION_LOCALE "[" VERSION_LANG "_" VERSION_COUNTRY "]" |
---|
42 | |
---|
43 | #define COPYRIGHT_STRING "© 1998-2003 The Mozilla Organization" |
---|
44 | #define GETINFO_VERSION VERSION_STRING ", " COPYRIGHT_STRING |
---|
45 | #define PACKAGE_NAME "Mozilla " VERSION_STRING |
---|
46 | |
---|
47 | |
---|
48 | // Resources definition |
---|
49 | |
---|
50 | resource 'vers' (1, "Program") { |
---|
51 | VERSION_MAJOR, |
---|
52 | VERSION_MINOR, |
---|
53 | VERSION_KIND, |
---|
54 | VERSION_MICRO, |
---|
55 | verUS, |
---|
56 | VERSION_STRING, |
---|
57 | GETINFO_VERSION |
---|
58 | }; |
---|
59 | |
---|
60 | resource 'vers' (2, "Suite") { |
---|
61 | VERSION_MAJOR, |
---|
62 | VERSION_MINOR, |
---|
63 | VERSION_KIND, |
---|
64 | VERSION_MICRO, |
---|
65 | verUS, |
---|
66 | VERSION_STRING, |
---|
67 | PACKAGE_NAME |
---|
68 | }; |
---|
69 | |
---|
70 | resource 'STR#' (1000, "CanRunStrings") { |
---|
71 | { |
---|
72 | "You cannot run Ò" PACKAGE_NAME "Ó while another copy of Mozilla or Netscape is running. " |
---|
73 | "Ò" PACKAGE_NAME "Ó will now quit." |
---|
74 | } |
---|
75 | }; |
---|
76 | |
---|
77 | resource 'STR#' (1001, "OSVersCheckStrings") { |
---|
78 | { |
---|
79 | "Mac OS X 10.1 or later recommended", |
---|
80 | "This application will run with versions of Mac OS X prior to 10.1 but that configuration is not tested " |
---|
81 | "or recommended. Proceed at your own risk.", |
---|
82 | "Continue", |
---|
83 | "Quit", |
---|
84 | "CarbonLib 1.4 or later required", |
---|
85 | "This application requires at least version 1.4 of the CarbonLib library be installed. " |
---|
86 | "It will now quit.", |
---|
87 | } |
---|
88 | }; |
---|