diff options
Diffstat (limited to 'lib/locale.sh')
-rw-r--r-- | lib/locale.sh | 25 |
1 files changed, 0 insertions, 25 deletions
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= |