comparison libgui/src/main-window.cc @ 18197:a65934d0dc35 stable

fix translating the info on the experimental gui (bug #41081) * main_window.cc (show_gui_info): explicitly use QObject namespace for tr
author Felipe G. Nievinski <fgnievinski@gmail.com>
date Fri, 03 Jan 2014 04:46:31 -0200
parents 1939b7de8f9a
children 1c1236fd179a
comparison
equal deleted inserted replaced
18191:f80d258a2c7d 18197:a65934d0dc35
1889 1889
1890 void 1890 void
1891 main_window::show_gui_info (void) 1891 main_window::show_gui_info (void)
1892 { 1892 {
1893 QString gui_info 1893 QString gui_info
1894 (tr ("<p><strong>A Note about Octave's New GUI</strong></p>" 1894 ( QObject::tr ("<p><strong>A Note about Octave's New GUI</strong></p>"
1895 "<p>One of the biggest new features for Octave 3.8 is a graphical " 1895 "<p>One of the biggest new features for Octave 3.8 is a graphical "
1896 "user interface. It is the one thing that users have requested " 1896 "user interface. It is the one thing that users have requested "
1897 "most often over the last few years and now it is almost ready. " 1897 "most often over the last few years and now it is almost ready. "
1898 "But because it is not quite as polished as we would like, we " 1898 "But because it is not quite as polished as we would like, we "
1899 "have decided to wait until the 4.0.x release series before " 1899 "have decided to wait until the 4.0.x release series before "