[Debian-l10n-commits] r2712 - in /ddtp-web: Changelog completeTranslations.pl
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Mon Jul 25 14:17:34 UTC 2011
Author: nekral-guest
Date: Mon Jul 25 14:17:33 2011
New Revision: 2712
URL: http://svn.debian.org/wsvn/?sc=1&rev=2712
Log:
* completeTranslations.pl: It seems the intent of the change is
that the list of descriptions which are checked for being already
completed is extended without regard of any existing translations
for their package.
Modified:
ddtp-web/Changelog
ddtp-web/completeTranslations.pl
Modified: ddtp-web/Changelog
URL: http://svn.debian.org/wsvn/ddtp-web/Changelog?rev=2712&op=diff
==============================================================================
--- ddtp-web/Changelog (original)
+++ ddtp-web/Changelog Mon Jul 25 14:17:33 2011
@@ -21,3 +21,7 @@
* update.sh: Compute the statistics for wheezy and squeeze instead
of lenny and etch
* update0.5.sh: Likewise.
+ * completeTranslations.pl: It seems the intent of the change is
+ that the list of descriptions which are checked for being already
+ completed is extended without regard of any existing translations
+ for their package.
Modified: ddtp-web/completeTranslations.pl
URL: http://svn.debian.org/wsvn/ddtp-web/completeTranslations.pl?rev=2712&op=diff
==============================================================================
--- ddtp-web/completeTranslations.pl (original)
+++ ddtp-web/completeTranslations.pl Mon Jul 25 14:17:33 2011
@@ -51,9 +51,11 @@
sub get_descrition_ids {
my $lang=shift ;
- my $sth = $dbh->prepare("SELECT description,description_id FROM description_tb WHERE description_id in (SELECT description_id FROM active_tb) and description_id not in (SELECT description_id FROM translation_tb WHERE description_id in (SELECT description_id FROM active_tb) and language=?) and package in (SELECT package FROM description_tb WHERE description_id in (SELECT description_id FROM translation_tb WHERE language=?) GROUP BY package)");
+ #my $sth = $dbh->prepare("SELECT description,description_id FROM description_tb WHERE description_id in (SELECT description_id FROM active_tb) and description_id not in (SELECT description_id FROM translation_tb WHERE description_id in (SELECT description_id FROM active_tb) and language=?) and package in (SELECT package FROM description_tb WHERE description_id in (SELECT description_id FROM translation_tb WHERE language=?) GROUP BY package)");
+ my $sth = $dbh->prepare("SELECT description,description_id FROM description_tb WHERE description_id in (SELECT description_id FROM active_tb) and description_id not in (SELECT description_id FROM translation_tb WHERE description_id in (SELECT description_id FROM active_tb) and language=?)");
- $sth->execute($lang,$lang);
+ #$sth->execute($lang,$lang);
+ $sth->execute($lang);
while (my ($description,$d_id) = $sth->fetchrow_array) {
#print "check translation id=$d_id,$lang\n";
$count++;
More information about the Debian-l10n-commits
mailing list