mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Use "full" localization ids throughout the code-base
It was recently brought to my attention that using partial or generated localization ids is bad for maintainability, hence this patch goes through the code-base and replaces any such occurrences.
This commit is contained in:
parent
7494dbccf4
commit
b01df28810
4 changed files with 24 additions and 10 deletions
|
@ -84,7 +84,7 @@ class PasswordPrompt {
|
|||
}
|
||||
this.label.setAttribute(
|
||||
"data-l10n-id",
|
||||
`pdfjs-password-${passwordIncorrect ? "invalid" : "label"}`
|
||||
passwordIncorrect ? "pdfjs-password-invalid" : "pdfjs-password-label"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue