[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - include/svtools svtools/source

Andras Timar andras.timar at collabora.com
Fri Dec 1 13:24:45 UTC 2017


 include/svtools/strings.hrc                |    1 +
 svtools/source/dialogs/PlaceEditDialog.cxx |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f8d9ca3848b5d5224c2e4391eaf56940e93bcd01
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Nov 30 13:51:03 2017 +0100

    tdf#102160 make 'Other CMIS' string localizable
    
    Change-Id: I58cf9eea05f15223e32ff1542b946c5962041e6c
    Reviewed-on: https://gerrit.libreoffice.org/45578
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/svtools/strings.hrc b/include/svtools/strings.hrc
index ebda4b746df8..7580610f79bc 100644
--- a/include/svtools/strings.hrc
+++ b/include/svtools/strings.hrc
@@ -213,6 +213,7 @@
 #define STR_SVT_ESTIMATED_SIZE_VEC              NC_("STR_SVT_ESTIMATED_SIZE_VEC", "The file size is %1 KB.")
 #define STR_SVT_HOST                            NC_("STR_SVT_HOST", "host")
 #define STR_SVT_PORT                            NC_("STR_SVT_PORT", "port")
+#define STR_SVT_OTHER_CMIS                      NC_("STR_SVT_OTHER_CMIS", "Other CMIS")
 #define STR_SVT_PRNDLG_READY                    NC_("STR_SVT_PRNDLG_READY", "Ready")
 #define STR_SVT_PRNDLG_PAUSED                   NC_("STR_SVT_PRNDLG_PAUSED", "Paused")
 #define STR_SVT_PRNDLG_PENDING                  NC_("STR_SVT_PRNDLG_PENDING", "Pending deletion")
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index e1318d1aa5dc..a8a09a739485 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -185,7 +185,7 @@ void PlaceEditDialog::InitDetails( )
             continue;
         }
 
-        nPos = m_pLBServerType->InsertEntry( aTypesNamesList[i], nPos );
+        nPos = m_pLBServerType->InsertEntry( aTypesNamesList[i].replaceFirst("Other CMIS", SvtResId(STR_SVT_OTHER_CMIS)), nPos );
 
         std::shared_ptr<DetailsContainer> xCmisDetails(std::make_shared<CmisDetailsContainer>(this, this, sUrl));
         xCmisDetails->setChangeHdl( LINK( this, PlaceEditDialog, EditHdl ) );


More information about the Libreoffice-commits mailing list