[Libreoffice-commits] .: l10ntools/scripts

Petr Mladek pmladek at kemper.freedesktop.org
Fri Mar 25 07:16:57 PDT 2011


 l10ntools/scripts/localize.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 381cd0a840540b893719e47862d69b7f029e0896
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri Mar 25 15:15:21 2011 +0100

    fix localize.pl to search strings in the "translations" module

diff --git a/l10ntools/scripts/localize.pl b/l10ntools/scripts/localize.pl
index da28fae..061300c 100755
--- a/l10ntools/scripts/localize.pl
+++ b/l10ntools/scripts/localize.pl
@@ -177,7 +177,7 @@ sub splitfile{
     my $src_root = $ENV{SRC_ROOT};
     my $ooo_src_root = $ENV{SRC_ROOT};
     my $so_l10n_path  = $src_root."/sun/l10n_so/source";
-    my $ooo_l10n_path = $ooo_src_root."/l10n/source";
+    my $ooo_l10n_path = $ooo_src_root."/translations/source";
 
     #print "$so_l10n_path\n";
     #print "$ooo_l10n_path\n";
@@ -346,7 +346,7 @@ sub add_paths
 {
     my $langhash_ref            = shift;
     my $root_dir = $ENV{ SRC_ROOT };
-    my $ooo_l10n_dir = "$root_dir/l10n/source";
+    my $ooo_l10n_dir = "$root_dir/translations/source";
     my $so_l10n_dir  = "$root_dir/l10n_so/source";
 
     if( -e $ooo_l10n_dir )


More information about the Libreoffice-commits mailing list