[Pkg-mozext-commits] [compactheader] 401/441: Added Dutch translation. Added new menu entry to make shortcut for toggling header more visible. Updated tests.

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:29:22 UTC 2015


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

taffit pushed a commit to branch master
in repository compactheader.

commit 8a9a4156424b3cbb697aa9e71596a3134cfc34bf
Author: Joachim Herb <Joachim.Herb at gmx.de>
Date:   Tue Oct 15 00:09:32 2013 +0200

    Added Dutch translation. Added new menu entry to make shortcut for toggling header more visible. Updated tests.
---
 chrome.manifest                                    |  1 +
 .../content/compactHeaderOverlay-10.xul            | 26 ++++++++++++++++++++++
 .../CompactHeader/content/compactHeaderOverlay.js  |  4 ++++
 chrome/CompactHeader/locale/de/CompactHeader.dtd   |  1 +
 .../CompactHeader/locale/en-US/CompactHeader.dtd   |  1 +
 .../locale/{de => nl}/CompactHeader.dtd            |  8 +++----
 .../CompactHeader.dtd => nl/preferences.dtd}       | 19 +++++++++++-----
 install.rdf                                        |  4 ++--
 test/executeTests.pl                               |  1 +
 test/testapps.csv                                  | 16 ++++++++-----
 10 files changed, 64 insertions(+), 17 deletions(-)

diff --git a/chrome.manifest b/chrome.manifest
index 3b00e87..5d95e70 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -20,6 +20,7 @@ locale    CompactHeader     sr   chrome/CompactHeader/locale/sr/
 locale    CompactHeader     sv-SE   chrome/CompactHeader/locale/sv-SE/
 locale    CompactHeader     tr   chrome/CompactHeader/locale/tr/
 locale    CompactHeader     zh-CN   chrome/CompactHeader/locale/zh-CN/
+locale    CompactHeader     nl   chrome/CompactHeader/locale/nl/
 
 overlay chrome://messenger/content/msgHdrViewOverlay.xul chrome://CompactHeader/content/compactHeaderOverlay-9.xul appversion<24.0a2
 overlay chrome://messenger/content/msgHdrViewOverlay.xul chrome://CompactHeader/content/compactHeaderOverlay-24.xul appversion>=24.0a2
diff --git a/chrome/CompactHeader/content/compactHeaderOverlay-10.xul b/chrome/CompactHeader/content/compactHeaderOverlay-10.xul
index 5a37684..b67181f 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay-10.xul
+++ b/chrome/CompactHeader/content/compactHeaderOverlay-10.xul
@@ -3,10 +3,36 @@
 <?xml-stylesheet href="chrome://CompactHeader/skin/CompactHeader.css" type="text/css"?>
 <?xml-stylesheet href="chrome://CompactHeader-os/skin/osdef.css" type="text/css"?>
 
+<!DOCTYPE overlay [
+  <!ENTITY % utilityDTD SYSTEM
+  "chrome://communicator/locale/utilityOverlay.dtd">
+  %utilityDTD; <!-- copyCmd -->
+  <!ENTITY % msgHeaderDTD SYSTEM
+  "chrome://messenger/locale/msgHdrViewOverlay.dtd">
+  %msgHeaderDTD;
+  <!ENTITY % compactHeaderDTD SYSTEM
+  "chrome://CompactHeader/locale/CompactHeader.dtd">
+  %compactHeaderDTD;
+  <!ENTITY % preferencesDTD SYSTEM
+  "chrome://CompactHeader/locale/preferences.dtd">
+  %preferencesDTD;
+  <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
+  %messengerDTD;
+]>
+
 
 <overlay id="compactHeaderOverlay"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
+  <menupopup id="menu_HeadersPopup">
+    <menuseparator id="CompactHeader_viewMenuCompactSeparator"/>
+    <menuitem id="CompactHeader_viewMenuCompact"
+              label="&CompactHeader_compactMenu.label;"
+              type="checkbox"
+              key="CompactHeader_hideDetailsKey"
+              oncommand="org.mozdev.compactHeader.pane.coheToggleHeaderView();"/>
+  </menupopup>
+
   <hbox id="messagepaneboxwrapper">
     <vbox id="CompactHeader_leftSidebar"
           class="main-header-area"
