aboutsummaryrefslogtreecommitdiff
path: root/source/zh-CN/helpcontent2/source/text/sbasic/guide.po
blob: 0208ff717c68c69a7d19cf98615500f4d352f345 (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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
#. extracted from helpcontent2/source/text/sbasic/guide
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
"POT-Creation-Date: 2018-04-25 13:24+0200\n"
"PO-Revision-Date: 2018-07-31 06:29+0000\n"
"Last-Translator: LiuGuang <l.g110@163.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Accelerator-Marker: ~\n"
"X-Generator: Pootle 2.8\n"
"X-POOTLE-MTIME: 1533018599.000000\n"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"tit\n"
"help.text"
msgid "Access2Base"
msgstr "Access2Base"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"bm_idA2B001\n"
"help.text"
msgid "<bookmark_value>Access2Base</bookmark_value><bookmark_value>Microsoft Access; Access2Base</bookmark_value><bookmark_value>Access databases; run in Base</bookmark_value>"
msgstr "<bookmark_value>Access2Base</bookmark_value><bookmark_value>Microsoft Access; Access2Base</bookmark_value><bookmark_value>Access 数据库; 在 Base 中运行</bookmark_value>"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"hd_idA2B002\n"
"help.text"
msgid "Access2Base"
msgstr "Access2Base"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"hd_idA2B003\n"
"help.text"
msgid "What is Access2Base?"
msgstr "什么是 Access2Base?"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B004\n"
"help.text"
msgid "Access2Base is a LibreOffice Basic library of macros for (business or personal) application developers and advanced users. It is one of the libraries stored in \"LibreOffice macros and dialogs\"."
msgstr "Access2Base 是一个 LibreOffice Basic 宏的程序库,用于商业和个人程序开发者以及高级用户。它是存储在 \"LibreOffice 宏和对话框\" 中的程序库之一。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B005\n"
"help.text"
msgid "The functionalities provided by the implemented macros are all directly inspired by Microsoft Access. The macros are callable mainly from a LibreOffice <emph>Base</emph> application, but also from <emph>any</emph> LibreOffice document (Writer, Calc, ...) where access to data stored in a database makes sense."
msgstr "这些宏中提供的功能都是直接受微软 Access 的启发而实施的。这些宏主要运行于 LibreOffice <emph> Base</emph> 程序中,但是,如果有必要调用储存在数据库中的数据,当然也可以在<emph>任何</emph>其他 LibreOffice 文档 (Writer, Calc, ...) 中运行。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B006\n"
"help.text"
msgid "The API provided by Access2Base is intended to be more concise, intuitive and easy to learn than the standard UNO API (API = Application Programming Interface)."
msgstr "比起标准的UNO API,Access2Base 提供的 API 旨在尽可能的简单、直观、容易学习。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B007\n"
"help.text"
msgid "<emph>The library is documented online on </emph><link href=\"http://www.access2base.com\" name=\"http://www.access2base.com\"><emph>http://www.access2base.com</emph></link>."
msgstr "<emph>该程序库的用户文档可在以下位置找到:</emph><link href=\"http://www.access2base.com\" name=\"http://www.access2base.com\"><emph>http://www.access2base.com</emph></link>。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"hd_idA2B008\n"
"help.text"
msgid "The implemented macros include:"
msgstr "实现的宏包括:"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B009\n"
"help.text"
msgid "a simplified and extensible API for <emph>forms</emph>, <emph>dialogs</emph> and <emph>controls</emph> manipulations similar with the Microsoft Access object model,"
msgstr "它是一个简化并可扩展的API,用于对 <emph>表单</emph>、<emph>对话框</emph>以及<emph>控件</emph>进行操作,与Microsoft Access 对象模型类似。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B010\n"
"help.text"
msgid "an API for database access with the <emph>table</emph>, <emph>query</emph>, <emph>recordset</emph> and <emph>field</emph> objects,"
msgstr "用于数据库访问的API,包含<emph>表格</emph>,<emph>查询</emph>,<emph>记录集</emph>和<emph>字段</emph>对象,"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B011\n"
"help.text"
msgid "a number of <emph>actions</emph> with a syntax identical to their corresponding Microsoft Access macros/actions,"
msgstr "一些<emph>动作</emph>,其语法与对应的MSAcess宏/动作相同,"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B012\n"
"help.text"
msgid "the <emph>DLookup</emph>, <emph>DSum</emph>, ... database functions,"
msgstr "<emph>DLookup</emph>, <emph>DSum</emph>, ... 等数据库函数,"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B013\n"
"help.text"
msgid "the support of the shortcut notations like <item type=\"literal\">Forms!myForm!myControl</item>"
msgstr "支持类似 <item type=\"literal\">Forms!myForm!myControl</item> 的快捷符号(shortcut notations)"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B014\n"
"help.text"
msgid "in addition"
msgstr "此外"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B015\n"
"help.text"
msgid "a consistent errors and exceptions handler,"
msgstr "一致的错误和异常处理,"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B016\n"
"help.text"
msgid "facilities for programming form, dialog and control <emph>events</emph> and"
msgstr "用于编程表单、对话框以及控件<emph>事件</emph>的工具"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"par_idA2B017\n"
"help.text"
msgid "the support of both embedded forms and standalone (Writer) forms."
msgstr "同时对对嵌入式表单以及单独(Writer)表单的支持。"

#: access2base.xhp
msgctxt ""
"access2base.xhp\n"
"hd_idA2B018\n"
"help.text"
msgid "Compare Access2Base with Microsoft Access VBA"
msgstr "Access2Base 与 Microsoft Access VBA 的对比"

#: control_properties.xhp
msgctxt ""
"control_properties.xhp\n"
"tit\n"
"help.text"
msgid "Changing the Properties of Controls in the Dialog Editor"
msgstr "修改对话框编辑器中控件的属性"

#: control_properties.xhp
msgctxt ""
"control_properties.xhp\n"
"bm_id3145786\n"
"help.text"
msgid "<bookmark_value>properties; controls in dialog editor</bookmark_value><bookmark_value>changing;control properties</bookmark_value><bookmark_value>controls;changing properties</bookmark_value><bookmark_value>dialog editor;changing control properties</bookmark_value>"
msgstr "<bookmark_value>属性; 对话框编辑器中的控件</bookmark_value><bookmark_value>修改;控件属性</bookmark_value><bookmark_value>控件;修改属性</bookmark_value><bookmark_value>对话框编辑器;修改控件属性</bookmark_value>"

#: control_properties.xhp
msgctxt ""
"control_properties.xhp\n"
"hd_id3145786\n"
"help.text"
msgid "<variable id=\"control_properties\"><link href=\"text/sbasic/guide/control_properties.xhp\" name=\"Changing the Properties of Controls in the Dialog Editor\">Changing the Properties of Controls in the Dialog Editor</link></variable>"
msgstr "<variable id=\"control_properties\"><link href=\"text/sbasic/guide/control_properties.xhp\" name=\"Changing the Properties of Controls in the Dialog Editor\">修改对话框编辑器中控件的属性</link></variable>"

#: control_properties.xhp
msgctxt ""
"control_properties.xhp\n"
"par_id3147317\n"
"help.text"
msgid "You can set the properties of control that you add to a dialog. For example, you can change the color, name, and size of a button that you added. You can change most control properties when you create or edit a dialog. However, you can only change some properties at runtime."
msgstr "您可以设置添加到对话框中的控件的属性。例如,可以修改添加的按钮的颜色、名称和大小。在创建或编辑对话框时,可以修改大多数控件属性。但运行时只能修改控件的某些属性。"

#: control_properties.xhp
msgctxt ""
"control_properties.xhp\n"
"par_id3145749\n"
"help.text"
msgid "To change the properties of a control in design mode, right-click the control, and then choose <emph>Properties</emph>."
msgstr "要在设计模式下修改某个控件的属性,请在该控件上单击鼠标右键,然后选择<emph>属性</emph>。"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"tit\n"
"help.text"
msgid "Creating a Basic Dialog"
msgstr "创建 Basic 对话框"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"bm_id3149346\n"
"help.text"
msgid "<bookmark_value>dialogs;creating Basic dialogs</bookmark_value>"
msgstr "<bookmark_value>对话框; 创建 Basic 对话框</bookmark_value>"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"hd_id3149346\n"
"help.text"
msgid "<variable id=\"create_dialog\"><link href=\"text/sbasic/guide/create_dialog.xhp\" name=\"Creating a Basic Dialog\">Creating a Basic Dialog</link></variable>"
msgstr "<variable id=\"create_dialog\"><link href=\"text/sbasic/guide/create_dialog.xhp\" name=\"Creating a Basic Dialog\">创建 Basic 对话框</link></variable>"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"par_id3163802\n"
"help.text"
msgid "Choose <emph>Tools - Macros - Organize Dialogs</emph>, and then click <emph>New</emph>."
msgstr "选择<emph>工具 - 宏 - 管理对话框</emph>,然后单击<emph>新建</emph>。"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"par_id3150447\n"
"help.text"
msgid "Enter a name for the dialog, and click OK. To rename the dialog later, right-click the name on the tab, and choose <emph>Rename</emph>."
msgstr "为对话框输入名称,然后单击“确定”。以后如果要重命名对话框,在选项卡名称上单击鼠标右键,然后选择<emph>重命名</emph>。"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"par_idN1065F\n"
"help.text"
msgid "Click <emph>Edit</emph>. The Basic dialog editor opens and contains a blank dialog."
msgstr "单击<emph>编辑</emph>。Basic 对话框编辑器打开,并含有一个空对话框。"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"par_id3153726\n"
"help.text"
msgid "If you do not see the <emph>Toolbox</emph> bar, click the arrow next to the <emph>Insert Controls </emph>icon to open the <emph>Toolbox</emph> bar."
msgstr "如果未看到<emph>工具箱</emph>栏,请单击<emph>插入控件</emph>图标旁的箭头,打开<emph>工具箱</emph>栏。"

#: create_dialog.xhp
msgctxt ""
"create_dialog.xhp\n"
"par_id3148455\n"
"help.text"
msgid "Click a tool and then drag in the dialog to create the control."
msgstr "单击某个工具,然后在对话框中拖动鼠标,即可创建控件。"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"tit\n"
"help.text"
msgid "Creating Controls in the Dialog Editor"
msgstr "在对话框编辑器中创建控件"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"bm_id3149182\n"
"help.text"
msgid "<bookmark_value>controls; creating in the dialog editor</bookmark_value><bookmark_value>dialog editor;creating controls</bookmark_value>"
msgstr "<bookmark_value>控件; 在对话框编辑器中创建</bookmark_value><bookmark_value>对话框编辑器;创建控件</bookmark_value>"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"hd_id3149182\n"
"help.text"
msgid "<variable id=\"insert_control\"><link href=\"text/sbasic/guide/insert_control.xhp\" name=\"Creating Controls in the Dialog Editor\">Creating Controls in the Dialog Editor</link></variable>"
msgstr "<variable id=\"insert_control\"><link href=\"text/sbasic/guide/insert_control.xhp\" name=\"Creating Controls in the Dialog Editor\">在对话框编辑器中创建控件</link></variable>"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"par_id3146797\n"
"help.text"
msgid "Use the tools on the <emph>Toolbox </emph>of the BASIC dialog editor to add controls to your dialog."
msgstr "使用 BASIC 对话框编辑器上的<emph>工具箱</emph>可在对话框中添加控件。"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"par_id3150276\n"
"help.text"
msgid "To open the <emph>Toolbox</emph>, click the arrow next to the <emph>Insert Controls</emph> icon on the <emph>Macro</emph> toolbar."
msgstr "为打开<emph>工具箱</emph>,请单击位于<emph>宏</emph>工具栏上的<emph>插入控件</emph>图标旁的箭头。"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"par_id3145068\n"
"help.text"
msgid "Click a tool on the toolbar, for example, <emph>Button</emph>."
msgstr "单击工具栏上的某个工具,例如<emph>按钮</emph>。"

#: insert_control.xhp
msgctxt ""
"insert_control.xhp\n"
"par_id3153360\n"
"help.text"
msgid "On the dialog, drag the button to the size you want."
msgstr "在对话框上,拖动鼠标直至按钮达到所需的大小。"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"tit\n"
"help.text"
msgid "Programming Examples for Controls in the Dialog Editor"
msgstr "对话框编辑器中控件的编程示例"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"bm_id3155338\n"
"help.text"
msgid "<bookmark_value>programming examples for controls</bookmark_value><bookmark_value>dialogs;loading (example)</bookmark_value><bookmark_value>dialogs;displaying (example)</bookmark_value><bookmark_value>controls;reading or editing properties (example)</bookmark_value><bookmark_value>list boxes;removing entries from (example)</bookmark_value><bookmark_value>list boxes;adding entries to (example)</bookmark_value><bookmark_value>examples; programming controls</bookmark_value><bookmark_value>dialog editor;programming examples for controls</bookmark_value>"
msgstr "<bookmark_value>控件编程示例</bookmark_value><bookmark_value>对话框;加载(示例)</bookmark_value><bookmark_value>对话框;显示(示例)</bookmark_value><bookmark_value>控件;读取或编辑属性(示例)</bookmark_value><bookmark_value>列表框;从(示例)删除条目</bookmark_value><bookmark_value>列表框;添加条目至(示例)</bookmark_value><bookmark_value>示例; 编程控件</bookmark_value><bookmark_value>对话框编辑器;控件的编程示例</bookmark_value>"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3155338\n"
"help.text"
msgid "<variable id=\"sample_code\"><link href=\"text/sbasic/guide/sample_code.xhp\" name=\"Programming Examples for Controls in the Dialog Editor\">Programming Examples for Controls in the Dialog Editor</link></variable>"
msgstr "<variable id=\"sample_code\"><link href=\"text/sbasic/guide/sample_code.xhp\" name=\"Programming Examples for Controls in the Dialog Editor\">对话框编辑器中控件的编程示例</link></variable>"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3153031\n"
"help.text"
msgid "The following examples are for a new <link href=\"text/sbasic/guide/create_dialog.xhp\" name=\"dialog\">dialog</link> called \"Dialog1\". Use the tools on the <emph>Toolbox</emph> bar in the dialog editor to create the dialog and add the following controls: a <emph>Check Box</emph> called \"CheckBox1\", a <emph>Label Field</emph> called \"Label1\", a <emph>Button</emph> called \"CommandButton1\", and a <emph>List Box</emph> called \"ListBox1\"."
msgstr "以下示例针对的是一个名为 \"Dialog1\" 的新<link href=\"text/sbasic/guide/create_dialog.xhp\" name=\"对话框\">对话框</link>。使用对话框编辑器中的<emph>工具箱</emph>栏上的工具可以创建对话框并添加下列控件:名为 \"CheckBox1\" 的<emph>复选框</emph>、名为 \"Label1\" 的<emph>标签字段</emph>、名为 \"CommandButton1\" 的<emph>按钮</emph>以及名为 \"ListBox1\" 的<emph>列表框</emph>。"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3154141\n"
"help.text"
msgid "Be consistent with uppercase and lowercase letter when you attach a control to an object variable."
msgstr "在将控件附加到对象变量时,请使字母大小写保持一致。"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3154909\n"
"help.text"
msgid "Global Function for Loading Dialogs"
msgstr "加载对话框的全局函数"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3149412\n"
"help.text"
msgid "Displaying a Dialog"
msgstr "显示对话框"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3145801\n"
"help.text"
msgid "REM global definition of variables"
msgstr "REM 全局变量定义"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3150042\n"
"help.text"
msgid "Read or Edit Properties of Controls in the Program"
msgstr "读取或编辑程序中控件的属性"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3145232\n"
"help.text"
msgid "REM get dialog model"
msgstr "REM 获取对话框模型"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3154021\n"
"help.text"
msgid "REM display text of Label1"
msgstr "REM 显示 Label1 的文字"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3151277\n"
"help.text"
msgid "REM set new text for control Label1"
msgstr "REM 设置控件 Label1 的新文字"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3154119\n"
"help.text"
msgid "oLabel1.Text = \"New Files\""
msgstr "oLabel1.Text = \"New Files\""

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3155115\n"
"help.text"
msgid "REM display model properties for the control CheckBox1"
msgstr "REM 显示控件 CheckBox1 的模型属性"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3149817\n"
"help.text"
msgid "REM set new state for CheckBox1 for model of control"
msgstr "REM 为 CheckBox1 的控件模型设置新状态"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3159102\n"
"help.text"
msgid "REM display model properties for control CommandButton1"
msgstr "REM 显示控件 CommandButton1 的模型属性"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3150368\n"
"help.text"
msgid "REM display properties of control CommandButton1"
msgstr "REM 显示控制 CommandButton1 的属性"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3150201\n"
"help.text"
msgid "REM execute dialog"
msgstr "REM 执行对话框"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3145387\n"
"help.text"
msgid "Add an Entry to a ListBox"
msgstr "向列表框中添加条目"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3148700\n"
"help.text"
msgid "REM adds a new entry to the ListBox"
msgstr "REM 向 ListBox 中添加新条目"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3144504\n"
"help.text"
msgid "oListbox.additem(\"New Item\" & iCount,0)"
msgstr "oListbox.additem(\"New Item\" & iCount,0)"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"hd_id3147071\n"
"help.text"
msgid "Remove an Entry from a ListBox"
msgstr "删除 ListBox 中的条目"

#: sample_code.xhp
msgctxt ""
"sample_code.xhp\n"
"par_id3153247\n"
"help.text"
msgid "REM remove the first entry from the ListBox"
msgstr "REM 删除 ListBox 中的第一个条目"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"tit\n"
"help.text"
msgid "Opening a Dialog With Program Code"
msgstr "通过程序代码打开对话框"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"bm_id3154140\n"
"help.text"
msgid "<bookmark_value>module/dialog toggle</bookmark_value><bookmark_value>dialogs;using program code to show (example)</bookmark_value><bookmark_value>examples; showing a dialog using program code</bookmark_value>"
msgstr "<bookmark_value>模块/对话框切换</bookmark_value><bookmark_value>对话框; 通过程序代码显示(示例)</bookmark_value><bookmark_value>示例; 通过程序代码显示一个对话框</bookmark_value>"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"hd_id3154140\n"
"help.text"
msgid "<variable id=\"show_dialog\"><link href=\"text/sbasic/guide/show_dialog.xhp\" name=\"Opening a Dialog With Program Code\">Opening a Dialog With Program Code</link></variable>"
msgstr "<variable id=\"show_dialog\"><link href=\"text/sbasic/guide/show_dialog.xhp\" name=\"Opening a Dialog With Program Code\">通过程序代码打开对话框</link></variable>"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"par_id3145171\n"
"help.text"
msgid "In the <item type=\"productname\">%PRODUCTNAME</item> BASIC window for a dialog that you created, leave the dialog editor by clicking the name tab of the Module that the dialog is assigned to. The name tab is at the bottom of the window."
msgstr "在创建的对话框所在的 <item type=\"productname\">%PRODUCTNAME</item> BASIC 窗口中,单击该对话框所在模块的名称选项卡可以保留该对话框编辑器。名称选项卡位于窗口底部。"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"par_id3153968\n"
"help.text"
msgid "Enter the following code for a subroutine called <emph>Dialog1Show</emph>. In this example, the name of the dialog that you created is \"Dialog1\":"
msgstr "输入以下代码,生成名为 <emph>Dialog1Show</emph> 的子例行程序。在本例中,创建的对话框名为 \"Dialog1\":"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"par_id3152596\n"
"help.text"
msgid "Without using \"LoadDialog\" you can call the code as follows:"
msgstr "如果不使用 \"LoadDialog\",可以通过以下方法调用代码:"

#: show_dialog.xhp
msgctxt ""
"show_dialog.xhp\n"
"par_id3153157\n"
"help.text"
msgid "When you execute this code, \"Dialog1\" opens. To close the dialog, click the close button (x) on its title bar."
msgstr "当执行此代码时,将打开 \"Dialog1\" 对话框。要关闭该对话框,请单击标题栏右上角的 x。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"tit\n"
"help.text"
msgid "Translation of Controls in the Dialog Editor"
msgstr "“对话框编辑器”中的“控件翻译”"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"bm_id8915372\n"
"help.text"
msgid "<bookmark_value>dialogs;translating</bookmark_value><bookmark_value>localizing dialogs</bookmark_value><bookmark_value>translating dialogs</bookmark_value>"
msgstr "<bookmark_value>对话框; 翻译</bookmark_value><bookmark_value>本地化对话框</bookmark_value><bookmark_value>翻译对话框</bookmark_value>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"hd_id3574896\n"
"help.text"
msgid "<variable id=\"translation\"><link href=\"text/sbasic/guide/translation.xhp\">Translation of Controls in the Dialog Editor</link></variable>"
msgstr "<variable id=\"translation\"><link href=\"text/sbasic/guide/translation.xhp\">“对话框编辑器”中的“控件翻译”</link></variable>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id4601940\n"
"help.text"
msgid "The Language toolbar in the Basic IDE dialog editor shows controls to enable and manage localizable dialogs."
msgstr "Basic IDE 对话框编辑器中的“语言”工具栏显示了用于启用和管理可本地化的对话框的控件。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id9538560\n"
"help.text"
msgid "By default, any dialog that you create only contains string resources for one language. You may want to create dialogs that automatically show localized strings according to the user's language settings."
msgstr "默认情况下, 您所创建的任何对话框只能包含一种语言的字符串资源。您可能想创建可以根据用户语言设置自动显示已本地化的字符串的对话框。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id6998809\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Select the language for the strings that you want to edit. Click the Manage Languages icon to add languages.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">为字符串选择您想要编辑的语言。单击“管理语言”图标添加语言。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id71413\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Click a language, then click Default to set the language as default, or click Delete to remove the language from the list.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">单击某种语言,然后单击“默认”将此语言设为默认值,或者单击“删除”将此语言从列表中删除。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id2924283\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Opens a dialog where you can add a language to the list.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">打开可以将某种语言添加到列表中的对话框。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id5781731\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Select a language in the list and click Delete to remove that language. When you remove all languages, the string resources for localizable dialogs are removed from all dialogs in the current library.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">在列表中选择某种语言,单击“删除”来删除此语言。当您删除全部语言时,可本地化对话框的字符串资源从当前程序库的全部对话框中被删除。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id6942045\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Select a language in the list and click Default to set the language as default language.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">在列表中选择某种语言,单击“默认”将此语言设为默认语言。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id4721823\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">The default language will be used as a source for all other language strings.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">默认语言将作为全部其他语言字符串的源来使用。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id5806756\n"
"help.text"
msgid "<ahelp hid=\".\" visibility=\"hidden\">Add UI languages for your dialog strings.</ahelp>"
msgstr "<ahelp hid=\".\" visibility=\"hidden\">为对话框字符串添加 UI 语言。</ahelp>"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"hd_id6596881\n"
"help.text"
msgid "To enable localizable dialogs"
msgstr "启用可本地化对话框"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id8750572\n"
"help.text"
msgid "In the Basic IDE dialog editor, open the Language toolbar choosing <item type=\"menuitem\">View - Toolbars - Language</item>."
msgstr "在 Basic IDE 对话框编辑器中,打开“语言”工具栏选择<item type=\"menuitem\">视图 - 工具栏 - 语言</item>。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id2224494\n"
"help.text"
msgid "If the current library already contains a localizable dialog, the Language toolbar is shown automatically."
msgstr "如果当前程序库已经包含可本地化对话框,则自动显示“语言”工具栏。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id7359233\n"
"help.text"
msgid "Click the <emph>Manage Languages</emph> icon<image id=\"img_id2526017\" src=\"cmd/sc_managelanguage.png\" width=\"0.1665inch\" height=\"0.1665inch\"><alt id=\"alt_id2526017\">Manage Language icon</alt></image> on the Language toolbar or on the Toolbox bar."
msgstr "单击<emph>管理语言</emph>图标<image id=\"img_id2526017\" src=\"cmd/sc_managelanguage.png\" width=\"0.1665inch\" height=\"0.1665inch\"><alt id=\"alt_id2526017\">“管理语言”图标</alt></image>位于“语言”工具栏或“工具箱”栏。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id6549272\n"
"help.text"
msgid "You see the Manage User Interface Language dialog. The dialog manages languages for the current library. The name of the current library is shown on the title bar."
msgstr "您可以看到“管理用户界面语言”对话框。此对话框为当前程序库管理语言。标题栏显示当前程序库的名称。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id6529740\n"
"help.text"
msgid "Click Add in the dialog to add a language entry."
msgstr "在对话框中单击“添加”来添加语言条目。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id7811822\n"
"help.text"
msgid "This step enables all new dialogs to contain localizable string resources."
msgstr "此步骤使得全部新建对话框都包含可本地化的字符串资源。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id9121982\n"
"help.text"
msgid "The first time you click Add, you see the Set Default User Interface Language dialog. The following times you click Add, this dialog has the name Add User Interface Language."
msgstr "第一次单击“添加”,您将看到“设置默认用户界面语言”对话框。以后单击“添加”,此对话框已有名称“添加用户界面语言”。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id3640247\n"
"help.text"
msgid "You can also change the default language in the Manage User Interface Language dialog."
msgstr "您也可以在“管理用户界面语言”对话框中更改默认语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id3808404\n"
"help.text"
msgid "Select a language."
msgstr "选择语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id4585100\n"
"help.text"
msgid "This adds string resources to contain the translated versions of all strings to the dialog properties. The set of dialog strings of the default language is copied to the new set of strings. Later, you can switch to the new language and then translate the strings."
msgstr "添加字符串资源将全部字符串的翻译版本包含在对话框属性中。默认语言对话框字符串的设置被复制到新的字符串设置中。之后,您可以切换至新的语言,然后翻译字符串。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id2394482\n"
"help.text"
msgid "Close the dialog or add additional languages."
msgstr "关闭对话框或者添加其他语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"hd_id631733\n"
"help.text"
msgid "To edit localizable controls in your dialog"
msgstr "在您的对话框中编辑可本地化控件"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id2334665\n"
"help.text"
msgid "Once you have added the resources for localizable strings in your dialogs, you can select the current language from the Current Language listbox on the Language toolbar."
msgstr "一旦在您的对话框中为可本地化字符串添加了资源,您就可以从“语言”工具栏的“当前语言”列表框中选择当前语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id8956572\n"
"help.text"
msgid "Switch the Current Language listbox to display the default language."
msgstr "切换到“当前语言”列表框来显示默认语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id500808\n"
"help.text"
msgid "Insert any number of controls to your dialog and enter all strings you want."
msgstr "将控件编号插入到对话框并且输入您想要的全部字符串。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id8366649\n"
"help.text"
msgid "Select another language in the Current Language listbox."
msgstr "在“当前语言”列表框选择另一种语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id476393\n"
"help.text"
msgid "Using the control's property dialogs, edit all strings to the other language."
msgstr "使用控件的属性对话框,将全部字符串编辑为其他语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id2655720\n"
"help.text"
msgid "Repeat for all languages that you added."
msgstr "重复您所添加的全部语言。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id3682058\n"
"help.text"
msgid "The user of your dialog will see the strings of the user interface language of the user's version of %PRODUCTNAME, if you did provide strings in that language."
msgstr "如果您提供此语言的字符串,对话框的用户将会看到 %PRODUCTNAME 用户版本的用户界面语言的字符串。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id5977965\n"
"help.text"
msgid "If no language matches the user's version, the user will see the default language strings."
msgstr "如果没有语言匹配用户的版本,用户将看到默认语言字符串。"

#: translation.xhp
msgctxt ""
"translation.xhp\n"
"par_id3050325\n"
"help.text"
msgid "If the user has an older version of %PRODUCTNAME that does not know localizable string resources for Basic dialogs, the user will see the default language strings."
msgstr "如果用户拥有 %PRODUCTNAME 的旧版本,此版本对 Basic 对话框的可本地化字符串资源未知,用户将会看到默认语言字符串。"