The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit cba5060e7453f2fc04048767cd36b693e7cb6cae
Author: Vincent van Ravesteijn <[email protected]>
Date:   Mon May 13 12:45:59 2013 +0200

    Translate build version strings

diff --git a/src/LyX.cpp b/src/LyX.cpp
index f7bc1c7..a8849ca 100644
--- a/src/LyX.cpp
+++ b/src/LyX.cpp
@@ -1066,7 +1066,8 @@ int parse_version(string const &, string const &, string 
&)
 {
        cout << "LyX " << lyx_version
               << " (" << lyx_release_date << ")" << endl;
-       cout << "Built on " << __DATE__ << ", " << __TIME__ << endl;
+       cout << to_utf8(bformat(_("Built on %1$s, %2$s"),
+               from_ascii(__DATE__), from_ascii(__TIME__))) << endl;
 
        cout << lyx_version_info << endl;
        exit(0);
diff --git a/src/frontends/qt4/GuiAbout.cpp b/src/frontends/qt4/GuiAbout.cpp
index 8a75a53..acabad2 100644
--- a/src/frontends/qt4/GuiAbout.cpp
+++ b/src/frontends/qt4/GuiAbout.cpp
@@ -126,8 +126,8 @@ static QString version()
        out << toqstr(makeDisplayPath(package().user_support().absFileName()));
 #ifdef DEVEL_VERSION
        out << "\n";
-       out << "Qt Version (run-time): " << toqstr(qVersion()) << "\n";
-       out << "Qt Version (compile-time): " << QT_VERSION_STR << "\n";
+       out << toqstr(bformat(_("Qt Version (run-time): %1$s"), 
from_ascii(qVersion()))) << "\n";
+       out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), 
from_ascii(QT_VERSION_STR))) << "\n";
 #endif
        return res;
 }
@@ -138,7 +138,8 @@ static QString buildinfo()
        QTextStream out(&res);
        out << "LyX " << lyx_version
                << " (" << lyx_release_date << ")" << endl;
-       out << "Built on " << __DATE__ << ", " << __TIME__ << endl;
+       out << toqstr(bformat(_("Built on %1$s, %2$s"),
+               from_ascii(__DATE__), from_ascii(__TIME__))) << endl;
 
        out << lyx_version_info << endl;
        return res;

-----------------------------------------------------------------------

Summary of changes:
 src/LyX.cpp                    |    3 ++-
 src/frontends/qt4/GuiAbout.cpp |    7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to