While that makes sense, then we'd need to make libusermetrics invoke gettext behind the scenes with the right syntax and count, but most importantly, we'd wouldn't be able to extract the "singularFormat" and "format" translatable strings from the QML files in a way that they'd be merged in a plural gettext message. We'd need some sort of script on top of xgettext to detect they are part of libusermetrics and that they together form a plural message.
I think the easiest would be to simply expose the count.
While that makes sense, then we'd need to make libusermetrics invoke gettext behind the scenes with the right syntax and count, but most importantly, we'd wouldn't be able to extract the "singularFormat" and "format" translatable strings from the QML files in a way that they'd be merged in a plural gettext message. We'd need some sort of script on top of xgettext to detect they are part of libusermetrics and that they together form a plural message.
I think the easiest would be to simply expose the count.