1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: testtool.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "testtool.hrc"
31 #include <svtools/solar.hrc>
34 #define Control_Control 5
35 #define Control_Border 7
36 #define Button_Button Control_Control
37 #define ButtonWidth 40
40 ToolBox DisplayHidToolBox {
44 Type = TOOLBOXITEM_BUTTON;
45 _ToolBoxItemFlags = TIB_AUTOCHECK ;
48 class FlagToolBoxState
50 TIB_CHECKABLE, TIB_AUTOCHECK, TIB_RADIOCHECK, TIB_LEFT,
51 TIB_AUTOSIZE, TIB_DROPDOWN,
57 Text[ en-US ] = "Display IDs";
60 Type = TOOLBOXITEM_SEPARATOR;
63 _ToolBoxItemFlags = TIB_AUTOSIZE;
64 Identifier = TT_OUTPUT;
65 Text[ en-US ] = "This is the input window";
68 Type = TOOLBOXITEM_SEPARATOR;
71 Identifier = TT_SEND_DATA;
73 File = "ttremote.bmp";
75 Text[ en-US ] = "Transfer to TestTool";
78 Type = TOOLBOXITEM_SEPARATOR;
81 Identifier = TT_ALLWIN;
85 Text[ en-US ] = "Show all windows";
88 Identifier = TT_KURZNAME;
92 Text[ en-US ] = "Show short names (if available)";
95 Identifier = TT_LANGNAME;
99 Text[ en-US ] = "Always show long-name";
102 Text[ en-US ] = "DisplayHID";
106 File = "ttshow2.bmp";
109 WorkWindow TT_INLINE_TRANSLATION {
111 Size = MAP_APPFONT( 2*Control_Border + 4*ButtonWidth + 3*Button_Button, 120 );
116 GroupBox TT_GB_TRANSLATION {
117 Pos = MAP_APPFONT( 2, 3 );
118 Size = MAP_APPFONT( 173, 44 );
119 Text[ en-US ] = "Translation";
124 Pos = MAP_APPFONT( 7, 16 );
125 Size = MAP_APPFONT( 162, 12 );
127 Text[ en-US ] = "~Edit";
129 FixedText TT_FT_OLD {
130 Pos = MAP_APPFONT( 7, 33 );
131 Size = MAP_APPFONT( 162, 10 );
132 Text[ en-US ] = "Original Text";
134 GroupBox TT_GB_COMMENT {
135 Pos = MAP_APPFONT( 2, 52 );
136 Size = MAP_APPFONT( 173, 32 );
137 Text[ en-US ] = "Comment";
142 Pos = MAP_APPFONT( 7, 64 );
143 Size = MAP_APPFONT( 162, 12 );
145 Text[ en-US ] = "~Comment";
147 PushButton TT_PB_SELECT {
148 Pos = MAP_APPFONT( Control_Border, 89 );
149 Size = MAP_APPFONT( ButtonWidth, 12 );
151 Text[ en-US ] = "~Select";
153 PushButton TT_PB_RESTORE {
155 Pos = MAP_APPFONT( Control_Border + ButtonWidth + Button_Button, 89 );
156 Size = MAP_APPFONT( ButtonWidth, 12 );
158 Text[ en-US ] = "~Restore";
160 PushButton TT_PB_ACCEPT {
162 Pos = MAP_APPFONT( Control_Border + 2*(ButtonWidth + Button_Button), 89 );
163 Size = MAP_APPFONT( ButtonWidth, 12 );
165 Text[ en-US ] = "~Accept";
167 PushButton TT_PB_NEXT {
168 Pos = MAP_APPFONT( Control_Border + 3*(ButtonWidth + Button_Button), 89 );
169 Size = MAP_APPFONT( ButtonWidth, 12 );
171 Text[ en-US ] = "~Next";
173 Text[ en-US ] = "Inplace Translation";
176 MessBox TT_DISCARD_CHANGED_DATA {
178 DefButton = WB_DEF_YES;
179 Message[ en-US ] = "The Translation will be lost. Proceed anyway?";
182 ErrorBox TT_NO_CONTROL {
184 DefButton = WB_DEF_OK;
185 Message[ en-US ] = "The Control is no longer valid. The Translation cannot be saved.";
190 Text[ en-US ] = "GPF occurred";
193 String TT_ALTERNATE_CAPTION
195 Text[ en-US ] = "HelpID does not match UniqueID: ";