📄 trans.1int
字号:
.TH trans 1int.SH Nametrans \- translation tool for use with source message catalogs.SH Syntax.B trans[.B \-c] [.B \-o.I name].I file.msf.SH Description.NXR "trans utility"The.PN transcommand assists in the translation of source message catalogs. The command reads input from.I file.msfand writes its output to either a file named.PN trans.msfor a file you name on the command line. The command displays .I file.msfin a multiple window screen that lets you simultaneouslysee the originalmessage, the translated text you enter, and any messages from the.PN transcommand. This multiple window screen is easier to use for translating messages than a single window screen..PPThe top window in the multiple window screen displays the text in the message source file.I file.msf.The editor displays the current message in reverse video..PPIn the center window, .PN transdisplays a prompt that asks you to enter a translated message. You use acontrol key editor to move the cursor and delete text in the center window.The control key sequences are defined as follows:.PP.TStab(@);lp-1v-1fHB lp-1v-1fHBlp-1v-1 lp-1v-1 ._.sp 6pKey Sequence@Meaning.sp 6p_CTRL/k@Display control key helpCTRL/h@Back spaceCTRL/l@Forward spaceCTRL/w@Back word CTRL/f@Forward wordCTRL/e@Move to end of inputCTRL/b@Move to beginning of inputCTRL/n@Next lineCTRL/p@Previous lineCTRL/u@Delete inputCTRL/i@Insert mode (default)CTRL/r@Replace modeDEL@Delete previous character.sp 6p_.TE.PPIf you need to span more than one line with the translated text, type a backslash (\\) and press the RETURN key to enable line continuation. After you finish entering the translated text, press the RETURN key to signal that you have finished translating that message..PPThe bottom window displays any messages generated by.PN trans .If an error occurs, .PN transprompts you to re-enter the entire line, including the message label or number..SH Options.IP \fB\-c\fR 5Display comment lines beginning with a dollar sign ($) for translation, inaddition to messages..IP \fB\-o\fR 5Call the output file \fIname\fR.The default is output file name is.PN trans.msf ..SH RestrictionsYour terminal must be 80 columns by 24 lines for.PN transto display its three-window screen..PPYou cannot interrupt a.PN transsession and restart it at the point you stopped. You must complete the all the changes to a file before exiting a file..SH See Alsointro(3int), extract(1int), gencat(1int), strextract(1int), strmerge(1int).br\fIGuide to Developing International Software\fP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -