[PC-BSD Commits] r5773 - pcbsd/trunk/pcbsdusermanager

svn at pcbsd.org svn at pcbsd.org
Mon Jan 4 13:04:35 PST 2010


Author: kris
Date: 2010-01-04 13:04:35 -0800 (Mon, 04 Jan 2010)
New Revision: 5773

Modified:
   pcbsd/trunk/pcbsdusermanager/adddlgcode.cpp
   pcbsd/trunk/pcbsdusermanager/maindlgcode.cpp
Log:

Updated pcbsdusermanager to fix some problematic tr strings



Modified: pcbsd/trunk/pcbsdusermanager/adddlgcode.cpp
===================================================================
--- pcbsd/trunk/pcbsdusermanager/adddlgcode.cpp	2010-01-04 20:56:05 UTC (rev 5772)
+++ pcbsd/trunk/pcbsdusermanager/adddlgcode.cpp	2010-01-04 21:04:35 UTC (rev 5773)
@@ -178,7 +178,7 @@
 	break;
     case 4:
 	homeBoxColour = orange;
-	QToolTip::add(homeBox, tr("Placing home directory outside '/home/' can cause compatibility problems with some programs.\n\nNOT RECOMMENDED"));
+	QToolTip::add(homeBox, tr("Placing home directory outside '/home/' can cause compatibility problems with some programs. NOT RECOMMENDED"));
 	break;
     case 5:
 	homeBoxColour = red;
@@ -239,19 +239,19 @@
     {
     case 1:
 	inputError = true;
-	inputText += tr("\n- The 'Home Directory' field has not been filled in.");
+	inputText += "\n" + tr("- The 'Home Directory' field has not been filled in.");
 	break;
     case 2:
 	inputError = true;
-	inputText += tr("\n- The value entered as 'Home Directory' is not a valid path.");
+	inputText += "\n" + tr("- The value entered as 'Home Directory' is not a valid path.");
 	break;
     case 4:
 	warnError = true;
-	warnText += tr("\n- Placing home directory outside '/home/' can cause compatibility problems with some programs and is NOT RECOMMENDED.");
+	warnText += "\n" + tr("- Placing home directory outside '/home/' can cause compatibility problems with some programs and is NOT RECOMMENDED.");
 	break;
     case 5:
 	inputError = true;
-	inputText += tr("\n- A file was selected as 'Home Directory', this value must be a directory.");
+	inputText += "\n" + tr("- A file was selected as 'Home Directory', this value must be a directory.");
 	break;
     }
     

Modified: pcbsd/trunk/pcbsdusermanager/maindlgcode.cpp
===================================================================
--- pcbsd/trunk/pcbsdusermanager/maindlgcode.cpp	2010-01-04 20:56:05 UTC (rev 5772)
+++ pcbsd/trunk/pcbsdusermanager/maindlgcode.cpp	2010-01-04 21:04:35 UTC (rev 5773)
@@ -285,7 +285,7 @@
 	break;
     case 4:
 	homeBoxColour = orange;
-	QToolTip::add(homeBox, tr("Placing home directory outside '/home/' can cause compatibility problems with some programs.\n\nNOT RECOMMENDED"));
+	QToolTip::add(homeBox, tr("Placing home directory outside '/home/' can cause compatibility problems with some programs. NOT RECOMMENDED"));
 	break;
     case 5:
 	homeBoxColour = red;



More information about the Commits mailing list