xref: /trunk/main/svx/source/dialog/passwd.src (revision e6cdf3af)
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// include ---------------------------------------------------------------
25#include <svx/dialogs.hrc>
26#include "helpid.hrc"
27#include "passwd.hrc"
28// pragma ----------------------------------------------------------------
29
30// RID_SVXDLG_PASSWORD ---------------------------------------------------
31ModalDialog RID_SVXDLG_PASSWORD
32{
33	HelpId = HID_PASSWORD ;
34	OutputSize = TRUE ;
35	SVLook = TRUE ;
36	Size = MAP_APPFONT ( 210, 77 ) ;
37	Moveable = TRUE ;
38	FixedText FT_OLD_PASSWD
39	{
40		Pos = MAP_APPFONT ( 12, 16 ) ;
41		Size = MAP_APPFONT ( 57, 8 ) ;
42		Text [ en-US ] = "~Password" ;
43	};
44	Edit ED_OLD_PASSWD
45	{
46		HelpID = "svx:Edit:RID_SVXDLG_PASSWORD:ED_OLD_PASSWD" ;
47		Border = TRUE ;
48		Pos = MAP_APPFONT ( 71, 14 ) ;
49		Size = MAP_APPFONT ( 71, 12 ) ;
50		PassWord = TRUE ;
51	};
52	FixedLine FL_OLD_PASSWD
53	{
54		Pos = MAP_APPFONT ( 6, 3 ) ;
55		Size = MAP_APPFONT ( 142, 8 ) ;
56		Text [ en-US ] = "Old password" ;
57	};
58	FixedText FT_NEW_PASSWD
59	{
60		Pos = MAP_APPFONT ( 12, 45 ) ;
61		Size = MAP_APPFONT ( 57, 8 ) ;
62		Text [ en-US ] = "Pa~ssword" ;
63	};
64	Edit ED_NEW_PASSWD
65	{
66		HelpID = "svx:Edit:RID_SVXDLG_PASSWORD:ED_NEW_PASSWD" ;
67		Border = TRUE ;
68		Pos = MAP_APPFONT ( 71, 43 ) ;
69		Size = MAP_APPFONT ( 71, 12 ) ;
70		PassWord = TRUE ;
71	};
72	FixedText FT_REPEAT_PASSWD
73	{
74		Pos = MAP_APPFONT ( 12, 61 ) ;
75		Size = MAP_APPFONT ( 57, 8 ) ;
76		Text [ en-US ] = "Confi~rm" ;
77	};
78	Edit ED_REPEAT_PASSWD
79	{
80		HelpID = "svx:Edit:RID_SVXDLG_PASSWORD:ED_REPEAT_PASSWD" ;
81		Border = TRUE ;
82		Pos = MAP_APPFONT ( 71, 59 ) ;
83		Size = MAP_APPFONT ( 71, 12 ) ;
84		PassWord = TRUE ;
85	};
86	FixedLine FL_NEW_PASSWD
87	{
88		Pos = MAP_APPFONT ( 6, 32 ) ;
89		Size = MAP_APPFONT ( 142, 8 ) ;
90		Text [ en-US ] = "New password" ;
91	};
92	OKButton BTN_PASSWD_OK
93	{
94		Pos = MAP_APPFONT ( 154, 6 ) ;
95		Size = MAP_APPFONT ( 50, 14 ) ;
96		DefButton = TRUE ;
97		Disable = TRUE ;
98	};
99	CancelButton BTN_PASSWD_ESC
100	{
101		Pos = MAP_APPFONT ( 154, 23 ) ;
102		Size = MAP_APPFONT ( 50, 14 ) ;
103	};
104	HelpButton BTN_PASSWD_HELP
105	{
106		Pos = MAP_APPFONT ( 154, 43 ) ;
107		Size = MAP_APPFONT ( 50, 14 ) ;
108	};
109	String STR_ERR_OLD_PASSWD
110	{
111		Text [ en-US ] = "Invalid password" ;
112	};
113	String STR_ERR_REPEAT_PASSWD
114	{
115		Text [ en-US ] = "Passwords do not match" ;
116	};
117	Text [ en-US ] = "Change Password" ;
118};
119
120// ********************************************************************** EOF
121