diff document/Document.cpp @ 116:99d65ba33c88

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents d25ea0c2af5c
children 8089a394829a
line wrap: on
line diff
--- a/document/Document.cpp	Mon Mar 05 15:32:55 2007 +0000
+++ b/document/Document.cpp	Wed Mar 07 17:07:02 2007 +0000
@@ -643,7 +643,7 @@
     m_d(d),
     m_view(view),
     m_layer(layer),
-    m_name(d->tr("Add %1 Layer").arg(layer->objectName())),
+    m_name(qApp->translate("Add %1 Layer").arg(layer->objectName())),
     m_added(false)
 {
 }
@@ -691,7 +691,7 @@
     m_d(d),
     m_view(view),
     m_layer(layer),
-    m_name(d->tr("Delete %1 Layer").arg(layer->objectName())),
+    m_name(qApp->translate("Delete %1 Layer").arg(layer->objectName())),
     m_added(true)
 {
 }