Index: gc_lang/fr/build.py ================================================================== --- gc_lang/fr/build.py +++ gc_lang/fr/build.py @@ -89,12 +89,15 @@ for sp in os.listdir(spDict): if os.path.isdir(spDict+"/"+sp): hZip.write(spDict+"/"+sp+"/"+sp+".dic", "content/dictionaries/"+sp+"/"+sp+".dic") hZip.write(spDict+"/"+sp+"/"+sp+".aff", "content/dictionaries/"+sp+"/"+sp+".aff") hZip.close() - spfDebugProfile = dVars['win_tb_debug_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_debug_extension_path'] - helpers.unzip(spfZip, spfDebugProfile) + spDebugProfile = dVars['win_tb_debug_extension_path'] if platform.system() == "Windows" else dVars['linux_tb_debug_extension_path'] + helpers.unzip(spfZip, spDebugProfile) + spfBetaExtension = dVars['win_tb_beta_extension_filepath'] if platform.system() == "Windows" else dVars['linux_tb_beta_extension_filepath'] + #helpers.unzip(spfZip, spBetaProfile) + file_util.copy_file(spfZip, spfBetaExtension) def _createOptionsForThunderbird (dVars): dVars['sXULTabs'] = "" dVars['sXULTabPanels'] = "" Index: gc_lang/fr/config.ini ================================================================== --- gc_lang/fr/config.ini +++ gc_lang/fr/config.ini @@ -50,12 +50,19 @@ linux_fx_nightly_path = /usr/bin/firefox # Thunderbird tb_identifier = French-GC-TB@grammalecte.net tb_name = Grammalecte [fr] +win_tb_path = C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe +#win_tb_beta_path = C:\Program Files (x86)\Mozilla Thunderbird (Beta)\thunderbird.exe +win_tb_beta_path = C:\Program Files (x86)\Mozilla Thunderbird (Beta)\thunderbird.exe +linux_tb_path = /usr/bin/thunderbird +linux_tb_beta_path = /usr/bin/thunderbird win_tb_debug_extension_path = D:\_temp\tb-debug.profile\extensions\French-GC-TB@grammalecte.net linux_tb_debug_extension_path = ~/tb-debug.profile/extensions/French-GC-TB@grammalecte.net +win_tb_beta_extension_filepath = D:\_temp\tb-beta.profile\extensions\French-GC-TB@grammalecte.net.xpi +linux_tb_beta_extension_filepath = ~/tb-beta.profile/extensions/French-GC-TB@grammalecte.net.xpi # Set Thunderbird folder in your PATH variable # Create a local profile: # thunderbird -CreateProfile "debug _build\tb-debug.profile" # Or you can use the GUI with: # thunderbird -P Index: gc_lang/fr/tb/chrome.manifest ================================================================== --- gc_lang/fr/tb/chrome.manifest +++ gc_lang/fr/tb/chrome.manifest @@ -4,6 +4,6 @@ resource grammalecte ./grammalecte-js/ locale grammarchecker fr locale/fr/ locale grammarchecker en locale/en/ skin grammarchecker classic/1.0 skin/ overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://grammarchecker/content/overlay.xul -style chrome://global/content/customizeToolbar.xul chrome://grammarchecker/content/overlay.css +style chrome://messenger/content/customizeToolbar.xul chrome://grammarchecker/content/overlay.css Index: gc_lang/fr/tb/content/about.css ================================================================== --- gc_lang/fr/tb/content/about.css +++ gc_lang/fr/tb/content/about.css @@ -23,5 +23,24 @@ font-size: 16px; text-align: center; color: hsl(210, 50%, 50%); cursor: pointer; } + + +/* + TB Next: fix dialogheaders +*/ +dialogheader { + -moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader"); + margin: 0 5px 5px; + border: 1px solid ThreeDDarkShadow; + padding: 5px 8px; + background-color: Highlight; + color: HighlightText; +} + +.dialogheader-title { + margin: 0 !important; + font-size: larger; + font-weight: bold; +} Index: gc_lang/fr/tb/content/about.js ================================================================== --- gc_lang/fr/tb/content/about.js +++ gc_lang/fr/tb/content/about.js @@ -1,25 +1,21 @@ // JavaScript const Cc = Components.classes; const Ci = Components.interfaces; -const Cu = Components.utils; -//const { require } = Cu.import("resource://gre/modules/commonjs/toolkit/require.js", {}); - -function echo (...args) { - Services.console.logStringMessage(args.join(" -- ") + "\n"); -} +//const Cu = Components.utils; function openInBrowserURL (sURL) { // method found in S3.Google.Translator try { openURL(sURL); // Works in overlay.js, but not here… Seems there is no documentation available about this feature on Mozilla.org } catch (e) { - Cu.reportError(e); + console.error(e); + //Cu.reportError(e); } } function openInTabURL (sURL) { // method found in S3.Google.Translator @@ -31,8 +27,9 @@ if (xTabmail) { xTabmail.openTab('contentTab', { contentPage: sURL }); } } catch (e) { - Cu.reportError(e); + console.error(e); + //Cu.reportError(e); } } Index: gc_lang/fr/tb/content/about.xul ================================================================== --- gc_lang/fr/tb/content/about.xul +++ gc_lang/fr/tb/content/about.xul @@ -32,7 +32,7 @@