[PC-BSD Commits] r6454 - pcbsd/trunk/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Fri Mar 26 12:55:24 PDT 2010


Author: kris
Date: 2010-03-26 12:55:24 -0700 (Fri, 26 Mar 2010)
New Revision: 6454

Modified:
   pcbsd/trunk/SysInstaller/sysinstaller.cpp
   pcbsd/trunk/SysInstaller/sysinstaller.ui
Log:

Added option to gui to prune all other l10n files from install, in case user doesn't want to support other languages



Modified: pcbsd/trunk/SysInstaller/sysinstaller.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sysinstaller.cpp	2010-03-26 19:45:49 UTC (rev 6453)
+++ pcbsd/trunk/SysInstaller/sysinstaller.cpp	2010-03-26 19:55:24 UTC (rev 6454)
@@ -388,6 +388,10 @@
   {
     // Installing FreeBSD
 
+    // Hide the language prune option 
+    checkPruneLangs->setChecked(false);
+    checkPruneLangs->setHidden(true);
+
     // Populate our shell selection
     comboShell->clear();
     comboShell->addItem("/bin/csh");
@@ -396,6 +400,7 @@
 
   } else {
     // Installing PC-BSD
+    checkPruneLangs->setHidden(false);
 
     // Populate our shell selection
     comboShell->clear();
@@ -579,6 +584,10 @@
     tmpList << "localizeLang=" + lang;
   }
 
+  // Seeif we need to prune other l10n files
+  if (checkPruneLangs->isChecked() )
+    tmpList << "localizePrune=yes";
+
   // If we are doing an upgrade, put disk info for selected drive
   if ( radioUpgrade->isChecked() )
   {

Modified: pcbsd/trunk/SysInstaller/sysinstaller.ui
===================================================================
--- pcbsd/trunk/SysInstaller/sysinstaller.ui	2010-03-26 19:45:49 UTC (rev 6453)
+++ pcbsd/trunk/SysInstaller/sysinstaller.ui	2010-03-26 19:55:24 UTC (rev 6454)
@@ -996,7 +996,7 @@
                 </palette>
                </property>
                <property name="currentIndex">
-                <number>1</number>
+                <number>0</number>
                </property>
                <widget class="QWidget" name="aiStep0">
                 <property name="palette">
@@ -1910,7 +1910,7 @@
 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 p, li { white-space: pre-wrap; }
 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Bitstream Vera Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Welcome to PC-BSD! PC-BSD has been designed with the &quot;casual&quot; computer user in mind. Installing the system is simply a matter of a few clicks and a few minutes for the installation process to finish. Hardware such as video, sound, network and other devices will be auto-detected and available at the first system startup. Home users will immediately feel comfortable using PC-BSD's desktop interface with the popular KDE desktop manager included. Select your language and click next to begin the installation process.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Welcome to PC-BSD! PC-BSD has been designed with the &amp;quot;casual&amp;quot; computer user in mind. Installing the system is simply a matter of a few clicks and a few minutes for the installation process to finish. Hardware such as video, sound, network and other devices will be auto-detected and available at the first system startup. Home users will immediately feel comfortable using PC-BSD's desktop interface with the popular KDE desktop manager included. Select your language and click next to begin the installation process.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                      </property>
                     </widget>
                    </item>
@@ -8632,6 +8632,26 @@
                       </property>
                      </widget>
                     </item>
+                    <item row="4" column="0">
+                     <widget class="QCheckBox" name="checkPruneLangs">
+                      <property name="text">
+                       <string>Remove all other language support files</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="3" column="0">
+                     <spacer name="verticalSpacer_8">
+                      <property name="orientation">
+                       <enum>Qt::Vertical</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>20</width>
+                        <height>80</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
                    </layout>
                   </widget>
                  </item>



More information about the Commits mailing list