Sha256: f41188dc729a53877b887492f9e64d50f4ee90727a1602c22a861c9f3dc03c17
Contents?: true
Size: 340 Bytes
Versions: 10
Compression:
Stored size: 340 Bytes
Contents
# coding: utf-8 def _(str) kas = _kas return str if !kas or !_session _session[:locale] = _kas.config[:locale_default] if !_session[:locale] and _kas.config[:locale_default] raise "No locale set for session and ':locale_default' not set in config." if !_session[:locale] str = kas.gettext.trans(_session[:locale], str) return str end
Version data entries
10 entries across 10 versions & 1 rubygems