diff --git a/chrome/CompactHeader/content/compactHeaderOverlay.js b/chrome/CompactHeader/content/compactHeaderOverlay.js
index 5af95bb..da27074 100644
--- a/chrome/CompactHeader/content/compactHeaderOverlay.js
+++ b/chrome/CompactHeader/content/compactHeaderOverlay.js
@@ -523,6 +523,10 @@ org.mozdev.compactHeader.pane = function() {
     if (document.getElementById("CompactHeader_hideDetailsMenu")) {
       document.getElementById("CompactHeader_hideDetailsMenu").setAttribute("label", strLabel);
     }
+    
+    document.getElementById("CompactHeader_viewMenuCompact")
+            .setAttribute("checked", gCoheCollapsedHeaderViewMode);
+    
     org.mozdev.compactHeader.debug.log("coheToggleHeaderContent stop");
   }
 
diff --git a/chrome/CompactHeader/locale/de/CompactHeader.dtd b/chrome/CompactHeader/locale/de/CompactHeader.dtd
index 4b25f61..641aebe 100644
--- a/chrome/CompactHeader/locale/de/CompactHeader.dtd
+++ b/chrome/CompactHeader/locale/de/CompactHeader.dtd
@@ -38,3 +38,4 @@
 <!ENTITY CompactHeader_hideDetailsButton.label "Details verbergen">
 <!ENTITY CompactHeader_toggleDetails.key "h">
 <!ENTITY CompactHeader_showDetailsButton.label "Details anzeigen">
+<!ENTITY CompactHeader_compactMenu.label "Kompakt">
diff --git a/chrome/CompactHeader/locale/en-US/CompactHeader.dtd b/chrome/CompactHeader/locale/en-US/CompactHeader.dtd
index 48d44ee..426166b 100644
--- a/chrome/CompactHeader/locale/en-US/CompactHeader.dtd
+++ b/chrome/CompactHeader/locale/en-US/CompactHeader.dtd
@@ -38,3 +38,4 @@
 <!ENTITY CompactHeader_hideDetailsButton.label "Hide details">
 <!ENTITY CompactHeader_toggleDetails.key "h">
 <!ENTITY CompactHeader_showDetailsButton.label "Show details">
+<!ENTITY CompactHeader_compactMenu.label "Compact">
diff --git a/chrome/CompactHeader/locale/de/CompactHeader.dtd b/chrome/CompactHeader/locale/nl/CompactHeader.dtd
similarity index 91%
copy from chrome/CompactHeader/locale/de/CompactHeader.dtd
copy to chrome/CompactHeader/locale/nl/CompactHeader.dtd
index 4b25f61..99b9a32 100644
--- a/chrome/CompactHeader/locale/de/CompactHeader.dtd
+++ b/chrome/CompactHeader/locale/nl/CompactHeader.dtd
@@ -33,8 +33,8 @@
  the provisions above, a recipient may use your version of this file under
  the terms of any one of the MPL, the GPL or the LGPL.
 
- ***** END LICENSE BLOCK ***** -->
-
-<!ENTITY CompactHeader_hideDetailsButton.label "Details verbergen">
+ ***** END LICENSE BLOCK ***** 
+-->
+<!ENTITY CompactHeader_hideDetailsButton.label "Verberg details">
 <!ENTITY CompactHeader_toggleDetails.key "h">
-<!ENTITY CompactHeader_showDetailsButton.label "Details anzeigen">
+<!ENTITY CompactHeader_showDetailsButton.label "Laat details zien">
diff --git a/chrome/CompactHeader/locale/en-US/CompactHeader.dtd b/chrome/CompactHeader/locale/nl/preferences.dtd
similarity index 61%
copy from chrome/CompactHeader/locale/en-US/CompactHeader.dtd
copy to chrome/CompactHeader/locale/nl/preferences.dtd
index 48d44ee..962d902 100644
--- a/chrome/CompactHeader/locale/en-US/CompactHeader.dtd
+++ b/chrome/CompactHeader/locale/nl/preferences.dtd
@@ -33,8 +33,17 @@
  the provisions above, a recipient may use your version of this file under
  the terms of any one of the MPL, the GPL or the LGPL.
 
