Bug 1667781 - Refactor preferences dialogs to use dialog element, part 2.
authorid team [Pootle] <https://wiki.mozilla.org/L10n:Teams:id>
Fri, 09 Oct 2020 07:09:46 +0200
changeset 2650 38d11c5d80b71420d18fca1b7677aa411dc2937c
parent 2649 2113c0fcb7c12e138f14c7a133a90d785924b3f2
child 2651 d7f3ac7552547cbbd40cd6ee6898aabe5d4da53a
push id1677
push userflodolo@mozilla.com
push dateFri, 09 Oct 2020 05:12:08 +0000
bugs1667781
Bug 1667781 - Refactor preferences dialogs to use dialog element, part 2.
browser/browser/preferences/blocklists.ftl
browser/browser/preferences/permissions.ftl
browser/browser/preferences/translation.ftl
--- a/browser/browser/preferences/blocklists.ftl
+++ b/browser/browser/preferences/blocklists.ftl
@@ -1,36 +1,33 @@
 # 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/.
 
 blocklist-window =
     .title = Daftar Blokir
     .style = width: 55em
-
 blocklist-description = Pilih daftar yang akan digunakan { -brand-short-name } untuk memblokir pelacak daring. Daftar disediakan oleh <a data-l10n-name="disconnect-link" title="Disconnect">Disconnect</a>.
 blocklist-close-key =
     .key = w
-
 blocklist-treehead-list =
     .label = Daftar
-
 blocklist-button-cancel =
     .label = Batal
     .accesskey = B
-
 blocklist-button-ok =
     .label = Simpan Perubahan
     .accesskey = S
-
+blocklist-dialog =
+    .buttonlabelaccept = Simpan Perubahan
+    .buttonaccesskeyaccept = S
 # This template constructs the name of the block list in the block lists dialog.
 # It combines the list name and description.
 # e.g. "Standard (Recommended). This list does a pretty good job."
 #
 # Variables:
 #   $listName {string, "Standard (Recommended)."} - List name.
 #   $description {string, "This list does a pretty good job."} - Description of the list.
 blocklist-item-list-template = { $listName } { $description }
-
 blocklist-item-moz-std-listName = Daftar blokir level 1 (disarankan).
 blocklist-item-moz-std-description = Izinkan beberapa pelacak agar lebih sedikit situs yang rusak.
 blocklist-item-moz-full-listName = Daftar blokir level 2.
 blocklist-item-moz-full-description = Blokir semua pelacak yang terdeteksi. Beberapa situs atau konten mungkin tidak dapat dimuat dengan baik.
--- a/browser/browser/preferences/permissions.ftl
+++ b/browser/browser/preferences/permissions.ftl
@@ -1,75 +1,62 @@
 # 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/.
 
 permissions-window =
     .title = Pengecualian
     .style = width: 41em
-
 permissions-close-key =
     .key = w
-
 permissions-address = Alamat situs web
     .accesskey = l
-
 permissions-block =
     .label = Blokir
     .accesskey = B
-
 permissions-session =
     .label = Izinkan untuk Sesi ini
     .accesskey = S
-
 permissions-allow =
     .label = Izinkan
     .accesskey = I
-
 permissions-site-name =
     .label = Situs web
-
 permissions-status =
     .label = Status
-
 permissions-remove =
     .label = Hapus Situs Web
     .accesskey = H
-
 permissions-remove-all =
     .label = Hapus Semua Situs Web
     .accesskey = a
-
 permissions-button-cancel =
     .label = Batal
     .accesskey = B
-
 permissions-button-ok =
     .label = Simpan Perubahan
     .accesskey = S
-
+permission-dialog =
+    .buttonlabelaccept = Simpan Perubahan
+    .buttonaccesskeyaccept = S
 permissions-autoplay-menu = Baku untuk semua situs Web:
-
 permissions-searchbox =
     .placeholder = Cari Situs Web
-
 permissions-capabilities-autoplay-allow =
     .label = Izinkan Audio dan Video
 permissions-capabilities-autoplay-block =
     .label = Blokir Audio
 permissions-capabilities-autoplay-blockall =
     .label = Blokir Audio dan Video
-
 permissions-capabilities-allow =
     .label = Izinkan
 permissions-capabilities-block =
     .label = Blokir
 permissions-capabilities-prompt =
     .label = Tanyakan Selalu
-
 permissions-capabilities-listitem-allow =
     .value = Izinkan
 permissions-capabilities-listitem-block =
     .value = Blokir
 permissions-capabilities-listitem-allow-session =
     .value = Izinkan untuk Sesi ini
 
 ## Invalid Hostname Dialog
@@ -107,18 +94,16 @@ permissions-exceptions-saved-logins-desc
 
 ## Exceptions - Add-ons
 
 permissions-exceptions-addons-window =
     .title = Situs Web yang Diizinkan - Pemasangan Pengaya
     .style = { permissions-window.style }
 permissions-exceptions-addons-desc = Anda dapat menentukan situs web mana saja yang diizinkan untuk memasang Pengaya. Ketik alamat situs secara persis yang akan diizinkan, lalu klik Izinkan.
 
-## Exceptions - Autoplay Media
-
 ## Site Permissions - Autoplay
 
 permissions-site-autoplay-window =
     .title = Pengaturan - Putar-otomatis
     .style = { permissions-window.style }
 permissions-site-autoplay-desc = Anda dapat mengelola situs yang tidak mengikuti pengaturan putar-otomatis baku Anda di sini.
 
 ## Site Permissions - Notifications
--- a/browser/browser/preferences/translation.ftl
+++ b/browser/browser/preferences/translation.ftl
@@ -1,40 +1,33 @@
 # 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/.
 
 translation-window =
     .title = Pengecualian - Penerjemahan
     .style = width: 36em
-
 translation-close-key =
     .key = w
-
 translation-languages-disabled-desc = Terjemahan tidak akan ditawarkan untuk bahasa berikut ini
-
 translation-languages-column =
     .label = Bahasa
-
 translation-languages-button-remove =
     .label = Hapus Bahasa
     .accesskey = H
-
 translation-languages-button-remove-all =
     .label = Hapus Semua Bahasa
     .accesskey = s
-
 translation-sites-disabled-desc = Terjemahan tidak akan ditawarkan untuk situs berikut ini
-
 translation-sites-column =
     .label = Situs web
-
 translation-sites-button-remove =
     .label = Hapus Situs
     .accesskey = S
-
 translation-sites-button-remove-all =
     .label = Hapus Semua Situs
     .accesskey = H
-
 translation-button-close =
     .label = Tutup
     .accesskey = T
+translation-dialog =
+    .buttonlabelaccept = Tutup
+    .buttonaccesskeyaccept = T