Bug 1667781 - Refactor preferences dialogs to use dialog element, part 2.
authorKristján Bjarni Guðmundsson <kristjanbjarni@gmail.com>
Fri, 09 Oct 2020 07:14:09 +0200
changeset 1397 7e8b1de67784141d48331a62de3149d39c5d9e92
parent 1396 c44b4299120818d1cbfc7c8d7239526595ce265f
child 1398 d48aafecfc3b315f23a8455d693359b6ed462383
push id616
push userflodolo@mozilla.com
push dateFri, 09 Oct 2020 05:14:28 +0000
bugs1667781
Bug 1667781 - Refactor preferences dialogs to use dialog element, part 2.
browser/browser/preferences/clearSiteData.ftl
--- a/browser/browser/preferences/clearSiteData.ftl
+++ b/browser/browser/preferences/clearSiteData.ftl
@@ -1,60 +1,53 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 clear-site-data-window =
     .title = Hreinsa gögn
     .style = width: 35em
-
 clear-site-data-description = Ef þú hreinsar út allar smákökur og gögn sem eru geymd af { -brand-short-name } gæti það orðið til þess að þú verðir skráður út af vefsvæðum og ótengd gögn verði fjarlægð. Hreinsum á skyndinminni hefur ekki áhrif á innskráningar.
-
 clear-site-data-close-key =
     .key = w
-
 # The parameters in parentheses in this string describe disk usage
 # in the format ($amount $unit), e.g. "Cookies and Site Data (24 KB)"
 # Variables:
 #   $amount (Number) - Amount of site data currently stored on disk
 #   $unit (String) - Abbreviation of the unit that $amount is in, e.g. "MB"
 clear-site-data-cookies-with-data =
     .label = Smákökur og gögn ({ $amount } { $unit })
     .accesskey = S
-
 # This string is a placeholder for while the data used to fill
 # clear-site-data-cookies-with-data is loading. This placeholder is usually
 # only shown for a very short time (< 1s), so it should be very similar
 # or the same as clear-site-data-cookies-with-data (except the amount and unit),
 # to avoid flickering.
 clear-site-data-cookies-empty =
     .label = Smákökur og gögn vefsvæðis
     .accesskey = S
-
 clear-site-data-cookies-info = Þú gætir verið skráður út af vefsíðum ef gögn eru hreinsuð
-
 # The parameters in parentheses in this string describe disk usage
 # in the format ($amount $unit), e.g. "Cached Web Content (24 KB)"
 # Variables:
 #   $amount (Number) - Amount of cache currently stored on disk
 #   $unit (String) - Abbreviation of the unit that $amount is in, e.g. "MB"
 clear-site-data-cache-with-data =
     .label = Vefgögn í skyndiminni ({ $amount } { $unit })
     .accesskey = V
-
 # This string is a placeholder for while the data used to fill
 # clear-site-data-cache-with-data is loading. This placeholder is usually
 # only shown for a very short time (< 1s), so it should be very similar
 # or the same as clear-site-data-cache-with-data (except the amount and unit),
 # to avoid flickering.
 clear-site-data-cache-empty =
     .label = Vefgögn í flýtiminni
     .accesskey = V
-
 clear-site-data-cache-info = Veldur því að vefsvæði þurfa að sækja aftur myndir og gögn
-
 clear-site-data-cancel =
     .label = Hætta við
     .accesskey = H
-
 clear-site-data-clear =
     .label = Hreinsa
     .accesskey = r
+clear-site-data-dialog =
+    .buttonlabelaccept = Hreinsa
+    .buttonaccesskeyaccept = r