diff options
author | P. J. McDermott <pjm@nac.net> | 2014-02-25 17:28:41 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-02-25 17:28:41 (EST) |
commit | c4692a0859da5b00a633de3e669a813ea584da6a (patch) | |
tree | 428fe2b47fc4a6052797e7ab70c5eb18d6457b00 /lib | |
parent | e5f5c557dd494e849eb39b0966aa12b896579930 (diff) |
oh_load_locale() Simplify warning message.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/locale.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 25cb128..6b31b1a 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -43,8 +43,7 @@ oh_load_locale() if ! _oh_try_load_messages "${LC_MESSAGES%.*}"; then if ! _oh_try_load_messages "${LC_MESSAGES%_*}"; then if ! _oh_try_load_messages "${_OH_DEFAULT_LOCALE}"; then - oh_warn 'Cannot load messages in "%s" domain.' \ - "${_OH_TEXT_DOMAIN}" + oh_warn 'Cannot load locale messages.' return 1 fi fi |