Skip to content

Commit f63c28f

Browse files
authored
Merge pull request #1625 from sacr3dc0w/master
Add translation key for "read more" blog post link
2 parents 989d553 + 6f27a55 commit f63c28f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

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

56
## 4.3.1 (2020-01-17)
67
- Resolve visual regression in error modal icon animation [#1619](https://github.com/bigcommerce/cornerstone/pull/1619)

lang/en.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"blog": {
1616
"recent_posts": "Recent Posts",
1717
"label": "Blog",
18-
"posted_by": "Posted by {name}"
18+
"posted_by": "Posted by {name}",
19+
"read_more": "read more"
1920
},
2021
"unavailable": {
2122
"hibernation_title": "We'll be back",

templates/components/blog/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2 class="blog-title">
2727
{{else}}
2828
{{{post.summary}}}
2929
{{#if post.show_read_more}}
30-
&hellip; <a href="{{url}}">read more</a>
30+
&hellip; <a href="{{url}}">{{lang 'blog.read_more'}}</a>
3131
{{/if}}
3232
{{/if}}
3333
</div>

0 commit comments

Comments
 (0)