kielet/context
Types
Translation context, containing both the database and the active language in one type for convenience.
Note that this is not the same as the context given to the functions
pgettext
and npgettext
.
pub type Context {
Context(database: database.Database, language: String)
}
Constructors
-
Context(database: database.Database, language: String)