diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-08-17 12:47:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-08-17 14:45:36 +0200 |
commit | 8cba023cbd8f1576d7f30855847a85d762b7b1fa (patch) | |
tree | a1865fabeb2adce760589fcd9604337fd2d0f2db /scp2 | |
parent | ad1c9097ca0390fe82b6e81a963b3caf0b45f35d (diff) |
use correct final language dir names
Change-Id: Iafbdf4961a35809d3c6a778a3292b70456b55913
Reviewed-on: https://gerrit.libreoffice.org/41250
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'scp2')
-rw-r--r-- | scp2/macros/macro.pl | 5 |
1 files changed, 4 insertions, 1 deletions
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"; |