update credits
[LibreOffice.git] / xmlsecurity / source / dialogs / certificateviewer.src
bloba5a6778376e34b529ca56290b1d6482ee29a9854
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #include "dialogs.hrc"
21 #include "helpids.hrc"
23 TabDialog RID_XMLSECDLG_CERTVIEWER
25     HelpID = HID_XMLSEC_DLG_CERTVIEWER;
26     Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
27     OutputSize = TRUE;
28     Closeable = TRUE;
29     Moveable = TRUE;
30     SVLook = TRUE;
32     Text [ en-US ] = "View Certificate";
33     TabControl 1
34     {
35         Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
36         Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
37         SVLook = TRUE ;
38         PageList =
39         {
40             PageItem
41             {
42                 Identifier = RID_XMLSECTP_GENERAL;
43                 Text [ en-US ] = "General";
44             };
45             PageItem
46             {
47                 Identifier = RID_XMLSECTP_DETAILS;
48                 Text [ en-US ] = "Details";
49             };
50             PageItem
51             {
52                 Identifier = RID_XMLSECTP_CERTPATH;
53                 Text [ en-US ] = "Certification Path";
54             };
55         };
56     };
57     OKButton BTN_OK
58     {
59         Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
60         Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
61         DefButton = TRUE;
62     };
63     HelpButton BTN_HELP
64     {
65         Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
66         Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
67     };
70 TabPage RID_XMLSECTP_GENERAL
72     HelpId = HID_XMLSEC_TP_GENERAL;
73     Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
74     OutputSize = TRUE;
75     Hide = TRUE;
76     SVLook = TRUE;
77     Window WIN_FRAME
78     {
79         SVLook = TRUE;
80         Border = TRUE;
81         Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
82         Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
83     };
84     FixedImage IMG_CERT
85     {
86         Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
87         Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
88         Fixed = Image
89         {
90             ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
91             MaskColor = STD_MASKCOLOR;
92         };
93     };
94     FixedText FI_CERTINFO
95     {
96         Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
97         Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
98         Text [ en-US ] = " Certificate Information";
99     };
100     FixedLine FL_SEP1
101     {
102         Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
103         Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
104     };
105     FixedText FI_HINTNOTTRUST
106     {
107         Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
108         Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
109         WordBreak = TRUE;
110         Text [ en-US ] = "This certificate is intended for the following purpose(s):";
111     };
112     FixedLine FL_SEP2
113     {
114         Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
115         Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
116     };
117     FixedText FI_ISSTOLABEL
118     {
119         Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
120         Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
121         Text [ en-US ] = "Issued to:";
122     };
123     FixedText FI_ISSTO
124     {
125         Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
126         Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
127     };
128     FixedText FI_ISSBYLABEL
129     {
130         Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
131         Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
132         Text [ en-US ] = "Issued by:";
133     };
134     FixedText FI_ISSBY
135     {
136         Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
137         Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
138     };
139     FixedText FI_VALIDDATE
140     {
141         Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
142         Size = MAP_APPFONT( CW_COL_5-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
143         Text [ en-US ] = "Valid from %SDATE% to %EDATE%";
144     };
145     FixedImage IMG_KEY
146     {
147         Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
148         Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
149         Fixed = Image
150         {
151             ImageBitmap = Bitmap { File = "key_12.png"; };
152             MaskColor = STD_MASKCOLOR;
153         };
154     };
155     FixedText FI_CORRPRIVKEY
156     {
157         Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
158         Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
159         Text [ en-US ] = "You have a private key that corresponds to this certificate.";
160     };
161     String STR_CERTIFICATE_NOT_VALIDATED
162     {
163         Text [ en-US ] = "The certificate could not be validated.";
164     };
165     Image IMG_STATE_NOT_VALIDATED
166     {
167         ImageBitmap = Bitmap { File = "notcertificate_40x56.png"; };
168            MaskColor = STD_MASKCOLOR;
169     };
172 TabPage RID_XMLSECTP_DETAILS
174     HelpId = HID_XMLSEC_TP_DETAILS;
175     Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
176     OutputSize = TRUE;
177     Hide = TRUE;
178     SVLook = TRUE;
179     Control LB_ELEMENTS
180     {
181         HelpId = HID_XMLSEC_CTRL_ELEMENTS;
182         Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
183         Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
184         SVLook = TRUE;
185         Border = TRUE;
186     };
187     String STR_HEADERBAR
188     {
189         Text [ en-US ] = "Field\tValue";
190     };
191     MultiLineEdit ML_ELEMENT
192     {
193         HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_DETAILS:ML_ELEMENT";
194         Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
195         Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
196         ReadOnly = TRUE;
197         Border = TRUE;
198         VSCROLL = TRUE;
199     };
200     String STR_VERSION
201     {
202         Text [ en-US ] = "Version";
203     };
204     String STR_SERIALNUM
205     {
206         Text [ en-US ] = "Serial Number";
207     };
208     String STR_SIGALGORITHM
209     {
210         Text [ en-US ] = "Signature Algorithm";
211     };
212     String STR_ISSUER
213     {
214         Text [ en-US ] = "Issuer";
215     };
216     String STR_ISSUER_ID
217     {
218         Text [ en-US ] = "Issuer Unique ID";
219     };
220     String STR_VALIDFROM
221     {
222         Text [ en-US ] = "Valid From";
223     };
224     String STR_VALIDTO
225     {
226         Text [ en-US ] = "Valid to";
227     };
228     String STR_SUBJECT
229     {
230         Text [ en-US ] = "Subject";
231     };
232     String STR_SUBJECT_ID
233     {
234         Text [ en-US ] = "Subject Unique ID";
235     };
236     String STR_SUBJECT_PUBKEY_ALGO
237     {
238         Text [ en-US ] = "Subject Algorithm";
239     };
240     String STR_SUBJECT_PUBKEY_VAL
241     {
242         Text [ en-US ] = "Public Key";
243     };
244     String STR_SIGNATURE_ALGO
245     {
246         Text [ en-US ] = "Signature Algorithm";
247     };
248     String STR_THUMBPRINT_SHA1
249     {
250         Text [ en-US ] = "Thumbprint SHA1";
251     };
252     String STR_THUMBPRINT_MD5
253     {
254         Text [ en-US ] = "Thumbprint MD5";
255     };
258 TabPage RID_XMLSECTP_CERTPATH
260     HelpId = HID_XMLSEC_TP_CERTPATH;
261     Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
262     OutputSize = TRUE;
263     Hide = TRUE;
264     SVLook = TRUE;
265     FixedText FT_CERTPATH
266     {
267         Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_0 );
268         Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
269         Text [ en-US ] = "Certification path";
270     };
271     Control LB_SIGNATURES
272     {
273         HelpId = HID_XMLSEC_CTRL_VIEWSIGNATURES;
274         Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_1 );
275         Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3*2 );
276         SVLook = TRUE;
277         Border = TRUE;
278     };
279     PushButton BTN_VIEWCERT
280     {
281         HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_CERTPATH:BTN_VIEWCERT";
282         Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CVP_ROW_2 );
283         Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
284         Text [ en-US ] = "View Certificate...";
285     };
286     FixedText FT_CERTSTATUS
287     {
288         Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_3 );
289         Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
290         Text [ en-US ] = "Certification status";
291     };
292     MultiLineEdit ML_CERTSTATUS
293     {
294         HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_CERTPATH:ML_CERTSTATUS";
295         Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_4 );
296         Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3 );
297         ReadOnly = TRUE;
298         Border = TRUE;
299     };
300     Image IMG_CERT_SMALL
301     {
302         ImageBitmap = Bitmap { File = "certificate_16.png"; };
303         MaskColor = STD_MASKCOLOR;
304     };
305     Image IMG_CERT_NOTVALIDATED_SMALL
306     {
307         ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
308         MaskColor = STD_MASKCOLOR;
309     };
310     String STR_PATH_CERT_OK
311     {
312         Text [ en-US ] = "The certificate is OK.";
313     };
314     String STR_PATH_CERT_NOT_VALIDATED
315     {
316         Text [ en-US ] = "The certificate could not be validated.";
317     };
320 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */