Change wording of 'read more/less' & add to locale

This commit is contained in:
syeopite 2021-04-02 01:11:34 -07:00
parent c5fae84263
commit 8df2f38d34
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
2 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -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 %>