From 17d981d795f18422e1435180d42baeba509c1280 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Tue, 18 Sep 2018 20:15:43 +0200 Subject: add locale to joinus link so hub can redirect to language specific pages Change-Id: Ibed6f899ad0219bf0211ac50c0595484ddba8c92 Reviewed-on: https://gerrit.libreoffice.org/60696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier --- sfx2/source/view/viewfrm.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 33cd93852e32..32665471a75c 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -91,6 +91,8 @@ #include +#include + using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ucb; @@ -1369,7 +1371,8 @@ IMPL_LINK_NOARG(SfxViewFrame, GetInvolvedHandler, Button*, void) { try { - sfx2::openUriExternally("https://hub.libreoffice.org/joinus", false); + OUString sURL("https://hub.libreoffice.org/joinus/?LOlocale=" + utl::ConfigManager::getLocale()); + sfx2::openUriExternally(sURL, false); } catch (const Exception&) { -- cgit