feat: add edit link

This commit is contained in:
Justineo
2021-10-22 18:51:49 +08:00
parent 2a59d493a5
commit 4a257c3680
6 changed files with 109 additions and 10 deletions

View File

@@ -45,3 +45,23 @@ i18n.register(
ns: 'onebacktotop'
}
)
i18n.register(
'zh-Hans',
{
editOnGitHub: '在 GitHub 上编辑此页'
},
{
ns: 'oneeditlink'
}
)
i18n.register(
'en-US',
{
editOnGitHub: 'Edit this page on GitHub'
},
{
ns: 'oneeditlink'
}
)