diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2018-09-18 20:15:43 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2018-09-19 10:56:59 +0200 |
commit | 17d981d795f18422e1435180d42baeba509c1280 (patch) | |
tree | 57ba90f99a75b379bc232e5612c3ebf937741b6d | |
parent | fa8b2c533265a6d74e16ffae55673d6aa0fbf6a5 (diff) |
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 <lohmaier+LibreOffice@googlemail.com>
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 <boost/optional.hpp> +#include <unotools/configmgr.hxx> + 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&) { |