Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
126 lines (42 sloc) 2.34 KB

#Module i18n_message#

Copyright (c) 2010-2011 Michael Uvarov

Authors: Michael Uvarov (arcusfelis@gmail.com).

##Data Types##

###i18n_locale_id()##

i18n_locale_id() = atom()

###i18n_msg_arg()##

i18n_msg_arg() = any()

###i18n_msg_format()##

i18n_msg_format() = resource()

###i18n_msg_param()##

i18n_msg_param() = {atom(), i18n_msg_arg()}

###i18n_string()##

i18n_string() = binary()

###resource()##

resource() = <<>>

##Function Index##

format/2
format/3
open/1
open/2Parse a message to a resourse.

##Function Details##

###format/2##

format(M::i18n_msg_format(), P::[i18n_msg_param()]) -> i18n_string()



###format/3##

format(M::i18n_msg_format(), P::[i18n_msg_param()], A::i18n_string()) -> i18n_string()



###open/1##

open(S::i18n_string()) -> i18n_msg_format()



###open/2##

open(L::i18n_locale_id(), S::i18n_string()) -> i18n_msg_format()



Parse a message to a resourse.