Content-Length: 339823 | pFad | http://github.com/internetarchive/openlibrary/commit/1d86a597130366f0cfeee84701cdfaeb419733ae

8A Merge pull request #9258 from scottbarnes/fix/fix-templates-with-eof-… · internetarchive/openlibrary@1d86a59 · GitHub
Skip to content

Commit

Permalink
Merge pull request #9258 from scottbarnes/fix/fix-templates-with-eof-…
Browse files Browse the repository at this point in the history
…issues

Fix: update and escape a handful of templates
  • Loading branch information
mekarpeles authored May 13, 2024
2 parents 875c518 + c1729a8 commit 1d86a59
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 5 deletions.
82 changes: 80 additions & 2 deletions openlibrary/i18n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ msgstr ""
msgid "Thank you very much for improving that record!"
msgstr ""

#: BookPreview.html CreateListModal.html NotesModal.html ObservationsModal.html
#: ShareModal.html book_providers/gutenberg_read_button.html
#: BookPreview.html CreateListModal.html DonateModal.html NotesModal.html
#: ObservationsModal.html ShareModal.html
#: book_providers/gutenberg_read_button.html
#: book_providers/librivox_read_button.html
#: book_providers/openstax_read_button.html
#: book_providers/standard_ebooks_read_button.html covers/author_photo.html
Expand Down Expand Up @@ -4305,6 +4306,16 @@ msgstr ""
msgid "Search by barcode"
msgstr ""

#: lib/not_logged.html
msgid ""
"<strong>You are not <a href=\"/account/login\" title=\"Log in "
"now\">logged in</a>.</strong> Open Library will record your IP address "
"and include it in this page's publicly accessible edit history. If you <a"
" href=\"/account/create\" title=\"Create an Open Library account\">create"
" an account</a>, your IP address is concealed and you can more easily "
"keep track of all your edits and additions."
msgstr ""

#: Pager.html Pager_loanhistory.html lib/pagination.html
msgid "Previous"
msgstr ""
Expand Down Expand Up @@ -5965,6 +5976,73 @@ msgstr ""
msgid "Preview Book"
msgstr ""

#: DonateModal.html
msgid ""
"Donate this book to the <a href=\"https://archive.org\">Internet "
"Archive</a> library."
msgstr ""

#: DonateModal.html
msgid ""
"Hooray! You've discovered a title that's missing from our <a "
"href=\"https://help.archive.org/hc/en-us/articles/360016554912-Borrowing-"
"From-The-Lending-Library\">library</a>. Can you help donate a copy?"
msgstr ""

#: DonateModal.html
msgid ""
"If you own this book, you can<a "
"href=\"https://store.usps.com/store/product/shipping-supplies/priority-"
"mail-express-padded-flat-rate-envelope-P_EP13PE\">mail</a> it to our "
"address below."
msgstr ""

#: DonateModal.html
msgid "You can also purchase this book from a vendor and ship it to our address:"
msgstr ""

#: DonateModal.html
msgid "Benefits of donating"
msgstr ""

#: DonateModal.html
msgid ""
"When you donate a physical book to the Internet Archive, your book will "
"enjoy:"
msgstr ""

#: DonateModal.html
msgid "Donation info"
msgstr ""

#: DonateModal.html
msgid ""
"Beautiful <a target=\"_blank\" href=\"https://archive.org/scanning"
"\">high-fidelity digitization"
msgstr ""

#: DonateModal.html
msgid ""
"Long-term <a href=\"https://blog.archive.org/2011/06/06/why-preserve-"
"books-the-new-physical-archive-of-the-internet-archive/\">archival "
"preservation"
msgstr ""

#: DonateModal.html
msgid ""
"Free <a href=\"https://controlleddigitallending.org/\">controlled digital"
" library access</a> by the <a "
"href=\"https://en.wikipedia.org/wiki/Print_disability\">print-"
"disabled</a> public"
msgstr ""

#: DonateModal.html
msgid ""
"Open Library is a project of the <a "
"href=\"https://archive.org/about\">Internet Archive</a>, a 501(c)(3) non-"
"profit"
msgstr ""

#: EditionNavBar.html
msgid "Overview"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion openlibrary/macros/DonateModal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="donation__override">
</div>
<hr>
<div class="donate__modal">
<p class="cta">$:_('Hooray! You've discovered a title that\'s missing from our <a href="https://help.archive.org/hc/en-us/articles/360016554912-Borrowing-From-The-Lending-Library">library</a>. Can you help donate a copy?')</p>
<p class="cta">$:_('Hooray! You\'ve discovered a title that\'s missing from our <a href="https://help.archive.org/hc/en-us/articles/360016554912-Borrowing-From-The-Lending-Library">library</a>. Can you help donate a copy?')</p>

<ol class="donation__instructions">
<li>$:_('If you own this book, you can<a href="https://store.usps.com/store/product/shipping-supplies/priority-mail-express-padded-flat-rate-envelope-P_EP13PE">mail</a> it to our address below.')</li>
Expand Down
4 changes: 2 additions & 2 deletions openlibrary/templates/lib/not_logged.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div id="noLogin">
<p class="collapse sansserif small brown">$:_('<strong>You are not <a href="/account/login" title="Log in now">logged in</a>.</strong> Open Library will record your IP address and include it in this page's publicly accessible edit history. If you <a href="/account/create" title="Create an Open Library account">create an account</a>, your IP address is concealed and you can more easily keep track of all your edits and additions.')</p>
</div>
<p class="collapse sansserif small brown">$:_('<strong>You are not <a href="/account/login" title="Log in now">logged in</a>.</strong> Open Library will record your IP address and include it in this page\'s publicly accessible edit history. If you <a href="/account/create" title="Create an Open Library account">create an account</a>, your IP address is concealed and you can more easily keep track of all your edits and additions.')</p>
</div>

0 comments on commit 1d86a59

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/internetarchive/openlibrary/commit/1d86a597130366f0cfeee84701cdfaeb419733ae

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy