354 lines
9.8 KiB
Text
354 lines
9.8 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
// include ------------------------------------------------------------------
|
|
|
|
#include "optlingu.hrc"
|
|
#include "helpid.hrc"
|
|
|
|
#include <svtools/controldims.hrc>
|
|
#include <sfx2/sfx.hrc>
|
|
#include <cuires.hrc>
|
|
|
|
// RID_SVXDLG_EDIT_MODULES ---------------------------------------------------
|
|
|
|
ModalDialog RID_SVXDLG_EDIT_MODULES
|
|
{
|
|
HelpID = HID_EDIT_MODULES ;
|
|
SVLook = TRUE ;
|
|
Moveable = TRUE ;
|
|
Size = MAP_APPFONT ( 240 , 197 ) ;
|
|
Text [ en-US ] = "Edit Modules";
|
|
|
|
FixedLine FL_EDIT_MODULES_OPTIONS
|
|
{
|
|
Pos = MAP_APPFONT ( RSC_SP_FLGR_INNERBORDER_LEFT , RSC_SP_FLGR_INNERBORDER_TOP ) ;
|
|
Size = MAP_APPFONT ( 240 - 2*RSC_SP_FLGR_INNERBORDER_LEFT , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Options";
|
|
};
|
|
FixedText FT_EDIT_MODULES_LANGUAGE
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 16 ) ;
|
|
Size = MAP_APPFONT ( 68 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Language";
|
|
};
|
|
ListBox LB_EDIT_MODULES_LANGUAGE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 83 , 14 ) ;
|
|
Size = MAP_APPFONT ( 95 , 80 ) ;
|
|
DropDown = TRUE ;
|
|
Sort = TRUE ;
|
|
};
|
|
Control CLB_EDIT_MODULES_MODULES
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 ) ;
|
|
Size = MAP_APPFONT ( 166 , 120 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
PushButton PB_EDIT_MODULES_PRIO_UP
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 32 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Move Up";
|
|
};
|
|
PushButton PB_EDIT_MODULES_PRIO_DOWN
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 49 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Move Down";
|
|
};
|
|
PushButton PB_EDIT_MODULES_PRIO_BACK
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 66 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Back";
|
|
};
|
|
FixedText FT_EDIT_MODULES_NEWDICTSLINK
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 155 ) ;
|
|
Size = MAP_APPFONT ( 169 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "~Get more dictionaries online...";
|
|
};
|
|
FixedLine FL_EDIT_MODULES_BUTTONS
|
|
{
|
|
Pos = MAP_APPFONT ( 0 , 166 ) ;
|
|
Size = MAP_APPFONT ( 240 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
};
|
|
HelpButton PB_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 12, 177 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
|
|
};
|
|
OKButton PB_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 177 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
|
|
Text [ en-US ] = "Close";
|
|
};
|
|
|
|
String ST_SPELL
|
|
{
|
|
Text [ en-US ] = "Spelling";
|
|
};
|
|
String ST_HYPH
|
|
{
|
|
Text [ en-US ] = "Hyphenation";
|
|
};
|
|
String ST_THES
|
|
{
|
|
Text [ en-US ] = "Thesaurus";
|
|
};
|
|
String ST_GRAMMAR
|
|
{
|
|
Text [ en-US ] = "Grammar";
|
|
};
|
|
};
|
|
|
|
// RID_SVXDLG_LNG_ED_NUM_PREBREAK -------------------------------------------
|
|
|
|
ModalDialog RID_SVXDLG_LNG_ED_NUM_PREBREAK
|
|
{
|
|
HelpID = HID_LNGDLG_NUM_PREBREAK ;
|
|
SVLook = TRUE ;
|
|
Moveable = TRUE ;
|
|
Size = MAP_APPFONT ( 155 , 43 ) ;
|
|
Text [ en-US ] = "Hyphenation";
|
|
FixedLine FL_NUMVAL_PREBREAK
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 87 , 8 ) ;
|
|
};
|
|
OKButton BT_OK_PREBREAK
|
|
{
|
|
Pos = MAP_APPFONT ( 99 , 6 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton BT_CANCEL_PREBREAK
|
|
{
|
|
Pos = MAP_APPFONT ( 99 , 23 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
NumericField ED_PREBREAK
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 14 ) ;
|
|
Size = MAP_APPFONT ( 31 , 12 ) ;
|
|
Left = TRUE ;
|
|
Minimum = 2 ;
|
|
Maximum = 9 ;
|
|
Last = 9 ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
SpinSize = 1;
|
|
};
|
|
String STR_NUM_PRE_BREAK_DLG
|
|
{
|
|
Text [ en-US ] = "Characters before break";
|
|
};
|
|
String STR_NUM_POST_BREAK_DLG
|
|
{
|
|
Text [ en-US ] = "Characters after break";
|
|
};
|
|
String STR_NUM_MIN_WORDLEN_DLG
|
|
{
|
|
Text [ en-US ] = "Minimal word length";
|
|
};
|
|
};
|
|
|
|
// RID_SFXPAGE_LINGU --------------------------------------------------------
|
|
|
|
TabPage RID_SFXPAGE_LINGU
|
|
{
|
|
HelpId = HID_OPTIONS_LINGU ;
|
|
SVLook = TRUE ;
|
|
Hide = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
Text [ en-US ] = "Options";
|
|
FixedLine FL_LINGUISTIC
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ en-US ] = "Writing aids";
|
|
};
|
|
FixedText FT_LINGU_MODULES
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 14 ) ;
|
|
Size = MAP_APPFONT ( 175 , 8 ) ;
|
|
Text [ en-US ] = "Available language modules";
|
|
};
|
|
Control CLB_LINGU_MODULES
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 25 ) ;
|
|
Size = MAP_APPFONT ( 182 , 30 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
PushButton PB_LINGU_MODULES_EDIT
|
|
{
|
|
Pos = MAP_APPFONT ( 198 , 25 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Edit...";
|
|
};
|
|
FixedText FT_LINGU_DICS
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 59 ) ;
|
|
Size = MAP_APPFONT ( 175 , 8 ) ;
|
|
Text [ en-US ] = "User-defined dictionaries";
|
|
};
|
|
Control CLB_LINGU_DICS
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 70 ) ;
|
|
Size = MAP_APPFONT ( 182 , 48 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
PushButton PB_LINGU_DICS_NEW_DIC
|
|
{
|
|
Pos = MAP_APPFONT ( 198 , 70 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~New...";
|
|
};
|
|
PushButton PB_LINGU_DICS_EDIT_DIC
|
|
{
|
|
Pos = MAP_APPFONT ( 198 , 87 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Ed~it...";
|
|
};
|
|
PushButton PB_LINGU_DICS_DEL_DIC
|
|
{
|
|
Pos = MAP_APPFONT ( 198 , 104 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Delete";
|
|
};
|
|
FixedText FT_LINGU_OPTIONS
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 122 ) ;
|
|
Size = MAP_APPFONT ( 175 , 8 ) ;
|
|
Text [ en-US ] = "~Options";
|
|
};
|
|
Control CLB_LINGU_OPTIONS
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 133 ) ;
|
|
Size = MAP_APPFONT ( 182 , 46 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
PushButton PB_LINGU_OPTIONS_EDIT
|
|
{
|
|
Pos = MAP_APPFONT ( 198 , 133 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Edi~t...";
|
|
};
|
|
FixedText FT_LINGU_OPTIONS_MOREDICTS
|
|
{
|
|
Left = TRUE ;
|
|
Hide = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 182 ) ;
|
|
Size = MAP_APPFONT ( 182 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "~Get more dictionaries online...";
|
|
};
|
|
|
|
String STR_CAPITAL_WORDS
|
|
{
|
|
Text [ en-US ] = "Check uppercase words";
|
|
};
|
|
String STR_WORDS_WITH_DIGITS
|
|
{
|
|
Text [ en-US ] = "Check words with numbers ";
|
|
};
|
|
String STR_CAPITALIZATION
|
|
{
|
|
Text [ en-US ] = "Check capitalization";
|
|
};
|
|
String STR_SPELL_SPECIAL
|
|
{
|
|
Text [ en-US ] = "Check special regions";
|
|
};
|
|
String STR_SPELL_AUTO
|
|
{
|
|
Text [ en-US ] = "Check spelling as you type";
|
|
};
|
|
String STR_GRAMMAR_AUTO
|
|
{
|
|
Text [ en-US ] = "Check grammar as you type";
|
|
};
|
|
String STR_NUM_MIN_WORDLEN
|
|
{
|
|
Text [ en-US ] = "Minimal number of characters for hyphenation: ";
|
|
};
|
|
String STR_NUM_PRE_BREAK
|
|
{
|
|
Text [ en-US ] = "Characters before line break: ";
|
|
};
|
|
String STR_NUM_POST_BREAK
|
|
{
|
|
Text [ en-US ] = "Characters after line break: ";
|
|
};
|
|
String STR_HYPH_AUTO
|
|
{
|
|
Text [ en-US ] = "Hyphenate without inquiry";
|
|
};
|
|
String STR_HYPH_SPECIAL
|
|
{
|
|
Text [ en-US ] = "Hyphenate special regions";
|
|
};
|
|
};
|
|
// end: TabPage RID_SFXPAGE_LINGU
|
|
|
|
// RID_SFXQB_DELDICT --------------------------------------------------------
|
|
QueryBox RID_SFXQB_DELDICT
|
|
{
|
|
Buttons = WB_YES_NO ;
|
|
DefButton = WB_DEF_NO ;
|
|
Message [ en-US ] = "Do you want to delete the dictionary?" ;
|
|
};
|
|
// RID_SFXQB_DEL_IGNORELIST ----------------------------------------------
|
|
QueryBox RID_SFXQB_DEL_IGNORELIST
|
|
{
|
|
Buttons = WB_YES_NO ;
|
|
DefButton = WB_DEF_NO ;
|
|
Message [ en-US ] = "Do you want to delete the ignore list?" ;
|
|
};
|
|
// ******************************************************************* EOF
|