mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fixed unit spelling
This commit is contained in:
parent
3ff15509be
commit
2b1425c633
1 changed files with 2 additions and 2 deletions
|
|
@ -45,9 +45,9 @@ ColumnLayout {
|
|||
|
||||
function formatSpeed(): string {
|
||||
if (speed > 1024) {
|
||||
return i18n("%1Mb/s", (speed / 1024).toFixed(0))
|
||||
return i18n("%1MB/s", (speed / 1024).toFixed(0))
|
||||
} else {
|
||||
return i18n("%1Kb/s", speed.toFixed(0))
|
||||
return i18n("%1kB/s", speed.toFixed(0))
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue