summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.cpp
Side-by-side diff
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 )
font->insertSeparator();
- font->insertItem("Font", this, SLOT(changeFont()) );
+ font->insertItem(tr("Font"), this, SLOT(changeFont()) );
@@ -495,3 +495,3 @@ void TextEdit::fileOpen()
{
- browseForFiles=new fileBrowser(this,"Open File",TRUE,0, "text/*"); //
+ browseForFiles=new fileBrowser(this,tr("Open File"),TRUE,0, "text/*"); //
browseForFiles->setFileView( viewSelection );
@@ -536,3 +536,3 @@ void TextEdit::slotFind()
{
- FindDialog frmFind( "Text Editor", this );
+ FindDialog frmFind( tr("Text Editor"), this );
connect( &frmFind, SIGNAL(signalFindClicked(const QString &, bool, bool, int)),
@@ -749,3 +749,3 @@ bool TextEdit::saveAs()
- if( currentFileName.isEmpty() || currentFileName == "Unnamed") {
+ if( currentFileName.isEmpty() || currentFileName == tr("Unnamed")) {
qDebug("do silly TT filename thing");
@@ -765,3 +765,3 @@ bool TextEdit::saveAs()
if ( docname.isEmpty() )
- docname = "Unnamed";
+ docname = tr("Unnamed");
doc->setName(docname);
@@ -772,3 +772,3 @@ bool TextEdit::saveAs()
- fileSaveDlg=new fileSaver(this,"Save File As?",TRUE, 0, currentFileName);
+ fileSaveDlg=new fileSaver(this,tr("Save File As?"),TRUE, 0, currentFileName);
qDebug("wanna save filename "+currentFileName);
@@ -799,3 +799,3 @@ bool TextEdit::saveAs()
filePermissions *filePerm;
- filePerm = new filePermissions(this, "Permissions",true,0,(const QString &)fileNm);
+ filePerm = new filePermissions(this, tr("Permissions"),true,0,(const QString &)fileNm);
filePerm->exec();
@@ -890,3 +890,3 @@ void TextEdit::changeFont() {
FontDialog *fontDlg;
- fontDlg=new FontDialog(this,"FontDialog",TRUE);
+ fontDlg=new FontDialog(this,tr("FontDialog"),TRUE);
@@ -902,3 +902,3 @@ void TextEdit::editDelete()
{
- 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) ) {
+ 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) ) {
case 0: