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

@ -177,7 +177,9 @@ class NewAltTextManager {
this.#isEditing = isEditing;
this.#title.setAttribute(
"data-l10n-id",
`pdfjs-editor-new-alt-text-dialog-${isEditing ? "edit" : "add"}-label`
isEditing
? "pdfjs-editor-new-alt-text-dialog-edit-label"
: "pdfjs-editor-new-alt-text-dialog-add-label"
);
}