I'm learning to build a hexo theme recently, but I am confused about __()
function. I didn't find answer in hexo doc. I have no idea this is in-built or what?
this code is from theme-minos:
<span class="column is-narrow">
<% let words = word_count(post._content); %>
<% let time = duration((words / 150.0) * 60, 'seconds') %>
<%= `${ time.humanize() } ${ __('article.read')} (${ __('article.about') } ${ words } ${ __('article.words') })` %>
</span>
Can anyone can help me?