summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hangulhanjadlg.src
blob: 93d58755b14b5740bb344bdf64de96524489de53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: hangulhanjadlg.src,v $
 * $Revision: 1.17 $
 *
 * 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 <cuires.hrc>
#include "helpid.hrc"

#ifndef SVX_HANGUL_HANJA_DLG_HRC
#include "hangulhanjadlg.hrc"
#endif

ModalDialog RID_SVX_MDLG_HANGULHANJA
{
    HelpId = HID_DIALOG_HANGULHANJA;
    Size = MAP_APPFONT( 302, 175 );
    OutputSize = TRUE;
    Closeable = TRUE ;
    Moveable = TRUE ;
    SVLook = TRUE;

    Text [ en-US ] = "Hangul/Hanja Conversion";

    PushButton PB_FIND
    {
        Pos = MAP_APPFONT( 207, 23 );
        Size = MAP_APPFONT( 30, 14 );

        Text [ en-US ] = "~Find";
    };

    Control CTL_SUGGESTIONS
    {
        Pos = MAP_APPFONT( 51, 46 );
        Size = MAP_APPFONT( 186, 30 );
        TabStop = TRUE ;
    };

    FixedText FT_FORMAT
    {
        Pos = MAP_APPFONT( 6, 81 );
        Size = MAP_APPFONT( 42, 8 );

        Text [ en-US ] = "Format";
    };

    RadioButton RB_SIMPLE_CONVERSION
    {
        Pos = MAP_APPFONT( 51, 81 );
        Size = MAP_APPFONT( 60, 8 );

        Group = TRUE;

        Text [ en-US ] = "~Hangul/Hanja";
    };

    RadioButton RB_HANJA_HANGUL_BRACKETED
    {
        Pos = MAP_APPFONT( 114, 81 );
        Size = MAP_APPFONT( 60, 8 );

        Text [ en-US ] = "Hanja (Han~gul)";
    };

    RadioButton RB_HANGUL_HANJA_BRACKETED
    {
        Pos = MAP_APPFONT( 177, 81 );
        Size = MAP_APPFONT( 60, 8 );

        Text [ en-US ] = "Hang~ul (Hanja)";
    };

    RadioButton RB_HANGUL_HANJA_ABOVE
    {
        Pos = MAP_APPFONT( 51, 95 );
        Size = MAP_APPFONT( 60, 16 );

        // this is the _primary_ text
        Text [ en-US ] = "Hangu~l";
    };

    RadioButton RB_HANGUL_HANJA_BELOW
    {
        Pos = MAP_APPFONT( 114, 95 );
        Size = MAP_APPFONT( 60, 16 );

        // this is the _primary_ text
        Text [ en-US ] = "Hang~ul";
    };

    RadioButton RB_HANJA_HANGUL_ABOVE
    {
        Pos = MAP_APPFONT( 56, 114 );
        Size = MAP_APPFONT( 60, 16 );

        // this is the _primary_ text
        Text [ en-US ] = "Han~ja";
    };

    RadioButton RB_HANJA_HANGUL_BELOW
    {
        Pos = MAP_APPFONT( 114, 114 );
        Size = MAP_APPFONT( 60, 16 );

        // this is the _primary_ text
        Text [ en-US ] = "Ha~nja";
    };

    FixedText FT_CONVERSION
    {
        Pos = MAP_APPFONT( 6, 134 );
        Size = MAP_APPFONT( 42, 8 );

        Text [ en-US ] = "Conversion";
    };

    CheckBox CB_HANGUL_ONLY
    {
        Pos = MAP_APPFONT( 51, 134 );
        Size = MAP_APPFONT( 60, 8 );

        Text [ en-US ] = "Hangul ~only";
    };

    CheckBox CB_HANJA_ONLY
    {
        Pos = MAP_APPFONT( 114, 134 );
        Size = MAP_APPFONT( 55, 8 );

        Text [ en-US ] = "Hanja onl~y";
    };

    // this element is only for determining where our radio button group ends (in both directions)
    FixedText FT_RESIZE_ANCHOR
    {
        Pos = MAP_APPFONT( 241, 133 );
    };

    CheckBox CB_REPLACE_BY_CHARACTER
    {
        Pos = MAP_APPFONT( 241, 81 );
        Size = MAP_APPFONT( 55, 24 );

        WordBreak = TRUE;

        Text [ en-US ] = "Replace b~y character";
    };

    String STR_HANGUL
    {
        Text [ en-US ] = "Hangul";
    };

    String STR_HANJA
    {
        Text [ en-US ] = "Hanja";
    };
};

