From 74635e3a60a9fb80b5dbc98e66e926771aadd0ba Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 01 Aug 2012 05:32:45 -0400 Subject: Load locale in library files that need it. --- (limited to 'lib') diff --git a/lib/changelog.sh b/lib/changelog.sh index 37ab814..4888e09 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -23,6 +23,7 @@ _OH_CHANGELOG_SH=true . @@LIBDIR@@/messages +. @@LIBDIR@@/locale . @@LIBDIR@@/util # Constant global parameters: diff --git a/lib/messages.sh b/lib/messages.sh index 7710b00..f945c62 100644 --- a/lib/messages.sh +++ b/lib/messages.sh @@ -22,6 +22,8 @@ [ -n "${_OH_MESSAGES_SH}" ] && return 0 _OH_MESSAGES_SH=true +. @@LIBDIR@@/locale + # TODO: Which of these should print to the standard error stream – just # oh_error() and oh_warn()? -- cgit v0.9.1