summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-09-01 13:16:27 (UTC)
committer llornkcor <llornkcor>2002-09-01 13:16:27 (UTC)
commit41d125f02fb485f963818efea9f32f3f29148710 (patch) (unidiff)
tree1a56bad99a18d7003543e5456458f23dcb8cee1d
parent21394ee7a48bbe0768a1b820b2493defa534257e (diff)
downloadopie-41d125f02fb485f963818efea9f32f3f29148710.zip
opie-41d125f02fb485f963818efea9f32f3f29148710.tar.gz
opie-41d125f02fb485f963818efea9f32f3f29148710.tar.bz2
added a few remaining tr, fixed a few bugs
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp26
1 files changed, 15 insertions, 11 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index d61da2a..8eaafce 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -443,2 +443,4 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
443TextEdit::~TextEdit() { 443TextEdit::~TextEdit() {
444 if( edited1 & !useAdvancedFeatures )
445 saveAs();
444} 446}
@@ -446,3 +448,3 @@ TextEdit::~TextEdit() {
446void TextEdit::cleanUp() { 448void TextEdit::cleanUp() {
447// save(); 449qDebug("cleanUp");// save();
448 Config cfg("TextEdit"); 450 Config cfg("TextEdit");
@@ -459,3 +461,3 @@ void TextEdit::cleanUp() {
459void TextEdit::accept() { 461void TextEdit::accept() {
460 if(edited1) 462 if( edited1)
461 saveAs(); 463 saveAs();
@@ -637,3 +639,3 @@ void TextEdit::openFile( const QString &f ) {
637 switch ( QMessageBox::warning(this,tr("Text Editor"), 639 switch ( QMessageBox::warning(this,tr("Text Editor"),
638 tr("Text Editor has detected\n you selected a .desktop file.\nOpen .desktop file or linked file?"), 640 tr("Text Editor has detected<BR>you selected a <B>.desktop</B> file.<BR>Open <B>.desktop</B> file or <B>linked</B> file?"),
639 tr(".desktop File"),tr("Linked Document"),0,1,1) ) { 641 tr(".desktop File"),tr("Linked Document"),0,1,1) ) {
@@ -648,4 +650,6 @@ void TextEdit::openFile( const QString &f ) {
648 } else { 650 } else {
649 filer = f; 651 DocLnk sf(f);
650 fileIs = TRUE; 652 filer = sf.file();
653// filer = f;
654// fileIs = TRUE;
651 } 655 }
@@ -739,3 +743,3 @@ bool TextEdit::save() {
739 } else { 743 } else {
740 QMessageBox::message("Text Edit","Write Failed"); 744 QMessageBox::message(tr("Text Edit"),tr("Write Failed"));
741 return false; 745 return false;
@@ -916,3 +920,3 @@ void TextEdit::changeFont() {
916void TextEdit::editDelete() { 920void TextEdit::editDelete() {
917 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) ) { 921 switch ( QMessageBox::warning(this,tr("Text Editor"),tr("Do you really want<BR>to <B>delete</B> the current file\nfrom the disk?<BR>This is <B>irreversable!!</B>"),tr("Yes"),tr("No"),0,0,1) ) {
918 case 0: 922 case 0:
@@ -959,6 +963,6 @@ void TextEdit::receive(const QCString&msg, const QByteArray&) {
959void TextEdit::doAbout() { 963void TextEdit::doAbout() {
960 QMessageBox::about(0,"Text Edit","Text Edit is copyright\n" 964 QMessageBox::about(0,tr("Text Edit"),tr("Text Edit is copyright<BR>"
961 "2000 Trolltech AS, and\n" 965 "2000 Trolltech AS, and<BR>"
962 "2002 by L.J.Potter \nljp@llornkcor.com\n" 966 "2002 by <B>L. J. Potter <BR>llornkcor@handhelds.org</B><BR>"
963 "and is licensed under the GPL"); 967 "and is licensed under the GPL"));
964} 968}