John Smith commited on 2022-302 00:43:39
Showing 1 changed files, with 4 additions and 2 deletions.
| ... | ... |
@@ -257,9 +257,11 @@ local actions = {
|
| 257 | 257 |
math.min(#ctrt, climn), |
| 258 | 258 |
endt - start |
| 259 | 259 |
)) |
| 260 |
+ local s |
|
| 261 |
+ if lrc == 1 then s = "s" else s = "" end |
|
| 260 | 262 |
io.write(string.format( |
| 261 |
- "(%d lapses, %f seconds per card)\n", |
|
| 262 |
- lrc, (endt - start) / math.min(#ctrt, climn) |
|
| 263 |
+ "(%d lapse%s, %f seconds per card)\n", |
|
| 264 |
+ lrc, s, (endt - start) / math.min(#ctrt, climn) |
|
| 263 | 265 |
)) |
| 264 | 266 |
end |
| 265 | 267 |
if #editqueue > 0 then |
| 266 | 268 |