Skip to content

Commit

Permalink
Merge branch 'main' into i18n-ko
Browse files Browse the repository at this point in the history
  • Loading branch information
Dohyeon Jeon committed Jan 7, 2023
2 parents 6f94cb5 + 01e0105 commit 24a38ab
Show file tree
Hide file tree
Showing 108 changed files with 4,567 additions and 149 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2022 syuilo and other contributors
Copyright (c) 2021 2022 2023 syuilo and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

130 changes: 130 additions & 0 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export default defineUserConfig<DefaultThemeOptions>({
lang: 'ko-KR',
description: '오픈소스 분산형 마이크로블로깅 플랫폼 Misskey',
},
'/it/': {
lang: 'it-IT',
description: 'Sito ufficiale del progetto Misskey',
}
},

theme: localTheme({
Expand Down Expand Up @@ -82,16 +86,27 @@ export default defineUserConfig<DefaultThemeOptions>({
children: [
'/docs/features/note',
'/docs/features/reaction',
'/docs/features/timeline',
'/docs/features/mfm',
'/docs/features/custom-emoji',
'/docs/features/drive',
'/docs/features/deck',
'/docs/features/charts',
'/docs/features/online-status',
'/docs/features/share-form',
'/docs/features/ads',
'/docs/features/thread-mute',
'/docs/features/word-mute',
'/docs/features/mute-and-block',
'/docs/features/plugin',
'/docs/features/antenna',
'/docs/features/clip',
'/docs/features/favorite',
'/docs/features/follow',
'/docs/features/pages',
'/docs/features/theme',
'/docs/features/thread-mute',
'/docs/features/widgets',
]
},
{
Expand All @@ -112,6 +127,7 @@ export default defineUserConfig<DefaultThemeOptions>({
'/docs/admin/push-docker-hub',
'/docs/admin/troubleshooting',
'/docs/tips/disable-timelines',
'/docs/features/silence',
]
}
]
Expand Down Expand Up @@ -191,15 +207,27 @@ export default defineUserConfig<DefaultThemeOptions>({
children: [
'/en/docs/features/note',
'/en/docs/features/reaction',
'/en/docs/features/timeline',
'/en/docs/features/mfm',
'/en/docs/features/custom-emoji',
'/en/docs/features/drive',
'/en/docs/features/deck',
'/en/docs/features/charts',
'/en/docs/features/online-status',
'/en/docs/features/share-form',
'/en/docs/features/ads',
'/en/docs/features/thread-mute',
'/en/docs/features/word-mute',
'/en/docs/features/mute-and-block',
'/en/docs/features/plugin',
'/en/docs/features/antenna',
'/en/docs/features/clip',
'/en/docs/features/favorite',
'/en/docs/features/follow',
'/en/docs/features/pages',
'/en/docs/features/theme',
'/en/docs/features/thread-mute',
'/en/docs/features/widgets'
]
},
{
Expand All @@ -208,6 +236,7 @@ export default defineUserConfig<DefaultThemeOptions>({
'/en/docs/api',
'/en/docs/api/streaming',
'/en/docs/api/endpoints.html',
'/en/docs/features/webhook',
]
},
{
Expand All @@ -221,6 +250,7 @@ export default defineUserConfig<DefaultThemeOptions>({
'/en/docs/admin/troubleshooting',
'/en/docs/tips/disable-timelines',
'/en/docs/admin/default-reaction',
'/en/docs/features/silence',
]
}
]
Expand Down Expand Up @@ -377,6 +407,106 @@ export default defineUserConfig<DefaultThemeOptions>({
}
],
},],
'/it/': {
selectLanguageText: 'Lingua',
selectLanguageName: 'Italiano',
selectLanguageAriaLabel: 'Scegli la lingua del sito',
contributorsText: 'Co-autori',
lastUpdatedText: 'Ultimo aggiornamento',
editLinkText: 'Modifica questa pagina',
relatedPagesText: 'Pagine correlate',
readThisArticle: 'Leggi questo articolo',
// 404 page messages
notFound: [
`Purtroppo qui non c'è niente`,
`Perché manca questa pagina?`,
`Pagina non trovata`,
`Sembra che il link sia rotto...`,
`Mah? Qui non c'è nulla`
],
backToHome: 'Torna alla pagina iniziale',
// a11y
openInNewWindow: 'si apre in una nuova finestra',
toggleColorMode: 'cambia i colori',
toggleSidebar: 'menu laterale di navigazione',
navbar: [{
text: 'Blog Giapponese',
link: '/blog',
}, {
text: 'Partecipa',
children: [
'/it/instances',
'/it/plugins',
'/it/appendix/assets'
]
}, {
text: 'Documentazione',
children: [
'/it/docs/misskey',
'/it/docs/releases',
'/it/docs/misskey-hub',
'/it/docs/faq',
'/it/docs/glossary',
'/it/docs/troubleshooting',
{
text: 'Per gli sviluppatori',
children: [
'/it/docs/api',
'/it/docs/api/streaming',
'/it/docs/api/endpoints.html',
]
},
{
text: 'Per gli amministratori',
children: [
'/it/docs/install',
'/it/docs/admin/emoji',
'/it/docs/admin/cdn',
'/it/docs/admin/nginx',
'/it/docs/admin/push-docker-hub',
'/it/docs/admin/troubleshooting',
'/it/docs/tips/disable-timelines',
'/it/docs/admin/default-reaction',
]
}
]
}, {
text: 'Collegamenti',
children: [{
text: 'Discord ufficiale',
link: 'https://discord.gg/Wp8gVStHW3',
},{
text: 'Donazioni (Patreon)',
link: 'https://www.patreon.com/syuilo',
},{
text: 'Traduzioni (Crowdin)',
link: 'https://crowdin.com/project/misskey',
},{
text: '藍.moe (la mascotte: Ai)',
link: 'https://xn--931a.moe',
},{
text: 'Profili',
children: [{
text: '@repo@misskey.io',
link: 'https://misskey.io/@repo',
}]
},{
text: 'Il codice sorgente',
children: [{
text: 'misskey (la piattaforma)',
link: 'https://github.com/misskey-dev/misskey',
}, {
text: 'misskey.js (la SDK in NodeJS)',
link: 'https://github.com/misskey-dev/misskey.js',
}, {
text: 'mfm.js (il parser MFM)',
link: 'https://github.com/misskey-dev/mfm.js',
}, {
text: 'misskey-hub (il sito)',
link: 'https://github.com/misskey-dev/misskey-hub',
}]
}] // Fine: menu links
}] // Fine: navbar italiana
},
},
themePlugins: {
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/mitheme/src/client/layouts/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@

<div class="footer">
<div class="container">
<div class="c">&copy; 2022 Misskey, syuilo, and other contributors</div>
<div class="c">&copy; 2023 Misskey, syuilo, and other contributors</div>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/docs/admin/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ server {
proxy_cache cache1;
proxy_cache_lock on;
proxy_cache_use_stale updating;
proxy_force_ranges on;
add_header X-Cache $upstream_cache_status;
}
}
Expand Down
11 changes: 8 additions & 3 deletions src/docs/api/endpoints/announcements.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
summary: '',
description: '',
summary: 'インスタンスからのお知らせを取得します。',
description: 'インスタンスからのお知らせを取得します。',
tags: [
'meta',
],
Expand All @@ -13,18 +13,22 @@
minimum: 1,
maximum: 100,
default: 10,
description: '取得するお知らせの最大数。',
},
withUnreads: {
type: 'boolean',
default: false,
description: 'trueにすると、未読のお知らせのみを取得します。falseにすると、すべてのお知らせを取得します。',
},
sinceId: {
type: 'string',
format: 'misskey:id',
description: '指定すると、idがその値よりも大きいお知らせを返します。',
},
untilId: {
type: 'string',
format: 'misskey:id',
description: '指定すると、idがその値よりも小さいお知らせを返します。',
},
},
required: [],
Expand Down Expand Up @@ -76,6 +80,7 @@
type: 'boolean',
optional: true,
nullable: false,
description: 'お知らせが既読であればtrueになります。クレデンシャルを送信した場合のみ返されます。',
},
},
required: [
Expand All @@ -89,4 +94,4 @@
},
},
errors: {},
}
}
9 changes: 6 additions & 3 deletions src/docs/api/endpoints/auth/session/generate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
summary: '',
description: '',
summary: 'アプリを認証するためのトークンを作成します。',
description: 'アプリを認証するためのトークンを作成します。',
tags: [
'auth',
],
Expand All @@ -10,6 +10,7 @@
properties: {
appSecret: {
type: 'string',
description: 'アプリケーションのシークレットキー。',
},
},
required: [
Expand All @@ -25,12 +26,14 @@
type: 'string',
optional: false,
nullable: false,
description: 'セッションのトークン。',
},
url: {
type: 'string',
optional: false,
nullable: false,
format: 'url',
description: 'セッションのURL。',
},
},
required: [
Expand All @@ -42,7 +45,7 @@
'92f93e63-428e-4f2f-a5a4-39e1407fe998': {
id: '92f93e63-428e-4f2f-a5a4-39e1407fe998',
code: 'NO_SUCH_APP',
description: '',
description: 'アプリが存在しません。',
},
},
}
10 changes: 7 additions & 3 deletions src/docs/api/endpoints/auth/session/show.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
summary: '',
description: '',
summary: 'セッションの情報を取得します。',
description: 'セッションの情報を取得します。',
tags: [
'auth',
],
Expand All @@ -10,6 +10,7 @@
properties: {
token: {
type: 'string',
description: 'セッションのトークン。',
},
},
required: [
Expand All @@ -26,18 +27,21 @@
optional: false,
nullable: false,
format: 'id',
description: 'セッションのID。',
},
app: {
type: 'object',
optional: false,
nullable: false,
ref: 'App',
$ref: 'misskey://App',
description: 'セッションを保持するアプリ。',
},
token: {
type: 'string',
optional: false,
nullable: false,
description: 'セッションのトークン。',
},
},
required: [
Expand All @@ -50,7 +54,7 @@
'bd72c97d-eba7-4adb-a467-f171b8847250': {
id: 'bd72c97d-eba7-4adb-a467-f171b8847250',
code: 'NO_SUCH_SESSION',
description: '',
description: 'セッションが存在しません。',
},
},
}
Loading

0 comments on commit 24a38ab

Please sign in to comment.