MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.data

Package-level declarations

Types

Name Summary
ProjectModel [jvm]
data class ProjectModel(val id: Int = 0, val name: String = "")
Project model.
RecentProjectModel [jvm]
data class RecentProjectModel(val id: Int = 0, val path: String = "", val name: String = "")
Project for the recent project screen. An item in this list has a name and a path in the filesystem to load the project.
ResourceFileType [jvm]
enum ResourceFileType : Enum<ResourceFileType>
Types of resource files supported.
SegmentModel [jvm]
data class SegmentModel(val id: Int = 0, val text: String = "", val key: String = "", val translatable: Boolean = true)
Segment model. A segment belongs to a specific language within a specific project.
TranslationUnit [jvm]
data class TranslationUnit(val segment: SegmentModel, val original: SegmentModel? = null, val similarity: Int = 0, val origin: String = "")
A pair of a source segment and a target segment with the same key is a translation unit. If this is a TM match, it has a similarity rate to another translation unit, based on the distance between the respective source segments.
TranslationUnitTypeFilter [jvm]
enum TranslationUnitTypeFilter : Enum<TranslationUnitTypeFilter>
Message filter (used for message filtering)