"Clear Recent History" should use verbs for primary action instead of "OK" (isn't using "Clear Now" string that it's supposed to)
Categories
(Toolkit :: Data Sanitization, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | wontfix |
firefox-esr91 | --- | wontfix |
firefox91 | --- | wontfix |
firefox92 | --- | wontfix |
firefox93 | --- | fix-optional |
People
(Reporter: yoasif, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Per macOS HIG:
Use verbs in push button titles. An action-specific title shows that the button is interactive and conveys what happens when clicked. For example, Save, Close, Print, Delete, and Change Password are action-specific titles. Because buttons initiate immediate actions, there’s no need for to include a time descriptor like Now.
I looked at https://hg.mozilla.org/mozilla-central/file/tip/browser/locales/en-US/browser/sanitize.ftl and it seems like "sanitize-button-ok" has the label "Clear Now", but it isn't being used by the new dialog in bug 1712750.
sanitizeDialog.js also seems to reference this string in
let OKButton = this._dialog.getButton("accept");
document.l10n.setAttributes(OKButton, "sanitize-button-ok");
so this seems like this is the bug, and the string in the code is by design.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
This is unrelated to the UI styling or proton design changes, as the exact same thing happened before those changes.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
(In reply to :Gijs (he/him) from comment #2)
Regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9af589864188fc4061a020c45914f54fa9f67b0d&tochange=011ad9ff26088e341b0aebecd4424523b7759e88
Zibi, do you know why this fluent change broke localization here?
Updated•2 years ago
|
Comment 5•1 year ago
|
||
Thanks for flagging, that sort of makes sense...
Description
•