summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2020-07-10 13:43:04 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-28 23:29:52 +0200
commitb4b8665bd370a869196e2f63acc2cdde7a37a4df (patch)
treef6c00f8b696f98535e3f12fcbe1b4ff69bbe1496 /cui
parent56b2214c3aa40c2e2522eba5584063fb34e003ba (diff)
Resolves tdf#132066 - Localization of special text in about window
Copy all version infos in English Change-Id: I6719e27f721b0ff9f06efb4ea63e286e6d58ebf4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98498 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/about.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 53f05d52b2e1..efeef5a9c002 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -250,16 +250,17 @@ OUString AboutDialog::GetCopyrightString() {
return aCopyrightString;
}
+//special labels to comply with previous version info
IMPL_LINK_NOARG(AboutDialog, HandleClick, weld::Button &, void) {
css::uno::Reference<css::datatransfer::clipboard::XClipboard> xClipboard =
css::datatransfer::clipboard::SystemClipboard::create(
comphelper::getProcessComponentContext());
- OUString sInfo = "Version: " + m_pVersionLabel->get_label() // version
- + "\nBuild ID: " + GetBuildString() // build id
- + "\n" + m_pEnvLabel->get_label() + "; " + m_pUILabel->get_label() // env+UI
- + "\nLocale: " + m_pLocaleLabel->get_label() // locale
- + "\n" + m_pMiscLabel->get_label(); // misc
+ OUString sInfo = "Version: " + m_pVersionLabel->get_label() + "\n" // version
+ "Build ID: " + GetBuildString() + "\n" + // build id
+ Application::GetHWOSConfInfo(0,false) + "\n" // env+UI
+ "Locale: " + m_pLocaleLabel->get_label() + "\n" + // locale
+ m_pMiscLabel->get_label(); // misc
vcl::unohelper::TextDataObject::CopyStringTo(sInfo, xClipboard);
}