summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.cpp
Unidiff
Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index d28ece8..6804918 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -337,3 +337,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
337 font->insertSeparator(); 337 font->insertSeparator();
338 font->insertItem("Font", this, SLOT(changeFont()) ); 338 font->insertItem(tr("Font"), this, SLOT(changeFont()) );
339 339
@@ -495,3 +495,3 @@ void TextEdit::fileOpen()
495{ 495{
496 browseForFiles=new fileBrowser(this,"Open File",TRUE,0, "text/*"); // 496 browseForFiles=new fileBrowser(this,tr("Open File"),TRUE,0, "text/*"); //
497 browseForFiles->setFileView( viewSelection ); 497 browseForFiles->setFileView( viewSelection );
@@ -536,3 +536,3 @@ void TextEdit::slotFind()
536{ 536{
537 FindDialog frmFind( "Text Editor", this ); 537 FindDialog frmFind( tr("Text Editor"), this );
538 connect( &frmFind, SIGNAL(signalFindClicked(const QString &, bool, bool, int)), 538 connect( &frmFind, SIGNAL(signalFindClicked(const QString &, bool, bool, int)),
@@ -749,3 +749,3 @@ bool TextEdit::saveAs()
749 749
750 if( currentFileName.isEmpty() || currentFileName == "Unnamed") { 750 if( currentFileName.isEmpty() || currentFileName == tr("Unnamed")) {
751 qDebug("do silly TT filename thing"); 751 qDebug("do silly TT filename thing");
@@ -765,3 +765,3 @@ bool TextEdit::saveAs()
765 if ( docname.isEmpty() ) 765 if ( docname.isEmpty() )
766 docname = "Unnamed"; 766 docname = tr("Unnamed");
767 doc->setName(docname); 767 doc->setName(docname);
@@ -772,3 +772,3 @@ bool TextEdit::saveAs()
772 772
773 fileSaveDlg=new fileSaver(this,"Save File As?",TRUE, 0, currentFileName); 773 fileSaveDlg=new fileSaver(this,tr("Save File As?"),TRUE, 0, currentFileName);
774 qDebug("wanna save filename "+currentFileName); 774 qDebug("wanna save filename "+currentFileName);
@@ -799,3 +799,3 @@ bool TextEdit::saveAs()
799 filePermissions *filePerm; 799 filePermissions *filePerm;
800 filePerm = new filePermissions(this, "Permissions",true,0,(const QString &)fileNm); 800 filePerm = new filePermissions(this, tr("Permissions"),true,0,(const QString &)fileNm);
801 filePerm->exec(); 801 filePerm->exec();
@@ -890,3 +890,3 @@ void TextEdit::changeFont() {
890 FontDialog *fontDlg; 890 FontDialog *fontDlg;
891 fontDlg=new FontDialog(this,"FontDialog",TRUE); 891 fontDlg=new FontDialog(this,tr("FontDialog"),TRUE);
892 892
@@ -902,3 +902,3 @@ void TextEdit::editDelete()
902{ 902{
903 switch ( QMessageBox::warning(this,"Text Editor","Do you really want\nto delete the current file\nfrom the disk?\nThis is irreversable!!","Yes","No",0,0,1) ) { 903 switch ( QMessageBox::warning(this,tr("Text Editor"),tr("Do you really want\nto delete the current file\nfrom the disk?\nThis is irreversable!!"),tr("Yes"),tr("No"),0,0,1) ) {
904 case 0: 904 case 0: