summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locale.sh')
-rw-r--r--lib/locale.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index 5898c32..f3ebac5 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -81,10 +81,10 @@ ob_set_text_domain()
_ob_builddir="${OB_EXE_BUILDDIR-}"
# Exit early if domain's messages have already been loaded.
- if eval "\${_ob_text_domain_${_ob_text_domain}_loaded}"; then
+ if eval "\${_ob_text_domain_${_ob_text_domain}_loaded:-false}"; then
return
fi
- eval "\${_ob_text_domain_${_ob_text_domain}_loaded}=true"
+ eval "_ob_text_domain_${_ob_text_domain}_loaded=true"
# Try to load the messages.
if ! _ob_try_load_messages "${LC_MESSAGES%.*}"; then