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:
Jonas Jenwald 2024-08-31 18:22:47 +02:00
parent 7494dbccf4
commit b01df28810
4 changed files with 24 additions and 10 deletions

View file

@ -84,7 +84,7 @@ class PasswordPrompt {
}
this.label.setAttribute(
"data-l10n-id",
`pdfjs-password-${passwordIncorrect ? "invalid" : "label"}`
passwordIncorrect ? "pdfjs-password-invalid" : "pdfjs-password-label"
);
}