/* -*- 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 #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"; }; TabPage RID_SVXPAGE_DOCRECOVERY_SAVE { Size = MAP_APPFONT( SAVE_WIDTH, SAVE_HEIGHT ); HelpId = HID_SVX_TP_DOCRECOVERY_SAVE; OutputSize = TRUE; SVLook = TRUE; Hide = TRUE; Window WIN_SAVE_TITLE { Pos = MAP_APPFONT( 0 , 0 ); Size = MAP_APPFONT( SAVE_WIDTH, SAVE_ROW1 ); }; FixedText FT_SAVE_TITLE { Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW0 ); Size = MAP_APPFONT( SAVE_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); Text[ en-US ] = "%PRODUCTNAME Document Recovery"; }; FixedLine FL_SAVE_TITLE { Pos = MAP_APPFONT( 0 , SAVE_ROW1 ); Size = MAP_APPFONT( SAVE_WIDTH, 2 ); }; FixedText FT_SAVE_DESCR { Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW2 ); Size = MAP_APPFONT( SAVE_CONTROLWIDTH, (SAVE_ROW3-SAVE_ROW2-RSC_SP_CTRL_DESC_Y) ); WordBreak = TRUE; Text[ en-US ] = "Due to an unexpected error, %PRODUCTNAME crashed. All the files you were working on will now be saved. The next time %PRODUCTNAME is launched, your files will be recovered automatically."; }; FixedText FT_SAVE_FILELIST { Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW3 ); Size = MAP_APPFONT( SAVE_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); Text[ en-US ] = "The following files will be recovered:"; }; ListBox LB_SAVE_FILELIST { HelpID = "svx:ListBox:RID_SVXPAGE_DOCRECOVERY_SAVE:LB_SAVE_FILELIST"; Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW4 ); Size = MAP_APPFONT( SAVE_CONTROLWIDTH, SAVE_FILELISTHEIGHT ); Border = TRUE; TabStop = TRUE; }; FixedLine FL_SAVE_BOTTOM { Pos = MAP_APPFONT( 0 , SAVE_ROW7 ); Size = MAP_APPFONT( SAVE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); }; OKButton BT_SAVE_OK { Pos = MAP_APPFONT( SAVE_COL1 , SAVE_ROW8 ); Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); DefButton = TRUE; }; }; 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; }; }; TabPage RID_SVXPAGE_DOCRECOVERY_RECOVER { Size = MAP_APPFONT( RECOV_WIDTH, RECOV_HEIGHT ); HelpId = HID_SVX_TP_DOCRECOVERY_RECOVER; OutputSize = TRUE; SVLook = TRUE; Hide = TRUE; Window WIN_RECOV_TITLE { Pos = MAP_APPFONT( 0 , 0 ); Size = MAP_APPFONT( RECOV_WIDTH, RECOV_TITLEWINHEIGHT ); }; FixedText FT_RECOV_TITLE { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW0 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); Text[ en-US ] = "%PRODUCTNAME Document Recovery"; }; FixedLine FL_RECOV_TITLE { Pos = MAP_APPFONT( 0 , RECOV_TITLEWINHEIGHT ); Size = MAP_APPFONT( RECOV_WIDTH, 2 ); }; FixedText FT_RECOV_DESCR { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW2 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RECOV_DESCRHEIGHT ); WordBreak = TRUE; Text[ en-US ] = "Press 'Start Recovery' to start the recovery process of the documents listed below.\n\nThe 'Status' column shows whether the document can be recovered."; }; FixedText FT_RECOV_PROGR { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW3 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); Text[ en-US ] = "Recovering document:"; }; Window WIN_RECOV_PROGR { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW4 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, PROGR_HEIGHT ); Border = TRUE; }; FixedText FT_RECOV_FILELIST { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW5 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); Text[ en-US ] = "Status of recovered documents:"; }; String STR_HEADERBAR { Text[ en-US ] = "Document Name\tStatus"; }; Control LB_RECOV_FILELIST { Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW6 ); Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RECOV_FILELISTHEIGHT ); Border = TRUE; SVLook = TRUE; }; FixedLine FL_RECOV_BOTTOM { Pos = MAP_APPFONT( 0 , RECOV_ROW8 ); Size = MAP_APPFONT( RECOV_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); }; PushButton BTN_RECOV_NEXT { HelpID = "svx:PushButton:RID_SVXPAGE_DOCRECOVERY_RECOVER:BTN_RECOV_NEXT"; Pos = MAP_APPFONT( RECOV_COL_C, RECOV_ROW9 ); Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH*2, RSC_CD_PUSHBUTTON_HEIGHT ); Text[ en-US ] = "~Start Recovery >"; DefButton = TRUE; }; CancelButton BTN_RECOV_CANCEL { Pos = MAP_APPFONT( RECOV_COL_F, RECOV_ROW9 ); Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); }; Image IMG_GREENCHECK { ImageBitmap = Bitmap { File = "nu01.png"; }; }; Image IMG_YELLOWCHECK { ImageBitmap = Bitmap { File = "nu04.png"; }; }; Image IMG_REDCROSS { ImageBitmap = Bitmap { File = "nu02.png"; }; }; String STR_SUCCESSRECOV { Text[ en-US ] = "Successfully recovered"; }; String STR_ORIGDOCRECOV { Text[ en-US ] = "Original document recovered"; }; String STR_RECOVFAILED { Text[ en-US ] = "Recovery failed"; }; String STR_RECOVINPROGR { Text[ en-US ] = "Recovery in progress"; }; String STR_NOTRECOVYET { Text[ en-US ] = "Not recovered yet"; }; String STR_RECOVERY_INPROGRESS { Text[ en-US ] = "%PRODUCTNAME %PRODUCTVERSION will start to recover your documents. Depending on the size of the documents this process can take some time." ; }; String STR_RECOVERYONLY_FINISH_DESCR { Text[ en-US ] = "Recovery of your documents was finished.\nClick 'Finish' to see your documents."; }; String STR_RECOVERYONLY_FINISH { Text[ en-US ] = "~Finish"; }; }; 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: */