[Pkg-mozext-commits] [compactheader] 189/441: Drop support for Thunderbird 3.0 Add French translation and update of Italian translation Vertical toolbar cursor fix

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:28:57 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 6d9380cff65603eb311efd82d9c0cc8a314041fc
Author: joachim.herb <none at none>
Date:   Thu Nov 18 19:44:12 2010 +0000

    Drop support for Thunderbird 3.0
    Add French translation and update of Italian translation
    Vertical toolbar cursor fix
---
 chrome/CompactHeader/content-31/CHTMessenger.js    | 184 ---------------------
 chrome/CompactHeader/content-31/CHTMessenger.xul   |  54 ------
 .../CompactHeader/locale/ft-FR/CompactHeader.dtd   |  40 +++++
 chrome/CompactHeader/locale/ft-FR/preferences.dtd  |  47 ++++++
 chrome/CompactHeader/skin/gnome/osdef.css          |  17 ++
 chrome/CompactHeader/skin/mac/osdef.css            |  17 ++
 6 files changed, 121 insertions(+), 238 deletions(-)

diff --git a/chrome/CompactHeader/content-31/CHTMessenger.js b/chrome/CompactHeader/content-31/CHTMessenger.js
deleted file mode 100644
index eeea38f..0000000
--- a/chrome/CompactHeader/content-31/CHTMessenger.js
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Communicator client code, released
-# March 31, 1998.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998-1999
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Joachim Herb <joachim.herb at gmx.de>
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# 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 *****
-*/
-
-if(!org) var org={};
-if(!org.mozdev) org.mozdev={};
-if(!org.mozdev.customizeHeaderToolbar) org.mozdev.customizeHeaderToolbar = {};
-
-org.mozdev.customizeHeaderToolbar.messenger = function(){
-  var pub = {};
-
-//  pub.init = function () {
-//    var onLoadFkt = document.getElementById("messengerWindow").getAttribute("onload");
-//    if (onLoadFkt) {
-//      var strTest = new RegExp('OnLoadMessenger', 'g');;
-//      onLoadFkt = onLoadFkt.replace(strTest, 
-//        "org.mozdev.customizeHeaderToolbar.messenger.CHTLoadMessenger");
-//      document.getElementById("messengerWindow").setAttribute("onload", onLoadFkt);
-//    }
-//  }
-  
-  pub.saveToolboxData = function() {
-    var hdrToolbox = document.getElementById("header-view-toolbox");
-    var hdrToolbar = document.getElementById("header-view-toolbar");
-    var saveToolbox = document.getElementById("CHTSaveToolboxData");
-    var saveToolbar = document.getElementById("CHTSaveToolbarData");
-    if (hdrToolbox && hdrToolbar && saveToolbox && saveToolbar) {
-      saveToolbar.firstPermanentChild = hdrToolbar.firstPermanentChild;
-      saveToolbar.lastPermanentChild  = hdrToolbar.lastPermanentChild;
-      if (hdrToolbox.palette) {
-        saveToolbox.palette    = hdrToolbox.palette.cloneNode(true);
-      }
-      else {
-        //alert("no palette")
-        var hdrPalette = document.getElementById("header-view-toolbar-palette");
-        if (!hdrPalette) {
-          //alert("no header-view-toolbar-palette");
-        }
-        else {
-          //alert("header-view-toolbar-palette");
-        }
-      }
-      if (hdrToolbox.toolbarset) {
-        saveToolbox.toolbarset = hdrToolbox.toolbarset.cloneNode(true);
-      }
-      else {
-        //alert("no toolbarset")
-      }
-      saveToolbox.setAttribute("gotData", "true");
-    }
-    else {
-      //alert("no toolbox/bar");
-      saveToolbox.setAttribute("gotData", "false");
-    }
-  }
-  
-  pub.loadToolboxData = function() {
-    var hdrToolbox = document.getElementById("header-view-toolbox");
-    var hdrToolbar = document.getElementById("header-view-toolbar");
-    var saveToolbox = document.getElementById("CHTSaveToolboxData");
-    var saveToolbar = document.getElementById("CHTSaveToolbarData");
-    if (hdrToolbox && hdrToolbar && saveToolbox && saveToolbar && saveToolbox.getAttribute("gotData") == "true") {
-      hdrToolbar.firstPermanentChild = saveToolbar.firstPermanentChild;
-      hdrToolbar.lastPermanentChild = saveToolbar.lastPermanentChild;
-      if (saveToolbox.palette) {
-        hdrToolbox.palette = saveToolbox.palette.cloneNode(true);
-      } else {
-      }
-      if (saveToolbox.toolbarset) {
-        hdrToolbox.toolbarset = saveToolbox.toolbarset.cloneNode(true);
-      } else {
-      }
-    } 
-  }
-  
-
-  return pub;
-}();
-
-org.mozdev.customizeHeaderToolbar.pane = function(){
-  var pub = {};
-  
-  pub.CHTUpdateReplyButton = function () {
-    UpdateReplyButtons();
-  }
-  
-  pub.CHTUpdateJunkButton = function () {
-    UpdateJunkButton();    
-  }
-  
-  pub.CHTSetDefaultButtons = function () {
-    var hdrToolbox = document.getElementById("header-view-toolbox");
-    var hdrToolbar = document.getElementById("header-view-toolbar");
-    var hdrBarDefaultSet = hdrToolbar.getAttribute("defaultset");
-    var hdrBoxDefaultLabelalign = hdrToolbox.getAttribute("defaultlabelalign");
-    var hdrBoxDefaultIconsize = hdrToolbox.getAttribute("defaulticonsize");
-    var hdrBoxDefaultMode = hdrToolbox.getAttribute("defaultmode");
-    var hdrBarDefaultIconsize = hdrToolbar.getAttribute("defaulticonsize");
-    var hdrBarDefaultMode = hdrToolbar.getAttribute("defaultmode");  
-    
-    hdrToolbox.setAttribute("labelalign", hdrBoxDefaultLabelalign);
-    hdrToolbox.setAttribute("iconsize", hdrBoxDefaultIconsize);
-    hdrToolbox.setAttribute("mode", hdrBoxDefaultMode);
-    hdrToolbar.setAttribute("iconsize", hdrBarDefaultIconsize);
-    hdrToolbar.setAttribute("mode", hdrBarDefaultMode);
-    
-    hdrToolbar.currentSet = hdrBarDefaultSet;
-    hdrToolbar.setAttribute("currentset", hdrBarDefaultSet);
-    
-    document.persist(hdrToolbox.id,"labelalign");
-    document.persist(hdrToolbox.id,"iconsize");
-    document.persist(hdrToolbox.id,"mode");
-    document.persist(hdrToolbar.id,"iconsize");
-    document.persist(hdrToolbar.id,"mode");
-    document.persist(hdrToolbar.id,"currentset");
-  }
-  
-  pub.CHTCleanupButtons = function() {
-    var hdrToolbox = document.getElementById("header-view-toolbox");
-    var hdrToolbar = document.getElementById("header-view-toolbar");
-    var hdrBarDefaultSet = "hdrReplyButton,hdrReplyAllButton,hdrReplyListButton,hdrForwardButton,hdrArchiveButton,hdrJunkButton,hdrTrashButton";
-    var hdrBoxDefaultLabelalign = hdrToolbox.getAttribute("defaultlabelalign");
-    var hdrBoxDefaultIconsize =   hdrToolbox.getAttribute("defaulticonsize");
-    var hdrBoxDefaultMode =       hdrToolbox.getAttribute("defaultmode");
-    var hdrBarDefaultIconsize = hdrToolbar.getAttribute("defaulticonsize");
-    var hdrBarDefaultMode =     hdrToolbar.getAttirbute("defaultmode");
-    
-    hdrToolbox.setAttribute("labelalign", hdrBoxDefaultLabelalign);
-    hdrToolbox.setAttribute("iconsize", hdrBoxDefaultIconsize);
-    hdrToolbox.setAttribute("mode", hdrBoxDefaultMode);
-    hdrToolbar.setAttribute("iconsize", hdrBarDefaultIconsize);
-    hdrToolbar.setAttribute("mode", hdrBarDefaultMode);
-    
-    hdrToolbar.currentSet = hdrBarDefaultSet;
-    hdrToolbar.setAttribute("currentset", hdrBarDefaultSet);
-    
-    document.persist(hdrToolbox.id,"labelalign");
-    document.persist(hdrToolbox.id,"iconsize");
-    document.persist(hdrToolbox.id,"mode");
-    document.persist(hdrToolbar.id,"iconsize");
-    document.persist(hdrToolbar.id,"mode");
-    document.persist(hdrToolbar.id,"currentset");
-  }
-
-  return pub;
-}();
-
-//org.mozdev.customizeHeaderToolbar.messenger.init();
diff --git a/chrome/CompactHeader/content-31/CHTMessenger.xul b/chrome/CompactHeader/content-31/CHTMessenger.xul
deleted file mode 100644
index 265ed72..0000000
--- a/chrome/CompactHeader/content-31/CHTMessenger.xul
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-<!-- ***** BEGIN LICENSE BLOCK *****
-   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
-   -
-   - The contents of this file are subject to the Mozilla Public License Version
-   - 1.1 (the "License"); you may not use this file except in compliance with
-   - the License. You may obtain a copy of the License at
-   - http://www.mozilla.org/MPL/
-   -
-   - Software distributed under the License is distributed on an "AS IS" basis,
-   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-   - for the specific language governing rights and limitations under the
-   - License.
-   -
-   - The Original Code is Thunderbird Toolbar Customization Overlay.
-   -
-   - The Initial Developer of the Original Code is
-   - Mozilla Messaging, Inc.
-   - Portions created by the Initial Developer are Copyright (C) 2009
-   - the Initial Developer. All Rights Reserved.
-   -
-   - Contributor(s):
-   - Joachim Herb <joachim.herb at gmx.de>
-   -
-   - Alternatively, the contents of this file may be used under the terms of
-   - either the GNU General Public License Version 2 or later (the "GPL"), or
-   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-   - in which case the provisions of the GPL or the LGPL are applicable instead
-   - of those above. If you wish to allow use of your version of this file only
-   - under the terms of either the GPL or the LGPL, and not to allow others to
-   - use your version of this file under the terms of the MPL, indicate your
-   - decision by deleting the provisions above and replace them with the notice
-   - and other provisions required by the LGPL or the GPL. If you do not delete
-   - 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 ***** -->
-
-<!DOCTYPE overlay [
-]>
-
-
-<overlay id="CHTmessengerWindow"
-         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/x-javascript" 
-          src="chrome://CompactHeader-d/content/CHTMessenger.js"/>
-  <window id="messengerWindow">
-    <toolbox id="CHTSaveToolboxData" collapsed="true">
-    	<toolbar id="CHTSaveToolbarData" collapsed="true"/>
-    </toolbox>
-    <browser id="CHTBrowserStore" type="content-primary" disablehistory="true">
-    </browser>
-  </window>
-</overlay>
diff --git a/chrome/CompactHeader/locale/ft-FR/CompactHeader.dtd b/chrome/CompactHeader/locale/ft-FR/CompactHeader.dtd
new file mode 100644
index 0000000..b851d41
--- /dev/null
+++ b/chrome/CompactHeader/locale/ft-FR/CompactHeader.dtd
@@ -0,0 +1,40 @@
+<!-- ***** BEGIN LICENSE BLOCK *****
+ Version: MPL 1.1/GPL 2.0/LGPL 2.1
+
+ The contents of this file are subject to the Mozilla Public License Version
+ 1.1 (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS" basis,
+ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ for the specific language governing rights and limitations under the
+ License.
+
+ The Original Code is Mozilla Communicator client code, released
+ March 31, 1998.
+
+ The Initial Developer of the Original Code is
+ Netscape Communications Corporation.
+ Portions created by the Initial Developer are Copyright (C) 1998-1999
+ the Initial Developer. All Rights Reserved.
+
+ Contributor(s):
+
+ Alternatively, the contents of this file may be used under the terms of
+ either the GNU General Public License Version 2 or later (the "GPL"), or
+ the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ in which case the provisions of the GPL or the LGPL are applicable instead
+ of those above. If you wish to allow use of your version of this file only
+ under the terms of either the GPL or the LGPL, and not to allow others to
+ use your version of this file under the terms of the MPL, indicate your
+ decision by deleting the provisions above and replace them with the notice
+ and other provisions required by the GPL or the LGPL. If you do not delete
+ 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 hideDetailsButton.label "Vue compacte">
+<!ENTITY toggleDetails.key "h">
+<!ENTITY showDetailsButton.label "Vue détaillée">
diff --git a/chrome/CompactHeader/locale/ft-FR/preferences.dtd b/chrome/CompactHeader/locale/ft-FR/preferences.dtd
new file mode 100644
index 0000000..b2dce7f
--- /dev/null
+++ b/chrome/CompactHeader/locale/ft-FR/preferences.dtd
@@ -0,0 +1,47 @@
+<!-- ***** BEGIN LICENSE BLOCK *****
+ Version: MPL 1.1/GPL 2.0/LGPL 2.1
+
+ The contents of this file are subject to the Mozilla Public License Version
+ 1.1 (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS" basis,
+ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ for the specific language governing rights and limitations under the
+ License.
+
+ The Original Code is Mozilla Communicator client code, released
+ March 31, 1998.
+
+ The Initial Developer of the Original Code is
+ Netscape Communications Corporation.
+ Portions created by the Initial Developer are Copyright (C) 1998-1999
+ the Initial Developer. All Rights Reserved.
+
+ Contributor(s):
+
+ Alternatively, the contents of this file may be used under the terms of
+ either the GNU General Public License Version 2 or later (the "GPL"), or
+ the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ in which case the provisions of the GPL or the LGPL are applicable instead
+ of those above. If you wish to allow use of your version of this file only
+ under the terms of either the GPL or the LGPL, and not to allow others to
+ use your version of this file under the terms of the MPL, indicate your
+ decision by deleting the provisions above and replace them with the notice
+ and other provisions required by the GPL or the LGPL. If you do not delete
+ 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 dialog.title "Préférences de CompactHeader">
+<!ENTITY checkbox.Compact.TwolineView.caption "Afficher la vue compacte sur deux lignes">
+<!ENTITY menu.Linkify.caption "Transformer en lien les sujets des fils RSS">
+<!ENTITY menu.ShowOnlyAddress.caption "Afficher seulement les adresses des courriels">
+<!ENTITY menu.flatButtons.caption "Boutons plats">
+<!ENTITY radiobox.ToolbarPosition.caption "Position de la barre d'outil">
+<!ENTITY radiobox.ToolbarPosition.right "droite">
+<!ENTITY radiobox.ToolbarPosition.top   "haut">
+<!ENTITY radiobox.ToolbarPosition.left  "gauche">
+<!ENTITY radiobox.ToolbarPosition.none  "invisible">
diff --git a/chrome/CompactHeader/skin/gnome/osdef.css b/chrome/CompactHeader/skin/gnome/osdef.css
index 0e2323a..28090ee 100644
--- a/chrome/CompactHeader/skin/gnome/osdef.css
+++ b/chrome/CompactHeader/skin/gnome/osdef.css
@@ -210,3 +210,20 @@ toolbox[labelalign="end"] toolbar[mode="full"] .msgHeaderView-flat-button-out .t
   height: 20px !important;
   width: 20px !important;
 }
+
+toolbar[orient="vertical"] toolbarpaletteitem {
+  margin: -2px 0px;
+  border: none;
+  border-top: 2px solid transparent;
+  border-bottom: 2px solid transparent;
+}
+
+toolbar[orient="vertical"] toolbarpaletteitem[dragover="left"] {
+  border-color: transparent;
+  border-top-color: #000000;
+}
+
+toolbar[orient="vertical"] toolbarpaletteitem[dragover="right"] {
+  border-color: transparent;
+  border-bottom-color: #000000;
+}
\ No newline at end of file
diff --git a/chrome/CompactHeader/skin/mac/osdef.css b/chrome/CompactHeader/skin/mac/osdef.css
index b10e3dc..efbadd4 100644
--- a/chrome/CompactHeader/skin/mac/osdef.css
+++ b/chrome/CompactHeader/skin/mac/osdef.css
@@ -222,4 +222,21 @@ toolbox[labelalign="end"] toolbar[mode="full"] .msgHeaderView-flat-button-out .t
 #header-view-toolbar > toolbarpaletteitem > toolbarbutton > image {
    height: 18px !important;
    width: 16px !important;
+}
+
+toolbar[orient="vertical"] toolbarpaletteitem {
+  margin: -2px 0px;
+  border: none;
+  border-top: 2px solid transparent;
+  border-bottom: 2px solid transparent;
+}
+
+toolbar[orient="vertical"] toolbarpaletteitem[dragover="left"] {
+  border-color: transparent;
+  border-top-color: #000000;
+}
+
+toolbar[orient="vertical"] toolbarpaletteitem[dragover="right"] {
+  border-color: transparent;
+  border-bottom-color: #000000;
 }
\ No newline at end of file

-- 
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