1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 #include "newerverwarn.hrc"
25 #define STD_MASKCOLOR Color { Red=0xffff; Green=0x0000; Blue=0xffff; }
27 ModalDialog RID_DLG_NEWER_VERSION_WARNING
29 HelpId = HID_DLG_NEWERVERSIONWARNING;
31 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
35 Text [ en-US ] = "%PRODUCTNAME Update Available" ;
38 Pos = MAP_APPFONT ( COL_1 , ROW_1 );
39 Size = MAP_APPFONT ( IMAGE_WIDTH , IMAGE_HEIGHT );
43 ImageBitmap = Bitmap { File = "versionwarning.png"; };
44 MaskColor = STD_MASKCOLOR;
49 Pos = MAP_APPFONT( COL_2, ROW_1 );
50 Size = MAP_APPFONT( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT );
52 Text [ en-US ] = "This document was created by a newer version of %PRODUCTNAME. It may contain features not supported by your current version.\n\nClick 'Update Now...' to run online update and get the latest version of %PRODUCTNAME.";
56 Pos = MAP_APPFONT ( 0 , ROW_2 ) ;
57 Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
61 HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE";
62 Pos = MAP_APPFONT ( COL_3 , ROW_3 ) ;
63 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
65 Text [ en-US ] = "~Update Now..." ;
69 Pos = MAP_APPFONT ( COL_4 , ROW_3 ) ;
70 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
72 Text [ en-US ] = "~Later" ;
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */