summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-11-30 13:51:03 +0100
committerAndras Timar <andras.timar@collabora.com>2017-12-01 21:42:41 +0100
commitae745789704fd7ad86c84ff9875cda810ff915b0 (patch)
tree5b340ff63e94f15bbf1913040617540d815847e8
parentdcd14963c3f3de9599dbb12d738a26feb5f56df5 (diff)
tdf#102160 make 'Other CMIS' string localizable
Change-Id: I58cf9eea05f15223e32ff1542b946c5962041e6c Reviewed-on: https://gerrit.libreoffice.org/45577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--include/svtools/strings.hrc1
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
2 files changed, 2 insertions, 1 deletions
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 ) );