RC-WinTrans Object Model Help |
ImportMultipleTranslationsDialog.AddTranslation
|
Adds a translation to the translation list.
Syntax: |
AddTranslation( SourceText As String,TargetText As String ) |
| Parameters: |
SourceText The source text to be added. TargetText The target text to be added.
|
| Example: | Dim Dlg As New ImportMultipleTranslationsDialog
' initialize wizard
Call Dlg.SetOriginalTexts("&File", "")
Call Dlg.AddTranslation("File", "Datei")
Call Dlg.AddTranslation("F&ile", "D&atei")
' more initialization
[..]
If (Dlg.Show) Then
' take action
[...]
End If
|
See also: