[Pkg-mozext-commits] [sage-extension] 01/02: french locale fix, rss guid fix

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:31 UTC 2015


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

taffit pushed a commit to tag sage_1_2_2
in repository sage-extension.

commit da3fdd1a3b616fc3aab006422828bfe013d43c1c
Author: Peter Andrews <petea at jhu.edu>
Date:   Tue Aug 17 22:28:28 2004 +0000

    french locale fix, rss guid fix
---
 src/install.js                    |  2 +-
 src/install.rdf                   |  2 +-
 src/sage/content/feedlib.js       |  5 +++--
 src/sage/content/sage.js          |  3 ++-
 src/sage/content/updatechecker.js |  6 ++++--
 src/sage/locale/en-US/sage.dtd    |  2 +-
 src/sage/locale/fr-FR/sage.dtd    | 30 ++++++++++++++----------------
 src/sage/locale/hu-HU/sage.dtd    |  2 +-
 src/sage/locale/it-IT/sage.dtd    |  2 +-
 src/sage/locale/ja-JP/sage.dtd    |  2 +-
 src/sage/locale/nl-NL/sage.dtd    |  2 +-
 11 files changed, 30 insertions(+), 28 deletions(-)

diff --git a/src/install.js b/src/install.js
index ff86cea..7381134 100755
--- a/src/install.js
+++ b/src/install.js
@@ -1,6 +1,6 @@
 const APP_NAME			= "Sage";
 const APP_CHROME_NAME		= "sage";
-const APP_VERSION		= "1.2.1";
+const APP_VERSION		= "1.2.2";
 const APP_FILE 			= "sage.jar";
 const APP_CONTENTS_PATH		= "content/";
 const APP_SKIN_CLASSIC_PATH	= "skin/classic/";
diff --git a/src/install.rdf b/src/install.rdf
index d861941..a7edd30 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -6,7 +6,7 @@
  
 <em:id>{a6ca9b3b-5e52-4f47-85d8-cca35bb57596}</em:id>
 <em:name>Sage</em:name>
-<em:version>1.2.1</em:version>
+<em:version>1.2.2</em:version>
 <em:description>A lightweight RSS and ATOM feed aggregator.</em:description>
 <em:creator>The Sage Project</em:creator>
 <em:contributor>Peter Andrews</em:contributor>
diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index 58115dc..c254bbe 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -77,9 +77,10 @@ Feed.prototype.parseRSS = function() {
 	}
 
 	var itemNodes = feedXML.getElementsByTagName("item");
