From f78a91f662315035d4d9d6a4f8d6549921d8e6df Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 11 Mar 2019 23:17:35 -0400 Subject: _ob_get_changelog_expect_str(): Use _ob_get_msg() --- (limited to 'lib') diff --git a/lib/changelog.sh b/lib/changelog.sh index ec1240a..c4cb01d 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -47,16 +47,7 @@ _ob_parse_changelog_error() _ob_get_changelog_expect_str() { - local orig_text_domain= - - # TODO: ??? - - orig_text_domain="$(ob_get_text_domain)" - ob_set_text_domain "${_OB_INTERNAL_TEXT_DOMAIN}" - - echo "$(ob_get_msg "changelog_expect_${1}")" - - ob_set_text_domain "${orig_text_domain}" + echo "$(_ob_get_msg "changelog_expect_${1}")" return 0 } -- cgit v0.9.1