Kaydet (Commit) ef09cbf4 authored tarafından Petr Mladek's avatar Petr Mladek

another improvement of the about dialog

* put back "supplied by %OOOVENDOR" instead of "developed by %OOOVENDOR"
* remove "LibreOffice is" from the copyright line. It has affect only when
  the product is called "LibreOffice"
* center version and buildid line
* remove the confusing branch-point from buildid; it is not longer necessary
  when we have the version suffix, e.g. beta1+
üst 56dbf827
......@@ -73,7 +73,6 @@ GetBuildId()
if (!sBuildId.isEmpty() && sBuildId.getLength() > 50)
{
rtl::OUStringBuffer aBuffer;
aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("\n\t"));
sal_Int32 nIndex = 0;
do
{
......@@ -86,7 +85,7 @@ GetBuildId()
if (nIndex % 5)
aBuffer.append(static_cast<sal_Unicode>('-'));
else
aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("\n\t"));
aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("\n"));
}
}
}
......@@ -167,6 +166,7 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
aCopyrightText.SetControlForeground( aTextColor );
rtl::OUStringBuffer sText(m_aVendorTextStr);
sText.appendAscii(RTL_CONSTASCII_STRINGPARAM("\n\n"));
sal_uInt32 nCopyrightId =
utl::ConfigManager::getProductName().equalsAsciiL(
RTL_CONSTASCII_STRINGPARAM("LibreOffice"))
......
......@@ -41,6 +41,9 @@ ModalDialog RID_DEFAULTABOUT
IgnoreTab = TRUE ;
ReadOnly = TRUE ;
AutoVScroll = TRUE ;
LEFT = FALSE ;
CENTER = TRUE ;
RIGHT = FALSE ;
};
MultiLineEdit ABOUT_FTXT_COPYRIGHT
{
......@@ -84,11 +87,11 @@ ModalDialog RID_DEFAULTABOUT
};
String ABOUT_STR_VENDOR
{
Text[ en-US ] = "%PRODUCTNAME is a free and open source office suite developed by %OOOVENDOR. ";
Text[ en-US ] = "%PRODUCTNAME is a free and open source office suite. This release was supplied by %OOOVENDOR.";
};
String ABOUT_STR_COPYRIGHT
{
Text[ en-US ] = "LibreOffice is copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.";
Text[ en-US ] = "Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.";
};
String ABOUT_STR_COPYRIGHT_DERIVED
{
......
......@@ -815,7 +815,7 @@ sub replace_setup_variables
if ( $localbuild =~ /^\s*(\w+?)(\d+)\s*$/ ) { $localbuild = $2; } # using "680" instead of "src680"
my $buildidstring = `$ENV{'SRC_ROOT'}/g -s log -n 1 --pretty=format:%h- && git describe --abbrev=0`;
my $buildidstring = join( '-', split( ' ', `$ENV{'SRC_ROOT'}/g -s log -n 1 --pretty=format:"%h "` ));
if ($? || !$buildidstring) {
$buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")";
}
......
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