2
* @(#)Constants.java 1.22 06/10/30
4
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
5
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7
* This code is free software; you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License version 2 only, as
9
* published by the Free Software Foundation. Sun designates this
10
* particular file as subject to the "Classpath" exception as provided
11
* by Sun in the LICENSE file that accompanied this code.
13
* This code is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
* version 2 for more details (a copy is included in the LICENSE file that
17
* accompanied this code).
19
* You should have received a copy of the GNU General Public License version
20
* 2 along with this work; if not, write to the Free Software Foundation,
21
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
24
* CA 95054 USA or visit www.sun.com if you need additional information or
28
* @(#) Constants.java 1.22 - last change made 10/30/06
31
package javax.help.resources;
33
import java.util.ListResourceBundle;
36
* Constants used for localizing JavaHelp.
38
* These are in the form of key, value.
39
* Translators take care to only translate the values.
42
public class Constants extends ListResourceBundle {
44
* Overrides ListResourceBundle.
46
public Object[][] getContents() {
47
return new Object[][] {
49
// Constant strings and patterns
50
{ "helpset.wrongPublicID",
51
"Unknown PublicID {0}"},
52
{ "helpset.wrongTitle",
53
"Attempting to set title to {0} but already has value {1}."},
54
{ "helpset.wrongHomeID",
55
"Attempting to set homeID to {0} but already has value {1}."},
56
{ "helpset.subHelpSetTrouble",
57
"Trouble creating subhelpset: {0}."},
58
{ "helpset.malformedURL",
59
"Malformed URL: {0}."},
60
{ "helpset.incorrectURL",
61
"Incorrect URL: {0}."},
62
{ "helpset.wrongText",
63
"{0} cannot contain text {1}."},
64
{ "helpset.wrongTopLevel",
65
"{0} cannot be a top level tag."},
66
{ "helpset.wrongParent",
67
"The parent tag for {0} cannot be {1}."},
68
{ "helpset.unbalanced",
69
"Unbalanced tag {0}."},
70
{ "helpset.wrongLocale",
71
"Warning: xml:lang attribute {0} conflicts with default {1} and with default {2}"},
72
{ "helpset.unknownVersion",
73
"Unknown Version {0}."},
76
{ "index.invalidIndexFormat",
77
"Warning: Invalid Index format"},
78
{ "index.unknownVersion",
79
"Unknown Version {0}."},
82
{ "toc.wrongPublicID",
83
"Unknown PublicID {0}"},
84
{ "toc.invalidTOCFormat",
85
"Warning: Invalid TOC format"},
86
{ "toc.unknownVersion",
87
"Unknown Version {0}."},
89
// FavoritesView messages
90
{ "favorites.invalidFavoritesFormat",
91
"Warning: Invalid Favorites format"},
92
{ "favorites.unknownVersion",
93
"Unknown Version {0}."},
96
{ "map.wrongPublicID",
97
"Unknown PublicID {0}"},
98
{ "map.invalidMapFormat",
99
"Warning: Invalid Map format"},
100
{ "map.unknownVersion",
101
"Unknown Version {0}."},
105
{ "index.findLabel", "Find: "},
107
{ "search.findLabel", "Find: "},
108
{ "search.hitDesc", "Number of occurances in document"},
109
{ "search.qualityDesc", "Lowest penality value in document" },
110
{ "search.high", "High"},
111
{ "search.midhigh", "Medium high"},
112
{ "search.mid", "Medium"},
113
{ "search.midlow", "Medium low"},
114
{ "search.low", "Low"},
116
{ "favorites.add", "Add"},
117
{ "favorites.remove", "Remove"},
118
{ "favorites.folder", "New Folder"},
119
{ "favorites.name", "Name"},
120
{ "favorites.cut", "Cut"},
121
{ "favorites.paste", "Paste"},
122
{ "favorites.copy" , "Copy"},
124
{ "history.homePage", "Home page"},
125
{ "history.unknownTitle", "<unknown page title>"},
127
// ToolTips for Actions
128
{ "tooltip.BackAction", "Previous Page"},
129
{ "tooltip.ForwardAction", "Next Page"},
130
{ "tooltip.PrintAction", "Print"},
131
{ "tooltip.PrintSetupAction", "Page Setup"},
132
{ "tooltip.ReloadAction", "Reload"},
133
{ "tooltip.FavoritesAction", "Add to Favorites"},
134
{ "tooltip.HomeAction", "Go to home page"},
136
// Accessibility names
137
{ "access.BackAction", "Previous Button"},
138
{ "access.ForwardAction", "Next Button"},
139
{ "access.HistoryAction", "History Button"},
140
{ "access.PrintAction", "Print Button"},
141
{ "access.PrintSetupAction", "Page Setup Button"},
142
{ "access.ReloadAction", "Reload Button"},
143
{ "access.HomeAction", "Home Button"},
144
{ "access.FavoritesAction", "Add to Favorites Button"},
145
{ "access.contentViewer", "Content Viewer"}