diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/locale.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 5197904..ae3c88c 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -64,7 +64,6 @@ _ob_try_load_messages() ## @operand text_domain req The message domain to load. ## @return Returns 0 on success, 1 if the message domain cannot be loaded, or ## 125 if \fItext_domain\fP is missing. -## @stderr Prints a warning to stderr if the message domain cannot be loaded. ## @pure no This function sets an internal global variable and loads a message ## catalog that sets numerous message variables. ob_set_text_domain() @@ -99,11 +98,6 @@ ob_set_text_domain() if ! _ob_try_load_messages "${LC_MESSAGES%.*}"; then if ! _ob_try_load_messages "${LC_MESSAGES%_*}"; then if ! _ob_try_load_messages "${_OB_DEFAULT_LOCALE}"; then - # TODO: Move this warning to the executables. - # TODO: And use printf, since ob_warn() will be - # internationalized. - ob_warn 'Cannot load messages in "%s" domain.' \ - "${_OB_TEXT_DOMAIN}" return 1 fi fi |