summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-11 23:17:35 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-11 23:17:35 (EDT)
commitf78a91f662315035d4d9d6a4f8d6549921d8e6df (patch)
tree124d092587aed8f475b9dd46f217be2cc4b492aa
parent621daf961af324f5b5673e875430004deefaa8ac (diff)
_ob_get_changelog_expect_str(): Use _ob_get_msg()
-rw-r--r--lib/changelog.sh11
1 files changed, 1 insertions, 10 deletions
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
}