MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.spellcheck.repo/UserDefinedWordsRepository

UserDefinedWordsRepository

interface UserDefinedWordsRepository

Contract for the user-defined words repository.

Inheritors

 
DefaultUserDefinedWordsRepository

Functions

Name Summary
add [jvm]
abstract suspend fun add(word: String, lang: String)
Add a new user-defined word.
clear [jvm]
abstract suspend fun clear(lang: String)
Clear all the user-defined words for a language.
getAll [jvm]
abstract suspend fun getAll(lang: String): List<String>
Get all user-defined words.