[Pkg-mozext-commits] [requestpolicy] 20/100: get back UI access to "auto reload" option

David Prévot taffit at moszumanska.debian.org
Fri Dec 12 22:56:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit 62f63860969b7d53c701ee7b1f7cdfeb271a0cfd
Author: myrdd <myrdd at users.noreply.github.com>
Date:   Sat Sep 13 17:52:40 2014 +0200

    get back UI access to "auto reload" option
    
    all locale strings from v0.5 have been imported.
    fixes #466
---
 src/content/settings/basicprefs.html      |  4 +---
 src/content/settings/basicprefs.js        | 17 +++++++++--------
 src/locale/de/requestpolicy.properties    |  1 +
 src/locale/en-US/requestpolicy.properties |  1 +
 src/locale/eo/requestpolicy.properties    |  1 +
 src/locale/es-MX/requestpolicy.properties |  1 +
 src/locale/eu/requestpolicy.properties    |  1 +
 src/locale/fr/requestpolicy.properties    |  1 +
 src/locale/it/requestpolicy.properties    |  1 +
 src/locale/ja/requestpolicy.properties    |  1 +
 src/locale/ko-KR/requestpolicy.properties |  1 +
 src/locale/lv-LV/requestpolicy.properties |  1 +
 src/locale/nl/requestpolicy.properties    |  1 +
 src/locale/pt-BR/requestpolicy.properties |  1 +
 src/locale/ru-RU/requestpolicy.properties |  1 +
 src/locale/sk-SK/requestpolicy.properties |  1 +
 src/locale/sv-SE/requestpolicy.properties |  1 +
 src/locale/tr/requestpolicy.properties    |  1 +
 src/locale/uk-UA/requestpolicy.properties |  1 +
 src/locale/zh-CN/requestpolicy.properties |  1 +
 src/locale/zh-TW/requestpolicy.properties |  1 +
 21 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/src/content/settings/basicprefs.html b/src/content/settings/basicprefs.html
index b8ea231..64bb75a 100644
--- a/src/content/settings/basicprefs.html
+++ b/src/content/settings/basicprefs.html
@@ -45,14 +45,12 @@
                   <span data-string="indicateBlockedImages"></span>
                 </label>
               </div>
-              <!--
               <div>
                 <label>
                   <input type="checkbox" id="pref-autoReload"/>
-                  Reload current page when whitelist is changed
+                  <span data-string="autoReload"></span>
                 </label>
               </div>
-              -->
             </td>
           </tr>
           <tr>
diff --git a/src/content/settings/basicprefs.js b/src/content/settings/basicprefs.js
index 795ccd1..4f25269 100644
--- a/src/content/settings/basicprefs.js
+++ b/src/content/settings/basicprefs.js
@@ -3,6 +3,7 @@ PAGE_STRINGS = [
   'advanced',
   'webPages',
   'indicateBlockedImages',
+  'autoReload',
   'menu',
   'allowAddingNonTemporaryRulesInPBM'
 ];
@@ -15,8 +16,8 @@ function updateDisplay() {
   document.getElementById('pref-indicateBlockedObjects').checked =
       rpService.prefs.getBoolPref('indicateBlockedObjects');
 
-//  document.getElementById('pref-autoReload').checked =
-//    rpService.prefs.getBoolPref('autoReload');
+  document.getElementById('pref-autoReload').checked =
+      rpService.prefs.getBoolPref('autoReload');
 
   document.getElementById('pref-privateBrowsingPermanentWhitelisting').checked =
       rpService.prefs.getBoolPref('privateBrowsingPermanentWhitelisting');
@@ -40,12 +41,12 @@ function onload() {
       }
   );
 
