raw_translation() = {translation, string(), translation_fun()} | {translation, string()}
translation() = #translation{mapping = string(), func = function() | undefined}
translation_fun() = fun(([proplists:property()]) -> any())
func/1 | |
is_translation/1 | |
mapping/1 | |
parse/1 | |
parse_and_merge/2 | |
replace/2 |
func(T::translation()) -> function()
is_translation(T::any()) -> boolean()
mapping(T::translation()) -> string()
parse(X::raw_translation()) -> translation() | cuttlefish_error:error()
parse_and_merge(TranslationSource::raw_translation(), Translations::[translation()]) -> [translation()]
replace(Translation::translation(), ListOfTranslations::[translation()]) -> [translation()]
Generated by EDoc