grav-plugin-readingtime icon indicating copy to clipboard operation
grav-plugin-readingtime copied to clipboard

How do you translate the main string?

Open CarlSinclair opened this issue 1 year ago • 0 comments

It seems that Reading time: is hardcoded into the plugin and isn't being translated. Which is understandable since it's not in languages.yaml, but I don't see it being injected from any of the files in the plugin.

And yet, the {{ page.content|readingtime}} variable seems to include it. The minutes and seconds parts translates correctly, as expected because there are translations for it, but not the Reading time: part. E.g. Reading time: 1 minuto.

Is this an oversight that nobody has ever noticed/cared about or am I missing something obvious?

CarlSinclair avatar Jul 12 '24 00:07 CarlSinclair