[Libreoffice-commits] .: solenv/bin

Lior Kaplan kaplan at kemper.freedesktop.org
Mon Dec 5 08:54:21 PST 2011


 solenv/bin/make_installer.pl            |    6 +++---
 solenv/bin/modules/installer/globals.pm |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c26e8ca5e92dd9c4c30617bcafb02d8a4d5b24fc
Author: Lior Kaplan <kaplanlior at gmail.com>
Date:   Mon Dec 5 18:54:03 2011 +0200

    It's RTL languages not bidi languages

diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 7cecbc9..e427cd5 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -2017,8 +2017,8 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
         {
             my $onelanguage = ${$languagesarrayref}[$m];
 
-            my $is_bidi = 0;
-            if ( installer::existence::exists_in_array($onelanguage, \@installer::globals::bidilanguages) ) { $is_bidi = 1; }
+            my $is_rtl = 0;
+            if ( installer::existence::exists_in_array($onelanguage, \@installer::globals::rtllanguages) ) { $is_rtl = 1; }
 
             my $languageidtdir = $idtdirbase . $installer::globals::separator . $onelanguage;
             if ( -d $languageidtdir ) { installer::systemactions::remove_complete_directory($languageidtdir, 1); }
@@ -2091,7 +2091,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
 
             # setting bidi attributes, if required
 
-            if ( $is_bidi ) { installer::windows::idtglobal::setbidiattributes($languageidtdir, $onelanguage); }
+            if ( $is_rtl ) { installer::windows::idtglobal::setbidiattributes($languageidtdir, $onelanguage); }
 
             # setting the encoding in every table (replacing WINDOWSENCODINGTEMPLATE)
             installer::windows::idtglobal::set_multilanguageonly_condition($languageidtdir);
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index c7e8954..00c4227 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -98,7 +98,7 @@ BEGIN
         "tk"
     );
     @items_at_modules = ("Files", "Dirs", "Unixlinks");
-    @bidilanguages = ("ar", "fa", "he", "ug");
+    @rtllanguages = ("ar", "fa", "he", "ug");
 
     $ziplistname = "";
     $pathfilename = "";


More information about the Libreoffice-commits mailing list