![]() Named line template lines append to the template text in the order they appear. The template name must not match any template modifier names.Īnonymous line templates (with no template name given) can not have pre-line template text.Ĭode lines can not be named, they must be anonymous. When used on template lines it takes an optional parameter naming the line template the template line participates in. This class modifier is valid for both code lines and template lines. This example declares a new function that changes the Layer field in the output line. "code once" lines are primarily intended to declare functions for use in templates.Ĭomment: 0,0:00:00.00,0:00:05.00,Default,0000,0000,0000, code once,function setlayer(newlayer) line.layer = newlayer return "" end They are run in the order they are declared. This class modifier is only valid for code lines.Ĭode lines with the once modifier are run exactly once during Karaoke Templater execution, and are always run before any other code lines or templates. Having one is still recommended for clarity, however.Ī template line without a class modifier is implicitly given the syl modifier.Ī code line without a class modifier is implicitly given the once modifier. ![]() Class declaring modifiersīoth template lines and code lines can be produced without having a class modifier. There is a special set of modifiers that declare the class of the template line or code line. While modifiers can be combined to some extent, not all are compatible, and not all work on both code lines and for templates. This is a space-separated list of words in the Effect field following the template or code keyword. If I make a mistake, I can use Page Up and Page Down keys to move to the next or previous block/line.Template lines and code lines can take a number of modifiers. Then it will jump to the next line, where I will repeat the process. So I hit enter, and it will ask for the last bit, “Temperature”, so I enter “Temperatura” and hit enter again. Since I don’t want to translate that, I just hit Insert in the keyboard, and it will copy the text over. ![]() In the above screenshot, supposing that you are translating to Portuguese, you would first type “Clima” (Portuguese for Weather) and hit enter. ![]() If there are override tags in the line, you may have to translate more than one block per line. Simply type the translation to it, and hit enter. The original line will have the text that you have to translate highlighted in blue. It will start at the currently selected line. First, start it by clicking its icon in the toolbar or going to Subtitles->Translation Assistant. Having this option enabled will automatically jump to the current line when you change it. There is also a list of hotkeys specific to this window, and a checkbox to enable previewing, if you have the corresponding video set up. The assistant window is simple: it shows you the original raw line, and a box where you can type the translation. It also parses ASS override tags, and will skip over them. It allows you to translate in the most efficient possible manner, by letting you type the translated text without having to worry about selecting the original, or forgetting what was written in it. The translation assistant is a valuable tool for translating subtitles from one language to the other.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |