Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2014-12-12 15:33:38 +0300
committerKlaas Freitag <freitag@owncloud.com>2014-12-12 15:33:38 +0300
commit7f73cc16945da3dcec26c219c7c4e32312bf3e02 (patch)
tree08c524a76eab685c944bb00898f6460fcc4ec01b /src
parent87973ac6921afa1513ffe701d37b35db51215e93 (diff)
Theme: split the about string apart to have small translation units.
Diffstat (limited to 'src')
-rw-r--r--src/mirall/theme.cpp19
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