[Pkg-mozext-commits] [requestpolicy] 04/06: add "Support RequestPolicy" menu item
David Prévot
taffit at moszumanska.debian.org
Fri Sep 19 17:44:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag release-0.5.28
in repository requestpolicy.
commit 0bdfaeb00adb08c1e7ebf42143f02603f1190c47
Author: Justin Samuel <js at justinsamuel.com>
Date: Fri Jul 26 10:24:02 2013 -0700
add "Support RequestPolicy" menu item
---
src/content/overlay.js | 6 ++++++
src/content/overlay.xul | 4 ++++
src/locale/de/requestpolicy.dtd | 1 +
src/locale/en-US/requestpolicy.dtd | 1 +
src/locale/eo/requestpolicy.dtd | 1 +
src/locale/es-MX/requestpolicy.dtd | 1 +
src/locale/eu/requestpolicy.dtd | 1 +
src/locale/fr/requestpolicy.dtd | 1 +
src/locale/it/requestpolicy.dtd | 1 +
src/locale/ja/requestpolicy.dtd | 1 +
src/locale/ko-KR/requestpolicy.dtd | 1 +
src/locale/lv-LV/requestpolicy.dtd | 1 +
src/locale/nl/requestpolicy.dtd | 1 +
src/locale/pt-BR/requestpolicy.dtd | 1 +
src/locale/ru-RU/requestpolicy.dtd | 1 +
src/locale/sk-SK/requestpolicy.dtd | 1 +
src/locale/sv-SE/requestpolicy.dtd | 1 +
src/locale/tr/requestpolicy.dtd | 1 +
src/locale/uk-UA/requestpolicy.dtd | 1 +
src/locale/zh-CN/requestpolicy.dtd | 1 +
src/locale/zh-TW/requestpolicy.dtd | 1 +
21 files changed, 29 insertions(+)
diff --git a/src/content/overlay.js b/src/content/overlay.js
index fb834df..48e81e8 100644
--- a/src/content/overlay.js
+++ b/src/content/overlay.js
@@ -43,6 +43,8 @@ Components.utils.import("resource://requestpolicy/Util.jsm",
*/
requestpolicy.overlay = {
+ supportRequestPolicyURL : "https://www.requestpolicy.com/support-requestpolicy.html",
+
_extensionConflictInfoUri : "http://www.requestpolicy.com/conflict?ext=",
_prefetchInfoUri : "http://www.requestpolicy.com/help/prefetch.html",
@@ -1550,6 +1552,10 @@ requestpolicy.overlay = {
+ encodeURIComponent(extJson));
},
+ openSupportRP : function() {
+ this._openInNewTab(this.supportRequestPolicyURL);
+ },
+
showPrefetchInfo : function() {
this._openInNewTab(this._prefetchInfoUri);
},
diff --git a/src/content/overlay.xul b/src/content/overlay.xul
index 8f9be02..7c4c62c 100644
--- a/src/content/overlay.xul
+++ b/src/content/overlay.xul
@@ -95,6 +95,10 @@
hidden="true"
label="&menu.closeRequestLog.label;"
oncommand="requestpolicy.overlay.toggleRequestLog();" />
+ <menuitem
+ id="requestpolicyOpenSupportRP"
+ label="&supportRequestPolicy;"
+ oncommand="requestpolicy.overlay.openSupportRP();" />
<menuseparator id="requestpolicy-preferencesSeparator"/>
<menuitem
id="requestpolicyExtensionConflictWarning"
diff --git a/src/locale/de/requestpolicy.dtd b/src/locale/de/requestpolicy.dtd
index 5b046f8..05e35ef 100644
--- a/src/locale/de/requestpolicy.dtd
+++ b/src/locale/de/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Warnung: Vorabruf von Links ist aktiv">
<!ENTITY prefetchInfo "Mehr über Vorabruf von Links erfahren">
<!ENTITY prefetchDisablingInstructions "Vorabruf von Links deaktivieren">
diff --git a/src/locale/en-US/requestpolicy.dtd b/src/locale/en-US/requestpolicy.dtd
index b34ed7f..6bd56ea 100644
--- a/src/locale/en-US/requestpolicy.dtd
+++ b/src/locale/en-US/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Warning: Prefetch is enabled">
<!ENTITY prefetchInfo "Learn about prefetching">
<!ENTITY prefetchDisablingInstructions "Disable prefetching">
diff --git a/src/locale/eo/requestpolicy.dtd b/src/locale/eo/requestpolicy.dtd
index cac4974..e68f803 100644
--- a/src/locale/eo/requestpolicy.dtd
+++ b/src/locale/eo/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Averto: estas ŝaltita antaŭakirado ("prefetching").">
<!ENTITY prefetchInfo "Legi pri antaŭakirado (angle)">
<!ENTITY prefetchDisablingInstructions "Kiel malŝalti antaŭakiradon (angle)">
diff --git a/src/locale/es-MX/requestpolicy.dtd b/src/locale/es-MX/requestpolicy.dtd
index 8c5ac4a..ce1ff50 100644
--- a/src/locale/es-MX/requestpolicy.dtd
+++ b/src/locale/es-MX/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Advertencia: La pre carga esta habilitada">
<!ENTITY prefetchInfo "¿Que es la pre carga?">
<!ENTITY prefetchDisablingInstructions "Deshabilitar la pre carga">
diff --git a/src/locale/eu/requestpolicy.dtd b/src/locale/eu/requestpolicy.dtd
index 424faf4..39b6b7f 100644
--- a/src/locale/eu/requestpolicy.dtd
+++ b/src/locale/eu/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Oharra: Prefetch gaituta dago">
<!ENTITY prefetchInfo "Ikasi prefetchingen inguruan">
<!ENTITY prefetchDisablingInstructions "Prefetching ezgaitu">
diff --git a/src/locale/fr/requestpolicy.dtd b/src/locale/fr/requestpolicy.dtd
index a0bb9f9..48c366c 100644
--- a/src/locale/fr/requestpolicy.dtd
+++ b/src/locale/fr/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Attention : la préextraction est activée">
<!ENTITY prefetchInfo "En savoir plus à propos de la préextraction">
<!ENTITY prefetchDisablingInstructions "Désactiver la préextraction">
diff --git a/src/locale/it/requestpolicy.dtd b/src/locale/it/requestpolicy.dtd
index f8e8103..1db8c6d 100644
--- a/src/locale/it/requestpolicy.dtd
+++ b/src/locale/it/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Attenzione: il Prefetch è abilitato">
<!ENTITY prefetchInfo "Maggiori info sul prefetching">
<!ENTITY prefetchDisablingInstructions "Disabilita il prefetching">
diff --git a/src/locale/ja/requestpolicy.dtd b/src/locale/ja/requestpolicy.dtd
index e4a2645..627c3ff 100644
--- a/src/locale/ja/requestpolicy.dtd
+++ b/src/locale/ja/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "警告: プリフェッチがオンになっています">
<!ENTITY prefetchInfo "プリフェッチについて">
<!ENTITY prefetchDisablingInstructions "プリフェッチを禁止する">
diff --git a/src/locale/ko-KR/requestpolicy.dtd b/src/locale/ko-KR/requestpolicy.dtd
index 8c622df..dae23f3 100644
--- a/src/locale/ko-KR/requestpolicy.dtd
+++ b/src/locale/ko-KR/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Prefetch 가 활성화되었습니다.">
<!ENTITY prefetchInfo "Prefetch 란?">
<!ENTITY prefetchDisablingInstructions "Prefetch 비활성화">
diff --git a/src/locale/lv-LV/requestpolicy.dtd b/src/locale/lv-LV/requestpolicy.dtd
index be94887..ab04952 100644
--- a/src/locale/lv-LV/requestpolicy.dtd
+++ b/src/locale/lv-LV/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Brīdinājums: Priekšnese ir aktivizēta">
<!ENTITY prefetchInfo "Uzziniet par priekšnesi">
<!ENTITY prefetchDisablingInstructions "Atslēgt priekšnesi">
diff --git a/src/locale/nl/requestpolicy.dtd b/src/locale/nl/requestpolicy.dtd
index 8fd9ee4..8dfb27b 100644
--- a/src/locale/nl/requestpolicy.dtd
+++ b/src/locale/nl/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Waarschuwing: vooraf ophalen is ingeschakeld">
<!ENTITY prefetchInfo "Meer over vooraf ophalen">
<!ENTITY prefetchDisablingInstructions "Vooraf ophalen uitschakelen">
diff --git a/src/locale/pt-BR/requestpolicy.dtd b/src/locale/pt-BR/requestpolicy.dtd
index 9428224..97aeb1a 100644
--- a/src/locale/pt-BR/requestpolicy.dtd
+++ b/src/locale/pt-BR/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Aviso: pré-carregamento está ativado">
<!ENTITY prefetchInfo "Aprenda sobre pré-carregamento">
<!ENTITY prefetchDisablingInstructions "Desativar pré-carregamento">
diff --git a/src/locale/ru-RU/requestpolicy.dtd b/src/locale/ru-RU/requestpolicy.dtd
index b00b749..66d72f7 100644
--- a/src/locale/ru-RU/requestpolicy.dtd
+++ b/src/locale/ru-RU/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Внимание: Упреждающая выборка включена">
<!ENTITY prefetchInfo "Узнать о функции упреждающей выборки">
<!ENTITY prefetchDisablingInstructions "Отключить упреждающую выборку">
diff --git a/src/locale/sk-SK/requestpolicy.dtd b/src/locale/sk-SK/requestpolicy.dtd
index 659ec20..8092c54 100644
--- a/src/locale/sk-SK/requestpolicy.dtd
+++ b/src/locale/sk-SK/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Upozornenie: Prefetch je povolená">
<!ENTITY prefetchInfo "Ďalšie informácie o prefetching">
<!ENTITY prefetchDisablingInstructions "Vypnúť prefetching">
diff --git a/src/locale/sv-SE/requestpolicy.dtd b/src/locale/sv-SE/requestpolicy.dtd
index 3a41c05..a0ed291 100644
--- a/src/locale/sv-SE/requestpolicy.dtd
+++ b/src/locale/sv-SE/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Varning: Förhämtning är aktiverad">
<!ENTITY prefetchInfo "Lär dig mer om förhämtning">
<!ENTITY prefetchDisablingInstructions "Inaktivera förhämtning">
diff --git a/src/locale/tr/requestpolicy.dtd b/src/locale/tr/requestpolicy.dtd
index 40978bf..a1f39ef 100644
--- a/src/locale/tr/requestpolicy.dtd
+++ b/src/locale/tr/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Uyarı: Önbellek aktif">
<!ENTITY prefetchInfo "Önbellek hakkında bilgi">
<!ENTITY prefetchDisablingInstructions "Önbelleği kapat">
diff --git a/src/locale/uk-UA/requestpolicy.dtd b/src/locale/uk-UA/requestpolicy.dtd
index 5ab75b8..55e73b6 100644
--- a/src/locale/uk-UA/requestpolicy.dtd
+++ b/src/locale/uk-UA/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "Warning: Prefetch is enabled">
<!ENTITY prefetchInfo "Learn about prefetching">
<!ENTITY prefetchDisablingInstructions "Disable prefetching">
diff --git a/src/locale/zh-CN/requestpolicy.dtd b/src/locale/zh-CN/requestpolicy.dtd
index 2792020..2113ec4 100644
--- a/src/locale/zh-CN/requestpolicy.dtd
+++ b/src/locale/zh-CN/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "警告:预取已启用">
<!ENTITY prefetchInfo "了解有关预取">
<!ENTITY prefetchDisablingInstructions "禁用预取">
diff --git a/src/locale/zh-TW/requestpolicy.dtd b/src/locale/zh-TW/requestpolicy.dtd
index f699cfc..c3195b9 100644
--- a/src/locale/zh-TW/requestpolicy.dtd
+++ b/src/locale/zh-TW/requestpolicy.dtd
@@ -1,3 +1,4 @@
+<!ENTITY supportRequestPolicy "Support RequestPolicy">
<!ENTITY prefetchWarning "警告: 已啟用 Prefetch 技術">
<!ENTITY prefetchInfo "了解 prefetching 技術">
<!ENTITY prefetchDisablingInstructions "停用 prefetching 技術">
--
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