summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commitc4692a0859da5b00a633de3e669a813ea584da6a (patch)
tree428fe2b47fc4a6052797e7ab70c5eb18d6457b00
parente5f5c557dd494e849eb39b0966aa12b896579930 (diff)
oh_load_locale() Simplify warning message.
-rw-r--r--lib/locale.sh3
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