[Po4a-commits] "po4a NEWS, 1.120, 1.121 changelog, 1.542, 1.543 po4a, 1.92, 1.93"
Nicolas FRANÃOIS
nekral-guest at alioth.debian.org
Fri Jan 15 19:27:26 UTC 2010
Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv17624
Modified Files:
NEWS changelog po4a
Log Message:
* po4a, lib/Locale/Po4a/TeX.pm, lib/Locale/Po4a/Text.pm: Fixed
typos.
Index: NEWS
===================================================================
RCS file: /cvsroot/po4a/po4a/NEWS,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- NEWS 13 Jan 2010 23:51:13 -0000 1.120
+++ NEWS 15 Jan 2010 19:27:23 -0000 1.121
@@ -2,6 +2,10 @@
=======================================================================
+* Major changes in release 0.38.1 (UNRELEASED)
+
+=======================================================================
+
* Major changes in release 0.38 (2010-01-14)
po4a
Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- po4a 14 Jan 2010 22:02:08 -0000 1.92
+++ po4a 15 Jan 2010 19:27:24 -0000 1.93
@@ -90,9 +90,9 @@
[po4a_paths] doc/l10n/project.doc.pot $lang:doc/l10n/$lang.po
You can also use $master to refer to the document basename. In this case,
-po4a will use a splitted mode: one POT and one PO (for each language) will
+po4a will use a split mode: one POT and one PO (for each language) will
be created for each document specified in the po4a configuration file.
-See the B<Splitted mode> section.
+See the B<Split mode> section.
[po4a_paths] doc/$master/$master.pot $lang:doc/$master/$lang.po
@@ -188,11 +188,11 @@
Note that you can specify additional options on a per file basis.
-=head2 Splitted mode
+=head2 Split mode
-The splitted mode is used when $master is used in the [po4a_paths] line.
+The split mode is used when $master is used in the [po4a_paths] line.
-When the splitted mode is used, a temporary big POT and temporary big POs
+When the split mode is used, a temporary big POT and temporary big POs
are used. This permits to share the translations between all the POs.
If two POs have different translations for the same string, po4a will mark
@@ -862,20 +862,20 @@
split_opts($document{''}{"options"}{"global"}));
}
-my %splitted_po; # po_files: '$lang','$master' => '$path'
-my %splitted_pot; # pot_files: '$master' => '$path'
+my %split_po; # po_files: '$lang','$master' => '$path'
+my %split_pot; # pot_files: '$master' => '$path'
# make a big pot
my $update_pot_file = 0;
if ($pot_filename =~ m/\$master/) {
- print wrap_msg(gettext("Splitted mode, creating a temporary POT")."\n")
+ print wrap_msg(gettext("Split mode, creating a temporary POT")."\n")
if $po4a_opts{"verbose"};
foreach my $master (keys %document) {
next if ($master eq '');
my $m = basename $master;
my $master_pot = $pot_filename;
$master_pot =~ s/\$master/$m/g;
- $splitted_pot{$master} = $master_pot;
+ $split_pot{$master} = $master_pot;
}
# The POT needs to be generated anyway.
$update_pot_file = 1;
@@ -1016,19 +1016,19 @@
chdir $po4a_opts{"srcdir"}
if (defined $po4a_opts{"srcdir"});
- my $dir = dirname($splitted_pot{$master});
+ my $dir = dirname($split_pot{$master});
if (not -d $dir) {
mkdir $dir
or die wrap_msg(gettext("Can't create directory '%s': %s"),
$dir, $!);
}
my $cmd = "msggrep -N '$master' -o ".
- ($po4a_opts{"force"}?$splitted_pot{$master}:$tmp_file).
+ ($po4a_opts{"force"}?$split_pot{$master}:$tmp_file).
" $pot_filename";
run_cmd($cmd);
unless ($po4a_opts{"force"}) {
- move_po_if_needed($tmp_file, $splitted_pot{$master}, 0);
+ move_po_if_needed($tmp_file, $split_pot{$master}, 0);
}
chdir $po4a_opts{"calldir"}
if (defined $po4a_opts{"srcdir"});
@@ -1052,7 +1052,7 @@
if (-e "$master_po") {
$cmd_cat .= " $master_po";
}
- $splitted_po{$lang}{$master} = $master_po;
+ $split_po{$lang}{$master} = $master_po;
}
if (length $cmd_cat) {
$cmd_cat = "msgcat -o $tmp_bigpo $cmd_cat";
@@ -1113,13 +1113,13 @@
my $cmd;
# Create an empty PO or copy the original PO header.
# This permits to keep the header.
- if (-f $splitted_po{$lang}{$master}) {
+ if (-f $split_po{$lang}{$master}) {
$cmd = "msggrep --force-po -v -K -e '.'".
" -o ".$tmp_file.
- " ".$splitted_po{$lang}{$master};
+ " ".$split_po{$lang}{$master};
} else {
$cmd = "msginit --no-translator -l ".$lang.
- " -i ".$splitted_pot{$master}.
+ " -i ".$split_pot{$master}.
" -o ".$tmp_file;
}
run_cmd($cmd);
@@ -1128,10 +1128,10 @@
# (compendium).
$cmd = "msgmerge -U -C ".$po_filename{$lang}.
" --backup=none ".$po4a_opts{"msgmerge-opt"}.
- " $tmp_file ".$splitted_pot{$master};
+ " $tmp_file ".$split_pot{$master};
run_cmd($cmd);
- my $dir = dirname($splitted_po{$lang}{$master});
+ my $dir = dirname($split_po{$lang}{$master});
if (not -d $dir) {
mkdir $dir
or die wrap_msg(gettext("Can't create directory '%s': %s"),
@@ -1139,24 +1139,24 @@
}
unless ($po4a_opts{"force"}) {
move_po_if_needed($tmp_file,
- $splitted_po{$lang}{$master},
+ $split_po{$lang}{$master},
$po4a_opts{"no-backups"}?0:1);
} else {
- if ( -f $splitted_po{$lang}{$master}
+ if ( -f $split_po{$lang}{$master}
and not $po4a_opts{"no-backups"}) {
- copy $splitted_po{$lang}{$master},
- $splitted_po{$lang}{$master}."~"
+ copy $split_po{$lang}{$master},
+ $split_po{$lang}{$master}."~"
or die wrap_msg(dgettext("po4a",
"Can't copy %s to %s: %s."),
- $splitted_po{$lang}{$master},
- $splitted_po{$lang}{$master}."~",
+ $split_po{$lang}{$master},
+ $split_po{$lang}{$master}."~",
$!);
}
- move $tmp_file, $splitted_po{$lang}{$master}
+ move $tmp_file, $split_po{$lang}{$master}
or die wrap_msg(dgettext("po4a",
"Can't move %s to %s: %s."),
$tmp_file,
- $splitted_po{$lang}{$master},
+ $split_po{$lang}{$master},
$!);
}
}
Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.542
retrieving revision 1.543
diff -u -d -r1.542 -r1.543
--- changelog 14 Jan 2010 22:02:56 -0000 1.542
+++ changelog 15 Jan 2010 19:27:24 -0000 1.543
@@ -1,3 +1,8 @@
+2010-01-15 Nicolas François <nicolas.francois at centraliens.net>
+
+ * po4a, lib/Locale/Po4a/TeX.pm, lib/Locale/Po4a/Text.pm: Fixed
+ typos.
+
2010-01-14 Nicolas François <nicolas.francois at centraliens.net>
* TODO: Updated TODO list (new TODO items for po4a-build).
More information about the Po4a-commits
mailing list