forked from amazingfate/loongoffice
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
234 lines
6.4 KiB
Plaintext
234 lines
6.4 KiB
Plaintext
/* -*- 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 <sfx2/sfx.hrc>
|
|
#include "helpid.hrc"
|
|
#include <cuires.hrc>
|
|
#include "optdict.hrc"
|
|
|
|
// RID_SFXDLG_NEWDICT ----------------------------------------------------
|
|
ModalDialog RID_SFXDLG_NEWDICT
|
|
{
|
|
HelpId = HID_OPTIONS_DICT_NEW ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 213 , 66 ) ;
|
|
Moveable = TRUE ;
|
|
Text [ en-US ] = "New Dictionary" ;
|
|
FixedText FT_DICTNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 11 , 15 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "~Name" ;
|
|
LeftLabel = TRUE ;
|
|
};
|
|
Edit ED_DICTNAME
|
|
{
|
|
HelpID = "cui:Edit:RID_SFXDLG_NEWDICT:ED_DICTNAME";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 55 , 14 ) ;
|
|
Size = MAP_APPFONT ( 90 , 12 ) ;
|
|
MaxTextLength = 32 ;
|
|
};
|
|
FixedText FT_DICTLANG
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 30 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "~Language" ;
|
|
LeftLabel = TRUE ;
|
|
};
|
|
ListBox LB_DICTLANG
|
|
{
|
|
HelpID = "cui:ListBox:RID_SFXDLG_NEWDICT:LB_DICTLANG";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 55 , 30 ) ;
|
|
Size = MAP_APPFONT ( 90 , 66 ) ;
|
|
DropDown = TRUE ;
|
|
};
|
|
CheckBox BTN_EXCEPT
|
|
{
|
|
HelpID = "cui:CheckBox:RID_SFXDLG_NEWDICT:BTN_EXCEPT";
|
|
Pos = MAP_APPFONT ( 12 , 44 ) ;
|
|
Size = MAP_APPFONT ( 57 , 10 ) ;
|
|
Text [ en-US ] = "~Exception (-)" ;
|
|
};
|
|
FixedLine GB_NEWDICT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 145 , 8 ) ;
|
|
Text [ en-US ] = "Dictionary" ;
|
|
};
|
|
OKButton BTN_NEWDICT_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 157 , 6 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Disable = TRUE ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton BTN_NEWDICT_ESC
|
|
{
|
|
Pos = MAP_APPFONT ( 157 , 23 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
HelpButton BTN_NEWDICT_HLP
|
|
{
|
|
Pos = MAP_APPFONT ( 157 , 43 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
};
|
|
|
|
// RID_SFXDLG_EDITDICT ---------------------------------------------------
|
|
ModalDialog RID_SFXDLG_EDITDICT
|
|
{
|
|
HelpId = HID_OPTIONS_DICT_EDIT ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT( 270, 161 );
|
|
|
|
Text [ en-US ] = "Edit Custom Dictionary" ;
|
|
|
|
Moveable = TRUE ;
|
|
FixedText FT_BOOK
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 10 ) ;
|
|
Size = MAP_APPFONT ( 86 , 10 ) ;
|
|
Text [ en-US ] = "~Book" ;
|
|
};
|
|
ListBox LB_ALLDICTS
|
|
{
|
|
HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_ALLDICTS";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 100 , 9 ) ;
|
|
Size = MAP_APPFONT ( 103 , 62 ) ;
|
|
DropDown = TRUE ;
|
|
};
|
|
FixedText FT_DICTLANG
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 26 ) ;
|
|
Size = MAP_APPFONT ( 86 , 10 ) ;
|
|
Text [ en-US ] = "~Language" ;
|
|
};
|
|
ListBox LB_DICTLANG
|
|
{
|
|
HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_DICTLANG";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 100 , 25 ) ;
|
|
Size = MAP_APPFONT ( 103 , 66 ) ;
|
|
DropDown = TRUE ;
|
|
};
|
|
|
|
FixedLine GB_EDITDICTS
|
|
{
|
|
Pos = MAP_APPFONT( 1, 1 );
|
|
Size = MAP_APPFONT( 268, 138 );
|
|
Hide=TRUE;
|
|
};
|
|
|
|
FixedText FT_WORD
|
|
{
|
|
Pos = MAP_APPFONT ( 13 , 46 ) ;
|
|
Size = MAP_APPFONT ( 40 , 8 ) ;
|
|
Text [ en-US ] = "~Word";
|
|
};
|
|
Edit ED_WORD
|
|
{
|
|
HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_WORD";
|
|
Pos = MAP_APPFONT ( 12 , 56 ) ;
|
|
Size = MAP_APPFONT ( 71 , 12 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
FixedText FT_REPLACE
|
|
{
|
|
Pos = MAP_APPFONT ( 84 , 46 ) ;
|
|
Size = MAP_APPFONT ( 60 , 8 ) ;
|
|
Text [ en-US ] = "Replace ~By:";
|
|
};
|
|
|
|
Edit ED_REPLACE
|
|
{
|
|
HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_REPLACE";
|
|
Pos = MAP_APPFONT ( 83 , 56 ) ;
|
|
Size = MAP_APPFONT ( 120 , 12 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
|
|
PushButton PB_NEW_REPLACE
|
|
{
|
|
HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_NEW_REPLACE";
|
|
Pos = MAP_APPFONT ( 209 , 56 ) ;
|
|
Size = MAP_APPFONT ( 55 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~New" ;
|
|
};
|
|
PushButton PB_DELETE_REPLACE
|
|
{
|
|
HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_DELETE_REPLACE";
|
|
Pos = MAP_APPFONT ( 209 , 71 ) ;
|
|
Size = MAP_APPFONT ( 55 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Delete" ;
|
|
};
|
|
Control TLB_REPLACE
|
|
{
|
|
HelpId = HID_OPTIONS_DICT_EDIT_ENTRIES_LIST;
|
|
Pos = MAP_APPFONT ( 12 , 71 ) ;
|
|
Size = MAP_APPFONT ( 191 , 58 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
String STR_MODIFY
|
|
{
|
|
Text [ en-US ] = "~Replace" ;
|
|
};
|
|
|
|
|
|
|
|
HelpButton BTN_EDITHELP
|
|
{
|
|
Pos = MAP_APPFONT( 145, 143 );
|
|
Size = MAP_APPFONT( 55, 14 );
|
|
};
|
|
|
|
CancelButton BTN_EDITCLOSE
|
|
{
|
|
Pos = MAP_APPFONT ( 209 , 143 ) ;
|
|
Size = MAP_APPFONT ( 55 , 14 ) ;
|
|
|
|
Text [ en-US ] = "~Close" ;
|
|
};
|
|
};
|
|
|
|
// Strings ---------------------------------------------------------------
|
|
String RID_SVXSTR_OPT_DOUBLE_DICTS
|
|
{
|
|
Text [ en-US ] = "The specified name already exists.\nPlease enter a new name." ;
|
|
};
|
|
// RID_SFXQB_SET_LANGUAGE ------------------------------------------------
|
|
QueryBox RID_SFXQB_SET_LANGUAGE
|
|
{
|
|
Buttons = WB_YES_NO ;
|
|
DefButton = WB_DEF_NO ;
|
|
Message [ en-US ] = "Do you want to change the '%1' dictionary language?" ;
|
|
};
|
|
// ********************************************************************** EOF
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|