[Libreoffice-commits] core.git: solenv/bin
Andras Timar
andras.timar at collabora.com
Fri May 8 04:30:16 PDT 2015
solenv/bin/modules/installer/simplepackage.pm | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 2df138b483f60ffdcd3b62c8c2884d2f5cc076af
Author: Andras Timar <andras.timar at collabora.com>
Date: Fri May 8 11:38:56 2015 +0200
tdf#78834 enable localized system dialogs on OS X
Change-Id: I37f5b183b36f2a3077f591162402ddd83e4a46d4
Reviewed-on: https://gerrit.libreoffice.org/15673
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm
index ae91d0c..d470b4e 100644
--- a/solenv/bin/modules/installer/simplepackage.pm
+++ b/solenv/bin/modules/installer/simplepackage.pm
@@ -395,6 +395,13 @@ sub create_package
}
else
{
+ my $subdir = "$tempdir/$packagename/$volume_name_classic_app.app/Contents/Resources";
+ if ( ! -d $subdir ) { installer::systemactions::create_directory($subdir); }
+ # iterate over OS X localizations
+ foreach $lang ("ca", "cs", "da", "de", "el", "en", "es", "fi", "fr", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl", "no", "pl", "pt", "pt_PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW")
+ {
+ installer::systemactions::create_directory($subdir . "/" . $lang . ".lproj");
+ }
if (($volume_name_classic_app eq 'LibreOffice' || $volume_name_classic_app eq 'LibreOfficeDev') &&
defined($ENV{'MACOSX_CODESIGNING_IDENTITY'}) && $ENV{'MACOSX_CODESIGNING_IDENTITY'} ne "" )
{
More information about the Libreoffice-commits
mailing list