Kaydet (Commit) 9770ffa2 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove unused chinese_translationdialog.src, see chinese_dialogs.src

Change-Id: If32174be8ec197f83797a3e06b60c9114d4ce21f
üst 4c9ca21e
/*
* 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 "chinese_translationdialog.hrc"
#include "chinese_direction.hrc"
#include <svtools/controldims.hrc>
//-----------------------------------------------------------------------------
//defines for positions and sizes:
#define FULL_WIDTH (220)
#define FULL_HEIGHT (120)
#define EDITBUTTON_WIDTH (75)
#define COL_1 (RSC_SP_DLG_INNERBORDER_LEFT)
#define COL_2 (COL_1+RSC_SP_FLGR_SPACE_X)
#define COL_3 (COL_2+RSC_SP_CHK_TEXTINDENT)
#define COL_4 (FULL_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT-EDITBUTTON_WIDTH)
#define ROW_1 (RSC_SP_DLG_INNERBORDER_TOP)
#define ROW_2 (ROW_1+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_GROUP_Y)
#define ROW_3 (ROW_2+RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_GROUP_Y)
#define ROW_4 (ROW_3+RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_DESC_Y)
#define ROW_5 (ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y)
#define ROW_6 (ROW_5+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_GROUP_Y)
#define ROW_8 (FULL_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM-RSC_CD_PUSHBUTTON_HEIGHT)
#define ROW_7 (ROW_8-RSC_CD_FIXEDLINE_HEIGHT-2)
//-----------------------------------------------------------------------------
ModalDialog DLG_CHINESETRANSLATION
{
HelpID = "svx:ModalDialog:DLG_CHINESETRANSLATION";
//HelpId = ;
Size = MAP_APPFONT( FULL_WIDTH, FULL_HEIGHT );
OutputSize = TRUE;
Closeable = TRUE ;
Moveable = TRUE ;
SVLook = TRUE;
Text [ en-US ] = "Chinese Conversion";
FixedLine FL_DIRECTION
{
Pos = MAP_APPFONT ( COL_1 , ROW_1 ) ;
Size = MAP_APPFONT ( FULL_WIDTH - COL_1 - RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ;
Text [ en-US ] = "Conversion direction";
};
DIRECTION_RADIOBUTTONS( COL_2, ROW_2, (FULL_WIDTH - COL_2 - RSC_SP_DLG_INNERBORDER_RIGHT) )
CheckBox CB_USE_VARIANTS
{
HelpID = "svx:CheckBox:DLG_CHINESETRANSLATION:CB_USE_VARIANTS";
Pos = MAP_APPFONT( COL_3, ROW_4 );
Size = MAP_APPFONT ( FULL_WIDTH - COL_3 - RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_CHECKBOX_HEIGHT ) ;
Text [ en-US ] = "~Use Taiwan, Hong Kong SAR, and Macao SAR character variants";
};
FixedLine FL_COMMONTERMS
{
Pos = MAP_APPFONT ( COL_1 , ROW_5 ) ;
Size = MAP_APPFONT ( FULL_WIDTH - COL_1 - RSC_SP_DLG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ;
Text [ en-US ] = "Common terms";
};
CheckBox CB_TRANSLATE_COMMONTERMS
{
HelpID = "svx:CheckBox:DLG_CHINESETRANSLATION:CB_TRANSLATE_COMMONTERMS";
Pos = MAP_APPFONT( COL_2, ROW_6 );
Size = MAP_APPFONT ( COL_4 - COL_2, RSC_CD_CHECKBOX_HEIGHT ) ;
Text [ en-US ] = "Translate ~common terms";
};
PushButton PB_EDITTERMS
{
HelpID = "svx:PushButton:DLG_CHINESETRANSLATION:PB_EDITTERMS";
Pos = MAP_APPFONT( COL_4, ROW_6-(RSC_CD_PUSHBUTTON_HEIGHT-RSC_CD_CHECKBOX_HEIGHT)/2 );
Size = MAP_APPFONT( EDITBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "~Edit Terms...";
};
FixedLine FL_BOTTOMLINE
{
Pos = MAP_APPFONT ( 0 , ROW_7 ) ;
Size = MAP_APPFONT ( FULL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
};
BUTTONS_OK_CANCEL_HELP_ABREAST( FULL_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT, ROW_8 )
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment