[Libreoffice-commits] core.git: sc/inc sc/source

Eike Rathke erack at redhat.com
Thu Jan 21 07:10:52 PST 2016


 sc/inc/globstr.hrc            |    3 +--
 sc/source/ui/app/inputhdl.cxx |    4 ++--
 sc/source/ui/src/globstr.src  |    4 ----
 3 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit 50976bac119c24309c66c001e5161c36937198b1
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jan 21 16:01:11 2016 +0100

    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

diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 5fa3e40..b51897e 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 9656fe9..609fcb3 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 3d69832..073c5f9 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: */


More information about the Libreoffice-commits mailing list