-//  document.getElementById('pref-autoReload').addEventListener('change',
-//    function(event) {
-//      rpService.prefs.setBoolPref('autoReload', event.target.checked);
-//      rpService._prefService.savePrefFile(null);
-//    }
-//  );
+  document.getElementById('pref-autoReload').addEventListener('change',
+    function(event) {
+      rpService.prefs.setBoolPref('autoReload', event.target.checked);
+      rpService._prefService.savePrefFile(null);
+    }
+  );
 
   document.getElementById('pref-privateBrowsingPermanentWhitelisting').addEventListener('change',
       function (event) {
diff --git a/src/locale/de/requestpolicy.properties b/src/locale/de/requestpolicy.properties
index 55cc5fb..d0ec038 100644
--- a/src/locale/de/requestpolicy.properties
+++ b/src/locale/de/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Erweitert
 indicateBlockedImages=Blockierte Grafiken durch Platzhalter ersetzen
+autoReload=Aktuelle Seite beim Ändern der Liste erlaubter Anfragen neu laden
 webPages=Webseiten
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Dauerhaftes Erlauben im Privaten Modus ermöglichen
diff --git a/src/locale/en-US/requestpolicy.properties b/src/locale/en-US/requestpolicy.properties
index 8edf273..a225e2a 100644
--- a/src/locale/en-US/requestpolicy.properties
+++ b/src/locale/en-US/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Advanced
 indicateBlockedImages=Indicate blocked images
+autoReload=Reload current page when whitelist is changed
 webPages=Web Pages
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Allow adding non-temporary rules when using Private Browsing Mode
diff --git a/src/locale/eo/requestpolicy.properties b/src/locale/eo/requestpolicy.properties
index 6054be6..10809e3 100644
--- a/src/locale/eo/requestpolicy.properties
+++ b/src/locale/eo/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Spertulaj
 indicateBlockedImages=Indiki blokitajn bildojn
+autoReload=Reŝargi la montratan paĝon ĉe ŝanĝo de permesoj.
 webPages=Retpaĝoj
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Ebligi neprovizoran permesadon dum Privata retesplorado
diff --git a/src/locale/es-MX/requestpolicy.properties b/src/locale/es-MX/requestpolicy.properties
index 95f9a30..cbb88ab 100644
--- a/src/locale/es-MX/requestpolicy.properties
+++ b/src/locale/es-MX/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Avanzado
 indicateBlockedImages=Indicar imágenes bloqueadas
+autoReload=Recargar la pagina actual cuando cambie la lista de sitios permitidos
 webPages=Paginas web
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Al usar navegación privada permitir poner sitios en la lista de modo permanente
diff --git a/src/locale/eu/requestpolicy.properties b/src/locale/eu/requestpolicy.properties
index d6f452f..88dd0c2 100644
--- a/src/locale/eu/requestpolicy.properties
+++ b/src/locale/eu/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Aurreratua
 indicateBlockedImages=Adierazi blokeatutako irudiak
+autoReload=Berritu uneko orria zerrenda-zuria aldatzen denean
 webPages=Web orriak
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Baimendu aldi osorako zerrenda-zuria Nabigatze Pribatua erabiltzerakoan
diff --git a/src/locale/fr/requestpolicy.properties b/src/locale/fr/requestpolicy.properties
index d0c9974..941e7db 100644
--- a/src/locale/fr/requestpolicy.properties
+++ b/src/locale/fr/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Avancé
 indicateBlockedImages=Indiquer les images bloquées
+autoReload=Actualiser la page en cours lorsque liste blanche est modifiée
 webPages=Pages Web
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Autoriser la mise permanente en liste blanche en utilisant
diff --git a/src/locale/it/requestpolicy.properties b/src/locale/it/requestpolicy.properties
index d45652e..31cd2fa 100644
--- a/src/locale/it/requestpolicy.properties
+++ b/src/locale/it/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Avanzate
 indicateBlockedImages=Indica le immagini bloccate
+autoReload=Ricarica la pagina corrente quando cambia la Lista Bianca
 webPages=Pagine web
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Lascia la Lista Bianca permanente quando si usa la Navigazione Anonima
diff --git a/src/locale/ja/requestpolicy.properties b/src/locale/ja/requestpolicy.properties
index d6cba31..4638ac1 100644
--- a/src/locale/ja/requestpolicy.properties
+++ b/src/locale/ja/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=上級者向け設定
 indicateBlockedImages=ブロックされたことを示す画像を表示する
+autoReload=Reload current page when whitelist is changed
 webPages=Webページ
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Allow adding non-temporary rules when using Private Browsing Mode
diff --git a/src/locale/ko-KR/requestpolicy.properties b/src/locale/ko-KR/requestpolicy.properties
index 9295f92..af0d0a6 100644
--- a/src/locale/ko-KR/requestpolicy.properties
+++ b/src/locale/ko-KR/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Advanced
 indicateBlockedImages=거부된 사이트 표시
+autoReload=Reload current page when whitelist is changed
 webPages=Web Pages
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Allow adding non-temporary rules when using Private Browsing Mode
diff --git a/src/locale/lv-LV/requestpolicy.properties b/src/locale/lv-LV/requestpolicy.properties
index d3f6bb0..9858056 100644
--- a/src/locale/lv-LV/requestpolicy.properties
+++ b/src/locale/lv-LV/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Papildus
 indicateBlockedImages=Atzīmēt bloķetus attēlus
+autoReload=Atjaunināt pašreizējo lapu, kad izmaina balto sarakstu
 webPages=Web Pages
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Atļaut paliekošas izmaiņas baltajā sarakstā, kad izmanto privāto pārlūkošanu
diff --git a/src/locale/nl/requestpolicy.properties b/src/locale/nl/requestpolicy.properties
index a13d229..e3eaccc 100644
--- a/src/locale/nl/requestpolicy.properties
+++ b/src/locale/nl/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Geavanceerd
 indicateBlockedImages=Geblokkeerde afbeeldingen aanduiden
+autoReload=Huidige pagina opnieuw laden wanneer witte lijst wijzigt
 webPages=Webpagina’s
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Permanente witte lijst toestaan bij gebruik Privénavigatie
diff --git a/src/locale/pt-BR/requestpolicy.properties b/src/locale/pt-BR/requestpolicy.properties
index 2a46a21..7a39e71 100644
--- a/src/locale/pt-BR/requestpolicy.properties
+++ b/src/locale/pt-BR/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Avançado
 indicateBlockedImages=Indicar imagens bloqueadas
+autoReload=Recarregar a página logo após modificar a lista de permissões
 webPages=Exibição da página
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Adicionar permissões às listas também durante navegação privativa
diff --git a/src/locale/ru-RU/requestpolicy.properties b/src/locale/ru-RU/requestpolicy.properties
index 10844a8..de0e648 100644
--- a/src/locale/ru-RU/requestpolicy.properties
+++ b/src/locale/ru-RU/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Дополнительно
 indicateBlockedImages=Помечать заблокированные изображения
+autoReload=Перегружать текущую страницу при изменении белого списка
 webPages=Веб-страницы
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Всегда использовать белый список в режиме приватного просмотра
diff --git a/src/locale/sk-SK/requestpolicy.properties b/src/locale/sk-SK/requestpolicy.properties
index 1ce5b4f..d07047e 100644
--- a/src/locale/sk-SK/requestpolicy.properties
+++ b/src/locale/sk-SK/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Pokročilé
 indicateBlockedImages=Uviesť blokované obrázky
+autoReload=Znovu načítať aktuálnu stránku pri zmene whitelist
 webPages=Webové stránky
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Povoliť trvalé whitelisting pri používaní Súkromného ​​prehliadania
diff --git a/src/locale/sv-SE/requestpolicy.properties b/src/locale/sv-SE/requestpolicy.properties
index 9f05cdd..69ee150 100644
--- a/src/locale/sv-SE/requestpolicy.properties
+++ b/src/locale/sv-SE/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Avancerat
 indicateBlockedImages=Indikera blockerade bilder
+autoReload=Ladda om nuvarande sida när vitlistan ändras
 webPages=Webbsidor
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Tillåt permanent vitlistning när privat surfning används
diff --git a/src/locale/tr/requestpolicy.properties b/src/locale/tr/requestpolicy.properties
index e4eb7a7..6d44fa3 100644
--- a/src/locale/tr/requestpolicy.properties
+++ b/src/locale/tr/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Gelişmiş
 indicateBlockedImages=Bloklanan resimi işaretle
+autoReload=Beyaz liste değiştiğinde sayfayı yenile
 webPages=Web sayfaları
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Özel Gezinti yaparken kalıcı beyazlistelemeye izin ver
diff --git a/src/locale/uk-UA/requestpolicy.properties b/src/locale/uk-UA/requestpolicy.properties
index cff9211..c516221 100644
--- a/src/locale/uk-UA/requestpolicy.properties
+++ b/src/locale/uk-UA/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=Додатково
 indicateBlockedImages=Indicate blocked images
+autoReload=Reload current page when whitelist is changed
 webPages=Веб-сторінки
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=Allow adding non-temporary rules when using Private Browsing Mode
diff --git a/src/locale/zh-CN/requestpolicy.properties b/src/locale/zh-CN/requestpolicy.properties
index 564298c..c8c7be7 100644
--- a/src/locale/zh-CN/requestpolicy.properties
+++ b/src/locale/zh-CN/requestpolicy.properties
@@ -40,6 +40,7 @@ basic=基础
 advanced=高级
 indicateBlockedImages=标示已阻止图像
 webPages=网页
+autoReload "白名单更改后,重新载入当前页面
 menu=菜单
 allowAddingNonTemporaryRulesInPBM=使用隐私浏览时允许永久白名单
 advancedPreferences=高级设置
diff --git a/src/locale/zh-TW/requestpolicy.properties b/src/locale/zh-TW/requestpolicy.properties
index 7f05cab..2d46954 100644
--- a/src/locale/zh-TW/requestpolicy.properties
+++ b/src/locale/zh-TW/requestpolicy.properties
@@ -39,6 +39,7 @@ help=Help
 basic=Basic
 advanced=進階
 indicateBlockedImages=Indicate blocked images
+autoReload=更改白名單後重新載入目前頁面
 webPages=網頁
 menu=Menu
 allowAddingNonTemporaryRulesInPBM=私密瀏覽時允許永久性的白名單

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list