summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/src/globstr.src18
-rw-r--r--sc/source/ui/view/viewfun2.cxx12
2 files changed, 10 insertions, 20 deletions
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 54001c49ac14..a545d4057801 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -443,31 +443,23 @@ Resource RID_GLOBSTR
};
String STR_MSSG_SOLVE_0
{
- Text [ en-US ] = "Goal Seek successful.\n" ;
+ Text [ en-US ] = "Goal Seek succeeded. Result: " ;
};
String STR_MSSG_SOLVE_1
{
- Text [ en-US ] = "Result (" ;
+ Text [ en-US ] = "\n\nInsert the result into the variable cell?" ;
};
String STR_MSSG_SOLVE_2
{
- Text [ en-US ] = "). Apply setting to spreadsheet?" ;
+ Text [ en-US ] = "Goal Seek failed.\n\n" ;
};
String STR_MSSG_SOLVE_3
{
- Text [ en-US ] = "Goal Seek not successful.\n" ;
+ Text [ en-US ] = "Insert the closest value (" ;
};
String STR_MSSG_SOLVE_4
{
- Text [ en-US ] = "No exact value found. \n" ;
- };
- String STR_MSSG_SOLVE_5
- {
- Text [ en-US ] = "Insert closest value (" ;
- };
- String STR_MSSG_SOLVE_6
- {
- Text [ en-US ] = ")?" ;
+ Text [ en-US ] = ") into the variable cell anyway?" ;
};
String STR_TABLE_GESAMTERGEBNIS
{
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index a097ca64ff5e..b61d3abb3fd4 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1854,18 +1854,16 @@ void ScViewFunc::Solve( const ScSolveParam& rParam )
if ( bExact )
{
- aMsgStr = ScGlobal::GetRscString( STR_MSSG_SOLVE_0 );
- aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_1 );
+ aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_0 );
aMsgStr += String( aResStr );
- aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_2 );
+ aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_1 );
}
else
{
- aMsgStr = ScGlobal::GetRscString( STR_MSSG_SOLVE_3 );
- aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_4 );
- aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_5 );
+ aMsgStr = ScGlobal::GetRscString( STR_MSSG_SOLVE_2 );
+ aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_3 );
aMsgStr += String( aResStr );
- aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_6 );
+ aMsgStr += ScGlobal::GetRscString( STR_MSSG_SOLVE_4 );
}
MessBox aBox( GetViewData()->GetDialogParent(),