[Debian-l10n-commits] ddtp branch master updated. 20080812.0-156-gf1611c9

Martijn van Oosterhout kleptog-guest at moszumanska.debian.org
Tue Jan 9 21:07:34 UTC 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "ddtp".

The branch, master has been updated
       via  f1611c9bc87518c634c3de27d4344b30372d6ee4 (commit)
       via  f6c28c4fa35aeba6f06bef0f90122b2a5bf178a1 (commit)
       via  19a1871b6937c8544520bf53145e096aae595cc2 (commit)
      from  5cb336f80abe099a579cac63a03234203e3d0a23 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/ddtp.git;a=commitdiff;h=f1611c9bc87518c634c3de27d4344b30372d6ee4

commit f1611c9bc87518c634c3de27d4344b30372d6ee4
Author: Martijn van Oosterhout <kleptog at svana.org>
Date:   Tue Jan 9 21:04:35 2018 +0000

    Even less retention = even more disk space.


http://anonscm.debian.org/gitweb/?p=debian-l10n/ddtp.git;a=commitdiff;h=f6c28c4fa35aeba6f06bef0f90122b2a5bf178a1

commit f6c28c4fa35aeba6f06bef0f90122b2a5bf178a1
Author: Martijn van Oosterhout <kleptog at svana.org>
Date:   Tue Jan 9 21:03:08 2018 +0000

    Header changes suggested by Maarten (at) posteo.de.


http://anonscm.debian.org/gitweb/?p=debian-l10n/ddtp.git;a=commitdiff;h=19a1871b6937c8544520bf53145e096aae595cc2

commit 19a1871b6937c8544520bf53145e096aae595cc2
Author: Martijn van Oosterhout <kleptog at svana.org>
Date:   Tue Jan 9 21:02:35 2018 +0000

    Changes for ddtp.debian.net -> ddtp2.debian.net.

-----------------------------------------------------------------------

Summary of changes:
 ddt.cgi           | 8 ++++----
 ddtss/ddts_lib.pm | 6 +++---
 ddtss/ddtss-cgi   | 8 +++++---
 logrotate.config  | 2 +-
 4 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/ddt.cgi b/ddt.cgi
index 091834a..36408ab 100755
--- a/ddt.cgi
+++ b/ddt.cgi
@@ -410,8 +410,8 @@ if (param('desc_id') and not param('language') and not param('getuntrans') and n
 
 	while(($description_id2,$active) = $sth->fetchrow_array) {
 		if ($description_id2 ne $description_id) {
-			print "# Description-id: $description_id2 http://ddtp.debian.net/ddt.cgi?desc_id=$description_id2\n";	
-			print "# patch http://ddtp.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$language\n";	
+			print "# Description-id: $description_id2 http://ddtp2.debian.net/ddt.cgi?desc_id=$description_id2\n";	
+			print "# patch http://ddtp2.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$language\n";	
 	
 			if ($active) {
 				print "# This Description is active\n";
@@ -490,8 +490,8 @@ if (param('desc_id') and not param('language') and not param('getuntrans') and n
 
 	while(($description_id2,$active) = $sth->fetchrow_array) {
 		if ($description_id2 ne $description_id) {
-			print "# Description-id: $description_id2 http://ddtp.debian.net/ddt.cgi?desc_id=$description_id2\n";	
-			print "# patch http://ddtp.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$language\n";	
+			print "# Description-id: $description_id2 http://ddtp2.debian.net/ddt.cgi?desc_id=$description_id2\n";	
+			print "# patch http://ddtp2.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$language\n";	
 	
 			if ($active) {
 				print "# This Description is active\n";
diff --git a/ddtss/ddts_lib.pm b/ddtss/ddts_lib.pm
index b64c0dc..5aa2ac5 100644
--- a/ddtss/ddts_lib.pm
+++ b/ddtss/ddts_lib.pm
@@ -256,7 +256,7 @@ sub add_description_to_db
 			$dbh->rollback; # undo the incomplete changes
 		} else {
 			status	"add the translation in the db";
-			status	"see http://ddtp.debian.net/ddt.cgi?desc_id=$description_id&language=$lang_postfix";
+			status	"see http://ddtp2.debian.net/ddt.cgi?desc_id=$description_id&language=$lang_postfix";
 			status	"";
 			own_a_description($description_id,$lang_postfix,$from_address);
 		}
@@ -459,8 +459,8 @@ sub get_untrans_file_from_db
 
 	while(($description_id2,$active) = $sth->fetchrow_array) {
 		if ($description_id2 ne $description_id) {
-			$body .= "# Description-id: $description_id2 http://ddtp.debian.net/ddt.cgi?desc_id=$description_id2\n";	
-			$body .= "# patch http://ddtp.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$lang_postfix\n";	
+			$body .= "# Description-id: $description_id2 http://ddtp2.debian.net/ddt.cgi?desc_id=$description_id2\n";	
+			$body .= "# patch http://ddtp2.debian.net/ddt.cgi?diff1=$description_id2&diff2=$description_id&language=$lang_postfix\n";	
 	
 			if ($active) {
 				$body .= "# This Description is active\n";
diff --git a/ddtss/ddtss-cgi b/ddtss/ddtss-cgi
index 97bd1f5..cf88dbd 100755
--- a/ddtss/ddtss-cgi
+++ b/ddtss/ddtss-cgi
@@ -205,8 +205,10 @@ sub wordlist_display
         $q->start_html( -title => "DDTSS wordlist ($lang)", @html_headers ),
         $q->h1("DDTSS wordlist ($lang)");
 
-  print $q->p( "The wordlist is merely a convenience to help with consistent translation. If a word in the wordlist appear in the untranslated description, it becomes underlined and when you hover the mouse over it it will display the translation."),
-        $q->p( "There is no limitation to what can appear in this list. It is case-insensetive." ),
+  print $q->p( "The word list below is used to help you with consistent translation of the package descriptions. Here is how: All words in a package description that are also in the word list are underlined, and when you hover your mouse pointer over one of them, its listed translation is shown as a tooltip."),
+        $q->p( "If you want to update the word list, discuss this within your translation team first then post to the debian-l10n mailing list, or better, contribute to the ",
+            $q->a( {-href => "https://alioth.debian.org/scm/browser.php?group_id=30358"}, "ddtp.git repository" ).".",
+        "There are no requirements for the list items and they are case insensitive." ),
         $q->a( {-href => $self}, "Back" );
   
   if( not defined $wordlist )
@@ -1345,7 +1347,7 @@ sub display_translate_screen
   
 #  $long_tr =~ s/^\.\s*$//mg;
   
-  my ($patch) = ($data =~ m,^# patch http:(//[^\s]+),m);
+  my ($patch) = ($data =~ m,^# patch http://[^/]+(/[^\s]+),m);
   
   print $q->header(-type =>'text/html', -charset => "UTF-8");
   print $q->start_html( -title => "DDTSS ($lang): $title", -onload => 'document.forms[0].submit.disabled=1', @html_headers ),
diff --git a/logrotate.config b/logrotate.config
index 6fb5eb4..bbd2435 100644
--- a/logrotate.config
+++ b/logrotate.config
@@ -1,7 +1,7 @@
 /org/ddtp.debian.net/pg_dump/pg_ddts.dump.gz {
 	weekly
 	missingok
-	rotate 6
+	rotate 3
 	nocompress
 	notifempty
 	#create 640 ddtp debian-i18n-users
-----------------------------------------------------------------------


hooks/post-receive
-- 
ddtp



More information about the Debian-l10n-commits mailing list