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 .
23 #include "nameclashdlg.hrc"
27 #define BORDER_OFFSET 6
28 #define EDIT_HEIGTH 12
32 ModalDialog DLG_SIMPLE_NAME_CLASH
34 HelpId = HID_DLG_SIMPLE_NAME_CLASH ;
37 Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGTH ) ;
39 Text [ en-US ] = "File Exists" ;
41 FixedText FT_FILE_EXISTS_WARNING
43 Pos = MAP_APPFONT ( BORDER_OFFSET, BORDER_OFFSET ) ;
44 Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 4*BORDER_OFFSET ) ;
50 HelpID = "uui:Edit:DLG_SIMPLE_NAME_CLASH:EDIT_NEW_NAME";
52 Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 2*BORDER_OFFSET ) ;
53 Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET , EDIT_HEIGTH ) ;
56 PushButton BTN_OVERWRITE
58 HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_OVERWRITE";
59 Pos = MAP_APPFONT ( DLG_WIDTH - 3*(BTN_WIDTH + BORDER_OFFSET) , DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
60 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
62 Text [ en-US ] = "Replace" ;
67 HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_RENAME";
68 Pos = MAP_APPFONT ( DLG_WIDTH - 2*(BTN_WIDTH + BORDER_OFFSET) , DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
69 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
71 Text [ en-US ] = "Rename" ;
75 CancelButton BTN_CANCEL
77 Pos = MAP_APPFONT ( DLG_WIDTH - BTN_WIDTH - BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
78 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
84 Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
85 Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
90 String STR_RENAME_OR_REPLACE
92 Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nChoose Replace to overwrite the existing file or provide a new name.";
95 String STR_NAME_CLASH_RENAME_ONLY
97 Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nPlease enter a new name.";
100 String STR_SAME_NAME_USED
102 Text = "Please provide a different file name!";
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */