Skip to content

Commit

Permalink
chore: i10n on admin (1)
Browse files Browse the repository at this point in the history
Localized:
- admin/cdn
- admin/default-reaction
- admin/emoji

Copied japanese version:
- admin/push-docker-hub

Other files are still on english.

admin/troubleshooting is outdated even on japanese version, so it's not localized until now.
  • Loading branch information
jdh5968 committed Jan 6, 2023
1 parent 0abbdde commit 696ad6d
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 30 deletions.
8 changes: 6 additions & 2 deletions src/ko/appendix/assets.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
---
description: "collection of Misskey logos, icons, and other assets."
description: "Misskey 로고, 아이콘, 다른 애셋의 모음입니다."
---

# Assets collection

This is a collection of Misskey logos, icons, and other assets.

::: 팁
These assets are free to use under the **CC BY-NC-SA** license!🎉
이 문서는 아직 국문으로 번역되지 않아, 영문으로 제공됩니다.
:::

::: 팁
이 애셋은 **CC BY-NC-SA 4.0 Global** 라이선스 하에서 자유롭게 사용할 수 있습니다!🎉

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="CC BY-NC-SA" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
:::
Expand Down
22 changes: 11 additions & 11 deletions src/ko/docs/admin/cdn.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Set up a CDN
# CDN 설정하기

When publishing your Misskey instance, we strongly recommend using a CDN such as [Cloudflare](https://www.cloudflare.com/).
Misskey 인스턴스를 공개할 때, 저희는 [Cloudflare](https://www.cloudflare.com)와 같은 CDN 서비스를 사용하는 것을 추천합니다.

Using a CDN has the following advantages
CDN을 활용하면 이러한 장점이 있습니다:

- You can have static content cached, which reduces the load on your server
- The IP address of the server is less exposed, which can mitigate DoS attacks etc.
- 정적 콘텐츠를 캐시해, 서버의 부하를 줄여줍니다.
- 서버의 IP 주소가 덜 노출되어, DoS 공격과 같은 공격에 더 안전합니다.

## Caching
## 캐싱

Misskey Web is completely static and does not require a server to run. Therefore the whole Misskey Web can be cached in a CDN.
The Misskey API cannot be cached.
Misskey Web은 완전히 정적이며 서버 없이도 작동합니다. Misskey Web 클라이언트는 모두 CDN에 캐싱할 수 있습니다.
Misskey API는 캐싱할 수 없습니다.

You need to configure the following settings in your CDN
다음 설정을 CDN에 구성해야 합니다:

- Cache all requests except `/api/*`.
- `/api/*`를 제외한 모든 요청을 캐싱

::: 팁
You don't need to clear the cache when you update Misskey.
Misskey를 업데이트할 때, 모든 캐시를 삭제할 필요는 없습니다.
::::
5 changes: 3 additions & 2 deletions src/ko/docs/admin/default-reaction.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Changing the default Reaction
You can change the default reaction that is used when an ActivityPub "Like" is received from '👍' to '⭐' by changing the boolean value `meta.useStarForReactionFallback` in the databse respectively.
# 기본 반응 변경

데이터베이스에서 `meta.useStarForReactionFallback` 불리언 값을 변경함으로서, ActivityPub에서 "좋아요"의 기본 표시를 '👍'에서 '⭐'로 변경할 수 있습니다.
15 changes: 10 additions & 5 deletions src/ko/docs/admin/emoji.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Managing Custom Emoji
# 커스텀 이모지 관리

Custom emoji can be managed by administrators or moderators by going to the instance settings and then the custom emoji submenu.
By default you will see a list of the current locally installed emoji.
At the start this list will be empty, but you can add custom emoji in different ways.
커스텀 이모지는 어드민과 모더레이터가 인스턴스 설정의 커스텀 이모지 서브메뉴에서 설정할 수 있습니다.
기본적으로 현재 로컬에 설치된 이모지 목록을 보여줍니다.
처음에는 목록이 비어 있지만, 여러 방식으로 이모지 추가가 가능합니다.

## Copying Emoji from another Instance
::: 팁
이 문서는 아직 번역 중입니다. 일부 내용이 영어로 표시될 수 있습니다.
:::

## 다른 인스턴스에서 이모지 복사

Emoji can be easily copied from another instance.
To do this, switch to the "remote" tab in the custom emoji settings.
Expand Down Expand Up @@ -74,6 +78,7 @@ class Emoji {
The fields of `Meta` are currently not used or checked when importing emoji, except for the `emojis` field.

For each `Emoji`:

- `downloaded`: should always be true. If the field is missing or not truthy, the emoji will not be imported.
- `fileName`: name of the image file inside the packed file.
- `emoji`: data associated with the emoji as it was stored in the database. Currently most of these fields are
Expand Down
9 changes: 7 additions & 2 deletions src/ko/docs/admin/nginx.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Nginx configuration

::: 팁
Nginx는 영어로 제공되며, 이에 따라 본 문서도 영어로 제공됩니다. 향후 국문 번역이 제공될 수 있습니다.
:::

1. Create `/etc/nginx/conf.d/misskey.conf` or `/etc/nginx/sites-available/misskey.conf` and copy the following example to the file.\
(The file name does not have to be "misskey".)
2. Edit as follows:
1. Replace example.tld with the domain you have prepared.\
`ssl_certificate` and `ssl_certificate_key` should be the path to the certificate obtained from Let's Encrypt.
2. If using a CDN such as Cloudflare, remove 4 lines from "If it's behind another reverse proxy or CDN, remove the following."
`ssl_certificate` and `ssl_certificate_key` should be the path to the certificate obtained from Let's Encrypt.
2. If using a CDN such as Cloudflare, remove 4 lines from "If it's behind another reverse proxy or CDN, remove the following."
3. If you create `/etc/nginx/sites-available/misskey.conf`, create symlink as `/etc/nginx/sites-enabled/misskey.conf`.\
`sudo ln -s /etc/nginx/sites-available/misskey.conf /etc/nginx/sites-enabled/misskey.conf`
4. Run `sudo nginx -t` to verify that the configuration file will be loaded successfully.
Expand Down
37 changes: 32 additions & 5 deletions src/ko/docs/admin/push-docker-hub.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
# How to use GitHub Actions to push to Docker Hub
::: warning
Sorry, this page is not translated yet. If you can, please edit this page to translate the [Japanese version](/docs/admin/push-docker-hub.md).
# GitHub Actions로 Docker Hub에 푸시하기

Until then, try using a machine translator.
:::
::: 경고
이 문서는 아직 영문/국문으로 번역되지 않아, 일본어로 제공됩니다.

추후 번역되기 전까지는, 아래의 일문을 기계 번역하여 읽어주시기 바랍니다.
:::

[/.github/workflows/docker.yml](https://github.com/misskey-dev/misskey/blob/develop/.github/workflows/docker.yml)
GitHub Action により Docker Hub へ push するワークフローが記述されています。

オリジナルリポジトリでは、リリースされたタイミングで `latest`, `<リリース名>` それぞれのタグで Docker Hub に push されます。
※ Docker Hub に`<ブランチ名>`のようなタグがあるかもしれませんが、こちらは自動 push 対象ではありません。

Fork 先でこのワークフローを実行すると失敗します。

以下では、Fork 先で自分の Docker Hub リポジトリに push するようにする方法を記述します。

## 自分の Docker Hub リポジトリに push するように設定する方法

1. Docker Hub でリポジトリを作成します。
2. ワークフローファイルの [images](https://github.com/misskey-dev/misskey/blob/53f3b779bf16abcda4f6e026c51384f3b8fbcc62/.github/workflows/docker.yml#L20) を作成したリポジトリに置き換えます。
3. GitHub にて [暗号化されたシークレット](https://docs.github.com/ja/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) を作成します。
作成が必要なのは `DOCKER_USERNAME``DOCKER_PASSWORD` で、それぞれ Docker Hub のユーザーとパスワードになります。

## push する方法

上記設定によりリリース時に自動的に Docker Hub に push されるようになります。
具体的には、GitHub のリリース機能でリリースしたタイミングで `latest`, `<リリース名>` それぞれのタグで Docker Hub に push されます。

また、GitHub 上から手動で push することも出来ます。
それを行うには、Actions => Publish Docker image => Run workflow から branch を選択してワークフローを実行します。
ただし、この場合作成されるタグは`<ブランチ名>`になります。
8 changes: 5 additions & 3 deletions src/ko/docs/admin/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Troubleshooting guide

::: warning
Sorry, this page is not translated yet. If you can, please edit this page to translate the [Japanese version](/docs/admin/troubleshooting.html).
::: 경고
이 문서는 아직 국문/영문으로 번역되지 않았으며, 일문도 상당히 오래된 것으로 확인되고 있습니다.

Until then, try using a machine translator.
이 페이지는 여기에서 제공되지 않으며, [일본어 버전](/docs/admin/troubleshooting)만 제공되고 있습니다.

일본어 버전을 번역해주시거나, 혹은 기계 번역을 이용해주시면 감사하겠습니다.
:::

0 comments on commit 696ad6d

Please sign in to comment.