- ***** END LICENSE BLOCK ***** -->
-
-<!ENTITY CompactHeader_hideDetailsButton.label "Hide details">
-<!ENTITY CompactHeader_toggleDetails.key "h">
-<!ENTITY CompactHeader_showDetailsButton.label "Show details">
+ ***** END LICENSE BLOCK ***** 
+-->
+<!ENTITY CompactHeader_dialog.title "CompactHeader voorkeuren">
+<!ENTITY CompactHeader_checkbox.Compact.TwolineView.caption "Laat twee regels zien in compact beeld">
+<!ENTITY CompactHeader_menu.Linkify.caption "Link in onderwerp van RSS feeds en nieuwsgroep berichten">
+<!ENTITY CompactHeader_menu.ShowOnlyAddress.caption "Laat alleen adressen zien">
+<!ENTITY CompactHeader_menu.flatButtons.caption "Platte knoppen">
+<!ENTITY CompactHeader_radiobox.ToolbarPosition.caption "Plaats van Berichtkop werkbalk">
+<!ENTITY CompactHeader_radiobox.ToolbarPosition.right "rechts">
+<!ENTITY CompactHeader_radiobox.ToolbarPosition.top "boven">
+<!ENTITY CompactHeader_radiobox.ToolbarPosition.left "links">
+<!ENTITY CompactHeader_radiobox.ToolbarPosition.none "onzichtbaar">
+<!ENTITY CompactHeader_menu.dblclick_header.caption "Wissel berichtkop door te dubbel klikken">
+<!ENTITY CompactHeader_menu.darken_on_focus.caption "Maak de berichtkop donkerder als het berichtpaneel focus heeft">
diff --git a/install.rdf b/install.rdf
index aa4f5d3..310c179 100644
--- a/install.rdf
+++ b/install.rdf
@@ -6,7 +6,7 @@
 
 	<RDF:Description about="urn:mozilla:install-manifest">
 		<em:name>CompactHeader</em:name>
-		<em:version>2.0.8</em:version>
+		<em:version>2.0.9beta1</em:version>
 		<em:description>Add ability to reduce header size to one or two lines. Linkify subjects in RSS feeds.</em:description>
 		<em:creator>Joachim Herb</em:creator>
 		<em:contributor>Zamula</em:contributor>
@@ -24,7 +24,7 @@
 			<RDF:Description>
 				<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
 				<em:minVersion>9.0</em:minVersion>
-				<em:maxVersion>26.0a1</em:maxVersion>
+				<em:maxVersion>27.0a1</em:maxVersion>
 			</RDF:Description>
 		</em:targetApplication>
 	</RDF:Description>
diff --git a/test/executeTests.pl b/test/executeTests.pl
index 5d78816..5a51cdb 100644
--- a/test/executeTests.pl
+++ b/test/executeTests.pl
@@ -283,6 +283,7 @@ foreach my $pid (@children) {
 sub parse_csv {
   my $text = shift;
   my @new = ();
+  $text =~ s/#.*//;
   push (@new, $+) while $text =~ m{
           "([^\"\\]*(?:\\.[^\"\\]*)*)",?
           | ([^,]+),?
diff --git a/test/testapps.csv b/test/testapps.csv
index 9883165..978f2f0 100644
--- a/test/testapps.csv
+++ b/test/testapps.csv
@@ -1,10 +1,14 @@
-"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.7esr-candidates/build1/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi"
-"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.7esr-candidates/build1/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
-"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.7esr-candidates/build1/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
+"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.9esr-candidates/build1/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi"
+"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.9esr-candidates/build1/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
+"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/17.0.9esr-candidates/build1/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
 
-"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/win32/lightning-2.6b1.en-US.win32.xpi"
-"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/linux-x86_64/lightning-2.6b1.en-US.linux-x86_64.xpi"
-"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/linux-i686/lightning-2.6b1.en-US.linux-i686.xpi"
+"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0.1-candidates/build1/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:5/addon-2313-latest.xpi"
+"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0.1-candidates/build1/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
+"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0.1-candidates/build1/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://addons.mozilla.org/thunderbird/downloads/latest/2313/platform:2/addon-2313-latest.xpi"
+
+#"msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/win32/en-US/","thunderbird-_VER_.zip","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/win32/lightning-2.6b1.en-US.win32.xpi"
+#"linux","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/linux-i686/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/linux-x86_64/lightning-2.6b1.en-US.linux-x86_64.xpi"
+#"linux","x86_64","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/24.0b1-candidates/build2/linux-x86_64/en-US/","thunderbird-_VER_.tar.bz2","thunderbird-_VER_.tests.zip",".checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2.6b1-candidates/build2/linux-i686/lightning-2.6b1.en-US.linux-i686.xpi"
 
 "msys","i686","https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-aurora/","thunderbird-_VER_.en-US.win32.zip","thunderbird-_VER_.en-US.win32.tests.zip",".en-US.win32.checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-aurora/lightning-2.7a2.en-US.win32.xpi"
 "linux","i686""https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-aurora/","thunderbird-_VER_.en-US.linux-i686.tar.bz2","thunderbird-_VER_.en-US.linux-i686.tests.zip",".en-US.linux-i686.checksums","https://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-aurora/lightning-2.7a2.en-US.linux-i686.xpi"

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



More information about the Pkg-mozext-commits mailing list