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

pull/1968/head
syeopite 4 years ago
parent c5fae84263
commit 8df2f38d34
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -156,6 +156,8 @@
"Title": "Title", "Title": "Title",
"Playlist privacy": "Playlist privacy", "Playlist privacy": "Playlist privacy",
"Editing playlist `x`": "Editing playlist `x`", "Editing playlist `x`": "Editing playlist `x`",
"Show more": "Show more",
"Show less": "Show less",
"Watch on YouTube": "Watch on YouTube", "Watch on YouTube": "Watch on YouTube",
"Hide annotations": "Hide annotations", "Hide annotations": "Hide annotations",
"Show annotations": "Show 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> <style>
#readmorebutton + label > a::after { #readmorebutton + label > a::after {
content: "<%= translate(locale, "Read more") %>" content: "<%= translate(locale, "Show more") %>"
} }
#readmorebutton:checked + label > a::after { #readmorebutton:checked + label > a::after {
content: "<%= translate(locale, "Read less") %>" content: "<%= translate(locale, "Show less") %>"
} }
</style> </style>
<% end %> <% end %>

Loading…
Cancel
Save