Change wording of 'read more/less' & add to locale
This commit is contained in:
parent
c5fae84263
commit
8df2f38d34
2 changed files with 4 additions and 2 deletions
|
@ -156,6 +156,8 @@
|
|||
"Title": "Title",
|
||||
"Playlist privacy": "Playlist privacy",
|
||||
"Editing playlist `x`": "Editing playlist `x`",
|
||||
"Show more": "Show more",
|
||||
"Show less": "Show less",
|
||||
"Watch on YouTube": "Watch on YouTube",
|
||||
"Hide annotations": "Hide annotations",
|
||||
"Show annotations": "Show annotations",
|
||||
|
|
|
@ -31,11 +31,11 @@ we're going to need to do it here in order to allow for translations.
|
|||
-->
|
||||
<style>
|
||||
#readmorebutton + label > a::after {
|
||||
content: "<%= translate(locale, "Read more") %>"
|
||||
content: "<%= translate(locale, "Show more") %>"
|
||||
}
|
||||
|
||||
#readmorebutton:checked + label > a::after {
|
||||
content: "<%= translate(locale, "Read less") %>"
|
||||
content: "<%= translate(locale, "Show less") %>"
|
||||
}
|
||||
</style>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue