summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 23:33:04 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 23:33:04 (EDT)
commitb318d8b6d1b639a80e2bbd008c3d96c16850150b (patch)
treed4715296ade3b85f591774a3d7aaa2434bf92f44
parent494323ed054ebf06bd9dc1e2be44303bc5b1a917 (diff)
_ob_try_load_*messages(): Don't mandate "locale" dir in build dir
-rw-r--r--lib/locale.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index c5790f6..cc3560d 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -42,7 +42,7 @@ _ob_try_load_messages()
if [ x"${OB_EXE_BUILDDIR:+set}" = 'xset' ]; then # Set and not null
ms="${OB_EXE_BUILDDIR}"
- ms="${ms}/locale/${locale}/${_ob_text_domain}.ms"
+ ms="${ms}/${locale}/${_ob_text_domain}.ms"
else
ms="${LOCALEDIR}"
ms="${ms}/${locale}/LC_MESSAGES/${_ob_text_domain}.ms"
@@ -141,7 +141,7 @@ _ob_try_load_internal_messages()
if [ x"${OB_LIB_BUILDDIR:+set}" = 'xset' ]; then # Set and not null
ms="${OB_LIB_BUILDDIR}"
- ms="${ms}/locale/${locale}/${_OB_INTERNAL_TEXT_DOMAIN}.ms"
+ ms="${ms}/${locale}/${_OB_INTERNAL_TEXT_DOMAIN}.ms"
else
ms="${LOCALEDIR}"
ms="${ms}/${locale}/LC_MESSAGES/${_OB_INTERNAL_TEXT_DOMAIN}.ms"