diff options
author | Klaas Freitag <freitag@owncloud.com> | 2014-12-12 15:33:38 +0300 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2014-12-12 15:33:38 +0300 |
commit | 7f73cc16945da3dcec26c219c7c4e32312bf3e02 (patch) | |
tree | 08c524a76eab685c944bb00898f6460fcc4ec01b /src/mirall | |
parent | 87973ac6921afa1513ffe701d37b35db51215e93 (diff) |
Theme: split the about string apart to have small translation units.
Diffstat (limited to 'src/mirall')
-rw-r--r-- | src/mirall/theme.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/mirall/theme.cpp b/src/mirall/theme.cpp index 94bead60e..54a2742c2 100644 --- a/src/mirall/theme.cpp +++ b/src/mirall/theme.cpp @@ -230,14 +230,19 @@ QString Theme::gitSHA1() const QString Theme::about() const { - return tr("<p>Version %1 For more information please visit <a href='%2'>%3</a>.</p>" - "<p>Copyright ownCloud, Inc.</p>" - "<p>Distributed by %4 and licensed under the GNU General Public License (GPL) Version 2.0.<br/>" - "%5 and the %5 logo are registered trademarks of %4 in the " - "United States, other countries, or both.</p>") + QString re; + re = tr("<p>Version %1 For more information please visit <a href='%2'>%3</a>.</p>") .arg(MIRALL_VERSION_STRING).arg("http://" MIRALL_STRINGIFY(APPLICATION_DOMAIN)) - .arg(MIRALL_STRINGIFY(APPLICATION_DOMAIN)).arg(APPLICATION_VENDOR).arg(APPLICATION_NAME) - +gitSHA1(); + .arg(MIRALL_STRINGIFY(APPLICATION_DOMAIN)); + + re += tr("<p>Copyright ownCloud, Incorparated</p>"); + re += tr("<p>Distributed by %1 and licensed under the GNU General Public License (GPL) Version 2.0.<br/>" + "%2 and the %2 logo are registered trademarks of %1 in the " + "United States, other countries, or both.</p>") + .arg(APPLICATION_VENDOR).arg(APPLICATION_NAME); + + re += gitSHA1(); + return re; } #ifndef TOKEN_AUTH_ONLY |