xref: /trunk/main/uui/source/nameclashdlg.src (revision c6ad6917)
12611ca73SAndrew Rist/**************************************************************
2*c6ad6917Smseidel *
32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
42611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
52611ca73SAndrew Rist * distributed with this work for additional information
62611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
82611ca73SAndrew Rist * "License"); you may not use this file except in compliance
92611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10*c6ad6917Smseidel *
112611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*c6ad6917Smseidel *
132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
142611ca73SAndrew Rist * software distributed under the License is distributed on an
152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
172611ca73SAndrew Rist * specific language governing permissions and limitations
182611ca73SAndrew Rist * under the License.
19*c6ad6917Smseidel *
202611ca73SAndrew Rist *************************************************************/
212611ca73SAndrew Rist
222611ca73SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef UUI_IDS_HRC
27cdf0e10cSrcweir#include "ids.hrc"
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#ifndef UUI_NAMECLASHDLG_HRC
31cdf0e10cSrcweir#include "nameclashdlg.hrc"
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34*c6ad6917Smseidel#define DLG_WIDTH		250
35*c6ad6917Smseidel#define DLG_HEIGTH		75
36*c6ad6917Smseidel#define BORDER_OFFSET	6
37*c6ad6917Smseidel#define EDIT_HEIGTH		12
38*c6ad6917Smseidel#define BTN_WIDTH		50
39*c6ad6917Smseidel#define BTN_HEIGTH		14
40cdf0e10cSrcweir
41cdf0e10cSrcweirModalDialog DLG_SIMPLE_NAME_CLASH
42cdf0e10cSrcweir{
43*c6ad6917Smseidel	HelpId = HID_DLG_SIMPLE_NAME_CLASH ;
44*c6ad6917Smseidel	OutputSize = TRUE ;
45*c6ad6917Smseidel	SVLook = TRUE ;
46*c6ad6917Smseidel	Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGTH ) ;
47*c6ad6917Smseidel	Moveable = TRUE ;
48cdf0e10cSrcweir	Text [ en-US ] = "File Exists" ;
49cdf0e10cSrcweir
50cdf0e10cSrcweir	FixedText FT_FILE_EXISTS_WARNING
51cdf0e10cSrcweir	{
52*c6ad6917Smseidel		Pos = MAP_APPFONT ( BORDER_OFFSET, BORDER_OFFSET ) ;
53*c6ad6917Smseidel		Size = MAP_APPFONT ( DLG_WIDTH - 2*BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 4 * BORDER_OFFSET ) ;
54cdf0e10cSrcweir		WordBreak = TRUE ;
55cdf0e10cSrcweir	};
56cdf0e10cSrcweir
57cdf0e10cSrcweir	Edit EDIT_NEW_NAME
58cdf0e10cSrcweir	{
59*c6ad6917Smseidel		HelpID = "uui:Edit:DLG_SIMPLE_NAME_CLASH:EDIT_NEW_NAME" ;
60*c6ad6917Smseidel		Border = TRUE ;
61*c6ad6917Smseidel		Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - EDIT_HEIGTH - BTN_HEIGTH - 2 * BORDER_OFFSET ) ;
62*c6ad6917Smseidel		Size = MAP_APPFONT ( DLG_WIDTH - 2 * BORDER_OFFSET, EDIT_HEIGTH ) ;
63cdf0e10cSrcweir	};
64cdf0e10cSrcweir
65cdf0e10cSrcweir	PushButton BTN_OVERWRITE
66cdf0e10cSrcweir	{
67*c6ad6917Smseidel		HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_OVERWRITE" ;
68*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_WIDTH - 3 * (BTN_WIDTH + BORDER_OFFSET), DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
69*c6ad6917Smseidel		Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
70*c6ad6917Smseidel		TabStop = TRUE ;
71cdf0e10cSrcweir		Text [ en-US ] = "Replace" ;
72cdf0e10cSrcweir	};
73cdf0e10cSrcweir
74cdf0e10cSrcweir	PushButton BTN_RENAME
75cdf0e10cSrcweir	{
76*c6ad6917Smseidel		HelpID = "uui:PushButton:DLG_SIMPLE_NAME_CLASH:BTN_RENAME" ;
77*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_WIDTH - 2 * (BTN_WIDTH + BORDER_OFFSET), DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
78*c6ad6917Smseidel		Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
79*c6ad6917Smseidel		TabStop = TRUE ;
80cdf0e10cSrcweir		Text [ en-US ] = "Rename" ;
81*c6ad6917Smseidel		DefButton = TRUE ;
82cdf0e10cSrcweir	};
83cdf0e10cSrcweir
84cdf0e10cSrcweir	CancelButton BTN_CANCEL
85cdf0e10cSrcweir	{
86*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_WIDTH - BTN_WIDTH - BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
87*c6ad6917Smseidel		Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
88cdf0e10cSrcweir		TabStop = TRUE ;
89cdf0e10cSrcweir	};
90cdf0e10cSrcweir
91cdf0e10cSrcweir	HelpButton BTN_HELP
92cdf0e10cSrcweir	{
93*c6ad6917Smseidel		Pos = MAP_APPFONT ( BORDER_OFFSET, DLG_HEIGTH - BTN_HEIGTH - BORDER_OFFSET ) ;
94*c6ad6917Smseidel		Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGTH ) ;
95cdf0e10cSrcweir		TabStop = TRUE ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir};
98cdf0e10cSrcweir
99cdf0e10cSrcweirString STR_RENAME_OR_REPLACE
100cdf0e10cSrcweir{
101*c6ad6917Smseidel	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." ;
102cdf0e10cSrcweir};
103cdf0e10cSrcweir
104cdf0e10cSrcweirString STR_NAME_CLASH_RENAME_ONLY
105cdf0e10cSrcweir{
106*c6ad6917Smseidel	Text = "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nPlease enter a new name." ;
107cdf0e10cSrcweir};
108cdf0e10cSrcweir
109cdf0e10cSrcweirString STR_SAME_NAME_USED
110cdf0e10cSrcweir{
111*c6ad6917Smseidel	Text = "Please provide a different file name!" ;
112cdf0e10cSrcweir};
113*c6ad6917Smseidel
114*c6ad6917Smseidel// ********************************************************************** EOF
115