xref: /aoo41x/main/uui/source/passworddlg.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#define __RSC
29
30#ifndef UUI_IDS_HRC
31#include <ids.hrc>
32#endif
33#ifndef UUI_PASSWORDDLG_HRC
34#include <passworddlg.hrc>
35#endif
36
37ModalDialog DLG_UUI_PASSWORD
38{
39	HelpId = HID_DLG_PASSWORD_UUI;
40	Border = TRUE ;
41	Moveable = TRUE ;
42	OutputSize = TRUE ;
43	SVLook = TRUE ;
44    Size = MAP_APPFONT( 165, 95 );
45
46    FixedText FT_PASSWORD
47	{
48        Pos = MAP_APPFONT( 3, 6 );
49        Size = MAP_APPFONT( 159, 8 );
50        WordBreak = TRUE;
51	};
52
53	Edit ED_PASSWORD
54	{
55	    HelpID = "uui:Edit:DLG_UUI_PASSWORD:ED_PASSWORD";
56        Pos = MAP_APPFONT( 3, 17 );
57        Size = MAP_APPFONT( 159, 12 );
58		Border = TRUE ;
59		PassWord = TRUE ;
60	};
61
62    FixedText FT_CONFIRM_PASSWORD
63    {
64        Pos = MAP_APPFONT( 3, 34 );
65        Size = MAP_APPFONT( 159, 8 );
66        WordBreak = TRUE;
67    };
68
69    Edit ED_CONFIRM_PASSWORD
70    {
71        HelpID = "uui:Edit:DLG_UUI_PASSWORD:ED_CONFIRM_PASSWORD";
72        Pos = MAP_APPFONT( 3, 45 );
73        Size = MAP_APPFONT( 159, 12 );
74        Border = TRUE ;
75        PassWord = TRUE ;
76    };
77
78    FixedLine FL_FIXED_LINE_1
79    {
80        Pos = MAP_APPFONT( 0, 63 );
81        Size = MAP_APPFONT( 165, 8 );
82	};
83
84    HelpButton BTN_PASSWORD_HELP
85    {
86        Pos = MAP_APPFONT( 3, 76 );
87        Size = MAP_APPFONT( 50, 14 );
88    };
89
90	OKButton BTN_PASSWORD_OK
91	{
92        Pos = MAP_APPFONT( 59, 76 );
93        Size = MAP_APPFONT( 50, 14 );
94        DefButton = TRUE ;
95	};
96
97	CancelButton BTN_PASSWORD_CANCEL
98	{
99        Pos = MAP_APPFONT( 112, 76 );
100        Size = MAP_APPFONT( 50, 14 );
101	};
102
103    String STR_ENTER_PASSWORD_TO_OPEN
104    {
105        Text [ en-US ] = "Enter password to open file: \n";
106    };
107
108    String STR_ENTER_PASSWORD_TO_MODIFY
109    {
110        Text [ en-US ] = "Enter password to modify file: \n";
111    };
112
113    String STR_ENTER_SIMPLE_PASSWORD
114    {
115        Text [ en-US ] = "Enter password: ";
116    };
117
118    String STR_CONFIRM_SIMPLE_PASSWORD
119    {
120        Text [ en-US ] = "Confirm password: ";
121    };
122
123    String STR_TITLE_CREATE_PASSWORD
124    {
125        Text [ en-US ] = "Set Password";
126    };
127
128    String STR_TITLE_ENTER_PASSWORD
129    {
130        Text [ en-US ] = "Enter Password";
131    };
132
133    String STR_PASSWORD_MISMATCH
134    {
135        Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ;
136    };
137};
138
139