+	var item, guid;
 	for(i = 0; itemNodes.length > i; i++) {
-		var item = {title:"", link:"", content:"", pubDate:""};
-		var guid;
+		item = {title:"", link:"", content:"", pubDate:""};
+		guid = null;
 
 		for(var j = itemNodes[i].firstChild; j!=null; j=j.nextSibling) {
 			if(j.nodeType != j.ELEMENT_NODE) continue;
diff --git a/src/sage/content/sage.js b/src/sage/content/sage.js
index 0000450..fa44372 100755
--- a/src/sage/content/sage.js
+++ b/src/sage/content/sage.js
@@ -485,7 +485,8 @@ function httpGet(aURL) {
 }
 
 function httpError(e) {
-	logMessage("HTTP Error");
+	logMessage("HTTP Error: " + e.target.status + " - " + e.target.statusText);
+	httpGetResult(RESULT_NOT_AVAILABLE);
 }
 
 function httpReadyStateChange() {
diff --git a/src/sage/content/updatechecker.js b/src/sage/content/updatechecker.js
index 59e5a85..1d2011b 100755
--- a/src/sage/content/updatechecker.js
+++ b/src/sage/content/updatechecker.js
@@ -66,8 +66,10 @@ var UpdateChecker = {
 		}
 	},
 
-	httpError: function() {
-		logMessage("HTTP Error");
+	httpError: function(e) {
+		logMessage("HTTP Error: " + e.target.status + " - " + e.target.statusText);
+		UpdateChecker.httpReq.abort();
+		UpdateChecker.checkResult(false, 0);
 	},
 
 	httpReadyStateChange: function() {
diff --git a/src/sage/locale/en-US/sage.dtd b/src/sage/locale/en-US/sage.dtd
index a22cc75..4f839aa 100755
--- a/src/sage/locale/en-US/sage.dtd
+++ b/src/sage/locale/en-US/sage.dtd
@@ -1,5 +1,5 @@
 <!ENTITY sage.label				"Sage">
-<!ENTITY sage.version				"1.2.1">
+<!ENTITY sage.version				"1.2.2">
 <!ENTITY sage.version.label				"version">
 
 <!ENTITY sage.toolbarLabel			"Sage">
diff --git a/src/sage/locale/fr-FR/sage.dtd b/src/sage/locale/fr-FR/sage.dtd
index 10d5ced..b418c2c 100644
--- a/src/sage/locale/fr-FR/sage.dtd
+++ b/src/sage/locale/fr-FR/sage.dtd
@@ -1,12 +1,10 @@
-<!-- maintained by Guillaume Criloux [guillaume.criloux at laposte.net] --> 
-
 <!ENTITY sage.label								 "Sage">
-<!ENTITY sage.version							 "1.2.1">
+<!ENTITY sage.version							 "1.2.2">
 <!ENTITY sage.version.label						 "">
 
 <!ENTITY sage.toolbarLabel						 "Sage">
 <!ENTITY sage.sidebarTitle						 "Sage">
-<!ENTITY sage.tooltip							 "Affiche le panneau lat�Á�ral Sage">
+<!ENTITY sage.tooltip							 "Affiche le panneau latéral Sage">
 
 <!ENTITY menu.view								 "Affichage">
 <!ENTITY menu.showSearchBar						 "Afficher la barre de recherche des fils">
@@ -14,12 +12,12 @@
 <!ENTITY menu.showDescTooltip					 "Afficher les bulles descriptives">
 <!ENTITY menu.openHTML							 "Afficher le contenu des fils dans la zone de navigation">
 <!ENTITY menu.tools								 "Options">
-<!ENTITY menu.checkUpdate						 "V�Á�rifier les fils">
-<!ENTITY menu.manageRSSList						 "G�Á�rer la liste des fils...">
+<!ENTITY menu.checkUpdate						 "Vérifier les fils">
+<!ENTITY menu.manageRSSList						 "Gérer la liste des fils...">
 <!ENTITY menu.opmlImportExport					 "Import/Export OPML...">
 <!ENTITY menu.setting							 "Configuration...">
-<!ENTITY menu.sageProjectFeed					 "Nouveaut�Á�s du projet Sage">
-<!ENTITY menu.discoverFeeds						 "D�Á�couvrir de nouveaux fils">
+<!ENTITY menu.sageProjectFeed					 "Nouveautés du projet Sage">
+<!ENTITY menu.discoverFeeds						 "Découvrir de nouveaux fils">
 
 <!-- Feed Discovery -->
 <!ENTITY discovery.status.searching     		 "Chercher dans la page en cours">
@@ -27,25 +25,25 @@
 <!ENTITY discovery.button.close			 		 "Fermer">
 <!ENTITY discovery.header.title			 		 "Nom">
 <!ENTITY discovery.header.format     			 "Format">
-<!ENTITY discovery.header.lastPubDate     		 "Derni�Á�re mise �Á� jour">
-<!ENTITY discovery.header.itemCount     		 "�Él�Á�ments">
+<!ENTITY discovery.header.lastPubDate     		 "Dernière mise à jour">
+<!ENTITY discovery.header.itemCount     		 "Éléments">
 <!ENTITY discovery.header.url     				 "Adresse">
 
 <!-- Setting Dialog -->
-<!ENTITY settings.general.caption     			 "G�Á�n�Á�ral">
-<!ENTITY settings.autoFeedTitle.label     		 "Mise �Á� jour automatique des titres des fils">
+<!ENTITY settings.general.caption     			 "Général">
+<!ENTITY settings.autoFeedTitle.label     		 "Mise à jour automatique des titres des fils">
 <!ENTITY settings.renderFeeds.label				 "Afficher les fils dans la zone de navigation">
 <!ENTITY settings.twelveHourClock.label			 "Utiliser une horloge sur 12 heures">
 <!ENTITY settingWindow.title                     "Configuration de Sage">
-<!ENTITY selectFolder.label						 "S�Á�lection du dossier des fils">
-<!ENTITY settings.feedItemOrder.label     		 "Ordre des �Á�l�Á�ments du fil">
+<!ENTITY selectFolder.label						 "Sélection du dossier des fils">
+<!ENTITY settings.feedItemOrder.label     		 "Ordre des éléments du fil">
 <!ENTITY settings.feedItemOrder.chrono     		 "Chronologique">
 <!ENTITY settings.feedItemOrder.source     		 "Source">
-<!ENTITY settings.feedDiscoveryMode.label     	 "Mode de d�Á�couverte des fils">
+<!ENTITY settings.feedDiscoveryMode.label     	 "Mode de découverte des fils">
 <!ENTITY settings.feedDiscoveryMode.exhaustive   "Exhaustif">
 <!ENTITY settings.feedDiscoveryMode.conservative "Prudent">
 <!ENTITY openInContentsArea.caption				 "Ouverture dans la zone de navigation">
-<!ENTITY enableUserCss.label					 "Utiliser une feuille de style CSS personnalis�Á�e">
+<!ENTITY enableUserCss.label					 "Utiliser une feuille de style CSS personnalisée">
 <!ENTITY browseCss.label						 "Parcourir...">
 <!ENTITY allowEContent.label					 "Autoriser les balises HTML">
 
diff --git a/src/sage/locale/hu-HU/sage.dtd b/src/sage/locale/hu-HU/sage.dtd
index 67b6d50..c7cc7dc 100755
--- a/src/sage/locale/hu-HU/sage.dtd
+++ b/src/sage/locale/hu-HU/sage.dtd
@@ -1,5 +1,5 @@
 <!ENTITY sage.label				"Sage">
-<!ENTITY sage.version				"1.2.1">
+<!ENTITY sage.version				"1.2.2">
 <!ENTITY sage.version.label				"">
 
 <!ENTITY sage.toolbarLabel			"Sage">
diff --git a/src/sage/locale/it-IT/sage.dtd b/src/sage/locale/it-IT/sage.dtd
index 28b252a..477a594 100644
--- a/src/sage/locale/it-IT/sage.dtd
+++ b/src/sage/locale/it-IT/sage.dtd
@@ -1,5 +1,5 @@
 <!ENTITY sage.label				"Sage">
-<!ENTITY sage.version				"1.2.1">
+<!ENTITY sage.version				"1.2.2">
 <!ENTITY sage.version.label				"">
 
 <!ENTITY sage.toolbarLabel			"Sage">
diff --git a/src/sage/locale/ja-JP/sage.dtd b/src/sage/locale/ja-JP/sage.dtd
index a1602df..f78e442 100755
--- a/src/sage/locale/ja-JP/sage.dtd
+++ b/src/sage/locale/ja-JP/sage.dtd
@@ -1,5 +1,5 @@
 <!ENTITY sage.label			"RSS リーダパネル">
-<!ENTITY sage.version			"1.2.1">
+<!ENTITY sage.version			"1.2.2">
 <!ENTITY sage.version.label				"">
 
 <!ENTITY sage.toolbarLabel		"RSS リーダ">
diff --git a/src/sage/locale/nl-NL/sage.dtd b/src/sage/locale/nl-NL/sage.dtd
index b829713..ce81070 100644
--- a/src/sage/locale/nl-NL/sage.dtd
+++ b/src/sage/locale/nl-NL/sage.dtd
@@ -1,5 +1,5 @@
 <!ENTITY sage.label											"Sage">
-<!ENTITY sage.version										"1.2.1">
+<!ENTITY sage.version										"1.2.2">
 <!ENTITY sage.version.label								"versie">
 
 <!ENTITY sage.toolbarLabel									"Sage">

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



More information about the Pkg-mozext-commits mailing list