MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.main.dialog.settings.presentation/SettingsComponent/Intent

Intent

interface Intent

View intents.

Inheritors

 
SetLanguage
SetSimilarity
SetSpellcheckEnabled
SetMachineTranslationProvider
SetMachineTranslationKey
OpenLoginDialog
CloseDialog
GenerateMachineTranslationKey

Types

Name Summary
CloseDialog [jvm]
object CloseDialog : SettingsComponent.Intent
Close the current sub-dialog.
GenerateMachineTranslationKey [jvm]
data class GenerateMachineTranslationKey(val username: String, val password: String) : SettingsComponent.Intent
Generate a machine translation API key.
OpenLoginDialog [jvm]
object OpenLoginDialog : SettingsComponent.Intent
Open the login sub-dialog.
SetLanguage [jvm]
data class SetLanguage(val value: LanguageModel) : SettingsComponent.Intent
Set language.
SetMachineTranslationKey [jvm]
data class SetMachineTranslationKey(val value: String) : SettingsComponent.Intent
Set machine translation API key.
SetMachineTranslationProvider [jvm]
data class SetMachineTranslationProvider(val index: Int) : SettingsComponent.Intent
Set machine translation provider.
SetSimilarity [jvm]
data class SetSimilarity(val value: String) : SettingsComponent.Intent
Set similarity threshold
SetSpellcheckEnabled [jvm]
data class SetSpellcheckEnabled(val value: Boolean) : SettingsComponent.Intent
Enabled/disabled the spelling check.