ModalDialog RID_SVX_MDLG_HANGULHANJA_OPT
{
    OutputSize = TRUE ;
    Hide = TRUE ;
    SVLook = TRUE ;
    HelpId = HID_HANGULHANJA_OPT_DLG;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( HHO_DLGWIDTH , HHx_DLGHIGHT ) ;
    Text [ en-US ] = "Hangul/Hanja Options" ;
    Moveable = TRUE ;
    Closeable = TRUE ;

    FixedText FT_USERDEFDICT
    {
        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_1 ) ;
        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1, 8 ) ;
        Text[ en-US ] = "User-defined dictionaries";
    };
    Control LB_DICTS
    {
        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_2 ) ;
        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1 , HHO_ROW_7 - HHO_ROW_2 ) ;
        HelpId = HID_HANGULHANJA_OPT_DICTS_LB;
        TabStop = TRUE;
        Border = TRUE;
    };
    FixedLine FL_OPTIONS
    {
        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_8 ) ;
        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_1, 8 ) ;
        Text[ en-US ] = "Options";
    };
    CheckBox CB_IGNOREPOST
    {
        Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_9 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
        Text[ en-US ] = "Ignore post-positional word";
    };
    CheckBox CB_SHOWRECENTLYFIRST
    {
        Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_11 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
        Text [ en-US ] = "Show recently used entries first";
    };
    CheckBox CB_AUTOREPLACEUNIQUE
    {
        Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_12 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
        Text [ en-US ] = "Replace all unique entries automatically";
    };
    PushButton PB_HHO_NEW
    {
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_2 ) ;
        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
        Text [ en-US ] = "New...";
    };
    PushButton PB_HHO_EDIT
    {
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_4 ) ;
        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
        Text [ en-US ] = "Edit...";
    };
    PushButton PB_HHO_DELETE
    {
        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_6 ) ;
        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
        Text [ en-US ] = "Delete";
    };
    OKButton PB_HHO_OK
    {
        DefButton = TRUE;
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a1 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
    };
    CancelButton PB_HHO_CANCEL
    {
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a3 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
    };
    HelpButton PB_HHO_HELP
    {
        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a5 ) ;
        Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
    };

};


ModalDialog RID_SVX_MDLG_HANGULHANJA_NEWDICT
{
    HelpId = HID_HANGULHANJA_NEWDICT_DLG;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 213 , 66 ) ;
    Moveable = TRUE ;

    Text [ en-US ] = "New Dictionary" ;

    FixedLine FL_NEWDICT
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 145 , 8 ) ;
        Text [ en-US ] = "Dictionary" ;
    };
    FixedText FT_DICTNAME
    {
        Pos = MAP_APPFONT ( 11 , 15 ) ;
        Size = MAP_APPFONT ( 40 , 10 ) ;
        LeftLabel = TRUE ;
        Text [ en-US ] = "~Name" ;
    };
    Edit ED_DICTNAME
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 55 , 14 ) ;
        Size = MAP_APPFONT ( 90 , 12 ) ;
        MaxTextLength = 32 ;
    };
    OKButton PB_NEWDICT_OK
    {
        Pos = MAP_APPFONT ( 157 , 6 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Disable = TRUE ;
        DefButton = TRUE ;
    };
    CancelButton PB_NEWDICT_ESC
    {
        Pos = MAP_APPFONT ( 157 , 23 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton PB_NEWDICT_HLP
    {
        Pos = MAP_APPFONT ( 157 , 43 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};


ModalDialog RID_SVX_MDLG_HANGULHANJA_EDIT
{
    OutputSize = TRUE ;
    Hide = TRUE ;
    SVLook = TRUE ;
    HelpId = HID_HANGULHANJA_EDIT_DLG;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( HHE_DLGWIDTH , HHx_DLGHIGHT ) ;
    Text [ en-US ] = "Edit Custom Dictionary" ;
    Moveable = TRUE ;
    Closeable = TRUE ;

    String STR_EDITHINT
    {
        Text [ en-US ] = "[Enter text here]";
    };
    FixedText FT_BOOK
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_2 ) ;
        Size = MAP_APPFONT ( HHE_COL_2 - HHE_COL_1, 8 ) ;
        Text [ en-US ] = "Book";
    };
    ListBox LB_BOOK
    {
        Pos = MAP_APPFONT ( HHE_COL_3 , HHE_ROW_1 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_3 , 60 ) ;
        DropDown = TRUE;
        Border = TRUE;
    };
    FixedText FT_ORIGINAL
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_4 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
        Text [ en-US ] = "Original";
    };
    ComboBox LB_ORIGINAL
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_5 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1 , 60 ) ;
        DropDown = TRUE;
        Border = TRUE;
    };
    FixedText FT_SUGGESTIONS
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_10 ) ;
        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
        Text [ en-US ] = "Suggestions (max. 8)";
    };
    Edit ED_1
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
        Hide = False;
        Border = TRUE;
    };
    Edit ED_2
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 12 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
        Hide = False;
        Border = TRUE;
    };
    Edit ED_3
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 24 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
        Hide = False;
        Border = TRUE;
    };
    Edit ED_4
    {
        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 36 ) ;
        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
        Hide = False;
        Border = TRUE;
    };
    ScrollBar SB_SCROLL
    {
        Pos = MAP_APPFONT ( HHE_COL_3_2 , HHE_ROW_11 ) ;
        Size = MAP_APPFONT ( RSC_CD_VSCRLWIDTH , HHE_ROW_12 - HHE_ROW_11 ) ;    // height = 48
        VScroll = TRUE ;
        Drag = TRUE ;
    };
    PushButton PB_HHE_NEW
    {
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a1 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Text [ en-US ] = "New";
    };
    PushButton PB_HHE_DELETE
    {
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a3 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Text [ en-US ] = "Delete";
    };
    HelpButton PB_HHE_HELP
    {
        Pos = MAP_APPFONT ( HHE_COL_3_0 , HHE_ROW_13 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
    };
    CancelButton PB_HHE_CLOSE
    {
        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_13 ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Text [ en-US ] = "Close";
    };
};