From cd8aa6a53a54fed8e798acf1e62a02815f097bd5 Mon Sep 17 00:00:00 2001 From: sunwoo-j Date: Fri, 24 May 2024 00:20:18 +0900 Subject: [PATCH] Changed language to ko-KR --- _config.yml | 6 +++--- _data/locales/ko-KR.yml | 18 +++++++++--------- _posts/2024-05-23-discord-bot-1.md | 17 +++++++++-------- _tabs/about.md | 2 +- assets/img/mechuri_animated.gif | Bin 0 -> 5067 bytes 5 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 assets/img/mechuri_animated.gif diff --git a/_config.yml b/_config.yml index 1125fcee06c..388dfceaa0e 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ theme: jekyll-theme-chirpy # The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm # If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed, # otherwise, the layout language will use the default value of 'en'. -lang: en +lang: ko-KR # Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker timezone: Asia/Seoul @@ -19,7 +19,7 @@ title: 지식 곳간 tagline: just for the record description: >- # used by seo meta and the atom feed - Personal webpage to record progress. + 수확한 지식들을 쌓아두는 곳간입니다. # Fill in the protocol & hostname for your site. # e.g. 'https://username.github.io', note that it does not end with a '/'. @@ -96,7 +96,7 @@ theme_mode: # [dark|light] cdn: # the avatar on sidebar, support local or CORS resources -avatar: /assets/img/mechuri_pixel.png +avatar: /assets/img/mechuri_animated.gif # The URL of the site-wide social preview image used in SEO `og:image` meta tag. # It can be overridden by a customized `page.image` in front matter. diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml index 4dd221b9b74..f967918baf2 100644 --- a/_data/locales/ko-KR.yml +++ b/_data/locales/ko-KR.yml @@ -25,12 +25,12 @@ search: panel: lastmod: 최근 업데이트 trending_tags: 인기 태그 - toc: 바로가기 + toc: 목 차 copyright: # Shown at the bottom of the post license: - template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다. + template: 이 글은 저작권자의 :LICENSE_NAME 라이센스를 따릅니다. name: CC BY 4.0 link: https://creativecommons.org/licenses/by/4.0/ @@ -53,13 +53,13 @@ notification: post: written_by: By - posted: 게시 - updated: 업데이트 + posted: '게시일 ' + updated: '최종 수정 ' words: 단어 - pageview_measure: 조회 + pageview_measure: 번 조회됨 read_time: - unit: 분 - prompt: 읽는 시간 + unit: + prompt: 분 소요 relate_posts: 관련된 글 share: 공유하기 button: @@ -75,8 +75,8 @@ post: # See: , df: post: - strftime: "%Y/%m/%d" - dayjs: "YYYY/MM/DD" + strftime: "%Y%m/%d" + dayjs: "YYYY년 MM월 DD일" # categories page categories: diff --git a/_posts/2024-05-23-discord-bot-1.md b/_posts/2024-05-23-discord-bot-1.md index ab973d498d7..b35cae6e630 100644 --- a/_posts/2024-05-23-discord-bot-1.md +++ b/_posts/2024-05-23-discord-bot-1.md @@ -183,18 +183,19 @@ client.run('your token here') ![](/assets/img/discord bot/1_23.png) -정상적으로 실행되었다면 Python 터미널에 이런 로그가 출력된 것을 확인할 수 있다. 만일 **Privileged Gateway Intents** 설정이 제대로 되지 않았을 경우 오류가 발생할 수 있다. +정상적으로 실행되었다면 `on_ready()`에 넣은대로 터미널에 이런 로그가 출력된 것을 확인할 수 있다. 만일 **Privileged Gateway Intents** 설정이 제대로 되지 않았을 경우 아래와 같은 오류가 발생할 수 있다. -> 이 에러가 뜬다면 **INTENTS**가 제대로 활성화가 되어 있는지 다시 한 번 확인해주자. -> ```python -> discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead. -> ``` +```python +discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead. +``` + +> 이 error가 뜬다면 Privileged Gateway Intents가 제대로 활성화가 되어 있는지 다시 한 번 확인해주자. {: .prompt-warning} ![](/assets/img/discord bot/1_24.png) -그리고 방금까지만 해도 오프라인이었던 봇이 온라인으로 전환된 것을 확인할 수 있다. 드디어 빈 깡통에 생명을 불어넣은 것이다! 또 위에서 설정했듯이 `'$hello'`로 시작되는 메시지를 입력하면, +그리고 방금까지만 해도 오프라인이었던 봇이 온라인으로 전환된 것을 확인할 수 있다. 드디어 빈 깡통에 생명을 불어넣은 것이다! -![](/assets/img/discord bot/1_25.png) +0_0 -봇이 정해둔 답을 채팅으로 응답한다. \ No newline at end of file +또 위에서 설정했듯이 `'$hello'`로 시작되는 메시지를 입력하면 봇이 정해둔 답을 채팅으로 응답한다. \ No newline at end of file diff --git a/_tabs/about.md b/_tabs/about.md index 18f975180d5..ac88b9d0b60 100644 --- a/_tabs/about.md +++ b/_tabs/about.md @@ -4,7 +4,7 @@ icon: fas fa-info-circle order: 4 --- -### 습득한 지식들을 쌓아두는 곳간입니다. +### 수확한 지식들을 쌓아두는 곳간입니다. ### Author: Sunwoo Jung (정선우)
diff --git a/assets/img/mechuri_animated.gif b/assets/img/mechuri_animated.gif new file mode 100644 index 0000000000000000000000000000000000000000..55352db98897ec18265eaf4de7c7ad95dce54347 GIT binary patch literal 5067 zcmeI!M>rgew+3(oA)^1)h)(q0M*9#V7=#cq(T1qeM(-h`juyQPqxWutVf5a6iRdkQ z^v<~X?&fap{%-DBoW*(1bI$gss`f?-04BjE!9K(Kx0IL&)4;Ni!Mu-XZd8cna0&eJ z0`=d?|I%1)a0x}Q2(VZliL_Mo-oI9Sry?RC^aT6w>fe!?1K8S96Krj3@rBqL?BD>F z6A};;7ZVr9;`{g3zdx~XF=PX3Wi3+sBj`snu9(lZ2%FMM`~6mDzA-n46|c%8zoWwfS>J^}>pXDAyhdynq)m}gW_}I=5pAkp&$}!4Mt7_rsx;bF% z=URBs45M0u~t+9TWRKEY1DqwgkWrnF}!=CtO=7nJL;*Ecq| zesAyW_N@r7?H(PUtnVKP{yDwA!9Ks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