Kaydet (Commit) 17d981d7 authored tarafından Christian Lohmaier's avatar Christian Lohmaier

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: 's avatarChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
üst fa8b2c53
......@@ -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&)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment