Skip to content

Commit

Permalink
Merge pull request #1625 from sacr3dc0w/master
Browse files Browse the repository at this point in the history
Add translation key for "read more" blog post link
  • Loading branch information
bookernath authored Jan 28, 2020
2 parents 989d553 + 6f27a55 commit f63c28f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Add translation key for "read more" blog post link [#1625](https://github.com/bigcommerce/cornerstone/pull/1625)

## 4.3.1 (2020-01-17)
- Resolve visual regression in error modal icon animation [#1619](https://github.com/bigcommerce/cornerstone/pull/1619)
Expand Down
3 changes: 2 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"blog": {
"recent_posts": "Recent Posts",
"label": "Blog",
"posted_by": "Posted by {name}"
"posted_by": "Posted by {name}",
"read_more": "read more"
},
"unavailable": {
"hibernation_title": "We'll be back",
Expand Down
2 changes: 1 addition & 1 deletion templates/components/blog/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 class="blog-title">
{{else}}
{{{post.summary}}}
{{#if post.show_read_more}}
&hellip; <a href="{{url}}">read more</a>
&hellip; <a href="{{url}}">{{lang 'blog.read_more'}}</a>
{{/if}}
{{/if}}
</div>
Expand Down

0 comments on commit f63c28f

Please sign in to comment.