commit be1b3a3eddd64d5637173c38914bdf3bcd5ef285
parent 0a738969a8648988edf540e9053e972af0ce9619
Author: Jason Prickett <jprickett@mozilla.com>
Date: Wed, 29 Oct 2025 01:02:12 +0000
Bug 1996575 - Add placeholder text for input in backup restore component r=fluent-reviewers,fchasen,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D270379
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/browser/components/backup/content/restore-from-backup.mjs b/browser/components/backup/content/restore-from-backup.mjs
@@ -384,6 +384,7 @@ export default class RestoreFromBackup extends MozLitElement {
style=${styles}
@input=${this.handleTextareaResize}
aria-describedby=${describedBy}
+ data-l10n-id="restore-from-backup-filepicker-input"
></textarea>
`;
}
@@ -395,6 +396,7 @@ export default class RestoreFromBackup extends MozLitElement {
readonly
.value=${backupFileName}
style=${styles}
+ data-l10n-id="restore-from-backup-filepicker-input"
/>
`;
}
diff --git a/browser/locales/en-US/browser/backupSettings.ftl b/browser/locales/en-US/browser/backupSettings.ftl
@@ -275,3 +275,6 @@ other-backup-files-founds =
backup-file-creation-date-and-device = Created on { DATETIME($date, year: "numeric", month: "numeric", day: "numeric") } on { $machineName }
backup-file-restore-file-validation-error = This file isn’t working. Try picking a different file. <a data-l10n-name="restore-problems">Still having problems?</a>
+
+restore-from-backup-filepicker-input =
+ .placeholder = No file selected