xref: /aoo41x/main/uui/source/passworddlg.src (revision 2611ca73)
1*2611ca73SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*2611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*2611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*2611ca73SAndrew Rist * distributed with this work for additional information
6*2611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*2611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*2611ca73SAndrew Rist * "License"); you may not use this file except in compliance
9*2611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10*2611ca73SAndrew Rist *
11*2611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*2611ca73SAndrew Rist *
13*2611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*2611ca73SAndrew Rist * software distributed under the License is distributed on an
15*2611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
17*2611ca73SAndrew Rist * specific language governing permissions and limitations
18*2611ca73SAndrew Rist * under the License.
19*2611ca73SAndrew Rist *
20*2611ca73SAndrew Rist *************************************************************/
21*2611ca73SAndrew Rist
22*2611ca73SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef UUI_IDS_HRC
27cdf0e10cSrcweir#include <ids.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef UUI_PASSWORDDLG_HRC
30cdf0e10cSrcweir#include <passworddlg.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweirModalDialog DLG_UUI_PASSWORD
34cdf0e10cSrcweir{
35cdf0e10cSrcweir	HelpId = HID_DLG_PASSWORD_UUI;
36cdf0e10cSrcweir	Border = TRUE ;
37cdf0e10cSrcweir	Moveable = TRUE ;
38cdf0e10cSrcweir	OutputSize = TRUE ;
39cdf0e10cSrcweir	SVLook = TRUE ;
40cdf0e10cSrcweir    Size = MAP_APPFONT( 165, 95 );
41cdf0e10cSrcweir
42cdf0e10cSrcweir    FixedText FT_PASSWORD
43cdf0e10cSrcweir	{
44cdf0e10cSrcweir        Pos = MAP_APPFONT( 3, 6 );
45cdf0e10cSrcweir        Size = MAP_APPFONT( 159, 8 );
46cdf0e10cSrcweir        WordBreak = TRUE;
47cdf0e10cSrcweir	};
48cdf0e10cSrcweir
49cdf0e10cSrcweir	Edit ED_PASSWORD
50cdf0e10cSrcweir	{
51cdf0e10cSrcweir	    HelpID = "uui:Edit:DLG_UUI_PASSWORD:ED_PASSWORD";
52cdf0e10cSrcweir        Pos = MAP_APPFONT( 3, 17 );
53cdf0e10cSrcweir        Size = MAP_APPFONT( 159, 12 );
54cdf0e10cSrcweir		Border = TRUE ;
55cdf0e10cSrcweir		PassWord = TRUE ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir
58cdf0e10cSrcweir    FixedText FT_CONFIRM_PASSWORD
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        Pos = MAP_APPFONT( 3, 34 );
61cdf0e10cSrcweir        Size = MAP_APPFONT( 159, 8 );
62cdf0e10cSrcweir        WordBreak = TRUE;
63cdf0e10cSrcweir    };
64cdf0e10cSrcweir
65cdf0e10cSrcweir    Edit ED_CONFIRM_PASSWORD
66cdf0e10cSrcweir    {
67cdf0e10cSrcweir        HelpID = "uui:Edit:DLG_UUI_PASSWORD:ED_CONFIRM_PASSWORD";
68cdf0e10cSrcweir        Pos = MAP_APPFONT( 3, 45 );
69cdf0e10cSrcweir        Size = MAP_APPFONT( 159, 12 );
70cdf0e10cSrcweir        Border = TRUE ;
71cdf0e10cSrcweir        PassWord = TRUE ;
72cdf0e10cSrcweir    };
73cdf0e10cSrcweir
74cdf0e10cSrcweir    FixedLine FL_FIXED_LINE_1
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        Pos = MAP_APPFONT( 0, 63 );
77cdf0e10cSrcweir        Size = MAP_APPFONT( 165, 8 );
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir
80cdf0e10cSrcweir    HelpButton BTN_PASSWORD_HELP
81cdf0e10cSrcweir    {
82cdf0e10cSrcweir        Pos = MAP_APPFONT( 3, 76 );
83cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
84cdf0e10cSrcweir    };
85cdf0e10cSrcweir
86cdf0e10cSrcweir	OKButton BTN_PASSWORD_OK
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir        Pos = MAP_APPFONT( 59, 76 );
89cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
90cdf0e10cSrcweir        DefButton = TRUE ;
91cdf0e10cSrcweir	};
92cdf0e10cSrcweir
93cdf0e10cSrcweir	CancelButton BTN_PASSWORD_CANCEL
94cdf0e10cSrcweir	{
95cdf0e10cSrcweir        Pos = MAP_APPFONT( 112, 76 );
96cdf0e10cSrcweir        Size = MAP_APPFONT( 50, 14 );
97cdf0e10cSrcweir	};
98cdf0e10cSrcweir
99cdf0e10cSrcweir    String STR_ENTER_PASSWORD_TO_OPEN
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        Text [ en-US ] = "Enter password to open file: \n";
102cdf0e10cSrcweir    };
103cdf0e10cSrcweir
104cdf0e10cSrcweir    String STR_ENTER_PASSWORD_TO_MODIFY
105cdf0e10cSrcweir    {
106cdf0e10cSrcweir        Text [ en-US ] = "Enter password to modify file: \n";
107cdf0e10cSrcweir    };
108cdf0e10cSrcweir
109cdf0e10cSrcweir    String STR_ENTER_SIMPLE_PASSWORD
110cdf0e10cSrcweir    {
111cdf0e10cSrcweir        Text [ en-US ] = "Enter password: ";
112cdf0e10cSrcweir    };
113cdf0e10cSrcweir
114cdf0e10cSrcweir    String STR_CONFIRM_SIMPLE_PASSWORD
115cdf0e10cSrcweir    {
116cdf0e10cSrcweir        Text [ en-US ] = "Confirm password: ";
117cdf0e10cSrcweir    };
118cdf0e10cSrcweir
119cdf0e10cSrcweir    String STR_TITLE_CREATE_PASSWORD
120cdf0e10cSrcweir    {
121cdf0e10cSrcweir        Text [ en-US ] = "Set Password";
122cdf0e10cSrcweir    };
123cdf0e10cSrcweir
124cdf0e10cSrcweir    String STR_TITLE_ENTER_PASSWORD
125cdf0e10cSrcweir    {
126cdf0e10cSrcweir        Text [ en-US ] = "Enter Password";
127cdf0e10cSrcweir    };
128cdf0e10cSrcweir
129cdf0e10cSrcweir    String STR_PASSWORD_MISMATCH
130cdf0e10cSrcweir    {
131cdf0e10cSrcweir        Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ;
132cdf0e10cSrcweir    };
133cdf0e10cSrcweir};
134cdf0e10cSrcweir
135