Mercurial > hg > octave-lyh
comparison libgui/src/m-editor/file-editor.h @ 15982:131d40cd805b
gui: cleanup some string constants for translations
* file-editor.h: deleted constants for file filters and name for new files
* file-editor.cc (request_open_file): translate file filter in open dialog
* file-editor.cc (request_new_file): create new edit tab with empty title
because the title is updated later
* file-editor-tab.cc (update_window_title): translate unnamed title
* file-editor-tab.cc (save_file_as): translate file filter, shorter warning
message when new file name is the same as the current one
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 27 Jan 2013 22:22:19 +0100 |
parents | 6c0fce0632a4 |
children | 1eb3c67139f6 |
comparison
equal
deleted
inserted
replaced
15981:e3873531dd7c | 15982:131d40cd805b |
---|---|
31 #include <QTabWidget> | 31 #include <QTabWidget> |
32 | 32 |
33 #include "file-editor-interface.h" | 33 #include "file-editor-interface.h" |
34 #include "file-editor-tab.h" | 34 #include "file-editor-tab.h" |
35 | 35 |
36 const char UNNAMED_FILE[] = "<unnamed>"; | |
37 const char SAVE_FILE_FILTER[] = "Octave Files (*.m);;All Files (*.*)"; | |
38 enum editor_markers | 36 enum editor_markers |
39 { | 37 { |
40 bookmark, | 38 bookmark, |
41 breakpoint, | 39 breakpoint, |
42 debugger_position | 40 debugger_position |