summaryrefslogtreecommitdiff
path: root/svx/source/dialog/docrecovery.src
blob: 764a846fb10b3c570dc15c247eb7c18886ee2e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <svx/dialogs.hrc>
#include "helpid.hrc"

#include "docrecovery.hrc"

TabDialog RID_SVX_TABDLG_DOCRECOVERY
{
    Size = MAP_APPFONT( TABDLG_WIDTH, TABDLG_HEIGHT );
    HelpId = HID_SVX_TABDLG_DOCRECOVERY;
    OutputSize = TRUE;
    SVLook = TRUE;
    Moveable = TRUE;
    Closeable = FALSE;
    Text = "%PRODUCTNAME %PRODUCTVERSION";
};

ModalDialog RID_SVX_MDLG_DOCRECOVERY_PROGR
{
    Size = MAP_APPFONT( SAVEPROGR_WIDTH, SAVEPROGR_HEIGHT );
    HelpId = HID_SVX_MDLG_DOCRECOVERY_PROGR;
    OutputSize = TRUE;
    SVLook = TRUE;
    Moveable = TRUE;
    Closeable = FALSE;
    Text = "%PRODUCTNAME %PRODUCTVERSION";

    FixedText FT_SAVEPROGR_HINT
    {
        Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW0 );
        Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text[ en-US ] = "Documents are being saved.";
    };
    FixedText FT_SAVEPROGR_PROGR
    {
        Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW1 );
        Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text[ en-US ] = "Progress of saving: ";
    };
    Window WIN_SAVEPROGR_PROGR
    {
        Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW2 );
        Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, PROGR_HEIGHT );
        Border = TRUE;
    };
};

QueryBox RID_SVXQB_EXIT_RECOVERY
{
    BUTTONS = WB_YES_NO ;
    DEFBUTTON = WB_DEF_YES ;
    Message [ en-US ] = "Are you sure you want to cancel the %PRODUCTNAME document recovery?";
};

ModalDialog RID_SVX_MDLG_DOCRECOVERY_BROKEN
{
    Size = MAP_APPFONT( BROKEN_WIDTH, BROKEN_HEIGHT );
    HelpId = HID_SVX_MDLG_DOCRECOVERY_BROKEN;
    OutputSize = TRUE;
    SVLook = TRUE;
    Moveable = TRUE;
    Text = "%PRODUCTNAME %PRODUCTVERSION";

    FixedText FT_BROKEN_DESCR
    {
        Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW0 );
        Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, (5*RSC_CD_FIXEDTEXT_HEIGHT) );
        WordBreak = TRUE;
        Text[ en-US ] = "The automatic recovery process was interrupted.\n\nThe documents listed below will be saved in the folder noted below if you click 'Save'. Click 'Cancel' to close the wizard without saving the documents.";
    };
    FixedText FT_BROKEN_FILELIST
    {
        Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW1 );
        Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text[ en-US ] = "Documents";
    };
    ListBox LB_BROKEN_FILELIST
    {
        HelpID = "svx:ListBox:RID_SVX_MDLG_DOCRECOVERY_BROKEN:LB_BROKEN_FILELIST";
        Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW2 );
        Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, (BROKEN_ROW3-BROKEN_ROW2) );
        Border = TRUE;
        TabStop = TRUE;
    };
    FixedText FT_BROKEN_SAVEDIR
    {
        Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW4 + 1 ); // see ED_BROKEN_SAVEDIR
        Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text[ en-US ] = "~Save to";
    };
    Edit ED_BROKEN_SAVEDIR
    {
        HelpID = "svx:Edit:RID_SVX_MDLG_DOCRECOVERY_BROKEN:ED_BROKEN_SAVEDIR";
        Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW5 + 1 ); // center to pushbutton
        Size = MAP_APPFONT( BROKEN_COL2 - BROKEN_COL0, RSC_CD_TEXTBOX_HEIGHT );
        Border = TRUE;
    };
    PushButton BTN_BROKEN_SAVEDIR
    {
        HelpID = "svx:PushButton:RID_SVX_MDLG_DOCRECOVERY_BROKEN:BTN_BROKEN_SAVEDIR";
        Pos = MAP_APPFONT( BROKEN_COL3, BROKEN_ROW5 );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
        Text [ en-US ] = "Chan~ge...";
    };
    FixedLine FL_BROKEN_BOTTOM
    {
        Pos = MAP_APPFONT( 0 , BROKEN_ROW6 );
        Size = MAP_APPFONT( BROKEN_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
    };
    OKButton BTN_BROKEN_OK
    {
        Pos = MAP_APPFONT( BROKEN_COL1, BROKEN_ROW7 );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
        DefButton = TRUE;
        Text [ en-US ] = "~Save";
    };
    CancelButton BTN_BROKEN_CANCEL
    {
        Pos = MAP_APPFONT( BROKEN_COL3, BROKEN_ROW7 );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */