Fixed some translation issues

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@73 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
tariq
2006-04-08 22:00:14 +00:00
parent 7de21d206c
commit ca29e4a7bb
8 changed files with 86 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ if(!config.ShowPasswords)
ChangeEchoMode();
OnPasswordwLostFocus();
int bits=(entry->Password.length()*8);
Label_Bits->setText(QString::number(bits)+" Bit");
Label_Bits->setText(tr("%1 Bit").arg(QString::number(bits)));
if(bits>128)
bits=128;
Progress_Quali->setValue(100*bits/128);

View File

@@ -185,7 +185,7 @@ fclose(dev_random);
int bits;
if(checkBox8->isChecked())bits=length*8;
else bits=length*7;
Label_Bits->setText(QString::number(bits)+" Bit");
Label_Bits->setText(tr("%1 Bit").arg(QString::number(bits)));
if(bits>128)bits=128;
Progress_Quali->setProgress(bits,128);
Progress_Quali->setPercentageVisible(false);