Signed-off-by: Sergey Starosek <[email protected]>
---
 qt-ui/profile/profilewidget2.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index e683b67..3bb5952 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -1023,7 +1023,7 @@ void ProfileWidget2::addBookmark()
 {
        QAction *action = qobject_cast<QAction *>(sender());
        QPointF scenePos = mapToScene(mapFromGlobal(action->data().toPoint()));
-       add_event(current_dc, timeAxis->valueAt(scenePos), 
SAMPLE_EVENT_BOOKMARK, 0, 0, "bookmark");
+       add_event(current_dc, timeAxis->valueAt(scenePos), 
SAMPLE_EVENT_BOOKMARK, 0, 0, tr("bookmark"));
        mark_divelist_changed(true);
        replot();
 }
@@ -1085,7 +1085,7 @@ void ProfileWidget2::editName()
        if (ok && !newName.isEmpty()) {
                if (newName.length() > 22) { //longer names will display as 
garbage.
                        QMessageBox lengthWarning;
-                       lengthWarning.setText("Name is too long!");
+                       lengthWarning.setText(tr("Name is too long!"));
                        lengthWarning.exec();
                        return;
                }
-- 
1.8.5.5

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to