//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.projects.presentation/ProjectsComponent/Intent
Intent
interface Intent
Inheritors
Types
Name | Summary |
---|---|
AddSegment | [jvm] object AddSegment : ProjectsComponent.Intent Add a new segment (trigger dialog) |
CloseCurrentProject | [jvm] object CloseCurrentProject : ProjectsComponent.Intent Close the current project. |
CopyBase | [jvm] object CopyBase : ProjectsComponent.Intent Copy the base (source) message to the target editor field. |
DeleteSegment | [jvm] object DeleteSegment : ProjectsComponent.Intent Delete the current segment. |
EndEditing | [jvm] object EndEditing : ProjectsComponent.Intent Close the current editing operation. |
Export | [jvm] data class Export(val path: String, val type: ResourceFileType) : ProjectsComponent.Intent Export the messages of the current language to a resource file. |
ExportTmx | [jvm] data class ExportTmx(val path: String) : ProjectsComponent.Intent Export the TM content to a TMX file. |
GlobalSpellcheck | [jvm] object GlobalSpellcheck : ProjectsComponent.Intent Starts a global spellcheck validation. |
Import | [jvm] data class Import(val path: String, val type: ResourceFileType) : ProjectsComponent.Intent Import messages for the current language from a resource file. |
InsertBestMatch | [jvm] object InsertBestMatch : ProjectsComponent.Intent Insert the best TM match into the translation editor. |
MachineTranslationContributeTm | [jvm] object MachineTranslationContributeTm : ProjectsComponent.Intent Share the whole content of the project with the TM provider. |
MachineTranslationCopyTarget | [jvm] object MachineTranslationCopyTarget : ProjectsComponent.Intent Copy the target message in the editor to the TM suggestion. |
MachineTranslationInsert | [jvm] object MachineTranslationInsert : ProjectsComponent.Intent Insert the MT suggestion in the translation editor field. |
MachineTranslationRetrieve | [jvm] object MachineTranslationRetrieve : ProjectsComponent.Intent Retrieve a suggestion from the MT provider. |
MachineTranslationShare | [jvm] object MachineTranslationShare : ProjectsComponent.Intent Share the current suggestion to the TM provider. |
MoveToNext | [jvm] object MoveToNext : ProjectsComponent.Intent Move the cursor to the next message. |
MoveToPrevious | [jvm] object MoveToPrevious : ProjectsComponent.Intent Move the cursor to the previous message. |
Open | [jvm] data class Open(val projectId: Int) : ProjectsComponent.Intent Open a project with a given ID. |
SaveCurrentProject | [jvm] data class SaveCurrentProject(val path: String) : ProjectsComponent.Intent Save the current project. |
SyncWithTm | [jvm] object SyncWithTm : ProjectsComponent.Intent Saves all the messages of the current project in the global TM. |
ValidatePlaceholders | [jvm] object ValidatePlaceholders : ProjectsComponent.Intent Start a placeholder validation. |