diff options
author | Patrick 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) |
commit | f78a91f662315035d4d9d6a4f8d6549921d8e6df (patch) | |
tree | 124d092587aed8f475b9dd46f217be2cc4b492aa /lib | |
parent | 621daf961af324f5b5673e875430004deefaa8ac (diff) |
_ob_get_changelog_expect_str(): Use _ob_get_msg()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/changelog.sh | 11 |
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 } |