diff options
Diffstat (limited to 'lib/locale.sh')
-rw-r--r-- | lib/locale.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index f23f3d1..6c2baad 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -25,6 +25,16 @@ _OB_LOCALE_SM='true' _OB_DEFAULT_LOCALE='en_US' _OB_TEXT_DOMAIN= +ob_get_text_domain() +{ + if [ ${#} -ne 0 ]; then + return 125 + fi + + echo "${_OB_TEXT_DOMAIN}" + return 0 +} + ob_set_text_domain() { if [ ${#} -eq 1 ]; then |