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

pull/1968/head
syeopite 2021-04-02 01:11:34 -07:00
rodzic c5fae84263
commit 8df2f38d34
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6FA616E5A5294A82
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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