螺栓记录模板中的 general.phrase.written-by-on 来自哪里?

Where is general.phrase.written-by-on coming from in bolt record template?

我刚刚在默认主题中查看 _recordfooter 的 bolt 模板,发现了以下代码:

{{ __('general.phrase.written-by-on', {
        '%name%': record.user.displayname|default(__('Unknown')),
        '%date%': record.datepublish|localedatetime("%A %B %e, %Y")
    }) }}

我不太明白上面这行代码到底在做什么,最重要的是我不明白双下划线函数的用法以及 'general.phrase.written-by-on' 到底是什么,它会从哪里来来自 ??

它们是基本翻译文件中的关键字,在 vendor/bolt/bolt/app/resources/translations/

下的 loacle 特定目录中