diff libgui/src/files-dock-widget.cc @ 18308:12291fb903de gui-release

fix missing translations (bug #41200) * find-dialog.cc (ctor): translate title * find-files-dialog (stop_find): missing trnaslation * files-dock-widget.cc (process_new_dir, process_new_file): missing transl. * libgui/languages: update all language files (without translation)
author Torsten <ttl@justmail.de>
date Tue, 14 Jan 2014 23:23:50 +0100
parents 09ef57c61b3b
children 03a8428adef7
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.cc
+++ b/libgui/src/files-dock-widget.cc
@@ -816,7 +816,7 @@
 
   QString name = QInputDialog::getText (this, tr ("Create File"),
        tr ("Create file in\n","String ends with \\n!") + parent_dir,
-       QLineEdit::Normal, "New File.txt", &ok);
+       QLineEdit::Normal, tr ("New File.txt"), &ok);
   if (ok && name.length () > 0)
     {
       name = parent_dir + "/" + name;
@@ -834,7 +834,7 @@
 
   QString name = QInputDialog::getText (this, tr ("Create Directory"),
                 tr ("Create folder in\n","String ends with \\n!") + parent_dir,
-                QLineEdit::Normal, "New Directory", &ok);
+                QLineEdit::Normal, tr ("New Directory"), &ok);
   if (ok && name.length () > 0)
     {
       QDir dir (parent_dir);