mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 10:38:03 +08:00
docs: init i18n
This commit is contained in:
@@ -1,37 +1,85 @@
|
||||
module.exports = {
|
||||
title: 'RSSHub',
|
||||
description: '🍰 万物皆可 RSS',
|
||||
ga: 'UA-48084758-10',
|
||||
serviceWorker: true,
|
||||
locales: {
|
||||
'/': {
|
||||
lang: 'zh-CN',
|
||||
title: 'RSSHub',
|
||||
description: '🍰 万物皆可 RSS',
|
||||
},
|
||||
'/en/': {
|
||||
lang: 'en-US',
|
||||
title: 'RSSHub',
|
||||
description: '🍰 万物皆可 RSS',
|
||||
},
|
||||
},
|
||||
themeConfig: {
|
||||
repo: 'DIYgod/RSSHub',
|
||||
editLinks: true,
|
||||
editLinkText: '在 GitHub 上编辑此页',
|
||||
lastUpdated: '上次更新',
|
||||
serviceWorker: {
|
||||
updatePopup: {
|
||||
message: '发现新内容可用',
|
||||
buttonText: '刷新',
|
||||
docsDir: 'docs',
|
||||
locales: {
|
||||
'/': {
|
||||
lang: 'zh-CN',
|
||||
selectText: '选择语言',
|
||||
label: '简体中文',
|
||||
editLinkText: '在 GitHub 上编辑此页',
|
||||
lastUpdated: '上次更新',
|
||||
serviceWorker: {
|
||||
updatePopup: {
|
||||
message: '发现新内容可用',
|
||||
buttonText: '刷新',
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{
|
||||
text: '使用',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
text: '参与我们',
|
||||
link: '/joinus/',
|
||||
},
|
||||
{
|
||||
text: '部署',
|
||||
link: '/install/',
|
||||
},
|
||||
{
|
||||
text: '支持 RSSHub',
|
||||
link: '/support/',
|
||||
},
|
||||
],
|
||||
},
|
||||
'/en/': {
|
||||
lang: 'en-US',
|
||||
selectText: 'Languages',
|
||||
label: 'English',
|
||||
editLinkText: 'Edit this page on GitHub',
|
||||
lastUpdated: 'Last Updated',
|
||||
serviceWorker: {
|
||||
updatePopup: {
|
||||
message: 'New content is available',
|
||||
buttonText: 'Refresh',
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{
|
||||
text: 'Use',
|
||||
link: '/en/',
|
||||
},
|
||||
{
|
||||
text: 'Join us',
|
||||
link: '/en/joinus/',
|
||||
},
|
||||
{
|
||||
text: 'Deploy',
|
||||
link: '/en/install/',
|
||||
},
|
||||
{
|
||||
text: 'Support RSSHub',
|
||||
link: '/en/support/',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
docsDir: 'docs',
|
||||
nav: [
|
||||
{
|
||||
text: '使用',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
text: '参与我们',
|
||||
link: '/joinus/',
|
||||
},
|
||||
{
|
||||
text: '部署',
|
||||
link: '/install/',
|
||||
},
|
||||
{
|
||||
text: '支持 RSSHub',
|
||||
link: '/support/',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user