-
Notifications
You must be signed in to change notification settings - Fork 0
/
24.txt
938 lines (670 loc) · 28.7 KB
/
24.txt
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
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
7309
Infix is a PDF editor, i.e. the text in the PDF can be edited directly.
未翻译
没有修改者
website/howtos/iceni_infix.html
7310
Although it is debatable whether the results of this procedure will be comparable to re-layouting of the translation by a DTP professional, they are likely to be much better than conversion to completely different formats (such as RTF).
至于Infix的转换结果是否能和在DTP中二次导出PDF格式的译文相媲美,虽然结论仍有争议,但它应该能比直接转换为RTF等完全不同的格式文件要好得多。
think
website/howtos/iceni_infix.html
7311
The "Professional" version of Infix has a further function of interest to translators: XML text export.
Infix Professional有一个吸引译者的进阶功能:XML文本输出。
think
website/howtos/iceni_infix.html
7312
This enables the text to be exported to an XML file which can be translated in a CAT tool.
这使得文本能以XML格式导出,从而可以使用CAT工具来翻译。
think
website/howtos/iceni_infix.html
7313
The translated text can then be re-imported into Infix Professional.
之后已译文本能被重新导入Infix Professional。
think
website/howtos/iceni_infix.html
7314
OmegaT is among the CAT tools for which this process can be used.
与众多CAT工具相比,OmegaT的一个特色就是具有上述文本转换的功能。
think
website/howtos/iceni_infix.html
7315
The procedure is described in this HowTo.
本操作将介绍这一过程。
think
website/howtos/iceni_infix.html
7316
Platforms
平台
think
website/howtos/iceni_infix.html
7317
Although Infix is a Windows application, Iceni has made efforts to cater for Linux and Macintosh users.
虽然Infix是一个 Windows平台上的应用程序,但通过Iceni它也已能满足Linux和Macintosh平台的使用者
think
website/howtos/iceni_infix.html
7318
Infix Professional can be used on these platforms in conjunction with Crossover Linux and Crossover Macintosh respectively.
Infix Professional通过结合Crossover Linux或Crossover Macintosh实现在这些平台上的使用。
think
website/howtos/iceni_infix.html
7319
Crossover Linux and Crossover Macintosh cost approximately €40.
购买Crossover Linux 和Crossover Macintosh需花费大约40欧元。
think
website/howtos/iceni_infix.html
7320
Again, free demonstration versions are available.
不过您也可以获得它们免费的演示版本。
think
website/howtos/iceni_infix.html
7321
Crossover Linux and Crossover Macintosh can be obtained from the <a0>Codeweavers' website</a0>.
您可以从 <a0>Codeweavers' website</a0>获得Crossover Linux和Crossover Macintosh。
think
website/howtos/iceni_infix.html
7322
<a1>Specific information on running Iceni Infix on Crossover Linux or Crossover Macintosh</a1> is also available.
<a1>Specific information on running Iceni Infix on Crossover Linux or Crossover Macintosh</a1>也同样可以获取该软件。
think
website/howtos/iceni_infix.html
7323
Translating a PDF file: procedure
翻译一个PDF格式的文件:步骤
think
website/howtos/iceni_infix.html
7324
Obtain and install Iceni Infix Professional from the <a0>Iceni webpage</a0>.
从<a0>Iceni webpage</a0> 获取和安装Iceni Infix Professional。
think
website/howtos/iceni_infix.html
7325
A demonstration version is available; at the time of writing, the full version costs around US$150.
您可以获取其演示版本。在本文写作时,购买该软件的完整版本需要大约150美元。
think
website/howtos/iceni_infix.html
7326
If you are using Linux or Macintosh, obtain and install the relevant Crossover version before installing Iceni Infix Professional.
如果您使用的是Linux或Macintosh平台,请先获取和安装相关版本的 Crossover,再安装Iceni Infix Professional。
think
website/howtos/iceni_infix.html
7327
(Infix is also reported to work on WINE.)
(据研究Infix也可以在WINE上运作。)
think
website/howtos/iceni_infix.html
7328
Launch Iceni Infix and open the PDF file you wish to translate.
安装Iceni Infix 并打开您想要翻译的PDF文件。
think
website/howtos/iceni_infix.html
7329
The example in the screenshot is the <a0>European Commission's SME user guide in Hungarian</a0>.
截图中的示例是<a0>European Commission's SME user guide in Hungarian</a0>.
think
website/howtos/iceni_infix.html
7330
infix1.png
infix1.png
think
website/howtos/iceni_infix.html
7331
Export the text from the PDF in Infix's XML format with Document > Translate > Export XML.
按照文件>翻译>导出XML,从PDF中导出Infix XML格式的文本。
think
website/howtos/iceni_infix.html
7332
Save the PDF.
保存PDF。
think
website/howtos/iceni_infix.html
7333
This is important: when you export the XML file from the PDF, Infix makes a note in the file of where all the pieces of text ("stories") belong, so you must use this version of the file when re-importing the translated XML file.
这很重要:当您从PDF中导出XML格式的文件时,Infix会在文件中做一个标记以指示这些文本的片段来自何处从哪里来的(“来历”),所以当重新导入已译好的XML文件时您必须使用这一版本的文件。
think
website/howtos/iceni_infix.html
7334
Create an OmegaT project in the usual way.
以常规方式创建一个OmegaT项目。
think
website/howtos/iceni_infix.html
7335
If you are using OmegaT version 2.3 or later, simply place the XML file exported from Infix as described above in the /source folder of your OmegaT project.
如果您正在使用的是OmegaT 2.3或更新的版本,您只要把如上描述的从 Infix中导出的XML文件放在您 OmegaT项目的 /source文件夹内。
think
website/howtos/iceni_infix.html
7336
If you are using an earlier version of OmegaT, upgrading your OmegaT installation is recommended.
如果您使用的是更早版本的OmegaT,我们推荐升级您的OmegaT 安装程序。
think
website/howtos/iceni_infix.html
7337
Alternatively, you should be able to translate the Infix XML file with good results using earlier versions of OmegaT by means of the HTML filter.
或者,您也可以借助HTML过滤器来帮助更早版本的OmegaT很好地完成Infix XML格式文件的翻译。
think
website/howtos/iceni_infix.html
7338
To use this filter, simply change the file extension of the XML file exported by Infix from .xml to .html.
要使用该过滤器,您只需要将从Infix中导出的XML文件的扩展名由.xml修改为.html即可。
think
website/howtos/iceni_infix.html
7339
Reload your OmegaT project.
重载您的OmegaT项目。
think
website/howtos/iceni_infix.html
7340
You can now translate the text (see screenshot).
现在您就可以翻译文本了(参见截图)。
think
website/howtos/iceni_infix.html
7341
infix2.png
infix2.png
think
website/howtos/iceni_infix.html
7342
Note: OmegaT's Infix filter maps the <BR/> of Infix to <brx/> tags.
提示:OmegaT的Infix过滤器会把Infix的<BR/>标签映射到<brx/>标签。
think
website/howtos/iceni_infix.html
7343
This enables the HTML segmentation rule to be used to choose whether or not segmentation should occur at these points.
这样就能应用HTML的分割规则来选择是否应该在这些点上进行分割。
think
website/howtos/iceni_infix.html
7344
After completing your translation, create the translated document in the usual way (Ctrl+S, Ctrl+D).
当您翻译完成后,以常规方式(Ctrl+S, Ctrl+D)创建已译文档。
think
website/howtos/iceni_infix.html
7345
Locate the translated XML file in the OmegaT project's /target folder.
在OmegaT项目的/目标文件夹中查找已译的XML文件。
think
website/howtos/iceni_infix.html
7346
<i0>If you changed the file extension to .html, change the extension of the translated file back to .xml.</i0>
<i0>如果您已把文件扩展名修改为.html,则需要将已译文件的扩展名修改回.xml。</i0>
think
website/howtos/iceni_infix.html
7347
Back in Iceni Infix, import the translated XML file back into <i0>the PDF from which you exported it</i0>.
返回Iceni Infix,将已译的XML文件导回到 <i0>the PDF from which you exported it</i0>。
think
website/howtos/iceni_infix.html
7348
Save the changes.
保存修改。
think
website/howtos/iceni_infix.html
7349
All being well, your translation will come out looking like the original, but translated.
如果一切顺利,您的翻译就会呈现出来。它看似没变,但其实已经译好。
think
website/howtos/iceni_infix.html
7350
(See screenshot: only the first three segments have been translated.)
(参见截图:只有前三段已被翻译。)
think
website/howtos/iceni_infix.html
7351
Note that if you use the demonstration version of Iceni Infix in this procedure, your translated PDF file will bear an Iceni watermark.
注意如果您在该过程中使用的是演示版本的Iceni Infix,您已译好的PDF文件将会带一个Iceni的水印。
think
website/howtos/iceni_infix.html
7352
For translations intended "for information", this may not be a problem.
对于以此来“获取信息”的翻译工作,这也许不是一个问题。
think
website/howtos/iceni_infix.html
7353
Iceni Infix also enables you to save PDF files in RTF format, but in this case the demonstration version really is only suitable for demonstration purposes, as it contains random character substitutions.
Iceni Infix也允许您以RTF格式保存PDF文件,但本演示版的案例由于包含随机的字符替换,故而只适用于演示目的。
think
website/howtos/iceni_infix.html
7354
infix3.png
infix3.png
think
website/howtos/iceni_infix.html
7355
As is so often the case with things technical (and things translation), there are catches.
由于在技术(和翻译)方面经常出现这种情况,因此常见一些问题。
think
website/howtos/iceni_infix.html
7356
You may find that the embedded fonts in the PDF do not contain all the characters you need.
您也许发现PDF中的内嵌字体并未囊括所有你需要的字体。
think
website/howtos/iceni_infix.html
7357
You can presumably resolve this by obtaining and installing the necessary fonts; or you can select a different font for this purpose – which may or may not be an adequate solution.
您也许可以通过获取和安装必要的字体来解决这一问题;或者您可以根据目的选择一个不同的字体——这有可能或也可能不是一个妥善的办法。
think
website/howtos/iceni_infix.html
7358
There is a strong possibility that at some points, your translation will be longer than the original.
在某些时候您的翻译常常要比原始文本要长。
think
website/howtos/iceni_infix.html
7359
This needs to be dealt with in Infix, for example by enlarging the box containing the text.
这就需要用Infix来处理,例如可以扩展容纳文本的盒子大小。
think
website/howtos/iceni_infix.html
7360
Infix has functions for dealing with this and other problems that are beyond the scope of this HowTo.
Infix具备一些能处理本操作指南涵盖范围之外的各种问题的功能。
think
website/howtos/iceni_infix.html
7361
infix4.png
infix4.png
think
website/howtos/iceni_infix.html
7362
You may find that segments are broken by hard line breaks at inconvenient places.
您也许发现一些片段在不方便的地方被强行断开。
think
website/howtos/iceni_infix.html
7363
This situation will probably be familiar to you if you have translated Powerpoint files in OmegaT, or for that matter other CAT tools.
如果您在OmegaT或其他CAT工具中翻译过Powerpoint文件,那么这一情况您或许不会陌生。
think
website/howtos/iceni_infix.html
7364
To resolve this, open the original PDF file again in Infix.
要解决它,只需要在Infix中重新打开原始PDF文件。
think
website/howtos/iceni_infix.html
7365
Select Tools > Text tool.
选择工具>文本工具。
think
website/howtos/iceni_infix.html
7366
Clicking on the text in question will display a text box and formatting marks.
点击存疑的文本将会显示一个文本框和格式标记。
think
website/howtos/iceni_infix.html
7367
The screenshot shows an example: <i0/> Remove the line break.
截图中是一个范例: <i0/> 删除换行符。
think
website/howtos/iceni_infix.html
7368
Then save the changes and re-export the PDF to the XML file (and change the file extension etc.), and reload your OmegaT project.
然后保存更改,重新导出PDF为XML文件(然后更改文件扩展名等等),之后您的OmegaT项目。
think
website/howtos/iceni_infix.html
7369
If your file contains lots of such inconvenient breaks, it is more efficient to remove them all at once, toggling between OmegaT and Infix to see where they are.
如果您的文件里含有大量此类不方便的中断,通过在OmegaT和Infix之间切换来找到它们的位置并一次性删除它们将会更加高效。
think
website/howtos/iceni_infix.html
7370
Some inconvenient line breaks may be required for correct positioning of the text.
一些不方便的换行符也许有助于正确地定位文本。
think
website/howtos/iceni_infix.html
7371
In these cases, it is practical to remove them before exporting the file to XML, so that you are presented with cohesive segments for translation, and then to re-insert them in Infix at the end of the process.
这种情况下,在导出文件为XML格式之前就删除它们会更实用。这样您可以获得结合紧密的翻译片段,然后将它们最终重新插入到Infix里。
think
website/howtos/iceni_infix.html
7372
Copyright Marc Prior 2011
版权归属于Marc Prior 2011
think
website/howtos/iceni_infix.html
7373
This HowTo provides information on using OmegaT on Linux.
该操作指导您如何在Linux上使用OmegaT。
think
website/howtos/linux.html
7374
It is particularly aimed at users who are new to Linux.
专门针对 Linux 新手的用户。
think
website/howtos/linux.html
7375
Java
Java
think
website/howtos/linux.html
7376
OmegaT does not run satisfactorily on all versions of Java.
OmegaT并非在所有Java版本上都能运转地令人满意。
think
website/howtos/linux.html
7377
If Java is already installed on your system (which is probably the case) and you plan to use this existing, system-wide Java installation in conjunction with OmegaT, first check that it is suitable.
如果您的系统已经安装了Java(很可能如本案例所示),并且您准备使用该现有的全系统Java安装来与OmegaT协同,那么需要首先检查其是否适合。
think
website/howtos/linux.html
7378
To do this, open a terminal (also known as a console or command-line window; common programs for this are konsole (KDE) and gnome-terminal (GNOME)), and type:
为此,打开一个终端(也就是控制台或命令行窗口;它的通用程序是(KDE)和gnome-terminal(GNOME)),然后输入:
think
website/howtos/linux.html
7379
java -version
java—版本
think
website/howtos/linux.html
7380
The system will output details of the Java version already installed at system level.
该系统会输出已安装在系统层面的java版本的细节信息。
think
website/howtos/linux.html
7381
Oracle (formerly Sun) Java versions: check the system requirements in the OmegaT documentation (readme.txt) for the precise Oracle Java version required (i.e. whether your version of Java is sufficiently recent).
Oracle(以前称为Sun)Java版本:在 OmegaT文档中(readme.txt)查找系统的要求以获得Oracle Java版本所要求的准确信息(也就是您的Java版本是否足够新)。
think
website/howtos/linux.html
7382
Third-party Java versions: until relatively recently, OmegaT ran only on Oracle/Sun's own Java.
第三方Java版本:直到最近,OmegaT只能在Oracle/Sun自己的Java上运行。
think
website/howtos/linux.html
7383
OmegaT will now run on the OpenJDK Java implementation supplied with some Linux distributions, but some functions (such as the full set of command-line options) may not be available; a different font set may be supplied; and some glitches have been reported, such as with window display and the segmentation function.
OmegaT现在将运行在由某些Linux发行版提供的OpenJDK Java实现上,但某些功能(如全套命令行选项)可能不可用;可能提供不同的字型集;已经报错了一些小故障,如窗口显示和分段功能。
think
website/howtos/linux.html
7384
If you are unsure whether your Java version is suitable, you can:
如果您不确定您的Java版本是否适合,您可以:
think
website/howtos/linux.html
7385
Simply install an OmegaT version without Java and see whether it works.
仅仅安装一个不带Java的OmegaT版本,观察它是否能正常运转。
think
website/howtos/linux.html
7386
If it does not, you still have the option to install a local version of Java or a different version of Java at system level.
如果不能,您仍可以在系统层面安装本地或其他不同版本的Java。
think
website/howtos/linux.html
7387
Install a second, non-default version of Java at system level, and launch OmegaT explicitly using this version.
在系统层面安装第二个非默认版本的Java,并明确使用此版本启动OmegaT。
think
website/howtos/linux.html
7388
Install the OmegaT version with Java included.
安装包含Java的OmegaT版本。
think
website/howtos/linux.html
7389
If you establish that the version of Java installed at system level is not compatible with OmegaT and you wish to replace this Java version with the Oracle Java version, check first whether an Oracle package is available for your Linux distribution (SUSE, Ubuntu, etc.).
如果您确定在系统级安装的Java版本与OmegaT不兼容,并且您希望将此Java版本替换为Oracle Java版本,请首先检查Oracle软件包是否适用于您的Linux发行版(SUSE,Ubuntu等)。
think
website/howtos/linux.html
7390
If so, this makes installation much easier.
如果这样将使得安装更容易。
think
website/howtos/linux.html
7391
If you obtain the Oracle version of Java directly from Oracle, installation is likely to be straightforward, but you will have to configure it manually in order to make it the default version at system level.
如果您直接从Oracle获得Oracle版本的Java,安装可能很简单,但您必须手动配置它才能使其成为系统级别的默认版本。
think
website/howtos/linux.html
7392
This is not recommended, particularly if you are unfamiliar with Linux.
这是我们不推荐的,特别是如果您不熟悉Linux。
think
website/howtos/linux.html
7393
The third option, i.e. installing an OmegaT version with Java included at local level, is always the "safe" option, and is recommended.
第三个选择,即在本地级别安装包含Java的OmegaT版本。这始终是“安全”的选项,并且我们建议使用。
think
website/howtos/linux.html
7394
Selecting and downloading OmegaT
选择和下载OmegaT
think
website/howtos/linux.html
7395
The following versions of OmegaT are available for Linux:
以下版本的OmegaT适用于Linux:
think
website/howtos/linux.html
7396
"Standard", "Latest", "/trunk" and "Webstart".
“标准”,“最新”,“/ trunk”和“Webstart”。
think
website/howtos/linux.html
7397
The "Latest" version is recommended.
建议使用“最新”版本。
think
website/howtos/linux.html
7398
(Refer to the "Downloads" page on the OmegaT website for details of the differences.)
(有关这些差异的详细信息,请参阅OmegaT网站上的“下载”页面。)
think
website/howtos/linux.html
7399
Without/with JRE included, i.e. the cross-platform without JRE, e.g. "OmegaT_2.1.7_02_Beta_Without_JRE.zip" and the Linux-specific version with JRE, e.g. "OmegaT_2.1.7_02_Beta_Linux.tar.bz2".
没有/包含JRE,即没有JRE的跨平台,例如 “OmegaT_2.1.7_02_Beta_Without_JRE.zip”和具有JRE的Linux特定版本,例如,“OmegaT_2.1.7_02_Beta_Linux.tar.bz2”。
think
website/howtos/linux.html
7400
Select a version without or with JRE depending upon your Java situation (see above).
根据您的Java情况选择不带或带有JRE的版本(请参阅上文)。
think
website/howtos/linux.html
7401
As an open-source application, OmegaT has been included by many Linux distributions in their repositories, so you may be able to install it by this route.
作为一个开放源代码的应用程序,OmegaT已经被许多Linux发行版包含在他们的仓库中,所以你可以通过这条路线安装它。
think
website/howtos/linux.html
7402
Note however that:
但请注意:
think
website/howtos/linux.html
7403
Most Linux distributions use the OpenJDK version of Java by default.
大多数Linux发行版默认使用OpenJDK版本的Java。
think
website/howtos/linux.html
7404
At the time of writing, OmegaT will run much better with the Oracle version of Java (see above).
在写此文档时,OmegaT将会在Oracle版本的Java中运行得更好(见上文)。
think
website/howtos/linux.html
7405
The OmegaT version usually supplied is the "Standard" version.
通常提供的OmegaT版本是“标准”版本。
think
website/howtos/linux.html
7406
More functions will usually be found in the "Latest" version.
通常“最新”版本会显示更多功能。
think
website/howtos/linux.html
7407
Note that it is easy to install multiple versions of OmegaT on Linux without conflicts.
请注意,在Linux上安装多个版本的OmegaT而没有发生冲突是很容易的。
think
website/howtos/linux.html
7408
They will however always access the same user configuration files (unless launched from a different user account).
然而它们将始终访问相同的用户配置文件(除非从不同的用户帐户启动)。
think
website/howtos/linux.html
7409
Installing OmegaT
安装 OmegaT
钢
website/howtos/linux.html
7410
The Linux version of OmegaT is now supplied with its own installation script, linux-install.sh.
Linux 版本的 OmegaT 现在提供了自己的安装脚本 linux-install.sh 。
lenovo
website/howtos/linux.html
7411
This script:
该脚本:
think
website/howtos/linux.html
7412
places the OmegaT program files in /opt/omegat/OmegaT-<version>;
将 OmegaT 程序文件放入 /opt/omegat/OmegaT-<version>;
lenovo
website/howtos/linux.html
7413
includes bash and kaptain launch scripts;
包括 bash 和 kaptain 启动脚本;
lenovo
website/howtos/linux.html
7414
creates links from /usr/local/bin to the launch scripts.
创建从 /usr/local/bin 到启动脚本的链接。
lenovo
website/howtos/linux.html
7415
The bash script is a very basic file that can be edited manually with command-line options for launching and configuring OmegaT.
bash 脚本是一个非常基本的文件,可以通过命令行选项手动编辑,以启动和配置 OmegaT 。
lenovo
website/howtos/linux.html
7416
The kaptain script (or "grammar", as kaptain scripts are termed) enables you to select launch and configuration options from a user-friendly GUI.
kaptain 脚本(或者称为 kaptain 脚本的“语法”)使您能够从一个用户友好的 GUI 中选择启动和配置选项。
lenovo
website/howtos/linux.html
7417
You can for example use it to select the user interface language, assign more memory to OmegaT, or enter a Google Translate password.
例如,您可以使用它来选择用户界面语言,为 OmegaT 分配更多内存,或输入 Google 翻译密码。
lenovo
website/howtos/linux.html
7418
You can customize the kaptain launch script so that your preferences are the defaults; simply edit the omegat.kaptn file in a text editor.
您可以自定义 kaptain 启动脚本,以使您的偏好设置为默认; 只需在文本编辑器中编辑 omegat.kaptn 文件即可。
lenovo
website/howtos/linux.html
7419
The file is commented to help you.
该文件是用来帮助你。
think
website/howtos/linux.html
7420
For the kaptain script to work, however, you must first install kaptain.
然而,为了便于 kaptain 脚本运转,您必须先安装 kaptain 。
lenovo
website/howtos/linux.html
7421
If it is not in your distribution's repository, you can <a0>download it from kaptain.sourceforge.net</a0>.
如果它不在您发行版的存储库中,您可以 <a0>从 kaptain.sourceforge.net 下载</a0>。
lenovo
website/howtos/linux.html
7422
preview_ss.png
preview_ss.png
think
website/howtos/linux.html
7423
Screenshot of the kaptain OmegaT launcher
kaptain OmegaT 启动器的屏幕截图
lenovo
website/howtos/linux.html
7424
The installation script provides added convenience, but you can still install OmegaT on Linux manually if you prefer.
安装脚本提供了更多的便利,但如果您愿意,仍然可以在 Linux 上手动安装 OmegaT 。
lenovo
website/howtos/linux.html
7425
Simply unpack the archive in the folder of your choice.
只需在您选择的文件夹中解压缩存档。
think
website/howtos/linux.html
7426
The launch scripts will not be written to your execution path in this case.
在这种情况下,启动脚本不会写入执行路径。
think
website/howtos/linux.html
7427
Launching OmegaT from the command line
从命令行启动 OmegaT
lenovo
website/howtos/linux.html
7428
OmegaT does not have to be launched from the command line, but doing so may be useful as it provides debugging information.
OmegaT 不一定要从命令行启动,但这样做可能很有用,因为它提供了调试信息。
lenovo
website/howtos/linux.html
7429
To launch from the command line, open a terminal window (root permissions are not needed).
要从命令行启动,请打开一个终端窗口(不需要root权限)。
think
website/howtos/linux.html
7430
Navigate to the folder containing the file OmegaT.jar, e.g.:
导航到包含文件 OmegaT.jar 的文件夹,例如:
lenovo
website/howtos/linux.html
7431
cd /opt/omegat/OmegaT_2.3.4
cd /opt/omegat/OmegaT_2.3.4
think
website/howtos/linux.html
7432
and confirm with ENTER.
并用 ENTER 键确认。
lenovo
website/howtos/linux.html
7433
Then enter the launch command itself, and confirm with ENTER.
然后输入启动命令本身,并用 ENTER 确认。
lenovo
website/howtos/linux.html
7434
The basic launch command is:
基本的启动命令是:
think
website/howtos/linux.html
7435
java -jar OmegaT.jar
java -jar OmegaT.jar
think
website/howtos/linux.html
7436
The command is case-sensitive.
该命令区分大小写。
think
website/howtos/linux.html
7437
If you are relying on or wish to use a Java installation that is not installed at system level, this will not be sufficient: you must also instruct your system where to find Java.
如果您依赖或希望使用未在系统级别安装的 Java 安装程序,则这还不够:您还必须指示您的系统在哪里查找 Java 。
lenovo
website/howtos/linux.html
7438
If you have installed a version of OmegaT with JRE supplied, the launch script supplied already contains this path for you.
如果您已经安装了提供 JRE 的 OmegaT 版本,则提供的启动脚本已经为您包含此路径。
lenovo
website/howtos/linux.html
7439
If you have installed an additional version of Java but have not made it the default version at system level, you must include the whole path of the Java binary in the launch command.
如果您已经安装了额外版本的 Java ,但尚未将其作为系统级别的默认版本,则必须在启动命令中包含 Java 二进制文件的完整路径。
lenovo
website/howtos/linux.html
7440
This will be something like /usr/lib/jvm/java-6-sun-1.6.0.16/jre/bin/java; make a note of where Java is installed during installation so that you can find it again.
这将类似 /usr/lib/jvm/java-6-sun-1.6.0.16/jre/bin/java ;在安装期间记录下安装 Java 的位置,以便您可以再次找到它。
lenovo
website/howtos/linux.html
7441
The command will therefore be (in this case):
因此该命令为(在这种情况下):
think
website/howtos/linux.html
7442
/usr/lib/jvm/java-6-sun-1.6.0.16/jre/bin/java -jar OmegaT.jar
/usr/lib/jvm/java-6-sun-1.6.0.16/jre/bin/java -jar OmegaT.jar
think
website/howtos/linux.html