[Pkg-mozext-commits] [automatic-save-folder] 19/133: Fix : Fixed a regular expression filtering with right-click download. Change : Language update Other : New website online at http://asf.mangaheart.org now in English, and can be translated in other languages.
David Prévot
taffit at moszumanska.debian.org
Mon Apr 27 20:33:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch wip
in repository automatic-save-folder.
commit c05526e6adf13805a7bc3ebd7dccc1131277c7c2
Author: Cyan <Cyan at d0063192-6b2e-11de-89a9-0b20f3e2dceb>
Date: Thu Oct 8 17:18:30 2009 +0000
Fix : Fixed a regular expression filtering with right-click download.
Change : Language update
Other : New website online at http://asf.mangaheart.org now in English, and can be translated in other languages.
git-svn-id: http://automatic-save-folder.googlecode.com/svn/trunk@19 d0063192-6b2e-11de-89a9-0b20f3e2dceb
---
content/asf_right_click.js | 5 +++--
locale/en-US/info.html | 7 ++++---
locale/fr-FR/info.html | 15 ++++++++-------
locale/it-IT/info.html | 7 ++++---
locale/it-IT/to translate.txt | 2 +-
5 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/content/asf_right_click.js b/content/asf_right_click.js
index 07278db..8ca19fa 100644
--- a/content/asf_right_click.js
+++ b/content/asf_right_click.js
@@ -513,11 +513,12 @@ var automatic_save_folder = {
// var extension = filename.match(/([^\.]*)$/i); // take out the extension (anything not containing a dot, with an ending line)
var domain = aFpP.fileInfo.uri.host ;
+ var scheme = aFpP.fileInfo.uri.scheme ;
var filename = aFpP.fileInfo.fileName ;
var file_name = aFpP.fileInfo.fileBaseName ;
var extension = aFpP.fileInfo.fileExt ;
-
+ //alert ("domain = "+scheme+"://"+domain);
// check the filter's data
var asf_domain = "";
@@ -548,7 +549,7 @@ var automatic_save_folder = {
if (path.search("%asf_rd%") != -1)
{
// get the domain with the protocol
- var domainp = document.getElementById("source").value ;
+ var domainp = scheme+"://"+domain ;
// extract the filter part
var matches = path.match(/%asf_rd%.*?%asf_rd%/g); // matches is an array
diff --git a/locale/en-US/info.html b/locale/en-US/info.html
index b83d4fa..8479d14 100644
--- a/locale/en-US/info.html
+++ b/locale/en-US/info.html
@@ -158,6 +158,7 @@ Version 0.9.4: (2009 10 xx)
+ Make Windows and Mac OSX works with Firefox option "browser.preferences.instantApply" to save the filters right after a modification (Option by default on Linux)
+ Add Drag and Drop feature on the filter's listing to set filter's order quickly.
+ Add an option to automatically accept the download (User requested). Great for a use with Firefox saving option "Save file to"
++ Add an option to choose if you want to use the current website URL to verify the filters if the hosted domain doesn't match.
* In the drop-down menu on the save dialog : List the folders alphabetically, keep only one instance of each and activate the dynamic renaming if checked in options.
* New tab to split options
! Correct links to Mozilla website, which were force to the French page.
@@ -165,7 +166,8 @@ Version 0.9.4: (2009 10 xx)
Other updates :
+ Source code and revisions available on http://code.google.com/p/automatic-save-folder
-* Add-on now in public area on http://addons.mozilla.org/addon/4781 ; Thanks to users for your support, your comments and suggestions.
+* Add-on now in public area on http://addons.mozilla.org/addon/4781 ; Thank you for your support, your comments and suggestions.
+* New website in english for the add-on (Information, Download, Forum) : http://asf.mangaheart.org
Version 0.9.3: (2009 07 05)
@@ -181,7 +183,6 @@ Version 0.9.3: (2009 07 05)
The data used to mark a domain as "previous" is still the one from the file hosted domain.
+ Limit the saving window width to the user main screen size. (Thanks to Julien)
+ Add an option to show a menu list on the saving window to select the saving folder from the filter's list.
-* Correction for Unicode path (filters using Unicode character in version 0.9.2 might be deleted, please rewrite them manually).
* Changed the way the links in the "about..." window works. Now it will open in a new tab.
* Bigger menu and window for better visibility.
* Code simplification for moving filters up/down.
@@ -189,6 +190,7 @@ Version 0.9.3: (2009 07 05)
* Better visibility : All the windows are now drag-able and the content fit accordingly.
* Complete script recoding to Global namespace (asked by Mozilla.com to submit the extension in public area)
* cleaner code and comments.
+! Correction for Unicode path (filters using Unicode character in version 0.9.2 might be deleted, please rewrite them manually).
! Correction of the editable parameter of new created filters.
! Bug correction preventing the loading and reading of undefined or non existing preferences in about:config. (Thanks to Martin)
@@ -196,7 +198,6 @@ Version 0.9.3: (2009 07 05)
Version 0.9.2: (2009 01 26)
* Compatibility with Themes: The default colors are now used, all the text should be correctly visible.
The pictures have been updated to be visible on dark themes.
-* Edited between 0.9.2 and 0.9.3: Firefox 3.1b2, 3.1b3, 3.5b4
! Correction for Vista: Forced the variable browser.download.folderList to "2" when opening the ASF preferences window.
! Corrected the "active" column, the filters couldn't be activated or deactivated temporarily.
diff --git a/locale/fr-FR/info.html b/locale/fr-FR/info.html
index 57d4497..04bf289 100644
--- a/locale/fr-FR/info.html
+++ b/locale/fr-FR/info.html
@@ -158,6 +158,7 @@ Version 0.9.4 : (2009 10 xx)
+ Prise en compte pour Windows et Mac OSX de l'option "browser.preferences.instantApply" afin de sauvegarder les filtres des leur modification (option par défaut sur Linux).
+ Ajout du Glisser-déposer (Drag and Drop) dans la liste des filtres pour les repositionner rapidement.
+ Ajout d'une option pour accepter le téléchargement du fichier automatiquement. Parfait pour un fonctionnement avec l'option de sauvegarde de Firefox "Enregistrer le fichier dans le dossier"
++ Ajout d'une option pour utiliser l'adresse du site courant avec le domaine du filtre si le domaine d'hébergement ne correspond pas.
* Dans le menu déroulant sur la fenêtre de sauvegarde : Listing des dossiers par ordre alphabétique, suppression des doublons et nom de dossier dynamique si l'option est activée.
* Nouvel onglet pour séparer les options
! Correction des liens vers Mozilla qui forçait le chargement de la page en Français.
@@ -165,7 +166,8 @@ Version 0.9.4 : (2009 10 xx)
Autres mises à jour :
+ Code source et révisions disponibles sur http://code.google.com/p/automatic-save-folder
-* Extension en zone publique sur http://addons.mozilla.org/addon/4781 ; Merci aux utilisateurs pour votre soutien, vos commentaires et suggestions.
+* Extension en zone publique sur http://addons.mozilla.org/addon/4781 ; Merci pour votre soutien, vos commentaires et suggestions.
+* Nouveau site web plurilingue pour l'extension (Informations, Téléchargements, Forum) : http://asf.mangaheart.org
Version 0.9.3 : (2009 07 05)
@@ -181,24 +183,23 @@ Version 0.9.3 : (2009 07 05)
Les données utilisés pour vérifier le domaine précédent reste celui d'hébergement du fichier.
+ Limite la taille maximum de la fenêtre d'enregistrement à la résolution de l'écran principal. (Merci à Julien)
+ Ajout d'une option permettant d'afficher un menu déroulant sur la fenêtre de sauvegarde contenant la liste des dossiers définit par les filtres.
-* Enregistrement des données au format unicode (Les filtres présents dans les versions précédentes contenant des caractères accentués peuvent ne plus fonctionner. Vous devrez les redéfinir).
-! Correction du paramètre d'édition par double-clic sur un filtre venant d'être ajouté.
* Modification du mode d'ouverture des liens de la fenêtre "à propos de...". Les liens s'ouvrent maintenant dans un nouvel onglet.
* Agrandissement de certains menus pour plus de lisibilité.
* simplification du code pour le déplacement haut/bas des filtres.
* simplification du code de chargement des données courantes pour l'auto-complétion du menu "Ajouter".
* Meilleure visibilité : Les zones de texte s'agrandissent maintenant avec le changement de taille des fenêtres de préférence et d'aides.
-! Correction du bug qui empêchait la lecture des préférences non définies ou inexistantes dans about:config. (Merci à Martin)
* Modification complète du script en Global Namespace, demandé par mozilla.org afin de sous-mettre l'extension en zone public.
* Simplifications des fonctions du script et ajout des commentaires du code.
+! Enregistrement des données au format unicode (Les filtres présents dans les versions précédentes contenant des caractères accentués peuvent ne plus fonctionner. Vous devrez les redéfinir).
+! Correction du paramètre d'édition par double-clic sur un filtre venant d'être ajouté.
+! Correction du bug qui empêchait la lecture des préférences non définies ou inexistantes dans about:config. (Merci à Martin)
Version 0.9.2 : (2009 01 26)
-! Correction pour Vista : Mise à jour forcée de la variable browser.download.folderList à "2" lors de l'ouverture de la fenêtre d'option d'ASF.
-! Correction de la colonne "actif", les filtres ne pouvaient plus être activés ou désactivés temporairement depuis la Version 0.8.7.
* Compatibilité des thèmes : Les couleurs par défauts sont maintenant utilisées, tous les textes devraient être visibles correctement.
Les images ont été améliorées afin d'être visibles sur les thèmes sombres.
-* Agrandissement de la zone des filtres.
+! Correction pour Vista : Mise à jour forcée de la variable browser.download.folderList à "2" lors de l'ouverture de la fenêtre d'option d'ASF.
+! Correction de la colonne "actif", les filtres ne pouvaient plus être activés ou désactivés temporairement depuis la Version 0.8.7.
Version 0.9.1 : (2008 11 01)
diff --git a/locale/it-IT/info.html b/locale/it-IT/info.html
index 9cc4feb..70a7d7e 100644
--- a/locale/it-IT/info.html
+++ b/locale/it-IT/info.html
@@ -162,6 +162,7 @@ Versione 0.9.4: (2009 10 xx)
+ Make Windows and Mac OSX works with Firefox option "browser.preferences.instantApply" to save the filters right after a modification (Option by default on Linux)
+ Add Drag and Drop feature on the filter's listing to set filter's order quicly.
+ Add an option to automaticaly accept the download (User requested). Great for a use with Firefox saving option "Save file to"
++ Add an option to choose if you want to use the current website URL to verify the filters if the hosted domain doesn't match.
* In the drop-down menu on the save dialog : List the folders alphabetically, keep only one instance of each and activate the dynamic renaming if checked in options.
* New tab to split options
! Correct links to Mozilla website, which were force to the French page.
@@ -169,7 +170,8 @@ Versione 0.9.4: (2009 10 xx)
Other updates :
+ Source code and revisions available on http://code.google.com/p/automatic-save-folder
-* Add-on now in public area on http://addons.mozilla.org/addon/4781 ; Thanks to users for your support, your comments and suggestions.
+* Add-on now in public area on http://addons.mozilla.org/addon/4781 ; Thank you for your support, your comments and suggestions.
+* New website in english for the add-on (Information, Download, Forum) : http://asf.mangaheart.org
Versione 0.9.3: (2009 07 05)
@@ -185,7 +187,6 @@ Versione 0.9.3: (2009 07 05)
I dati usati per selezionare il dominio come "precedente" è ancora uno dei file hostati sul dominio.
+ Limitata la larghezza della finestra di salvataggio (Grazie a Julien)
+ Aggiunta l'opzione per mostrare un menu con la lista nella finestra di salvataggio per selezionare la cartella di salvataggio da tale lista.
-* Correzione per il percorso in unicode (i filtri che usano caratteri unicode nella versione 0.9.2 potrbbero essere rimossti, perfavore riscriverli a mano).
* Cambiato il modo in cui i link nella finestra "about..." funzionano. Adesso apriranno un nuovo tab.
* Finetra e menu pi grandi per una visibilità migliore.
* Codice semplificato per muovere i filtri su e giu.
@@ -193,6 +194,7 @@ Versione 0.9.3: (2009 07 05)
* Migliore visibilità: Tutte le finestra possono essere ridimensionate e il contenuto verrà aggiusato di conseguenza.
* Script riscritto completamente per usare namespace Globa (chiesto da mozilla.com per pubblicare l'estensione)
* Codice scritto in modo più chiaro e con commenti.
+! Correzione per il percorso in unicode (i filtri che usano caratteri unicode nella versione 0.9.2 potrbbero essere rimossti, perfavore riscriverli a mano).
! Correzione per il parametro editabile dei nuovi filtri creati.
! Corretto il bug che non faceva caricare e leggere preferenze non definite o non esistenti nella about:config (Grazie a Martin)
@@ -200,7 +202,6 @@ Versione 0.9.3: (2009 07 05)
Versione 0.9.2: (2009 01 26)
*Compatibilià con i temi: Adesso vengono usati i colori di default, tutto il testo dovrebbe essere visibile correttamente.
Le immagini sono state aggiornate in modo da rimanere visibili sui temi scuri.
-* Firefox 3.1b2, 3.1b3, 3.5b4
! Correzione per Vista: Forzata la variabile browser.download.folderList a "2" quando si apre la finestra delle preferenze di ASF.
! Corretta la colonna "attiva", i filtri non potevano essere temporaneamente attivati o disattivati.
diff --git a/locale/it-IT/to translate.txt b/locale/it-IT/to translate.txt
index f07a13b..ba798bf 100644
--- a/locale/it-IT/to translate.txt
+++ b/locale/it-IT/to translate.txt
@@ -13,4 +13,4 @@ Variables.html :
info.html :
Rewrite the line 14 to 19 (now it's working with right click), check the en-US/info.html to see the changes.
138-139 actual (134-135 after 14-19 done)
-158-172 actual (154-168 after 14-19 done)
\ No newline at end of file
+158-173 actual (154-169 after 14-19 done)
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/automatic-save-folder.git
More information about the Pkg-mozext-commits
mailing list