Commit 636d8560 authored by Oliver Bock's avatar Oliver Bock

Updated localization and about dialog

parent 1251c71c
...@@ -553,7 +553,7 @@ void PulsarAnimationWidget::paintGL() ...@@ -553,7 +553,7 @@ void PulsarAnimationWidget::paintGL()
font.setFamily("Arial"); font.setFamily("Arial");
font.setStyleStrategy((QFont::StyleStrategy) (QFont::OpenGLCompatible | QFont::PreferQuality)); font.setStyleStrategy((QFont::StyleStrategy) (QFont::OpenGLCompatible | QFont::PreferQuality));
renderText(10, 25, -100, QString::fromLocal8Bit("Copyright © 2009-2011"), font); renderText(10, 25, -100, QString::fromLocal8Bit("Copyright © 2009-2011"), font);
renderText(10, 10, -100, QString::fromLocal8Bit("Max-Planck-Insitut für Gravitationsphysik"), font); renderText(10, 10, -100, tr("Max Planck Institute for Gravitational Physics"), font);
// render pulse "flash" // render pulse "flash"
if(m_showPulseFlashes) { if(m_showPulseFlashes) {
......
...@@ -473,20 +473,27 @@ void PulsatingScience::on_actionWebsite_triggered() ...@@ -473,20 +473,27 @@ void PulsatingScience::on_actionWebsite_triggered()
void PulsatingScience::on_actionAbout_triggered() void PulsatingScience::on_actionAbout_triggered()
{ {
QString content = "<b>%1</b><br>" QString content = "<b>%1</b><br>"
"%2<br><br>" "%2<br>"
"%3: Oliver Bock, Benjamin Knispel<br><br>" "<br>"
"%4<br>" "%3: Oliver Bock<br>"
"(%5 ESO/IDA/Danish 1.5 m/R.Gendler, J-E. Ovaldsen, C. Th&ouml;ne, C. Feron)<br><br>" "%4: Benjamin Knispel<br>"
"%6: GNU General Public License v3<br><br>" "<br>"
"Copyright &copy; 2009-2011 Max-Planck-Institut f&uuml;r Gravitationsphysik"; "%5<br>"
"(%6 ESO/IDA/Danish 1.5m - R.Gendler, J-E. Ovaldsen, C. Th&ouml;ne, C. Feron)<br>"
"<br>"
"%7: GNU General Public License v3<br>"
"<br>"
"Copyright &copy; 2009-2011 %8";
content = content.arg( content = content.arg(
tr("Pulsating Science"), tr("Pulsating Science"),
tr("International Year of Astronomy 2009"), tr("International Year of Astronomy 2009"),
tr("Authors"), tr("Author"),
tr("Consultant"),
tr("Background image: The Carina Nebula"), tr("Background image: The Carina Nebula"),
tr("Courtesy of"), tr("Courtesy of"),
tr("License")); tr("License"),
tr("Max Planck Institute for Gravitational Physics"));
QMessageBox::about(this, tr("About \"Pulsating Science\""), content); QMessageBox::about(this, tr("About \"Pulsating Science\""), content);
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Pulsating Science - Max-Planck-Institut für Gravitationsphysik Hannover</string> <string>Pulsating Science - Max Planck Institute for Gravitational Physics Hannover</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="pulsatingscience.qrc"> <iconset resource="pulsatingscience.qrc">
......
This diff is collapsed.
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