MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.dialog.newterm.presentation/NewGlossaryTermComponent/UiState

UiState

[jvm]
data class UiState(val sourceTerm: String = "", val sourceTermError: String = "", val targetTerm: String = "", val targetTermError: String = "")

New glossary term UI state.

Constructors

   
UiState [jvm]
constructor(sourceTerm: String = "", sourceTermError: String = "", targetTerm: String = "", targetTermError: String = "")
Create NewGlossaryTermUiState

Properties

Name Summary
sourceTerm [jvm]
val sourceTerm: String
source term
sourceTermError [jvm]
val sourceTermError: String
error for the source term field
targetTerm [jvm]
val targetTerm: String
target get
targetTermError [jvm]
val targetTermError: String
error for the target term field