mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-29 21:33:13 -08:00
Fix weird base strings and reduce concatenation
This commit is contained in:
1 parent
e718e9f5e5
commit
3def6a3bc4
13 files changed
+26
-25
No files matched your search
@@ -31,9 +31,10 @@ void CsvParserModel::setFilename(const QString& filename) {
|
||||
}
|
||||
|
||||
QString CsvParserModel::getFileInfo(){
|
||||
QString a(tr("%n byte(s), ", nullptr, getFileSize()));
|
||||
a.append(tr("%n row(s), ", nullptr, getCsvRows()));
|
||||
a.append(tr("%n column(s)", nullptr, qMax(0, getCsvCols() - 1)));
|
||||
QString a(tr("%1, %2, %3", "file info: bytes, rows, columns")
|
||||
.arg(tr("%n byte(s)", nullptr, getFileSize()))
|
||||
.arg(tr("%n row(s)", nullptr, getCsvRows()))
|
||||
.arg(tr("%n column(s)", nullptr, qMax(0, getCsvCols() - 1))));
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user