[Po4a-commits] "po-debconf podebconf-report-po,1.50,1.51"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Thu May 8 20:34:20 UTC 2008
Update of /cvsroot/po4a/po-debconf
In directory alioth:/tmp/cvs-serv9709
Modified Files:
podebconf-report-po
Log Message:
* Change the default to send update requests to translators
(--withtranslators) when sending calls for translations.
* It is now possible to specify withouttranslators in the configuration file
to disable the above behavior.
Index: podebconf-report-po
===================================================================
RCS file: /cvsroot/po4a/po-debconf/podebconf-report-po,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- podebconf-report-po 8 May 2008 14:47:31 -0000 1.50
+++ podebconf-report-po 8 May 2008 20:34:13 -0000 1.51
@@ -336,10 +336,15 @@
if (defined $CALL_WITHOUT_TRANSLATORS) {
$CALL_WITH_TRANSLATORS = 0;
+} elsif (defined $CALL_WITH_TRANSLATORS) {
+ $CALL_WITH_TRANSLATORS = 1;
} elsif ($conf =~ m/^withtranslators$/m) {
$CALL_WITH_TRANSLATORS = 1;
-} elsif (!defined $CALL_WITH_TRANSLATORS) {
+} elsif ($conf =~ m/^withouttranslators$/m) {
$CALL_WITH_TRANSLATORS = 0;
+} else {
+ # The default. (it will be removed when not in --call mode)
+ $CALL_WITH_TRANSLATORS = 1;
}
# Disable --withtranslators if no call for translations are requested with
More information about the Po4a-commits
mailing list