Mercurial > hg > octave-nkf
diff libgui/src/files-dock-widget.cc @ 18276:0b5f669f5b03 stable
fix some translation issues (bug #41159)
* main-window.cc (news_reader::process): only use constant strings in tr ()
* libgui/languages/*.ts: update language files accordingly
* settings-dialog.cc (read_lexer_settings): added context comments in tr ()
for the use of b, i and u in the editor styles
* files-dock-widget.cc (process_new_dir): added a context comment for newline
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 09 Jan 2014 21:48:34 +0100 |
parents | d62570cfbab9 |
children | cae24b7cfaf4 |
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.cc +++ b/libgui/src/files-dock-widget.cc @@ -814,8 +814,8 @@ bool ok; QString name = QInputDialog::getText (this, tr ("Create File"), - tr ("Create file in\n") + parent_dir, - QLineEdit::Normal, "New File.txt", &ok); + tr ("Create file in\n","String ends with \\n!") + parent_dir, + QLineEdit::Normal, "New File.txt", &ok); if (ok && name.length () > 0) { name = parent_dir + "/" + name; @@ -832,9 +832,8 @@ bool ok; QString name = QInputDialog::getText (this, tr ("Create Directory"), - tr ("Create folder in\n") + parent_dir, - QLineEdit::Normal, "New Directory", - &ok); + tr ("Create folder in\n","String ends with \\n!") + parent_dir, + QLineEdit::Normal, "New Directory", &ok); if (ok && name.length () > 0) { QDir dir (parent_dir);