summaryrefslogtreecommitdiff
path: root/core/apps/textedit/filePermissions.cpp
authorllornkcor <llornkcor>2002-04-06 22:38:50 (UTC)
committer llornkcor <llornkcor>2002-04-06 22:38:50 (UTC)
commit08f0cefd22cb2122850b0786dafae15d0a5efebb (patch) (side-by-side diff)
tree9b3b576e557b92e9cb60f97d6a20875968910f1b /core/apps/textedit/filePermissions.cpp
parent6c651fd3b48421fe2fb0f76968c29ef142efc162 (diff)
downloadopie-08f0cefd22cb2122850b0786dafae15d0a5efebb.zip
opie-08f0cefd22cb2122850b0786dafae15d0a5efebb.tar.gz
opie-08f0cefd22cb2122850b0786dafae15d0a5efebb.tar.bz2
translation stuff
Diffstat (limited to 'core/apps/textedit/filePermissions.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/filePermissions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/apps/textedit/filePermissions.cpp b/core/apps/textedit/filePermissions.cpp
index 5af3971..def957b 100644
--- a/core/apps/textedit/filePermissions.cpp
+++ b/core/apps/textedit/filePermissions.cpp
@@ -35,8 +35,8 @@ filePermissions::filePermissions( QWidget* parent, const char* name, bool modal
: QDialog( parent, name, modal, fl )
{
if ( !name )
- setName( "filePermissions" );
- qDebug("FilePermissions "+fileName);
+ setName( tr("filePermissions") );
+// qDebug("FilePermissions "+fileName);
resize( 236, 210 );
setMaximumSize( QSize( 236, 210 ) );
setCaption( tr( "Set File Permissions" ) );
@@ -248,25 +248,25 @@ void filePermissions::accept() {
pwd = getpwnam(OwnerLineEdit->text().latin1() );
if(pwd == NULL) {
perror("getpwnam");
- QMessageBox::warning(this,"Warning","Error- no user");
+ QMessageBox::warning(this,tr("Warning"),tr("Error- no user"));
return;
} else {
grp = getgrnam(GroupLineEdit->text().latin1());
if(grp==NULL) {
perror("getgrnam");
- QMessageBox::warning(this,"Warning","Error- no group");
+ QMessageBox::warning(this,tr("Warning"),tr("Error- no group"));
return;
}
if( chown( file.latin1(), pwd->pw_uid, grp->gr_gid) <0) {
perror("chown");
- QMessageBox::warning(this,"Warning","Error setting ownership or group");
+ QMessageBox::warning(this,tr("Warning"),tr("Error setting ownership or group"));
return;
}
bool ok;
uint moder = modeStr.toUInt(&ok,8);
if( chmod( file.latin1(), moder) < 0) {
perror("chmod");
- QMessageBox::warning(this,"Warning","Error setting mode");
+ QMessageBox::warning(this,tr("Warning"),tr("Error setting mode"));
return;
}
}