[fix] Statistics: allow for proper translation of plural (#6437)

Reported by @leschek
This commit is contained in:
Frans de Jonge
2020-07-26 07:31:20 +02:00
committed by GitHub
parent 1c49f817fd
commit e23f68e5f7

View File

@@ -273,7 +273,7 @@ Please wait…
UIManager:close(info)
UIManager:forceRePaint()
UIManager:show(InfoMessage:new{
text =T(_("Conversion completed.\nImported %1 books to database.\nTap to continue."),nr_book) })
text = T(N_("Conversion complete.\nImported one book to the database.\nTap to continue.", "Conversion complete.\nImported %1 books to the database.\nTap to continue."), nr_book) })
else
self:createDB(conn)
end