xref: /trunk/main/uui/source/masterpasscrtdlg.src (revision c6ad6917)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#define __RSC
25
26#ifndef UUI_IDS_HRC
27#include <ids.hrc>
28#endif
29#ifndef UUI_MASTERPASSCRTDLG_HRC
30#include <masterpasscrtdlg.hrc>
31#endif
32
33ModalDialog DLG_UUI_MASTERPASSWORD_CRT
34{
35	HelpId = HID_DLG_MASTERPASSWORD_CRT ;
36	Border = TRUE ;
37	Moveable = TRUE ;
38	OutputSize = TRUE ;
39	SVLook = TRUE ;
40	Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
41	Text [ en-US ] = "Set Master Password" ;
42	FixedText FT_INFOTEXT
43	{
44		Pos = MAP_APPFONT ( COL_0, ROW_0 ) ;
45		Size = MAP_APPFONT ( CTRL_WIDTH, 7*RSC_CD_FIXEDTEXT_HEIGHT ) ;
46		WordBreak = TRUE ;
47		Text [ en-US ] = "Passwords for web connections are protected by a master password. You will be asked to enter it once per session, if %PRODUCTNAME retrieves a password from the protected password list." ;
48	};
49	FixedLine FL_INFOTEXT
50	{
51		Pos = MAP_APPFONT ( 0, ROW_1 ) ;
52		Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
53	};
54	FixedText FT_MASTERPASSWORD_CRT
55	{
56		Pos = MAP_APPFONT ( COL_0, ROW_2 ) ;
57		Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
58		Text [ en-US ] = "~Enter password" ;
59	};
60	Edit ED_MASTERPASSWORD_CRT
61	{
62		HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_CRT" ;
63		Pos = MAP_APPFONT ( COL_0, ROW_3 ) ;
64		Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_TEXTBOX_HEIGHT ) ;
65		Border = TRUE ;
66		PassWord = TRUE ;
67	};
68	FixedText FT_MASTERPASSWORD_REPEAT
69	{
70		Pos = MAP_APPFONT ( COL_0, ROW_4 ) ;
71		Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
72		Text [ en-US ] = "~Reenter password" ;
73	};
74	Edit ED_MASTERPASSWORD_REPEAT
75	{
76		HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_REPEAT" ;
77		Pos = MAP_APPFONT ( COL_0, ROW_5 ) ;
78		Size = MAP_APPFONT ( CTRL_WIDTH, RSC_CD_TEXTBOX_HEIGHT ) ;
79		Border = TRUE ;
80		PassWord = TRUE ;
81	};
82	FixedText FT_CAUTIONTEXT
83	{
84		Pos = MAP_APPFONT ( COL_0, ROW_6 ) ;
85		Size = MAP_APPFONT ( CTRL_WIDTH, 8*RSC_CD_FIXEDTEXT_HEIGHT ) ;
86		WordBreak = TRUE ;
87		Text [ en-US ] = "Caution: If you forget the master password, you will be unable to access any of the information protected by it. Passwords are case-sensitive." ;
88	};
89	FixedLine FL_CAUTIONTEXT
90	{
91		Pos = MAP_APPFONT ( 0, ROW_7 ) ;
92		Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
93	};
94	HelpButton BTN_MASTERPASSCRT_HELP
95	{
96		Pos = MAP_APPFONT ( COL_0, ROW_8 ) ;
97		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
98	};
99	OKButton BTN_MASTERPASSCRT_OK
100	{
101		Pos = MAP_APPFONT ( COL_1, ROW_8 ) ;
102		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
103		DefButton = TRUE ;
104	};
105	CancelButton BTN_MASTERPASSCRT_CANCEL
106	{
107		Pos = MAP_APPFONT ( COL_2, ROW_8 ) ;
108		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
109	};
110};
111
112// ********************************************************************** EOF
113