Skip to content
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

Add (and adjust) a couple of findbar title attributes, in viewer.html, that doesn't agree with the l10n/en-US/viewer.properties file #8156

Merged
merged 1 commit into from
Mar 12, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

The point of this patch is to fix a couple of inconsistencies in viewer.html, compared to the locale files, such that the viewer would work correctly even without the l10n/ files present.
Note: Since this isn't changing any of the locale files, we should not need to update any of the string names.

Looking through the history of the findbar code, it seems that the findPrevious/findNext buttons have never had a title set (note PR #2168, which was the initial findbar implementation).
Furthermore, the placeholder of the findInput didn't agree 100% with locale file either, so this is also adjusted.

…tml`, that doesn't agree with the `l10n/en-US/viewer.properties` file

The point of this patch is to fix a couple of inconsistencies in `viewer.html`, compared to the locale files, such that the viewer would work correctly even without the `l10n/` files present.
*Note:* Since this isn't changing any of the locale files, we should *not* need to update any of the string names.

Looking through the history of the findbar code, it seems that the `findPrevious`/`findNext` buttons have never had a `title` set (note PR 2168, which was the initial findbar implementation).
Furthermore, the `placeholder` of the `findInput` didn't agree 100% with locale file either, so this is also adjusted.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/c14190d50e419c2/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/c14190d50e419c2/output.txt

Total script time: 2.14 mins

Published

@timvandermeij timvandermeij merged commit 14b91a4 into mozilla:master Mar 12, 2017
@timvandermeij
Copy link
Contributor

Thank you for improving this!

@Snuffleupagus Snuffleupagus deleted the findbar-missing-titles branch March 12, 2017 15:25
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…tles

Add (and adjust) a couple of findbar `title` attributes, in `viewer.html`, that doesn't agree with the `l10n/en-US/viewer.properties` file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants