include/svtools/strings.hrc | 1 + svtools/source/dialogs/PlaceEditDialog.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
New commits: commit ae745789704fd7ad86c84ff9875cda810ff915b0 Author: Andras Timar <andras.ti...@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/45577 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Andras Timar <andras.ti...@collabora.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 ) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits