Gets the translation of self via gettext from dir using domain

domain: Gettext domain, i.e. file/module name dir: Where the locale/LC_MESSAGES folder for this domain is located

Property definitions

gettext :: gettext $ String :: get_translation
	# Gets the translation of `self` via gettext from `dir` using `domain`
	#
	# `domain`: Gettext domain, i.e. file/module name
	# `dir`: Where the locale/LC_MESSAGES folder for this domain is located
	fun get_translation(domain, dir: String): String do
		bindtextdomain(domain, dir)
		return dgettext(domain)
	end
lib/gettext/gettext.nit:46,2--53,4