1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: managelang.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "dlgresid.hrc"
32 #include "managelang.hrc"
35 ModalDialog RID_DLG_MANAGE_LANGUAGE
37 HelpId = HID_BASICIDE_MANAGE_LANGUAGE ;
39 Size = MAP_APPFONT ( MANAGE_DLG_WIDTH , MANAGE_DLG_HEIGHT ) ;
42 Text [ en-US ] = "Manage User Interface Languages [$1]" ;
45 Pos = MAP_APPFONT ( MANAGE_COL1 , MANAGE_ROW1 ) ;
46 Size = MAP_APPFONT ( MANAGE_LB_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
47 Text [ en-US ] = "Present Languages" ;
51 Pos = MAP_APPFONT ( MANAGE_COL1 , MANAGE_ROW2 ) ;
52 Size = MAP_APPFONT ( MANAGE_LB_WIDTH , MANAGE_LB_HEIGHT ) ;
56 PushButton PB_ADD_LANG
58 Pos = MAP_APPFONT ( MANAGE_COL3 , MANAGE_ROW2 ) ;
59 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
61 Text [ en-US ] = "Add..." ;
63 PushButton PB_DEL_LANG
65 Pos = MAP_APPFONT ( MANAGE_COL3 , MANAGE_ROW3 ) ;
66 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
68 Text [ en-US ] = "Delete" ;
70 PushButton PB_MAKE_DEFAULT
72 Pos = MAP_APPFONT ( MANAGE_COL3 , MANAGE_ROW4 ) ;
73 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
75 Text [ en-US ] = "Default" ;
79 Pos = MAP_APPFONT ( MANAGE_COL1 , MANAGE_ROW5 ) ;
80 Size = MAP_APPFONT ( MANAGE_DLG_WIDTH - 2*RSC_SP_FLGR_INNERBORDER_LEFT, INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT ) ;
82 Text [ en-US ] = "The default language is used if no localization for a user interface locale is present. Furthermore all strings from the default language are copied to resources of newly added languages." ;
86 Pos = MAP_APPFONT ( 0 , MANAGE_ROW6 ) ;
87 Size = MAP_APPFONT ( MANAGE_DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
91 Pos = MAP_APPFONT ( MANAGE_COL2 , MANAGE_ROW7 ) ;
92 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
97 Pos = MAP_APPFONT ( MANAGE_COL3 , MANAGE_ROW7 ) ;
98 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
101 Text [ en-US ] = "~Close" ;
105 Text [ en-US ] = "[Default Language]" ;
109 Text [ en-US ] = "~Delete" ;
111 String STR_CREATE_LANG
113 Text [ en-US ] = "<Press 'Add' to create language resources>" ;
117 QueryBox RID_QRYBOX_LANGUAGE
119 Title [ en-US ] = "Delete Language Resources" ;
120 Message [ en-US ] = "You are about to delete the resources for the selected language(s). All user interface strings for this language(s) will be deleted.\n\nDo you want to delete the resources of the selected language(s)?";
121 BUTTONS = WB_OK_CANCEL ;
122 DEFBUTTON = WB_DEF_CANCEL ;
125 ModalDialog RID_DLG_SETDEF_LANGUAGE
127 HelpId = HID_BASICIDE_SETDEFAULT_LANGUAGE ;
129 Size = MAP_APPFONT ( SETDEF_DLG_WIDTH , SETDEF_DLG_HEIGHT ) ;
132 Text [ en-US ] = "Set Default User Interface Language" ;
133 FixedText FT_DEF_LANGUAGE
135 Pos = MAP_APPFONT ( SETDEF_COL1 , SETDEF_ROW1 ) ;
136 Size = MAP_APPFONT ( SETDEF_LB_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
137 Text [ en-US ] = "Default language" ;
139 ListBox LB_DEF_LANGUAGE
141 Pos = MAP_APPFONT ( SETDEF_COL1 , SETDEF_ROW2 ) ;
142 Size = MAP_APPFONT ( SETDEF_LB_WIDTH , SETDEF_LB_HEIGHT ) ;
146 Control LB_ADD_LANGUAGE
148 HelpId = HID_BASICIDE_ADDNEW_CONTROL ;
149 Pos = MAP_APPFONT ( SETDEF_COL1 , SETDEF_ROW2 ) ;
150 Size = MAP_APPFONT ( SETDEF_LB_WIDTH , SETDEF_LB_HEIGHT ) ;
152 FixedText FT_DEF_INFO
154 Pos = MAP_APPFONT ( SETDEF_COL1 , SETDEF_ROW3 ) ;
155 Size = MAP_APPFONT ( SETDEF_LB_WIDTH, INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT ) ;
157 Text [ en-US ] = "Select a language to define the default user interface language. All currently present strings will be assigned to the resources created for the selected language." ;
159 FixedLine FL_DEF_BUTTONS
161 Pos = MAP_APPFONT ( 0 , SETDEF_ROW4 ) ;
162 Size = MAP_APPFONT ( SETDEF_DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
166 Pos = MAP_APPFONT ( SETDEF_COL2 , SETDEF_ROW5 ) ;
167 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
171 CancelButton PB_DEF_CANCEL
173 Pos = MAP_APPFONT ( SETDEF_COL3 , SETDEF_ROW5 ) ;
174 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
177 HelpButton PB_DEF_HELP
179 Pos = MAP_APPFONT ( SETDEF_COL4 , SETDEF_ROW5 ) ;
180 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
183 String STR_ADDLANG_TITLE
185 Text [ en-US ] = "Add User Interface Languages" ;
187 String STR_ADDLANG_LABEL
189 Text [ en-US ] = "Available Languages" ;
191 String STR_ADDLANG_INFO
193 Text [ en-US ] = "Select languages to be added. Resources for these languages will be created in the library. Strings of the current default user interface language will be copied to these new resources by default." ;
197 // -----------------------------------------------------------------------