2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <masterpasscrtdlg.hrc>
24 ModalDialog DLG_UUI_MASTERPASSWORD_CRT
26 HelpId = HID_DLG_MASTERPASSWORD_CRT ;
31 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
32 Text [ en-US ] = "Set Master Password";
35 Pos = MAP_APPFONT ( COL_0 , ROW_0 ) ;
36 Size = MAP_APPFONT ( CTRL_WIDTH , 7*RSC_CD_FIXEDTEXT_HEIGHT ) ;
38 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.";
42 Pos = MAP_APPFONT ( 0 , ROW_1 ) ;
43 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
45 FixedText FT_MASTERPASSWORD_CRT
47 Pos = MAP_APPFONT ( COL_0 , ROW_2 ) ;
48 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
49 Text [ en-US ] = "~Enter password";
51 Edit ED_MASTERPASSWORD_CRT
53 HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_CRT";
54 Pos = MAP_APPFONT ( COL_0 , ROW_3 ) ;
55 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
59 FixedText FT_MASTERPASSWORD_REPEAT
61 Pos = MAP_APPFONT ( COL_0 , ROW_4 ) ;
62 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
63 Text [ en-US ] = "~Reenter password";
65 Edit ED_MASTERPASSWORD_REPEAT
67 HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_REPEAT";
68 Pos = MAP_APPFONT ( COL_0 , ROW_5 ) ;
69 Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ;
73 FixedText FT_CAUTIONTEXT
75 Pos = MAP_APPFONT ( COL_0 , ROW_6 ) ;
76 Size = MAP_APPFONT ( CTRL_WIDTH , 8*RSC_CD_FIXEDTEXT_HEIGHT ) ;
78 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.";
80 FixedLine FL_CAUTIONTEXT
82 Pos = MAP_APPFONT ( 0 , ROW_7 ) ;
83 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
85 HelpButton BTN_MASTERPASSCRT_HELP
87 Pos = MAP_APPFONT ( COL_0 , ROW_8 ) ;
88 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
90 OKButton BTN_MASTERPASSCRT_OK
92 Pos = MAP_APPFONT ( COL_1 , ROW_8 ) ;
93 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
96 CancelButton BTN_MASTERPASSCRT_CANCEL
98 Pos = MAP_APPFONT ( COL_2 , ROW_8 ) ;
99 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;