From ac2e2808b0f734947654614076af94c62044bf6a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 25 Feb 2014 17:12:20 -0500 Subject: lib/locale.sh: Remove unused functions. --- (limited to 'lib') diff --git a/lib/locale.sh b/lib/locale.sh index 30630f6..bf79507 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -26,16 +26,6 @@ _OH_DEFAULT_LOCALE='en_US' _OH_TEXT_DOMAIN='opkhelper' _OH_LOCALE_PATH='@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms' -oh_get_text_domain() -{ - if [ ${#} -ne 0 ]; then - return 125 - fi - - echo "${_OH_TEXT_DOMAIN}" - return 0 -} - oh_set_text_domain() { if [ ${#} -eq 1 ]; then @@ -71,21 +61,6 @@ oh_set_text_domain() return 0 } -oh_set_locale_path() -{ - local format= - - if [ ${#} -eq 1 ]; then - format="${1}" - else - return 125 - fi - - _OH_LOCALE_PATH="${format}" - - return 0 -} - oh_get_msg() { local msgid= -- cgit v0.9.1