[Libreoffice-commits] core.git: scp2/macros
Caolán McNamara
caolanm at redhat.com
Thu Aug 17 12:47:19 UTC 2017
scp2/macros/macro.pl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 8cba023cbd8f1576d7f30855847a85d762b7b1fa
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 17 12:47:28 2017 +0100
use correct final language dir names
Change-Id: Iafbdf4961a35809d3c6a778a3292b70456b55913
Reviewed-on: https://gerrit.libreoffice.org/41250
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index e034cfd98624..aa03d4e04b9f 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -175,8 +175,11 @@ sub write_MO_ALL_LANG_EXCEPT_EN_US_AND_QTZ
if (($lang ne "en-US") and ($lang ne "qtz")) {
print OUTFILE "; " unless $first;
$first = 0;
+ my $SRC_ROOT = $ENV{"SRC_ROOT"};
+ my $langdir = `$SRC_ROOT/solenv/bin/localestr $lang`;
+ chomp $langdir;
print OUTFILE
- "\\\n\tName ($lang) = STRING(CONCAT3($lang/LC_MESSAGES/,name,.mo))";
+ "\\\n\tName ($lang) = STRING(CONCAT3($langdir/LC_MESSAGES/,name,.mo))";
}
}
print OUTFILE "\n\n";
More information about the Libreoffice-commits
mailing list