summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-01-21 16:01:11 +0100
committerEike Rathke <erack@redhat.com>2016-01-21 16:09:59 +0100
commit50976bac119c24309c66c001e5161c36937198b1 (patch)
treeaab48234a014e186427817353bc372f64f756c15
parent39471da6e4d016c52c6cdf6553d7418416a160f4 (diff)
IMHO " : " doesn't need to be localizable, tdf#95878 follow-up
Removing STR_FUNCTIONS_NAMEDESCS from resident strings, what should poor localizers translate it to anyway? Change-Id: I333f3e48332a0796112c28c230be20529e2241c4
-rw-r--r--sc/inc/globstr.hrc3
-rw-r--r--sc/source/ui/app/inputhdl.cxx4
-rw-r--r--sc/source/ui/src/globstr.src4
3 files changed, 3 insertions, 8 deletions
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 5fa3e4080d3c..b51897e999a5 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -704,9 +704,8 @@
#define STR_TABLE_COUNT 530
#define STR_FUNCTIONS_FOUND 531
-#define STR_FUNCTIONS_NAMEDESCS 532
-#define SC_GLOBSTR_STR_COUNT 533 /**< the count of permanently resident strings */
+#define SC_GLOBSTR_STR_COUNT 532 /**< the count of permanently resident strings */
#endif
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 9656fe9104b7..609fcb368a43 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1024,7 +1024,7 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText )
}
if ( nVarArgsSet > 0 && nActive > nArgs )
nActive = nArgs - (nActive - nArgs) % nVarArgsSet;
- aBuf.append( ScGlobal::GetRscString( STR_FUNCTIONS_NAMEDESCS ) );
+ aBuf.append( " : " );
aBuf.append( ppFDesc->getParameterDescription(nActive-1) );
aNew = aBuf.makeStringAndClear();
ShowTip( aNew );
@@ -1202,7 +1202,7 @@ void ScInputHandler::ShowFuncList( const ::std::vector< OUString > & rFuncStrVec
{
if ( !ppFDesc->getFunctionName().isEmpty() )
{
- aTipStr += ScGlobal::GetRscString( STR_FUNCTIONS_NAMEDESCS ) + ppFDesc->getDescription();
+ aTipStr += " : " + ppFDesc->getDescription();
}
}
ShowTip( aTipStr );
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 3d69832b1ed2..073c5f917a3b 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -2101,10 +2101,6 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "%1 and %2 more";
};
- String STR_FUNCTIONS_NAMEDESCS
- {
- Text [ en-US ] = " : ";
- };
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */