-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use new search box on reading log pages and author page #9563
Use new search box on reading log pages and author page #9563
Conversation
Make the wording relative to the page it's on; e.g. "Search reading log" like it was before 👍 |
@cdrini Sure, will do. Thanks. |
5b40169
to
5bf83e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dwrik!
It looks like all of the placeholder strings are hard-coded English. The suggested changes, when made, will replace the English string with a translation in the patron's local language (if such a translation exists).
More information on how Open Library handles internationalization can be found here
e670eaa
to
dbc2286
Compare
for more information, see https://pre-commit.ci
Apologies, I missed the i18n translations. I've rebased the branch to include new changes and fixed the i18n issues by using the suggestions provided and fixed them where necessary (title was hardcoded, fixed that). Tested it locally and it works as expected. Let me know if any further changes required. Thanks. |
I have addressed the requested changes. Just wanted to check if there are any additional steps needed from my side. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Thanks, @dwrik!
^ Unrelated; will be fixed by #9719 . |
Closes #9557
This PR fixes issue #9557 by implementing new search box in author and reading log pages
Technical
Replaced input tags with render_template() call
Testing
Go to My Books -> Reading log (left side menu) pages or go directly to any author's page
Screenshot
Old search box:
New search box:
Author page
Reading log pages
Stakeholders
@cdrini