summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locale.sh')
-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